org.carrot2.util.attribute
Class AnnotationsPredicate
java.lang.Object
org.carrot2.util.attribute.AnnotationsPredicate
- All Implemented Interfaces:
- com.google.common.base.Predicate<AttributeDescriptor>
public final class AnnotationsPredicate
- extends Object
- implements com.google.common.base.Predicate<AttributeDescriptor>
A predicate that tests the presence of a given set of annotations on
an AttributeDescriptor.
| 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 |
AnnotationsPredicate
public AnnotationsPredicate(boolean requireAll,
Class<? extends Annotation>... annotationClasses)
apply
public boolean apply(AttributeDescriptor descriptor)
- Specified by:
apply in interface com.google.common.base.Predicate<AttributeDescriptor>
Copyright (c) Dawid Weiss, Stanislaw Osinski