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