/** * Constructs a new set containing the elements in the specified * collection, with default load factor and an initial * capacity sufficient to contain the elements in the specified collection. * * @param c Collection to add. */ public GridConcurrentWeakHashSet(Collection<E> c) { this(c.size()); addAll(c); }
/** * Constructs a new set containing the elements in the specified * collection, with default load factor and an initial * capacity sufficient to contain the elements in the specified collection. * * @param c Collection to add. */ public GridConcurrentWeakHashSet(Collection<E> c) { this(c.size()); addAll(c); }