Uses of Interface
org.apache.commons.collections4.Equator
-
Packages that use Equator Package Description org.apache.commons.collections4 This package contains the interfaces and utilities shared across all the subpackages of this component.org.apache.commons.collections4.functors This package contains implementations of theClosure,Predicate,TransformerandFactoryinterfaces.org.apache.commons.collections4.sequence This package provides classes to compare two sequences of objects. -
-
Uses of Equator in org.apache.commons.collections4
Fields in org.apache.commons.collections4 declared as Equator Modifier and Type Field Description private Equator<? super O>CollectionUtils.EquatorWrapper. equatorMethods in org.apache.commons.collections4 with parameters of type Equator Modifier and Type Method Description static <E> booleanIterableUtils. contains(java.lang.Iterable<? extends E> iterable, E object, Equator<? super E> equator)Checks if the object is contained in the given iterable.static <E> booleanCollectionUtils. isEqualCollection(java.util.Collection<? extends E> a, java.util.Collection<? extends E> b, Equator<? super E> equator)Returnstrueiff the givenCollections contain exactly the same elements with exactly the same cardinalities.static <E> java.util.List<E>ListUtils. longestCommonSubsequence(java.util.List<E> a, java.util.List<E> b, Equator<? super E> equator)Returns the longest common subsequence (LCS) of two sequences (lists).static <E> java.util.Collection<E>CollectionUtils. removeAll(java.lang.Iterable<E> collection, java.lang.Iterable<? extends E> remove, Equator<? super E> equator)Removes all elements inremovefromcollection.static <E> java.util.Collection<E>CollectionUtils. retainAll(java.lang.Iterable<E> collection, java.lang.Iterable<? extends E> retain, Equator<? super E> equator)Returns a collection containing all the elements incollectionthat are also inretain.Constructors in org.apache.commons.collections4 with parameters of type Equator Constructor Description EquatorWrapper(Equator<? super O> equator, O object) -
Uses of Equator in org.apache.commons.collections4.functors
Classes in org.apache.commons.collections4.functors that implement Equator Modifier and Type Class Description classDefaultEquator<T>DefaultEquatorimplementation.Fields in org.apache.commons.collections4.functors declared as Equator Modifier and Type Field Description private Equator<T>EqualPredicate. equatorThe equator to use for comparisonMethods in org.apache.commons.collections4.functors with parameters of type Equator Modifier and Type Method Description static <T> Predicate<T>EqualPredicate. equalPredicate(T object, Equator<T> equator)Factory to create the identity predicate.Constructors in org.apache.commons.collections4.functors with parameters of type Equator Constructor Description EqualPredicate(T object, Equator<T> equator)Constructor that performs no validation. -
Uses of Equator in org.apache.commons.collections4.sequence
Fields in org.apache.commons.collections4.sequence declared as Equator Modifier and Type Field Description private Equator<? super T>SequencesComparator. equatorThe equator used for testing object equality.Constructors in org.apache.commons.collections4.sequence with parameters of type Equator Constructor Description SequencesComparator(java.util.List<T> sequence1, java.util.List<T> sequence2, Equator<? super T> equator)Simple constructor.
-