Uses of Interface
org.apache.commons.collections4.Equator
Packages that use Equator
Package
Description
This package contains the interfaces and utilities shared across all the subpackages of this component.
This package contains implementations of the
Closure
,
Predicate
,
Transformer
and
Factory
interfaces.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 EquatorMethods in org.apache.commons.collections4 with parameters of type EquatorModifier and TypeMethodDescriptionstatic <E> boolean
Checks if the object is contained in the given iterable.static <E> boolean
CollectionUtils.isEqualCollection
(Collection<? extends E> a, Collection<? extends E> b, Equator<? super E> equator) Returnstrue
iff the givenCollection
s contain exactly the same elements with exactly the same cardinalities.static <E> List
<E> ListUtils.longestCommonSubsequence
(List<E> a, List<E> b, Equator<? super E> equator) Returns the longest common subsequence (LCS) of two sequences (lists).static <E> Collection
<E> CollectionUtils.removeAll
(Iterable<E> collection, Iterable<? extends E> remove, Equator<? super E> equator) Removes all elements inremove
fromcollection
.static <E> Collection
<E> CollectionUtils.retainAll
(Iterable<E> collection, Iterable<? extends E> retain, Equator<? super E> equator) Returns a collection containing all the elements incollection
that are also inretain
.Constructors in org.apache.commons.collections4 with parameters of type Equator -
Uses of Equator in org.apache.commons.collections4.functors
Classes in org.apache.commons.collections4.functors that implement EquatorFields in org.apache.commons.collections4.functors declared as EquatorMethods in org.apache.commons.collections4.functors with parameters of type EquatorModifier and TypeMethodDescriptionstatic <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 EquatorModifierConstructorDescriptionEqualPredicate
(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 EquatorModifier and TypeFieldDescriptionSequencesComparator.equator
The equator used for testing object equality.Constructors in org.apache.commons.collections4.sequence with parameters of type Equator