How would I write a generic InternPool in Java? Does it need a Internable interface?
InternPool
Internable
String in Java has interning cap
String
Shouldnt
"WeakReference ref = pool.get(object);"
instead be
WeakReference ref = pool.intern(object);
??