public final class Interner<T> extends Object
Constructor and Description |
---|
Interner() |
Modifier and Type | Method and Description |
---|---|
T |
intern(T item)
Attempt to swap out the provided T for an interned version which matches based
on Object::hashcode.
|