Modifier and Type | Method and Description |
---|---|
T |
getFirst()
Get the first element provided by this listable.
|
default boolean |
isEmpty()
Indicates that the listable has no entries.
|
List<T> |
toList()
Creates a new, mutable list containing all elements.
|
forEach, iterator, spliterator
@Nullable T getFirst()
@NotNull List<T> toList()
Iterable
instead.default boolean isEmpty()
toList().isEmpty()
Copyright © 2021 e-Spirit AG. All Rights Reserved. Build 5.2.210210