soot.util
Class IdentityHashSet
java.lang.Object
java.util.AbstractCollection
java.util.AbstractSet
soot.util.IdentityHashSet
- All Implemented Interfaces:
- Collection, Set
- public class IdentityHashSet
- extends AbstractSet
- implements Set
Implements a hashset with comparison over identity.
- Author:
- Eric Bodden
Constructor Summary |
IdentityHashSet()
Creates a new, empty IdentityHashSet. |
delegate
protected IdentityHashMap delegate
IdentityHashSet
public IdentityHashSet()
- Creates a new, empty IdentityHashSet.
size
public int size()
-
- Specified by:
size
in interface Set
contains
public boolean contains(Object o)
-
- Specified by:
contains
in interface Set
iterator
public Iterator iterator()
-
- Specified by:
iterator
in interface Set
add
public boolean add(Object o)
-
- Specified by:
add
in interface Set
remove
public boolean remove(Object o)
-
- Specified by:
remove
in interface Set
clear
public void clear()
-
- Specified by:
clear
in interface Set
hashCode
public int hashCode()
- Specified by:
hashCode
in interface Set
equals
public boolean equals(Object obj)
- Specified by:
equals
in interface Set
toString
public String toString()
-