public interface OptionalList<T>
extends java.util.List<T>
| Modifier and Type | Method and Description |
|---|---|
void |
ifAllPresent(int start,
java.util.function.Consumer<OptionalList<T>> consumer) |
void |
ifAllPresent(int start,
int end,
java.util.function.Consumer<OptionalList<T>> consumer) |
void |
ifAllPresentForEach(int start,
java.util.function.Consumer<T> consumer) |
void |
ifAllPresentForEach(int start,
int end,
java.util.function.Consumer<T> consumer) |
void |
ifEmpty(java.lang.Runnable runnable) |
void |
ifPresent(int i,
java.util.function.Consumer<T> consumer) |
void |
ifSingle(java.util.function.Consumer<T> consumer) |
void |
ifSizeSuperior(int size,
java.util.function.Consumer<OptionalList<T>> consumer) |
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArrayvoid ifEmpty(java.lang.Runnable runnable)
void ifPresent(int i,
java.util.function.Consumer<T> consumer)
void ifSingle(java.util.function.Consumer<T> consumer)
void ifAllPresent(int start,
int end,
java.util.function.Consumer<OptionalList<T>> consumer)
void ifAllPresent(int start,
java.util.function.Consumer<OptionalList<T>> consumer)
void ifAllPresentForEach(int start,
int end,
java.util.function.Consumer<T> consumer)
void ifAllPresentForEach(int start,
java.util.function.Consumer<T> consumer)
void ifSizeSuperior(int size,
java.util.function.Consumer<OptionalList<T>> consumer)