Lines Matching defs:HashSet
41 * the {@code HashSet} instance's size (the number of elements) plus the
56 * Set s = Collections.synchronizedSet(new HashSet(...));</pre>
89 public class HashSet<E>
104 public HashSet() {
117 public HashSet(Collection<? extends E> c) {
131 public HashSet(int initialCapacity, float loadFactor) {
143 public HashSet(int initialCapacity) {
160 HashSet(int initialCapacity, float loadFactor, boolean dummy) {
247 * Returns a shallow copy of this {@code HashSet} instance: the elements
255 HashSet<E> newSet = (HashSet<E>) super.clone();
264 * Save the state of this {@code HashSet} instance to a stream (that is,
291 * Reconstitute the {@code HashSet} instance from a stream (that is,
326 map = (((HashSet<?>)this) instanceof LinkedHashSet ?