Class HashSetFactory
java.lang.Object
com.ibm.wala.util.collections.HashSetFactory
A debugging aid. When HashSetFactory.DEBUG is set, this class creates ParanoidHashSets.
Otherwise, it returns
LinkedHashSet
s-
Field Summary
Modifier and TypeFieldDescriptionstatic final boolean
If true, this factory returns Paranoid versions of collections -
Constructor Summary
-
Method Summary
-
Field Details
-
DEBUG
public static final boolean DEBUGIf true, this factory returns Paranoid versions of collections- See Also:
-
-
Constructor Details
-
HashSetFactory
public HashSetFactory()
-
-
Method Details
-
make
- Returns:
- A
ParanoidHashSet
if DEBUG = true, a java.util.HashSet otherwise
-
make
- Returns:
- A ParanoidHashSet if DEBUG = true, a java.util.HashSet otherwise
-
make
- Returns:
- A ParanoidHashSet if DEBUG = true, a java.util.HashSet otherwise
-