Uses of Interface
com.landawn.abacus.util.Throwables.ShortPredicate
Packages that use Throwables.ShortPredicate
Package
Description
-
Uses of Throwables.ShortPredicate in com.landawn.abacus.util
Methods in com.landawn.abacus.util with parameters of type Throwables.ShortPredicateModifier and TypeMethodDescription<E extends Exception>
booleanShortList.allMatch
(int fromIndex, int toIndex, Throwables.ShortPredicate<E> filter) <E extends Exception>
booleanShortList.allMatch
(Throwables.ShortPredicate<E> filter) Returns whether all elements of this List match the provided predicate.<E extends Exception>
booleanShortList.anyMatch
(int fromIndex, int toIndex, Throwables.ShortPredicate<E> filter) <E extends Exception>
booleanShortList.anyMatch
(Throwables.ShortPredicate<E> filter) Returns whether any elements of this List match the provided predicate.static <E extends Exception>
intN.count
(short[] a, int fromIndex, int toIndex, Throwables.ShortPredicate<E> filter) Mostly it's designed for one-step operation to complete the operation in one step.static <E extends Exception>
intN.count
(short[] a, Throwables.ShortPredicate<E> filter) Mostly it's designed for one-step operation to complete the operation in one step.<E extends Exception>
intShortList.count
(int fromIndex, int toIndex, Throwables.ShortPredicate<E> filter) <E extends Exception>
intShortList.count
(Throwables.ShortPredicate<E> filter) static <E extends Exception>
short[]N.filter
(short[] a, int fromIndex, int toIndex, Throwables.ShortPredicate<E> filter) static <E extends Exception>
short[]N.filter
(short[] a, int fromIndex, int toIndex, Throwables.ShortPredicate<E> filter, int max) Mostly it's designed for one-step operation to complete the operation in one step.static <E extends Exception>
short[]N.filter
(short[] a, Throwables.ShortPredicate<E> filter) static <E extends Exception>
short[]N.filter
(short[] a, Throwables.ShortPredicate<E> filter, int max) ShortList.filter
(int fromIndex, int toIndex, Throwables.ShortPredicate<E> filter) ShortList.filter
(int fromIndex, int toIndex, Throwables.ShortPredicate<E> filter, int max) ShortList.filter
(Throwables.ShortPredicate<E> filter) ShortList.filter
(Throwables.ShortPredicate<E> filter, int max) <E extends Exception>
u.OptionalShortu.OptionalShort.filter
(Throwables.ShortPredicate<E> predicate) <E extends Exception>
u.OptionalShortShortList.findFirst
(Throwables.ShortPredicate<E> predicate) <E extends Exception>
u.OptionalIntShortList.findFirstIndex
(Throwables.ShortPredicate<E> predicate) Find first index.<E extends Exception>
u.OptionalShortShortList.findLast
(Throwables.ShortPredicate<E> predicate) <E extends Exception>
u.OptionalIntShortList.findLastIndex
(Throwables.ShortPredicate<E> predicate) Find last index.<E extends Exception>
booleanShortList.noneMatch
(int fromIndex, int toIndex, Throwables.ShortPredicate<E> filter) <E extends Exception>
booleanShortList.noneMatch
(Throwables.ShortPredicate<E> filter) Returns whether no elements of this List match the provided predicate.<E extends Exception>
booleanShortList.removeIf
(Throwables.ShortPredicate<E> p) Removes the if.static <E extends Exception>
intN.replaceIf
(short[] a, Throwables.ShortPredicate<E> predicate, short newValue) <E extends Exception>
booleanShortList.replaceIf
(Throwables.ShortPredicate<E> predicate, short newValue) <E extends Exception>
booleanMutableShort.setIf
(short newValue, Throwables.ShortPredicate<E> predicate) Set with the specified new value and returnstrue
ifpredicate
returns true. -
Uses of Throwables.ShortPredicate in com.landawn.abacus.util.function
Subinterfaces of Throwables.ShortPredicate in com.landawn.abacus.util.function -
Uses of Throwables.ShortPredicate in com.landawn.abacus.util.stream
Methods in com.landawn.abacus.util.stream with parameters of type Throwables.ShortPredicateModifier and TypeMethodDescriptionabstract <E extends Exception>
booleanShortStream.allMatch
(Throwables.ShortPredicate<E> predicate) abstract <E extends Exception>
booleanShortStream.anyMatch
(Throwables.ShortPredicate<E> predicate) abstract <E extends Exception>
u.OptionalShortShortStream.findAny
(Throwables.ShortPredicate<E> predicate) abstract <E extends Exception>
u.OptionalShortShortStream.findFirst
(Throwables.ShortPredicate<E> predicate) abstract <E extends Exception>
u.OptionalShortShortStream.findFirstOrAny
(Throwables.ShortPredicate<E> predicateForFirst) Returns the first element matched bypredicateForFirst
if found or the first element if this stream is not empty Otherwise an emptyOptionalShort
will be returned.abstract <E extends Exception>
u.OptionalShortShortStream.findFirstOrLast
(Throwables.ShortPredicate<E> predicateForFirst) Returns the first element matched bypredicateForFirst
if found or the last element if this stream is not empty Otherwise an emptyOptionalShort
will be returned.abstract <E extends Exception>
u.OptionalShortShortStream.findLast
(Throwables.ShortPredicate<E> predicate) Consider using:stream.reversed().findFirst(predicate)
for better performance if possible.abstract <E extends Exception>
booleanShortStream.noneMatch
(Throwables.ShortPredicate<E> predicate)