net.openhft.collect.set.hash
Class HashIntSets

java.lang.Object
  extended by net.openhft.collect.set.hash.HashIntSets

public final class HashIntSets
extends Object

This class consists only of static factory methods to construct HashIntSets, and the default HashIntSetFactory static provider (getDefaultFactory()).

See Also:
HashIntSet

Method Summary
static HashIntSetFactory getDefaultFactory()
           
static HashIntSet newImmutableSet(Consumer<IntConsumer> elementsSupplier)
           
static HashIntSet newImmutableSet(Consumer<IntConsumer> elementsSupplier, int expectedSize)
           
static HashIntSet newImmutableSet(int[] elements)
           
static HashIntSet newImmutableSet(int[] elements, int expectedSize)
           
static HashIntSet newImmutableSet(Integer[] elements)
           
static HashIntSet newImmutableSet(Integer[] elements, int expectedSize)
           
static HashIntSet newImmutableSet(Iterable<Integer> elements)
           
static HashIntSet newImmutableSet(Iterable<Integer> elements, int expectedSize)
          If the specified elements is a set, expectedSize is ignored.
static HashIntSet newImmutableSet(Iterable<Integer> elems1, Iterable<Integer> elems2)
           
static HashIntSet newImmutableSet(Iterable<Integer> elems1, Iterable<Integer> elems2, int expectedSize)
           
static HashIntSet newImmutableSet(Iterable<Integer> elems1, Iterable<Integer> elems2, Iterable<Integer> elems3)
           
static HashIntSet newImmutableSet(Iterable<Integer> elems1, Iterable<Integer> elems2, Iterable<Integer> elems3, int expectedSize)
           
static HashIntSet newImmutableSet(Iterable<Integer> elems1, Iterable<Integer> elems2, Iterable<Integer> elems3, Iterable<Integer> elems4)
           
static HashIntSet newImmutableSet(Iterable<Integer> elems1, Iterable<Integer> elems2, Iterable<Integer> elems3, Iterable<Integer> elems4, int expectedSize)
           
static HashIntSet newImmutableSet(Iterable<Integer> elems1, Iterable<Integer> elems2, Iterable<Integer> elems3, Iterable<Integer> elems4, Iterable<Integer> elems5)
           
static HashIntSet newImmutableSet(Iterable<Integer> elems1, Iterable<Integer> elems2, Iterable<Integer> elems3, Iterable<Integer> elems4, Iterable<Integer> elems5, int expectedSize)
           
static HashIntSet newImmutableSet(Iterator<Integer> elements)
           
static HashIntSet newImmutableSet(Iterator<Integer> elements, int expectedSize)
           
static HashIntSet newImmutableSetOf(int e1)
           
static HashIntSet newImmutableSetOf(int e1, int e2)
           
static HashIntSet newImmutableSetOf(int e1, int e2, int e3)
           
static HashIntSet newImmutableSetOf(int e1, int e2, int e3, int e4)
           
static HashIntSet newImmutableSetOf(int e1, int e2, int e3, int e4, int e5, int... restElements)
           
static HashIntSet newMutableSet()
           
static HashIntSet newMutableSet(Consumer<IntConsumer> elementsSupplier)
           
static HashIntSet newMutableSet(Consumer<IntConsumer> elementsSupplier, int expectedSize)
           
static HashIntSet newMutableSet(int expectedSize)
           
static HashIntSet newMutableSet(int[] elements)
           
static HashIntSet newMutableSet(int[] elements, int expectedSize)
           
static HashIntSet newMutableSet(Integer[] elements)
           
static HashIntSet newMutableSet(Integer[] elements, int expectedSize)
           
static HashIntSet newMutableSet(Iterable<Integer> elements)
           
static HashIntSet newMutableSet(Iterable<Integer> elements, int expectedSize)
          If the specified elements is a set, expectedSize is ignored.
static HashIntSet newMutableSet(Iterable<Integer> elems1, Iterable<Integer> elems2)
           
static HashIntSet newMutableSet(Iterable<Integer> elems1, Iterable<Integer> elems2, int expectedSize)
           
static HashIntSet newMutableSet(Iterable<Integer> elems1, Iterable<Integer> elems2, Iterable<Integer> elems3)
           
static HashIntSet newMutableSet(Iterable<Integer> elems1, Iterable<Integer> elems2, Iterable<Integer> elems3, int expectedSize)
           
static HashIntSet newMutableSet(Iterable<Integer> elems1, Iterable<Integer> elems2, Iterable<Integer> elems3, Iterable<Integer> elems4)
           
static HashIntSet newMutableSet(Iterable<Integer> elems1, Iterable<Integer> elems2, Iterable<Integer> elems3, Iterable<Integer> elems4, int expectedSize)
           
static HashIntSet newMutableSet(Iterable<Integer> elems1, Iterable<Integer> elems2, Iterable<Integer> elems3, Iterable<Integer> elems4, Iterable<Integer> elems5)
           
static HashIntSet newMutableSet(Iterable<Integer> elems1, Iterable<Integer> elems2, Iterable<Integer> elems3, Iterable<Integer> elems4, Iterable<Integer> elems5, int expectedSize)
           
static HashIntSet newMutableSet(Iterator<Integer> elements)
           
static HashIntSet newMutableSet(Iterator<Integer> elements, int expectedSize)
           
static HashIntSet newMutableSetOf(int e1)
           
static HashIntSet newMutableSetOf(int e1, int e2)
           
static HashIntSet newMutableSetOf(int e1, int e2, int e3)
           
static HashIntSet newMutableSetOf(int e1, int e2, int e3, int e4)
           
static HashIntSet newMutableSetOf(int e1, int e2, int e3, int e4, int e5, int... restElements)
           
static HashIntSet newUpdatableSet(Consumer<IntConsumer> elementsSupplier)
           
static HashIntSet newUpdatableSet(Consumer<IntConsumer> elementsSupplier, int expectedSize)
           
static HashIntSet newUpdatableSet(int[] elements)
           
static HashIntSet newUpdatableSet(int[] elements, int expectedSize)
           
static HashIntSet newUpdatableSet(Integer[] elements)
           
static HashIntSet newUpdatableSet(Integer[] elements, int expectedSize)
           
static HashIntSet newUpdatableSet(Iterable<Integer> elements)
           
static HashIntSet newUpdatableSet(Iterable<Integer> elements, int expectedSize)
          If the specified elements is a set, expectedSize is ignored.
static HashIntSet newUpdatableSet(Iterable<Integer> elems1, Iterable<Integer> elems2)
           
static HashIntSet newUpdatableSet(Iterable<Integer> elems1, Iterable<Integer> elems2, int expectedSize)
           
static HashIntSet newUpdatableSet(Iterable<Integer> elems1, Iterable<Integer> elems2, Iterable<Integer> elems3)
           
static HashIntSet newUpdatableSet(Iterable<Integer> elems1, Iterable<Integer> elems2, Iterable<Integer> elems3, int expectedSize)
           
static HashIntSet newUpdatableSet(Iterable<Integer> elems1, Iterable<Integer> elems2, Iterable<Integer> elems3, Iterable<Integer> elems4)
           
static HashIntSet newUpdatableSet(Iterable<Integer> elems1, Iterable<Integer> elems2, Iterable<Integer> elems3, Iterable<Integer> elems4, int expectedSize)
           
static HashIntSet newUpdatableSet(Iterable<Integer> elems1, Iterable<Integer> elems2, Iterable<Integer> elems3, Iterable<Integer> elems4, Iterable<Integer> elems5)
           
static HashIntSet newUpdatableSet(Iterable<Integer> elems1, Iterable<Integer> elems2, Iterable<Integer> elems3, Iterable<Integer> elems4, Iterable<Integer> elems5, int expectedSize)
           
static HashIntSet newUpdatableSet(Iterator<Integer> elements)
           
static HashIntSet newUpdatableSet(Iterator<Integer> elements, int expectedSize)
           
static HashIntSet newUpdatableSetOf(int e1)
           
static HashIntSet newUpdatableSetOf(int e1, int e2)
           
static HashIntSet newUpdatableSetOf(int e1, int e2, int e3)
           
static HashIntSet newUpdatableSetOf(int e1, int e2, int e3, int e4)
           
static HashIntSet newUpdatableSetOf(int e1, int e2, int e3, int e4, int e5, int... restElements)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getDefaultFactory

public static HashIntSetFactory getDefaultFactory()

newMutableSet

public static HashIntSet newMutableSet()

newMutableSet

public static HashIntSet newMutableSet(int expectedSize)

newMutableSet

public static HashIntSet newMutableSet(Iterable<Integer> elements,
                                       int expectedSize)
If the specified elements is a set, expectedSize is ignored.


newMutableSet

public static HashIntSet newMutableSet(Iterable<Integer> elems1,
                                       Iterable<Integer> elems2,
                                       int expectedSize)

newMutableSet

public static HashIntSet newMutableSet(Iterable<Integer> elems1,
                                       Iterable<Integer> elems2,
                                       Iterable<Integer> elems3,
                                       int expectedSize)

newMutableSet

public static HashIntSet newMutableSet(Iterable<Integer> elems1,
                                       Iterable<Integer> elems2,
                                       Iterable<Integer> elems3,
                                       Iterable<Integer> elems4,
                                       int expectedSize)

newMutableSet

public static HashIntSet newMutableSet(Iterable<Integer> elems1,
                                       Iterable<Integer> elems2,
                                       Iterable<Integer> elems3,
                                       Iterable<Integer> elems4,
                                       Iterable<Integer> elems5,
                                       int expectedSize)

newMutableSet

public static HashIntSet newMutableSet(Iterable<Integer> elements)

newMutableSet

public static HashIntSet newMutableSet(Iterable<Integer> elems1,
                                       Iterable<Integer> elems2)

newMutableSet

public static HashIntSet newMutableSet(Iterable<Integer> elems1,
                                       Iterable<Integer> elems2,
                                       Iterable<Integer> elems3)

newMutableSet

public static HashIntSet newMutableSet(Iterable<Integer> elems1,
                                       Iterable<Integer> elems2,
                                       Iterable<Integer> elems3,
                                       Iterable<Integer> elems4)

newMutableSet

public static HashIntSet newMutableSet(Iterable<Integer> elems1,
                                       Iterable<Integer> elems2,
                                       Iterable<Integer> elems3,
                                       Iterable<Integer> elems4,
                                       Iterable<Integer> elems5)

newMutableSet

public static HashIntSet newMutableSet(Iterator<Integer> elements)

newMutableSet

public static HashIntSet newMutableSet(Iterator<Integer> elements,
                                       int expectedSize)

newMutableSet

public static HashIntSet newMutableSet(Consumer<IntConsumer> elementsSupplier)

newMutableSet

public static HashIntSet newMutableSet(Consumer<IntConsumer> elementsSupplier,
                                       int expectedSize)

newMutableSet

public static HashIntSet newMutableSet(int[] elements)

newMutableSet

public static HashIntSet newMutableSet(int[] elements,
                                       int expectedSize)

newMutableSet

public static HashIntSet newMutableSet(Integer[] elements)

newMutableSet

public static HashIntSet newMutableSet(Integer[] elements,
                                       int expectedSize)

newMutableSetOf

public static HashIntSet newMutableSetOf(int e1)

newMutableSetOf

public static HashIntSet newMutableSetOf(int e1,
                                         int e2)

newMutableSetOf

public static HashIntSet newMutableSetOf(int e1,
                                         int e2,
                                         int e3)

newMutableSetOf

public static HashIntSet newMutableSetOf(int e1,
                                         int e2,
                                         int e3,
                                         int e4)

newMutableSetOf

public static HashIntSet newMutableSetOf(int e1,
                                         int e2,
                                         int e3,
                                         int e4,
                                         int e5,
                                         int... restElements)

newUpdatableSet

public static HashIntSet newUpdatableSet(Iterable<Integer> elements,
                                         int expectedSize)
If the specified elements is a set, expectedSize is ignored.


newUpdatableSet

public static HashIntSet newUpdatableSet(Iterable<Integer> elems1,
                                         Iterable<Integer> elems2,
                                         int expectedSize)

newUpdatableSet

public static HashIntSet newUpdatableSet(Iterable<Integer> elems1,
                                         Iterable<Integer> elems2,
                                         Iterable<Integer> elems3,
                                         int expectedSize)

newUpdatableSet

public static HashIntSet newUpdatableSet(Iterable<Integer> elems1,
                                         Iterable<Integer> elems2,
                                         Iterable<Integer> elems3,
                                         Iterable<Integer> elems4,
                                         int expectedSize)

newUpdatableSet

public static HashIntSet newUpdatableSet(Iterable<Integer> elems1,
                                         Iterable<Integer> elems2,
                                         Iterable<Integer> elems3,
                                         Iterable<Integer> elems4,
                                         Iterable<Integer> elems5,
                                         int expectedSize)

newUpdatableSet

public static HashIntSet newUpdatableSet(Iterable<Integer> elements)

newUpdatableSet

public static HashIntSet newUpdatableSet(Iterable<Integer> elems1,
                                         Iterable<Integer> elems2)

newUpdatableSet

public static HashIntSet newUpdatableSet(Iterable<Integer> elems1,
                                         Iterable<Integer> elems2,
                                         Iterable<Integer> elems3)

newUpdatableSet

public static HashIntSet newUpdatableSet(Iterable<Integer> elems1,
                                         Iterable<Integer> elems2,
                                         Iterable<Integer> elems3,
                                         Iterable<Integer> elems4)

newUpdatableSet

public static HashIntSet newUpdatableSet(Iterable<Integer> elems1,
                                         Iterable<Integer> elems2,
                                         Iterable<Integer> elems3,
                                         Iterable<Integer> elems4,
                                         Iterable<Integer> elems5)

newUpdatableSet

public static HashIntSet newUpdatableSet(Iterator<Integer> elements)

newUpdatableSet

public static HashIntSet newUpdatableSet(Iterator<Integer> elements,
                                         int expectedSize)

newUpdatableSet

public static HashIntSet newUpdatableSet(Consumer<IntConsumer> elementsSupplier)

newUpdatableSet

public static HashIntSet newUpdatableSet(Consumer<IntConsumer> elementsSupplier,
                                         int expectedSize)

newUpdatableSet

public static HashIntSet newUpdatableSet(int[] elements)

newUpdatableSet

public static HashIntSet newUpdatableSet(int[] elements,
                                         int expectedSize)

newUpdatableSet

public static HashIntSet newUpdatableSet(Integer[] elements)

newUpdatableSet

public static HashIntSet newUpdatableSet(Integer[] elements,
                                         int expectedSize)

newUpdatableSetOf

public static HashIntSet newUpdatableSetOf(int e1)

newUpdatableSetOf

public static HashIntSet newUpdatableSetOf(int e1,
                                           int e2)

newUpdatableSetOf

public static HashIntSet newUpdatableSetOf(int e1,
                                           int e2,
                                           int e3)

newUpdatableSetOf

public static HashIntSet newUpdatableSetOf(int e1,
                                           int e2,
                                           int e3,
                                           int e4)

newUpdatableSetOf

public static HashIntSet newUpdatableSetOf(int e1,
                                           int e2,
                                           int e3,
                                           int e4,
                                           int e5,
                                           int... restElements)

newImmutableSet

public static HashIntSet newImmutableSet(Iterable<Integer> elements,
                                         int expectedSize)
If the specified elements is a set, expectedSize is ignored.


newImmutableSet

public static HashIntSet newImmutableSet(Iterable<Integer> elems1,
                                         Iterable<Integer> elems2,
                                         int expectedSize)

newImmutableSet

public static HashIntSet newImmutableSet(Iterable<Integer> elems1,
                                         Iterable<Integer> elems2,
                                         Iterable<Integer> elems3,
                                         int expectedSize)

newImmutableSet

public static HashIntSet newImmutableSet(Iterable<Integer> elems1,
                                         Iterable<Integer> elems2,
                                         Iterable<Integer> elems3,
                                         Iterable<Integer> elems4,
                                         int expectedSize)

newImmutableSet

public static HashIntSet newImmutableSet(Iterable<Integer> elems1,
                                         Iterable<Integer> elems2,
                                         Iterable<Integer> elems3,
                                         Iterable<Integer> elems4,
                                         Iterable<Integer> elems5,
                                         int expectedSize)

newImmutableSet

public static HashIntSet newImmutableSet(Iterable<Integer> elements)

newImmutableSet

public static HashIntSet newImmutableSet(Iterable<Integer> elems1,
                                         Iterable<Integer> elems2)

newImmutableSet

public static HashIntSet newImmutableSet(Iterable<Integer> elems1,
                                         Iterable<Integer> elems2,
                                         Iterable<Integer> elems3)

newImmutableSet

public static HashIntSet newImmutableSet(Iterable<Integer> elems1,
                                         Iterable<Integer> elems2,
                                         Iterable<Integer> elems3,
                                         Iterable<Integer> elems4)

newImmutableSet

public static HashIntSet newImmutableSet(Iterable<Integer> elems1,
                                         Iterable<Integer> elems2,
                                         Iterable<Integer> elems3,
                                         Iterable<Integer> elems4,
                                         Iterable<Integer> elems5)

newImmutableSet

public static HashIntSet newImmutableSet(Iterator<Integer> elements)

newImmutableSet

public static HashIntSet newImmutableSet(Iterator<Integer> elements,
                                         int expectedSize)

newImmutableSet

public static HashIntSet newImmutableSet(Consumer<IntConsumer> elementsSupplier)

newImmutableSet

public static HashIntSet newImmutableSet(Consumer<IntConsumer> elementsSupplier,
                                         int expectedSize)

newImmutableSet

public static HashIntSet newImmutableSet(int[] elements)

newImmutableSet

public static HashIntSet newImmutableSet(int[] elements,
                                         int expectedSize)

newImmutableSet

public static HashIntSet newImmutableSet(Integer[] elements)

newImmutableSet

public static HashIntSet newImmutableSet(Integer[] elements,
                                         int expectedSize)

newImmutableSetOf

public static HashIntSet newImmutableSetOf(int e1)

newImmutableSetOf

public static HashIntSet newImmutableSetOf(int e1,
                                           int e2)

newImmutableSetOf

public static HashIntSet newImmutableSetOf(int e1,
                                           int e2,
                                           int e3)

newImmutableSetOf

public static HashIntSet newImmutableSetOf(int e1,
                                           int e2,
                                           int e3,
                                           int e4)

newImmutableSetOf

public static HashIntSet newImmutableSetOf(int e1,
                                           int e2,
                                           int e3,
                                           int e4,
                                           int e5,
                                           int... restElements)