Uses of Interface
org.apache.commons.functor.BinaryFunctor
-
Packages that use BinaryFunctor Package Description org.apache.commons.functor Basic functor interfaces.org.apache.commons.functor.adapter Classes that adapt one functor interface to another.org.apache.commons.functor.core Commonly used functor implementations.org.apache.commons.functor.core.algorithm Various algorithm-esque functors.org.apache.commons.functor.core.collection Collection-based functors, algorithms and utilities.org.apache.commons.functor.core.comparator Comparator- andComparable-based functors, algorithms and utilities.org.apache.commons.functor.core.composite Functors composed of other functors. -
-
Uses of BinaryFunctor in org.apache.commons.functor
Subinterfaces of BinaryFunctor in org.apache.commons.functor Modifier and Type Interface Description interfaceBinaryFunction<L,R,T>A functor that takes two arguments and returns a value.interfaceBinaryPredicate<L,R>A functor that takes two arguments and returns abooleanvalue.interfaceBinaryProcedure<L,R>A functor that takes two arguments and has no return value. -
Uses of BinaryFunctor in org.apache.commons.functor.adapter
Classes in org.apache.commons.functor.adapter that implement BinaryFunctor Modifier and Type Class Description classBinaryFunctionBinaryPredicate<L,R>classBinaryFunctionBinaryProcedure<L,R>Adapts aBinaryFunctionto theBinaryProcedureinterface by ignoring the value returned by the function.classBinaryPredicateBinaryFunction<L,R>Adapts aBinaryPredicateto theBinaryFunctioninterface.classBinaryProcedureBinaryFunction<L,R,T>classIgnoreLeftFunction<L,R,T>Adapts aUnaryFunctionto theBinaryFunctioninterface by ignoring the first binary argument.classIgnoreLeftPredicate<L,R>Adapts aUnaryPredicateto theBinaryPredicateinterface by ignoring the first binary argument.classIgnoreLeftProcedure<L,R>Adapts aUnaryProcedureto theBinaryProcedureinterface by ignoring the first binary argument.classIgnoreRightFunction<L,R,T>Adapts aUnaryFunctionto theBinaryFunctioninterface by ignoring the second binary argument.classIgnoreRightPredicate<L,R>Adapts aUnaryPredicateto theBinaryPredicateinterface by ignoring the second binary argument.classIgnoreRightProcedure<L,R>Adapts aUnaryProcedureto theBinaryProcedureinterface by ignoring the second binary argument. -
Uses of BinaryFunctor in org.apache.commons.functor.core
Classes in org.apache.commons.functor.core that implement BinaryFunctor Modifier and Type Class Description classConstant<T>Evaluatesto constant value.classIsEqual<L,R>classIsInstance<T>classIsNotEqual<L,R>classIsNotSame<L,R>Teststhe reference (!=) inequality of its arguments.classIsSame<L,R>Teststhe reference (==) equality of its arguments.classLimitA predicate that returnstruethe first n times it is invoked.classNoOpA procedure that does nothing at all.classOffsetA predicate that returnsfalsethe first n times it is invoked, andtruethereafter. -
Uses of BinaryFunctor in org.apache.commons.functor.core.algorithm
Classes in org.apache.commons.functor.core.algorithm that implement BinaryFunctor Modifier and Type Class Description classFindWithinGenerator<E>Return the first Object in aGeneratormatching aUnaryPredicate.classFoldLeft<T>Functional left-fold algorithm against the elements of aGenerator.classFoldRight<T>Functional right-fold algorithm against the elements of aGenerator.classGeneratorContains<T>Tests whether aGeneratorcontains an element that matches aUnaryPredicate.classIndexOfInGenerator<T>Return the index of the first Object in aGeneratormatching aUnaryPredicate, or -1 if not found.classInPlaceTransform<T>Implements an in-place transformation of a ListIterator's contents.classRemoveMatching<T>Remove elements from left Iterator that match right UnaryPredicate.classRetainMatching<T>Retain elements in left Iterator that match right UnaryPredicate. -
Uses of BinaryFunctor in org.apache.commons.functor.core.collection
Classes in org.apache.commons.functor.core.collection that implement BinaryFunctor Modifier and Type Class Description classIsElementOf<L,R>ABinaryPredicatethat checks to see if the specified object is an element of the specified Collection. -
Uses of BinaryFunctor in org.apache.commons.functor.core.comparator
Classes in org.apache.commons.functor.core.comparator that implement BinaryFunctor Modifier and Type Class Description classComparatorFunction<T>Adapts aComparatorto theBinaryFunctioninterface.classIsEquivalent<T>ABinaryPredicatethatteststrueiff the left argument is equal to the right argument under the specifiedComparator.classIsGreaterThan<T>ABinaryPredicatethatteststrueiff the left argument is greater than the right argument under the specifiedComparator.classIsGreaterThanOrEqual<T>ABinaryPredicatethatteststrueiff the left argument is greater than or equal to the right argument under the specifiedComparator.classIsLessThan<T>ABinaryPredicatethatteststrueiff the left argument is greater than the right argument under the specifiedComparator.classIsLessThanOrEqual<T>ABinaryPredicatethatteststrueiff the left argument is less than or equal to the right argument under the specifiedComparator.classIsNotEquivalent<T>ABinaryPredicatethatteststrueiff the left argument is not equal to the right argument under the specifiedComparator.classMax<T>Adapts aComparatorto theBinaryFunctioninterface.classMin<T>Adapts aComparatorto theBinaryFunctioninterface. -
Uses of BinaryFunctor in org.apache.commons.functor.core.composite
Classes in org.apache.commons.functor.core.composite that implement BinaryFunctor Modifier and Type Class Description (package private) classBaseBinaryPredicateList<L,R>Abstract base class forBinaryPredicatescomposed of a list ofBinaryPredicates.classBinaryAnd<L,R>classBinaryCompositeBinaryFunction<L,R,T>ABinaryFunctioncomposed of three binary functions, f, g and h, evaluating the ordered parameters x, y tof(g(x,y),h(x,y)).private static classBinaryCompositeBinaryFunction.Helper<G,H,L,R,T>Type-remembering Helper.classBinaryNot<L,R>Teststo the logical inverse of some other predicate.classBinaryOr<L,R>classBinarySequence<L,R>classConditionalBinaryFunction<L,R,T>ABinaryFunctionsimiliar to Java's "ternary" or "conditional" operator (? :).classConditionalBinaryPredicate<L,R>ABinaryPredicatesimiliar to Java's "ternary" or "conditional" operator (? :).classConditionalBinaryProcedure<L,R>ABinaryProceduresimiliar to Java's "ternary" or "conditional" operator (? :).classTransformedBinaryFunction<L,R,T>A BinaryFunction whose result is then run through a UnaryFunction.private static classTransformedBinaryFunction.Helper<X,L,R,T>Type-remembering helper.classTransformedBinaryProcedure<L,R>A BinaryProcedure composed of a BinaryFunction whose result is then run through a UnaryProcedure.private static classTransformedBinaryProcedure.Helper<X,L,R>Type-remembering helper.classTransposedFunction<L,R,T>Transposes (swaps) the arguments to some otherfunction.classTransposedPredicate<L,R>Transposes (swaps) the arguments to some otherpredicate.classTransposedProcedure<L,R>Transposes (swaps) the arguments to some otherprocedure.classUnaryCompositeBinaryFunction<L,R,T>ABinaryFunctioncomposed of one binary function, f, and two unary functions, g and h, evaluating the ordered parameters x, y tof(g(x),h(y)).private static classUnaryCompositeBinaryFunction.Helper<G,H,L,R,T>classUnaryCompositeBinaryPredicate<L,R>ABinaryPredicatecomposed of one binary predicate, p, and two unary functions, f and g, evaluating the ordered parameters x, y top(f(x),g(y)).private static classUnaryCompositeBinaryPredicate.Helper<G,H,L,R>Internal helper.
-