public final class IdentityMostlySingleton<T> extends AbstractMostlySingleton<T>
ArrayList
for backing storage.AbstractMostlySingleton.State
set, state, value
Constructor and Description |
---|
IdentityMostlySingleton()
Create an IdentityMostlySingleton.
|
IdentityMostlySingleton(T value)
Create an IdentityMostlySingleton.
|
Modifier and Type | Method and Description |
---|---|
boolean |
add(T e) |
boolean |
contains(@Nullable Object o) |
addAll, clear, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
equals, hashCode, spliterator
parallelStream, removeIf, stream
public IdentityMostlySingleton()
public IdentityMostlySingleton(T value)