/** * Creates a new hash set copying a given collection. * * @param c * a {@link Collection} to be copied into the new hash set. * @param f * the load factor. */ public ShortOpenHashSet(final Collection<? extends Short> c, final float f) { this(c.size(), f); addAll(c); } /**
/** * Creates a new hash set copying a given type-specific collection. * * @param c * a type-specific collection to be copied into the new hash set. * @param f * the load factor. */ public ShortOpenHashSet(final ShortCollection c, final float f) { this(c.size(), f); addAll(c); } /**