Package com.norconex.commons.lang.flow
Class BasePredicateAdapter<A,T>
java.lang.Object
com.norconex.commons.lang.flow.BasePredicateAdapter<A,T>
- Type Parameters:
A- the adaptee type (the type adapted to a Predicate)T- the type being evaluated by this predicate adapter
- All Implemented Interfaces:
FlowPredicateAdapter<T>,Predicate<T>
An abstract
FlowPredicateAdapter that takes care setting/getting
the adaptee and leaves only the Predicate.test(Object) method to implement.-
Constructor Details
-
BasePredicateAdapter
public BasePredicateAdapter()
-
-
Method Details
-
getPredicateAdaptee
- Specified by:
getPredicateAdapteein interfaceFlowPredicateAdapter<A>
-
setPredicateAdaptee
- Specified by:
setPredicateAdapteein interfaceFlowPredicateAdapter<A>
-
toString
-
equals
-
hashCode
public int hashCode()
-