
E - public interface CollectionWithCurrentElement<E> extends Collection<E>
| Modifier and Type | Method and Description |
|---|---|
E |
getCurrent() |
void |
setCurrent(E e) |
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, parallelStream, remove, removeAll, removeIf, retainAll, size, spliterator, stream, toArray, toArrayE getCurrent()
void setCurrent(E e)
e - the new active elementNoSuchElementException - if the Collection does not contain the new active element