public interface MaridIterators
| Modifier and Type | Method | Description |
|---|---|---|
static <T> @NotNull T[] |
array(@NotNull java.lang.Class<T> type,
@NotNull java.lang.Iterable<? extends T> iterable) |
|
static <T> @NotNull T[] |
array(@NotNull java.lang.Class<T> type,
@NotNull java.util.Iterator<? extends T> iterator) |
|
static <E> void |
forEach(@NotNull java.lang.Iterable<E> iterable,
@NotNull java.util.function.BiConsumer<java.lang.Boolean,E> consumer) |
|
static <E> @NotNull java.lang.Iterable<E> |
iterable(@NotNull java.util.function.Supplier<@NotNull java.util.Iterator<E>> iteratorSupplier) |
|
static <E> @NotNull java.lang.Iterable<E> |
iterable(@NotNull java.util.Iterator<E> iterator) |
|
static <E> @NotNull java.util.Iterator<E> |
iterator(@NotNull java.util.function.BooleanSupplier hasNext,
@NotNull java.util.function.Supplier<E> next) |
|
static @NotNull java.util.Iterator<java.lang.String> |
lineIterator(@NotNull java.util.Scanner scanner) |
|
static <E> java.util.stream.Stream<E> |
stream(@NotNull java.lang.Iterable<E> iterable) |
@NotNull
static <E> @NotNull java.util.Iterator<E> iterator(@NotNull
@NotNull java.util.function.BooleanSupplier hasNext,
@NotNull
@NotNull java.util.function.Supplier<E> next)
static <E> java.util.stream.Stream<E> stream(@NotNull
@NotNull java.lang.Iterable<E> iterable)
@NotNull
static @NotNull java.util.Iterator<java.lang.String> lineIterator(@NotNull
@NotNull java.util.Scanner scanner)
static <E> void forEach(@NotNull
@NotNull java.lang.Iterable<E> iterable,
@NotNull
@NotNull java.util.function.BiConsumer<java.lang.Boolean,E> consumer)
@NotNull
static <E> @NotNull java.lang.Iterable<E> iterable(@NotNull
@NotNull java.util.function.Supplier<@NotNull java.util.Iterator<E>> iteratorSupplier)
@NotNull
static <E> @NotNull java.lang.Iterable<E> iterable(@NotNull
@NotNull java.util.Iterator<E> iterator)
@NotNull
static <T> @NotNull T[] array(@NotNull
@NotNull java.lang.Class<T> type,
@NotNull
@NotNull java.lang.Iterable<? extends T> iterable)
@NotNull
static <T> @NotNull T[] array(@NotNull
@NotNull java.lang.Class<T> type,
@NotNull
@NotNull java.util.Iterator<? extends T> iterator)
Copyright © 2012–2018 MARID software development group. All rights reserved.