Uses of Interface
com.landawn.abacus.util.Throwables.IntPredicate
Package
Description
-
Uses of Throwables.IntPredicate in com.landawn.abacus.util
Modifier and TypeMethodDescription<E extends Exception>
booleanIntList.allMatch
(int fromIndex, int toIndex, Throwables.IntPredicate<E> filter) <E extends Exception>
booleanIntList.allMatch
(Throwables.IntPredicate<E> filter) Returns whether all elements of this List match the provided predicate.<E extends Exception>
booleanIntList.anyMatch
(int fromIndex, int toIndex, Throwables.IntPredicate<E> filter) <E extends Exception>
booleanIntList.anyMatch
(Throwables.IntPredicate<E> filter) Returns whether any elements of this List match the provided predicate.<E extends Exception>
intIntList.count
(int fromIndex, int toIndex, Throwables.IntPredicate<E> filter) <E extends Exception>
intIntList.count
(Throwables.IntPredicate<E> filter) static <E extends Exception>
intN.count
(int[] a, int fromIndex, int toIndex, Throwables.IntPredicate<E> filter) Mostly it's designed for one-step operation to complete the operation in one step.static <E extends Exception>
intN.count
(int[] a, Throwables.IntPredicate<E> filter) Mostly it's designed for one-step operation to complete the operation in one step.IntList.filter
(int fromIndex, int toIndex, Throwables.IntPredicate<E> filter) IntList.filter
(int fromIndex, int toIndex, Throwables.IntPredicate<E> filter, int max) IntList.filter
(Throwables.IntPredicate<E> filter) IntList.filter
(Throwables.IntPredicate<E> filter, int max) static <E extends Exception>
int[]N.filter
(int[] a, int fromIndex, int toIndex, Throwables.IntPredicate<E> filter) static <E extends Exception>
int[]N.filter
(int[] a, int fromIndex, int toIndex, Throwables.IntPredicate<E> filter, int max) Mostly it's designed for one-step operation to complete the operation in one step.static <E extends Exception>
int[]N.filter
(int[] a, Throwables.IntPredicate<E> filter) static <E extends Exception>
int[]N.filter
(int[] a, Throwables.IntPredicate<E> filter, int max) <E extends Exception>
u.OptionalIntu.OptionalInt.filter
(Throwables.IntPredicate<E> predicate) <E extends Exception>
u.OptionalIntIntList.findFirst
(Throwables.IntPredicate<E> predicate) <E extends Exception>
u.OptionalIntIntList.findFirstIndex
(Throwables.IntPredicate<E> predicate) Find first index.<E extends Exception>
u.OptionalIntIntList.findLast
(Throwables.IntPredicate<E> predicate) <E extends Exception>
u.OptionalIntIntList.findLastIndex
(Throwables.IntPredicate<E> predicate) Find last index.<E extends Exception>
booleanIntList.noneMatch
(int fromIndex, int toIndex, Throwables.IntPredicate<E> filter) <E extends Exception>
booleanIntList.noneMatch
(Throwables.IntPredicate<E> filter) Returns whether no elements of this List match the provided predicate.<E extends Exception>
booleanIntList.removeIf
(Throwables.IntPredicate<E> p) Removes the if.<E extends Exception>
booleanIntList.replaceIf
(Throwables.IntPredicate<E> predicate, int newValue) static <E extends Exception>
intN.replaceIf
(int[] a, Throwables.IntPredicate<E> predicate, int newValue) <E extends Exception>
booleanMutableInt.setIf
(int newValue, Throwables.IntPredicate<E> predicate) Set with the specified new value and returnstrue
ifpredicate
returns true. -
Uses of Throwables.IntPredicate in com.landawn.abacus.util.function
Modifier and TypeInterfaceDescriptioninterface
Refer to JDK API documentation at: https://docs.oracle.com/javase/8/docs/api/java/util/function/package-summary.html -
Uses of Throwables.IntPredicate in com.landawn.abacus.util.stream
Modifier and TypeMethodDescriptionabstract <E extends Exception>
booleanIntStream.allMatch
(Throwables.IntPredicate<E> predicate) abstract <E extends Exception>
booleanIntStream.anyMatch
(Throwables.IntPredicate<E> predicate) abstract <E extends Exception>
u.OptionalIntIntStream.findAny
(Throwables.IntPredicate<E> predicate) abstract <E extends Exception>
u.OptionalIntIntStream.findFirst
(Throwables.IntPredicate<E> predicate) abstract <E extends Exception>
u.OptionalIntIntStream.findFirstOrAny
(Throwables.IntPredicate<E> predicateForFirst) Returns the first element matched bypredicateForFirst
if found or the first element if this stream is not empty Otherwise an emptyOptionalInt
will be returned.abstract <E extends Exception>
u.OptionalIntIntStream.findFirstOrLast
(Throwables.IntPredicate<E> predicateForFirst) Returns the first element matched bypredicateForFirst
if found or the last element if this stream is not empty Otherwise an emptyOptionalInt
will be returned.abstract <E extends Exception>
u.OptionalIntIntStream.findLast
(Throwables.IntPredicate<E> predicate) Consider using:stream.reversed().findFirst(predicate)
for better performance if possible.abstract <E extends Exception>
booleanIntStream.noneMatch
(Throwables.IntPredicate<E> predicate)