public interface Internable<T extends Internable<T>>
An object that may be interned to save heap space, similar to
String.intern()
.
Any interned object should also be immutable.- Author:
- AO Industries, Inc.
- See Also:
-
Method Summary
-
Method Details
-
intern
T intern()
-