-
InterfaceDescriptionUse
Supplier
.since 4.1, useMultiValuedMap
insteadUsePredicate
.UseFunction
.
-
ClassDescriptionuse
ArrayDeque
instead (available from Java 1.6)useAbstractLinkedListForJava21
insteadparentAbstractLinkedList
is source incompatible with List methods added in Java 21parentAbstractLinkedList
is source incompatible with List methods added in Java 21since 4.1, useMultiValuedMap
instead
-
MethodDescriptionsince 4.1, use
IterableUtils.frequency(Iterable, Object)
instead. Be aware that the order of parameters has changed.since 4.1, useIterableUtils.countMatches(Iterable, Predicate)
insteadsince 4.1, useIterableUtils.matchesAny(Iterable, Predicate)
insteadsince 4.1, useIterableUtils.find(Iterable, Predicate)
insteadsince 4.1, useIterableUtils.forEachButLast(Iterable, Closure)
insteadsince 4.1, useIteratorUtils.forEachButLast(Iterator, Closure)
insteadsince 4.1, useIterableUtils.forEach(Iterable, Closure)
insteadsince 4.1, useIteratorUtils.forEach(Iterator, Closure)
insteadsince 4.1, useIterableUtils.get(Iterable, int)
insteadsince 4.1, useIteratorUtils.get(Iterator, int)
insteadsince 4.1, useIterableUtils.matchesAll(Iterable, Predicate)
insteadsince 4.1, useCollections.synchronizedCollection(Collection)
insteadsince 4.1, useCollections.unmodifiableCollection(Collection)
insteadmethod name has typo in it. UseUnmodifiableListIterator.unmodifiableListIterator(ListIterator)
instead.since 4.1, useMultiValuedMap
insteadsince 4.1, useMultiValuedMap
insteadsince 4.1, useMultiValuedMap
instead
Consumer
.