Uses of Class
com.landawn.abacus.util.LongList
Packages that use LongList
-
Uses of LongList in com.landawn.abacus.util
Methods in com.landawn.abacus.util that return LongListModifier and TypeMethodDescriptionLongList.copy()
LongList.copy
(int fromIndex, int toIndex) LongList.copy
(int fromIndex, int toIndex, int step) static LongList
LongList.copyOf
(long[] a) static LongList
LongList.copyOf
(long[] a, int fromIndex, int toIndex) LongList.difference
(long[] a) LongList.difference
(LongList b) LongList.distinct
(int fromIndex, int toIndex) 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 LongList
LongList.from
(Collection<Long> c) static LongList
LongList.from
(Collection<Long> c, int fromIndex, int toIndex) static LongList
LongList.from
(Collection<Long> c, int fromIndex, int toIndex, long defaultForNull) static LongList
LongList.from
(Collection<Long> c, long defaultForNull) LongList.intersection
(long[] a) LongList.intersection
(LongList b) LongList.map
(int fromIndex, int toIndex, Throwables.LongUnaryOperator<E> mapper) LongList.map
(Throwables.LongUnaryOperator<E> mapper) static LongList
LongList.of
(long... a) static LongList
LongList.of
(long[] a, int size) static LongList
LongList.random
(int len) static LongList
LongList.range
(long startInclusive, long endExclusive) static LongList
LongList.range
(long startInclusive, long endExclusive, long by) static LongList
LongList.rangeClosed
(long startInclusive, long endInclusive) static LongList
LongList.rangeClosed
(long startInclusive, long endInclusive, long by) static LongList
LongList.repeat
(long element, int len) LongList.symmetricDifference
(long[] a) LongList.symmetricDifference
(LongList b) LongIterator.toList()
NoCachingNoUpdating.DisposableLongArray.toList()
IntList.toLongList()
To long list.LongList.top
(int n) LongList.top
(int fromIndex, int toIndex, int n) LongList.top
(int fromIndex, int toIndex, int n, Comparator<? super Long> cmp) LongList.top
(int n, Comparator<? super Long> cmp) LongList.trimToSize()
Trim to size.Methods in com.landawn.abacus.util that return types with arguments of type LongListModifier and TypeMethodDescriptionstatic IntFunction<LongList>
Fn.Factory.ofLongList()
Of long list.Fn.Suppliers.ofLongList()
Of long list.LongList.split
(int fromIndex, int toIndex, int chunkSize) Returns List ofLongList
with consecutive sub sequences of the elements, each of the same size (the final sequence may be smaller).Methods in com.landawn.abacus.util with parameters of type LongListModifier and TypeMethodDescriptionAdds the all.Adds the all.boolean
Adds the all.boolean
Adds the all.boolean
LongList.containsAll
(LongList c) boolean
LongList.containsAny
(LongList c) LongList.difference
(LongList b) boolean
LongList.intersection
(LongList b) static final Builder.LongListBuilder
static Difference<List<Long>,
List<Long>> Removes the all.boolean
Removes the all.boolean
LongList.symmetricDifference
(LongList b) Method parameters in com.landawn.abacus.util with type arguments of type LongListModifier and TypeMethodDescription<E extends Exception>
voidLongList.accept
(Throwables.Consumer<? super LongList, E> action) LongList.acceptIfNotEmpty
(Throwables.Consumer<? super LongList, E> action) Accept if not empty.<R,
E extends Exception>
RLongList.apply
(Throwables.Function<? super LongList, ? extends R, E> func) <R,
E extends Exception>
u.Optional<R>LongList.applyIfNotEmpty
(Throwables.Function<? super LongList, ? extends R, E> func) Apply if not empty. -
Uses of LongList in com.landawn.abacus.util.stream
Methods in com.landawn.abacus.util.stream that return LongListMethods in com.landawn.abacus.util.stream that return types with arguments of type LongListModifier and TypeMethodDescriptionLongStream.collapse
(LongBiPredicate collapsible) Merge series of adjacent elements which satisfy the given predicate using the merger function and return a new stream.Collectors.toLongList()