/** * 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. * @param strategy * the strategy. */ public LongOpenCustomHashSet(final Collection<? extends Long> c, final float f, final it.unimi.dsi.fastutil.longs.LongHash.Strategy strategy) { this(c.size(), f, strategy); 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. * @param strategy * the strategy. */ public LongOpenCustomHashSet(final LongCollection c, final float f, it.unimi.dsi.fastutil.longs.LongHash.Strategy strategy) { this(c.size(), f, strategy); addAll(c); } /**