Lines Matching defs:HashSet
39 * the <tt>HashSet</tt> instance's size (the number of elements) plus the
54 * Set s = Collections.synchronizedSet(new HashSet(...));</pre>
87 public class HashSet<E>
102 public HashSet() {
115 public HashSet(Collection<? extends E> c) {
129 public HashSet(int initialCapacity, float loadFactor) {
141 public HashSet(int initialCapacity) {
158 HashSet(int initialCapacity, float loadFactor, boolean dummy) {
245 * Returns a shallow copy of this <tt>HashSet</tt> instance: the elements
252 HashSet<E> newSet = (HashSet<E>) super.clone();
261 * Save the state of this <tt>HashSet</tt> instance to a stream (that is,
288 * Reconstitute the <tt>HashSet</tt> instance from a stream (that is,
299 map = (((HashSet)this) instanceof LinkedHashSet ?