| Package | Description |
|---|---|
| com.landawn.abacus.util |
| Modifier and Type | Method and Description |
|---|---|
static <T> ObjIterator<T> |
Iterators.concat(Collection<? extends Iterator<? extends T>> c) |
static <T> ObjIterator<T> |
Iterators.concat(Collection<? extends T>... a) |
static <T> ObjIterator<T> |
Iterators.concat(Iterator<? extends T>... a) |
static <T> ObjIterator<T> |
N.concat(Iterator<? extends T>... a) |
static <T> ObjIterator<T> |
N.concat(Iterator<? extends T> a,
Iterator<? extends T> b) |
static <K,V> ObjIterator<Map.Entry<K,V>> |
Iterators.concat(Map<? extends K,? extends V>... a) |
static <T> ObjIterator<T> |
Iterators.concat(T[]... a) |
static <T> ObjIterator<T> |
Iterators.concatt(Collection<? extends Collection<? extends T>> c) |
static <T> ObjIterator<T> |
Iterators.distinct(Iterator<? extends T> iter) |
static <T> ObjIterator<T> |
Iterators.distinctBy(Iterator<? extends T> iter,
Function<? super T,?> keyMapper) |
static <T> ObjIterator<T> |
Iterators.dropWhile(Iterator<? extends T> iter,
Predicate<? super T> filter) |
static <T> ObjIterator<T> |
ObjIterator.empty() |
static <T> ObjIterator<T> |
Iterators.filter(Iterator<? extends T> iter,
Predicate<? super T> filter) |
static <T,U> ObjIterator<U> |
Iterators.flatMap(Iterator<? extends T> iter,
Function<? super T,? extends Collection<? extends U>> mapper) |
static <T,U> ObjIterator<U> |
Iterators.flattMap(Iterator<? extends T> iter,
Function<? super T,? extends U[]> mapper) |
static <T> ObjIterator<T> |
ObjIterator.generate(BooleanSupplier hasNext,
Supplier<? extends T> supplier) |
static <T> ObjIterator<T> |
ObjIterator.generate(Supplier<? extends T> supplier)
Returns an infinite
ObjIterator. |
static <T,U> ObjIterator<T> |
Iterators.generate(U init,
BiPredicate<? super U,T> hasNext,
BiFunction<? super U,T,T> supplier) |
static <T,U> ObjIterator<T> |
Iterators.generate(U init,
Predicate<? super U> hasNext,
Function<? super U,T> supplier) |
static ObjIterator<Class<?>> |
ClassUtil.hierarchy(Class<?> type)
Gets an
Iterator that can iterate over a class hierarchy in ascending (subclass to superclass) order,
excluding interfaces. |
static ObjIterator<Class<?>> |
ClassUtil.hierarchy(Class<?> type,
boolean includeInterface)
Gets an
Iterator that can iterate over a class hierarchy in ascending (subclass to superclass) order. |
static <T> ObjIterator<Indexed<T>> |
Indexed.iterate(Iterator<? extends T> iter) |
static <T> ObjIterator<Indexed<T>> |
Indexed.iterate(Iterator<? extends T> iter,
int startIndex) |
static <T> ObjIterator<Indexed<T>> |
Indexed.iterate(Iterator<? extends T> iter,
long startIndex) |
static <T> ObjIterator<T> |
N.iterate(T[] a) |
static <T> ObjIterator<T> |
N.iterate(T[] a,
int fromIndex,
int toIndex) |
ObjIterator<E> |
ImmutableCollection.iterator() |
static <T> ObjIterator<T> |
ObjIterator.just(T val) |
static <T> ObjIterator<T> |
Iterators.limit(Iterator<? extends T> iter,
long count)
Returns a new
Iterator. |
abstract <R> ObjIterator<R> |
BiIterator.map(BiFunction<? super A,? super B,R> mapper) |
static <T,U> ObjIterator<U> |
Iterators.map(Iterator<? extends T> iter,
Function<? super T,U> mapper) |
static <T> ObjIterator<T> |
Iterators.merge(Collection<? extends Iterator<? extends T>> c,
BiFunction<? super T,? super T,MergeResult> nextSelector) |
static <T> ObjIterator<T> |
Iterators.merge(Collection<? extends T> a,
Collection<? extends T> b,
BiFunction<? super T,? super T,MergeResult> nextSelector) |
static <T> ObjIterator<T> |
Iterators.merge(Iterator<? extends T> a,
Iterator<? extends T> b,
BiFunction<? super T,? super T,MergeResult> nextSelector) |
static <T> ObjIterator<T> |
Iterators.merge(List<? extends Collection<? extends T>> c,
BiFunction<? super T,? super T,MergeResult> nextSelector) |
static <T extends Comparable> |
Iterators.mergeSorted(Collection<? extends T> a,
Collection<? extends T> b) |
static <T> ObjIterator<T> |
Iterators.mergeSorted(Collection<? extends T> a,
Collection<? extends T> b,
Comparator<? super T> cmp) |
static <T extends Comparable> |
Iterators.mergeSorted(Iterator<? extends T> a,
Iterator<? extends T> b) |
static <T> ObjIterator<T> |
Iterators.mergeSorted(Iterator<? extends T> a,
Iterator<? extends T> b,
Comparator<? super T> cmp) |
static <T> ObjIterator<T> |
Iterators.mergge(Collection<? extends Collection<? extends T>> c,
BiFunction<? super T,? super T,MergeResult> nextSelector) |
static <T> ObjIterator<T> |
ObjIterator.of(Collection<? extends T> iterable) |
static <T> ObjIterator<T> |
ObjIterator.of(Iterable<? extends T> iterable) |
static <T> ObjIterator<T> |
ObjIterator.of(Iterator<? extends T> iter) |
static <T> ObjIterator<T> |
ObjIterator.of(T... a) |
static <T> ObjIterator<T> |
ObjIterator.of(T[] a,
int fromIndex,
int toIndex) |
static <T> ObjIterator<T> |
Iterators.repeat(T e,
int n) |
static <T> ObjIterator<T> |
Iterators.repeatAll(Collection<? extends T> c,
int n) |
static <T> ObjIterator<T> |
Iterators.repeatAllToSize(Collection<? extends T> c,
int size)
Repeat all to size.
|
static <T> ObjIterator<T> |
Iterators.repeatEach(Collection<? extends T> c,
int n) |
static <T> ObjIterator<T> |
Iterators.repeatEachToSize(Collection<? extends T> c,
int size)
Repeat each to size.
|
static <T> ObjIterator<T> |
Iterators.skip(Iterator<? extends T> iter,
long n)
Calls
next() on iterator, either n times
or until hasNext() returns false, whichever comes first. |
static <T> ObjIterator<T> |
Iterators.skipAndLimit(Iterator<? extends T> iter,
long offset,
long count)
Calls
next() on iterator, either offset times
or until hasNext() returns false, whichever comes first. |
static <T> ObjIterator<T> |
Iterators.skipNull(Iterator<? extends T> iter)
Returns a new
ObjIterator with null elements removed. |
static <T> ObjIterator<T> |
Iterators.skipUntil(Iterator<? extends T> iter,
Predicate<? super T> filter) |
static <T> ObjIterator<List<T>> |
N.split(Iterator<? extends T> iter,
int chunkSize) |
static <T> ObjIterator<T> |
Iterators.takeWhile(Iterator<? extends T> iter,
Predicate<? super T> filter) |
static <T> ObjIterator<T> |
Iterators.takeWhileInclusive(Iterator<? extends T> iter,
Predicate<? super T> filter) |
static <T> ObjIterator<T> |
Enumerations.toIterator(Enumeration<? extends T> e) |
static <A,B,R> ObjIterator<R> |
Iterators.zip(Collection<A> a,
Collection<B> b,
A valueForNoneA,
B valueForNoneB,
BiFunction<? super A,? super B,R> zipFunction) |
static <A,B,R> ObjIterator<R> |
Iterators.zip(Collection<A> a,
Collection<B> b,
BiFunction<? super A,? super B,R> zipFunction) |
static <A,B,C,R> ObjIterator<R> |
Iterators.zip(Collection<A> a,
Collection<B> b,
Collection<C> c,
A valueForNoneA,
B valueForNoneB,
C valueForNoneC,
TriFunction<? super A,? super B,? super C,R> zipFunction) |
static <A,B,C,R> ObjIterator<R> |
Iterators.zip(Collection<A> a,
Collection<B> b,
Collection<C> c,
TriFunction<? super A,? super B,? super C,R> zipFunction) |
static <A,B,R> ObjIterator<R> |
Iterators.zip(Iterator<A> a,
Iterator<B> b,
A valueForNoneA,
B valueForNoneB,
BiFunction<? super A,? super B,R> zipFunction) |
static <A,B,R> ObjIterator<R> |
Iterators.zip(Iterator<A> a,
Iterator<B> b,
BiFunction<? super A,? super B,R> zipFunction) |
static <A,B,C,R> ObjIterator<R> |
Iterators.zip(Iterator<A> a,
Iterator<B> b,
Iterator<C> c,
A valueForNoneA,
B valueForNoneB,
C valueForNoneC,
TriFunction<? super A,? super B,? super C,R> zipFunction) |
static <A,B,C,R> ObjIterator<R> |
Iterators.zip(Iterator<A> a,
Iterator<B> b,
Iterator<C> c,
TriFunction<? super A,? super B,? super C,R> zipFunction) |
Copyright © 2021. All rights reserved.