public final class MostlySingleton<T> extends AbstractMostlySingleton<T>
Objects.equals for
 object comparison and a HashSet for backing storage.AbstractMostlySingleton.Stateset, state, value| Constructor and Description | 
|---|
MostlySingleton()  | 
MostlySingleton(T value)  | 
| 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, stream