Uses of Interface
com.landawn.abacus.util.Throwables.BytePredicate
Package
Description
-
Uses of Throwables.BytePredicate in com.landawn.abacus.util
Modifier and TypeMethodDescription<E extends Exception>
booleanByteList.allMatch
(int fromIndex, int toIndex, Throwables.BytePredicate<E> filter) <E extends Exception>
booleanByteList.allMatch
(Throwables.BytePredicate<E> filter) Returns whether all elements of this List match the provided predicate.<E extends Exception>
booleanByteList.anyMatch
(int fromIndex, int toIndex, Throwables.BytePredicate<E> filter) <E extends Exception>
booleanByteList.anyMatch
(Throwables.BytePredicate<E> filter) Returns whether any elements of this List match the provided predicate.<E extends Exception>
intByteList.count
(int fromIndex, int toIndex, Throwables.BytePredicate<E> filter) <E extends Exception>
intByteList.count
(Throwables.BytePredicate<E> filter) static <E extends Exception>
intN.count
(byte[] a, int fromIndex, int toIndex, Throwables.BytePredicate<E> filter) Mostly it's designed for one-step operation to complete the operation in one step.static <E extends Exception>
intN.count
(byte[] a, Throwables.BytePredicate<E> filter) Mostly it's designed for one-step operation to complete the operation in one step.ByteList.filter
(int fromIndex, int toIndex, Throwables.BytePredicate<E> filter) ByteList.filter
(int fromIndex, int toIndex, Throwables.BytePredicate<E> filter, int max) ByteList.filter
(Throwables.BytePredicate<E> filter) ByteList.filter
(Throwables.BytePredicate<E> filter, int max) static <E extends Exception>
byte[]N.filter
(byte[] a, int fromIndex, int toIndex, Throwables.BytePredicate<E> filter) static <E extends Exception>
byte[]N.filter
(byte[] a, int fromIndex, int toIndex, Throwables.BytePredicate<E> filter, int max) Mostly it's designed for one-step operation to complete the operation in one step.static <E extends Exception>
byte[]N.filter
(byte[] a, Throwables.BytePredicate<E> filter) static <E extends Exception>
byte[]N.filter
(byte[] a, Throwables.BytePredicate<E> filter, int max) <E extends Exception>
u.OptionalByteu.OptionalByte.filter
(Throwables.BytePredicate<E> predicate) <E extends Exception>
u.OptionalByteByteList.findFirst
(Throwables.BytePredicate<E> predicate) <E extends Exception>
u.OptionalIntByteList.findFirstIndex
(Throwables.BytePredicate<E> predicate) Find first index.<E extends Exception>
u.OptionalByteByteList.findLast
(Throwables.BytePredicate<E> predicate) <E extends Exception>
u.OptionalIntByteList.findLastIndex
(Throwables.BytePredicate<E> predicate) Find last index.<E extends Exception>
booleanByteList.noneMatch
(int fromIndex, int toIndex, Throwables.BytePredicate<E> filter) <E extends Exception>
booleanByteList.noneMatch
(Throwables.BytePredicate<E> filter) Returns whether no elements of this List match the provided predicate.<E extends Exception>
booleanByteList.removeIf
(Throwables.BytePredicate<E> p) Removes the if.<E extends Exception>
booleanByteList.replaceIf
(Throwables.BytePredicate<E> predicate, byte newValue) static <E extends Exception>
intN.replaceIf
(byte[] a, Throwables.BytePredicate<E> predicate, byte newValue) <E extends Exception>
booleanMutableByte.setIf
(byte newValue, Throwables.BytePredicate<E> predicate) Set with the specified new value and returnstrue
ifpredicate
returns true. -
Uses of Throwables.BytePredicate in com.landawn.abacus.util.function
-
Uses of Throwables.BytePredicate in com.landawn.abacus.util.stream
Modifier and TypeMethodDescriptionabstract <E extends Exception>
booleanByteStream.allMatch
(Throwables.BytePredicate<E> predicate) abstract <E extends Exception>
booleanByteStream.anyMatch
(Throwables.BytePredicate<E> predicate) abstract <E extends Exception>
u.OptionalByteByteStream.findAny
(Throwables.BytePredicate<E> predicate) abstract <E extends Exception>
u.OptionalByteByteStream.findFirst
(Throwables.BytePredicate<E> predicate) abstract <E extends Exception>
u.OptionalByteByteStream.findFirstOrAny
(Throwables.BytePredicate<E> predicateForFirst) Returns the first element matched bypredicateForFirst
if found or the first element if this stream is not empty Otherwise an emptyOptionalByte
will be returned.abstract <E extends Exception>
u.OptionalByteByteStream.findFirstOrLast
(Throwables.BytePredicate<E> predicateForFirst) Returns the first element matched bypredicateForFirst
if found or the last element if this stream is not empty Otherwise an emptyOptionalByte
will be returned.abstract <E extends Exception>
u.OptionalByteByteStream.findLast
(Throwables.BytePredicate<E> predicate) Consider using:stream.reversed().findFirst(predicate)
for better performance if possible.abstract <E extends Exception>
booleanByteStream.noneMatch
(Throwables.BytePredicate<E> predicate)