Package com.biglybt.core.util
Class StringInterner.WeakCharArrayEntry
java.lang.Object
java.lang.ref.Reference<T>
java.lang.ref.WeakReference
com.biglybt.core.util.StringInterner.WeakEntry
com.biglybt.core.util.StringInterner.WeakWeightedEntry
com.biglybt.core.util.StringInterner.WeakCharArrayEntry
- Enclosing class:
- StringInterner
-
Field Summary
Fields inherited from class com.biglybt.core.util.StringInterner.WeakWeightedEntry
hits, size -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanoverride equals since byte arrays need Arrays.equalschar[]toString()Methods inherited from class com.biglybt.core.util.StringInterner.WeakWeightedEntry
decHits, destroy, incHits, isDestroyedMethods inherited from class com.biglybt.core.util.StringInterner.WeakEntry
hashCodeMethods inherited from class java.lang.ref.Reference
clear, clone, enqueue, get, isEnqueued, reachabilityFence, refersTo
-
Constructor Details
-
WeakCharArrayEntry
public WeakCharArrayEntry(char[] array)
-
-
Method Details
-
equals
override equals since byte arrays need Arrays.equals- Overrides:
equalsin classStringInterner.WeakEntry
-
getCharArray
public char[] getCharArray() -
toString
- Overrides:
toStringin classStringInterner.WeakWeightedEntry
-