/** * Creates a new hash set using elements provided by an iterator. * * @param i * an iterator whose elements will fill the set. * @param f * the load factor. */ public IntOpenHashSet(final Iterator<?> i, final float f) { this(IntIterators.asIntIterator(i), f); } /**
/** * Creates a new hash set with {@link Hash#DEFAULT_LOAD_FACTOR} as load factor * using elements provided by an iterator. * * @param i * an iterator whose elements will fill the set. */ public IntLinkedOpenHashSet(final Iterator<?> i) { this(IntIterators.asIntIterator(i)); } /**
/** * Creates a new tree set using elements provided by an iterator. * * @param i * an iterator whose elements will fill the set. */ public IntAVLTreeSet(final Iterator<?> i) { this(IntIterators.asIntIterator(i)); } /**
/** * Creates a new hash big set using elements provided by an iterator. * * @param i * an iterator whose elements will fill the new hash big set. * @param f * the load factor. */ public IntOpenHashBigSet(final Iterator<?> i, final float f) { this(IntIterators.asIntIterator(i), f); } /**
/** * Creates a new hash set with {@link Hash#DEFAULT_LOAD_FACTOR} as load factor * using elements provided by an iterator. * * @param i * an iterator whose elements will fill the set. * @param strategy * the strategy. */ public IntLinkedOpenCustomHashSet(final Iterator<?> i, final it.unimi.dsi.fastutil.ints.IntHash.Strategy strategy) { this(IntIterators.asIntIterator(i), strategy); } /**
/** * Creates a new tree set using elements provided by an iterator. * * @param i * an iterator whose elements will fill the set. */ public IntRBTreeSet(final Iterator<?> i) { this(IntIterators.asIntIterator(i)); } /**
/** * Creates a new hash set using elements provided by an iterator. * * @param i * an iterator whose elements will fill the set. * @param f * the load factor. */ public IntLinkedOpenHashSet(final Iterator<?> i, final float f) { this(IntIterators.asIntIterator(i), f); } /**
/** * Creates a new hash set with {@link Hash#DEFAULT_LOAD_FACTOR} as load factor * using elements provided by an iterator. * * @param i * an iterator whose elements will fill the set. */ public IntOpenHashSet(final Iterator<?> i) { this(IntIterators.asIntIterator(i)); } /**
/** * Creates a new hash big set with {@link Hash#DEFAULT_LOAD_FACTOR} as load * factor using elements provided by an iterator. * * @param i * an iterator whose elements will fill the new hash big set. */ public IntOpenHashBigSet(final Iterator<?> i) { this(IntIterators.asIntIterator(i)); } /**
/** * Creates a new hash set with {@link Hash#DEFAULT_LOAD_FACTOR} as load factor * using elements provided by an iterator. * * @param i * an iterator whose elements will fill the set. * @param strategy * the strategy. */ public IntOpenCustomHashSet(final Iterator<?> i, final it.unimi.dsi.fastutil.ints.IntHash.Strategy strategy) { this(IntIterators.asIntIterator(i), strategy); } /**
/** * Creates a new hash set using elements provided by an iterator. * * @param i * an iterator whose elements will fill the set. * @param f * the load factor. * @param strategy * the strategy. */ public IntLinkedOpenCustomHashSet(final Iterator<?> i, final float f, final it.unimi.dsi.fastutil.ints.IntHash.Strategy strategy) { this(IntIterators.asIntIterator(i), f, strategy); } /**
/** * Creates a new hash set using elements provided by an iterator. * * @param i * an iterator whose elements will fill the set. * @param f * the load factor. * @param strategy * the strategy. */ public IntOpenCustomHashSet(final Iterator<?> i, final float f, final it.unimi.dsi.fastutil.ints.IntHash.Strategy strategy) { this(IntIterators.asIntIterator(i), f, strategy); } /**
/** * Creates a new array list and fills it with a given collection. * * @param c * a collection that will be used to fill the array list. */ public IntArrayList(final Collection<? extends Integer> c) { this(c.size()); size = IntIterators.unwrap(IntIterators.asIntIterator(c.iterator()), a); } /**