public final class IdentityMostlySingleton<T> extends AbstractMostlySingleton<T>
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(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)
public boolean add(@FindDistinct T e)
public boolean contains(Object o)