E - element typepublic interface MutableResult<E> extends Result<E>
| Modifier and Type | Method and Description |
|---|---|
void |
add(E element)
Adds the specified element.
|
void |
remove(E element)
Removes the specified element.
|
close, collect, each, first, firstOr, firstOr, firstOrNull, iterator, iterator, stream, toList, toMap, toMapforEach, spliteratorvoid add(E element)
Result.iterator() but will not be persisted to the backing store until update is called
for the entity holding this object.element - to addvoid remove(E element)
Result.iterator(). Note the element is not actually removed from the backing store until
the entity holding this object is updated.element - to remove