| java.lang.Object org.netbeans.editor.ext.html.WeakHashSet
WeakHashSet | public class WeakHashSet (Code) | | This is a special set-like (not java.util.Set-like) class. It holds a set of
objects referenced only weakly, and which can be get() by an equivalent
object. It can be used e.g. as a lightweight (gc()-able) intern() for String
or as a temporal storage for an algorithm creating a lot of long-lasting
equals() immutables.
author: Petr Nejedly version: 1.0 |
Constructor Summary | |
public | WeakHashSet(int capacity, float loadFactor) |
loadFactor | float loadFactor(Code) | | |
WeakHashSet | public WeakHashSet(int capacity, float loadFactor)(Code) | | Creates new WeakHashSet
|
|
|