java.util
Class HashSet
java.lang.Object
java.util.AbstractCollection
java.util.AbstractSet
java.util.HashSet
- All Implemented Interfaces:
- Serializable, Cloneable, Collection, Set
public class HashSet
- extends AbstractSet
- implements Set, Cloneable, Serializable
- See Also:
- Serialized Form
HashSet
public HashSet()
HashSet
public HashSet(int var0)
HashSet
public HashSet(int var0,
float var1)
HashSet
public HashSet(Collection var0)
add
public boolean add(Object var0)
- Specified by:
add
in interface Collection
- Specified by:
add
in interface Set
- Overrides:
add
in class AbstractCollection
clear
public void clear()
- Specified by:
clear
in interface Collection
- Specified by:
clear
in interface Set
- Overrides:
clear
in class AbstractCollection
clone
public Object clone()
- Overrides:
clone
in class Object
contains
public boolean contains(Object var0)
- Specified by:
contains
in interface Collection
- Specified by:
contains
in interface Set
- Overrides:
contains
in class AbstractCollection
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interface Collection
- Specified by:
isEmpty
in interface Set
- Overrides:
isEmpty
in class AbstractCollection
iterator
public Iterator iterator()
- Specified by:
iterator
in interface Collection
- Specified by:
iterator
in interface Set
- Specified by:
iterator
in class AbstractCollection
remove
public boolean remove(Object var0)
- Specified by:
remove
in interface Collection
- Specified by:
remove
in interface Set
- Overrides:
remove
in class AbstractCollection
size
public int size()
- Specified by:
size
in interface Collection
- Specified by:
size
in interface Set
- Specified by:
size
in class AbstractCollection
Copyright © 2006-2010 OSGi Alliance. All Rights Reserved.