|
Carrot2 v3.5.2
API Documentation |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.carrot2.core.attribute.InternalAttributePredicate
public final class InternalAttributePredicate
A predicate that tests whether an AttributeDescriptor refers to an
Internal attribute.
| Constructor Summary | |
|---|---|
InternalAttributePredicate()
Evaluates to true for attributes that have the Internal
annotation, no matter the Internal.configuration() value. |
|
InternalAttributePredicate(Boolean configuration)
Evaluates to true for attributes that have the Internal
annotation whose Internal.configuration() is set to the provided value. |
|
| Method Summary | |
|---|---|
boolean |
apply(AttributeDescriptor descriptor)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.google.common.base.Predicate |
|---|
equals |
| Constructor Detail |
|---|
public InternalAttributePredicate()
true for attributes that have the Internal
annotation, no matter the Internal.configuration() value.
public InternalAttributePredicate(Boolean configuration)
true for attributes that have the Internal
annotation whose Internal.configuration() is set to the provided value.
| Method Detail |
|---|
public boolean apply(AttributeDescriptor descriptor)
apply in interface com.google.common.base.Predicate<AttributeDescriptor>
|
Please refer to project documentation at
http://project.carrot2.org |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||