Uses of Class
com.landawn.abacus.util.FloatList
-
Uses of FloatList in com.landawn.abacus.util
Modifier and TypeMethodDescriptionFloatList.copy()
FloatList.copy
(int fromIndex, int toIndex) FloatList.copy
(int fromIndex, int toIndex, int step) static FloatList
FloatList.copyOf
(float[] a) static FloatList
FloatList.copyOf
(float[] a, int fromIndex, int toIndex) FloatList.difference
(float[] a) FloatList.difference
(FloatList b) FloatList.distinct
(int fromIndex, int toIndex) FloatList.filter
(int fromIndex, int toIndex, Throwables.FloatPredicate<E> filter) FloatList.filter
(int fromIndex, int toIndex, Throwables.FloatPredicate<E> filter, int max) FloatList.filter
(Throwables.FloatPredicate<E> filter) FloatList.filter
(Throwables.FloatPredicate<E> filter, int max) static FloatList
FloatList.from
(Collection<Float> c) static FloatList
FloatList.from
(Collection<Float> c, float defaultForNull) static FloatList
FloatList.from
(Collection<Float> c, int fromIndex, int toIndex) static FloatList
FloatList.from
(Collection<Float> c, int fromIndex, int toIndex, float defaultForNull) FloatList.intersection
(float[] a) FloatList.intersection
(FloatList b) FloatList.map
(int fromIndex, int toIndex, Throwables.FloatUnaryOperator<E> mapper) FloatList.map
(Throwables.FloatUnaryOperator<E> mapper) static FloatList
FloatList.of
(float... a) static FloatList
FloatList.of
(float[] a, int size) static FloatList
FloatList.random
(int len) static FloatList
FloatList.repeat
(float element, int len) FloatList.symmetricDifference
(float[] a) FloatList.symmetricDifference
(FloatList b) IntList.toFloatList()
To float list.LongList.toFloatList()
To float list.FloatIterator.toList()
NoCachingNoUpdating.DisposableFloatArray.toList()
FloatList.top
(int n) FloatList.top
(int fromIndex, int toIndex, int n) FloatList.top
(int fromIndex, int toIndex, int n, Comparator<? super Float> cmp) FloatList.top
(int n, Comparator<? super Float> cmp) FloatList.trimToSize()
Trim to size.Modifier and TypeMethodDescriptionstatic IntFunction<FloatList>
Fn.Factory.ofFloatList()
Of float list.Fn.Suppliers.ofFloatList()
Of float list.FloatList.split
(int fromIndex, int toIndex, int chunkSize) Returns List ofFloatList
with consecutive sub sequences of the elements, each of the same size (the final sequence may be smaller).Modifier and TypeMethodDescriptionAdds the all.Adds the all.boolean
Adds the all.boolean
Adds the all.boolean
FloatList.containsAll
(FloatList c) boolean
FloatList.containsAny
(FloatList c) FloatList.difference
(FloatList b) boolean
FloatList.intersection
(FloatList b) static final Builder.FloatListBuilder
static Difference<List<Float>,
List<Float>> Removes the all.boolean
Removes the all.boolean
FloatList.symmetricDifference
(FloatList b) Modifier and TypeMethodDescription<E extends Exception>
voidFloatList.accept
(Throwables.Consumer<? super FloatList, E> action) FloatList.acceptIfNotEmpty
(Throwables.Consumer<? super FloatList, E> action) Accept if not empty.<R,
E extends Exception>
RFloatList.apply
(Throwables.Function<? super FloatList, ? extends R, E> func) <R,
E extends Exception>
u.Optional<R>FloatList.applyIfNotEmpty
(Throwables.Function<? super FloatList, ? extends R, E> func) Apply if not empty. -
Uses of FloatList in com.landawn.abacus.util.stream
Modifier and TypeMethodDescriptionFloatStream.collapse
(FloatBiPredicate collapsible) Merge series of adjacent elements which satisfy the given predicate using the merger function and return a new stream.Collectors.toFloatList()