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