T
- The type of objects in this collection.Collection<T>
, Iterable<T>
, Set<T>
public interface DomainObjectSet<T> extends Set<T>
Modifier and Type | Method | Description |
---|---|---|
List<T> |
getAll() |
Returns the elements of this set in the set's iteration order.
|
T |
getAt(int index) |
Returns the element at the given index according to the set's iteration order.
|
parallelStream, removeIf, stream, toArray
List<T> getAll()
T getAt(int index) throws IndexOutOfBoundsException
index
- The index of the element to get.IndexOutOfBoundsException