public final class IdentityMostlySingleton<T> extends AbstractMostlySingleton<T>
ArrayList for backing storage.AbstractMostlySingleton.Stateset, 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, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitequals, hashCode, spliteratorparallelStream, removeIf, streampublic IdentityMostlySingleton()
public IdentityMostlySingleton(T value)