Uses of Interface
com.landawn.abacus.util.Throwables.LongPredicate
Package
Description
-
Uses of Throwables.LongPredicate in com.landawn.abacus.util
Modifier and TypeMethodDescription<E extends Exception>
booleanLongList.allMatch
(int fromIndex, int toIndex, Throwables.LongPredicate<E> filter) <E extends Exception>
booleanLongList.allMatch
(Throwables.LongPredicate<E> filter) Returns whether all elements of this List match the provided predicate.<E extends Exception>
booleanLongList.anyMatch
(int fromIndex, int toIndex, Throwables.LongPredicate<E> filter) <E extends Exception>
booleanLongList.anyMatch
(Throwables.LongPredicate<E> filter) Returns whether any elements of this List match the provided predicate.<E extends Exception>
intLongList.count
(int fromIndex, int toIndex, Throwables.LongPredicate<E> filter) <E extends Exception>
intLongList.count
(Throwables.LongPredicate<E> filter) static <E extends Exception>
intN.count
(long[] a, int fromIndex, int toIndex, Throwables.LongPredicate<E> filter) Mostly it's designed for one-step operation to complete the operation in one step.static <E extends Exception>
intN.count
(long[] a, Throwables.LongPredicate<E> filter) Mostly it's designed for one-step operation to complete the operation in one step.LongList.filter
(int fromIndex, int toIndex, Throwables.LongPredicate<E> filter) LongList.filter
(int fromIndex, int toIndex, Throwables.LongPredicate<E> filter, int max) LongList.filter
(Throwables.LongPredicate<E> filter) LongList.filter
(Throwables.LongPredicate<E> filter, int max) static <E extends Exception>
long[]N.filter
(long[] a, int fromIndex, int toIndex, Throwables.LongPredicate<E> filter) static <E extends Exception>
long[]N.filter
(long[] a, int fromIndex, int toIndex, Throwables.LongPredicate<E> filter, int max) Mostly it's designed for one-step operation to complete the operation in one step.static <E extends Exception>
long[]N.filter
(long[] a, Throwables.LongPredicate<E> filter) static <E extends Exception>
long[]N.filter
(long[] a, Throwables.LongPredicate<E> filter, int max) <E extends Exception>
u.OptionalLongu.OptionalLong.filter
(Throwables.LongPredicate<E> predicate) <E extends Exception>
u.OptionalLongLongList.findFirst
(Throwables.LongPredicate<E> predicate) <E extends Exception>
u.OptionalIntLongList.findFirstIndex
(Throwables.LongPredicate<E> predicate) Find first index.<E extends Exception>
u.OptionalLongLongList.findLast
(Throwables.LongPredicate<E> predicate) <E extends Exception>
u.OptionalIntLongList.findLastIndex
(Throwables.LongPredicate<E> predicate) Find last index.<E extends Exception>
booleanLongList.noneMatch
(int fromIndex, int toIndex, Throwables.LongPredicate<E> filter) <E extends Exception>
booleanLongList.noneMatch
(Throwables.LongPredicate<E> filter) Returns whether no elements of this List match the provided predicate.<E extends Exception>
booleanLongList.removeIf
(Throwables.LongPredicate<E> p) Removes the if.<E extends Exception>
booleanLongList.replaceIf
(Throwables.LongPredicate<E> predicate, long newValue) static <E extends Exception>
intN.replaceIf
(long[] a, Throwables.LongPredicate<E> predicate, long newValue) <E extends Exception>
booleanMutableLong.setIf
(long newValue, Throwables.LongPredicate<E> predicate) Set with the specified new value and returnstrue
ifpredicate
returns true. -
Uses of Throwables.LongPredicate 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.LongPredicate in com.landawn.abacus.util.stream
Modifier and TypeMethodDescriptionabstract <E extends Exception>
booleanLongStream.allMatch
(Throwables.LongPredicate<E> predicate) abstract <E extends Exception>
booleanLongStream.anyMatch
(Throwables.LongPredicate<E> predicate) abstract <E extends Exception>
u.OptionalLongLongStream.findAny
(Throwables.LongPredicate<E> predicate) abstract <E extends Exception>
u.OptionalLongLongStream.findFirst
(Throwables.LongPredicate<E> predicate) abstract <E extends Exception>
u.OptionalLongLongStream.findFirstOrAny
(Throwables.LongPredicate<E> predicateForFirst) Returns the first element matched bypredicateForFirst
if found or the first element if this stream is not empty Otherwise an emptyOptionalLong
will be returned.abstract <E extends Exception>
u.OptionalLongLongStream.findFirstOrLast
(Throwables.LongPredicate<E> predicateForFirst) Returns the first element matched bypredicateForFirst
if found or the last element if this stream is not empty Otherwise an emptyOptionalLong
will be returned.abstract <E extends Exception>
u.OptionalLongLongStream.findLast
(Throwables.LongPredicate<E> predicate) Consider using:stream.reversed().findFirst(predicate)
for better performance if possible.abstract <E extends Exception>
booleanLongStream.noneMatch
(Throwables.LongPredicate<E> predicate)