Searched defs:HashSet (Results 1 - 1 of 1) sorted by relevance
/libcore/luni/src/main/java/java/util/ | ||
H A D | HashSet.java | 26 * HashSet is an implementation of a Set. All optional operations (adding and 29 public class HashSet<E> extends AbstractSet<E> implements Set<E>, Cloneable, class in inherits:AbstractSet,Set,Cloneable,Serializable 34 transient HashMap<E, HashSet<E>> backingMap; 37 * Constructs a new empty instance of {@code HashSet}. 39 public HashSet() { method in class:HashSet 40 this(new HashMap<E, HashSet<E>>()); 44 * Constructs a new instance of {@code HashSet} with the specified capacity. 47 * the initial capacity of this {@code HashSet}. 49 public HashSet(int capacity) { method in class:HashSet 50 this(new HashMap<E, HashSet< 62 public HashSet(int capacity, float loadFactor) { method in class:HashSet 73 public HashSet(Collection<? extends E> collection) { method in class:HashSet 81 HashSet(HashMap<E, HashSet<E>> backingMap) { method in class:HashSet [all...] |
Completed in 45 milliseconds