net.openhft.collect.set.hash
Class HashShortSets

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

public final class HashShortSets
extends Object

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

See Also:
HashShortSet

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

Method Detail

getDefaultFactory

public static HashShortSetFactory getDefaultFactory()

newMutableSet

public static HashShortSet newMutableSet()

newMutableSet

public static HashShortSet newMutableSet(int expectedSize)

newMutableSet

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


newMutableSet

public static HashShortSet newMutableSet(Iterable<Short> elems1,
                                         Iterable<Short> elems2,
                                         int expectedSize)

newMutableSet

public static HashShortSet newMutableSet(Iterable<Short> elems1,
                                         Iterable<Short> elems2,
                                         Iterable<Short> elems3,
                                         int expectedSize)

newMutableSet

public static HashShortSet newMutableSet(Iterable<Short> elems1,
                                         Iterable<Short> elems2,
                                         Iterable<Short> elems3,
                                         Iterable<Short> elems4,
                                         int expectedSize)

newMutableSet

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

newMutableSet

public static HashShortSet newMutableSet(Iterable<Short> elements)

newMutableSet

public static HashShortSet newMutableSet(Iterable<Short> elems1,
                                         Iterable<Short> elems2)

newMutableSet

public static HashShortSet newMutableSet(Iterable<Short> elems1,
                                         Iterable<Short> elems2,
                                         Iterable<Short> elems3)

newMutableSet

public static HashShortSet newMutableSet(Iterable<Short> elems1,
                                         Iterable<Short> elems2,
                                         Iterable<Short> elems3,
                                         Iterable<Short> elems4)

newMutableSet

public static HashShortSet newMutableSet(Iterable<Short> elems1,
                                         Iterable<Short> elems2,
                                         Iterable<Short> elems3,
                                         Iterable<Short> elems4,
                                         Iterable<Short> elems5)

newMutableSet

public static HashShortSet newMutableSet(Iterator<Short> elements)

newMutableSet

public static HashShortSet newMutableSet(Iterator<Short> elements,
                                         int expectedSize)

newMutableSet

public static HashShortSet newMutableSet(Consumer<ShortConsumer> elementsSupplier)

newMutableSet

public static HashShortSet newMutableSet(Consumer<ShortConsumer> elementsSupplier,
                                         int expectedSize)

newMutableSet

public static HashShortSet newMutableSet(short[] elements)

newMutableSet

public static HashShortSet newMutableSet(short[] elements,
                                         int expectedSize)

newMutableSet

public static HashShortSet newMutableSet(Short[] elements)

newMutableSet

public static HashShortSet newMutableSet(Short[] elements,
                                         int expectedSize)

newMutableSetOf

public static HashShortSet newMutableSetOf(short e1)

newMutableSetOf

public static HashShortSet newMutableSetOf(short e1,
                                           short e2)

newMutableSetOf

public static HashShortSet newMutableSetOf(short e1,
                                           short e2,
                                           short e3)

newMutableSetOf

public static HashShortSet newMutableSetOf(short e1,
                                           short e2,
                                           short e3,
                                           short e4)

newMutableSetOf

public static HashShortSet newMutableSetOf(short e1,
                                           short e2,
                                           short e3,
                                           short e4,
                                           short e5,
                                           short... restElements)

newUpdatableSet

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


newUpdatableSet

public static HashShortSet newUpdatableSet(Iterable<Short> elems1,
                                           Iterable<Short> elems2,
                                           int expectedSize)

newUpdatableSet

public static HashShortSet newUpdatableSet(Iterable<Short> elems1,
                                           Iterable<Short> elems2,
                                           Iterable<Short> elems3,
                                           int expectedSize)

newUpdatableSet

public static HashShortSet newUpdatableSet(Iterable<Short> elems1,
                                           Iterable<Short> elems2,
                                           Iterable<Short> elems3,
                                           Iterable<Short> elems4,
                                           int expectedSize)

newUpdatableSet

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

newUpdatableSet

public static HashShortSet newUpdatableSet(Iterable<Short> elements)

newUpdatableSet

public static HashShortSet newUpdatableSet(Iterable<Short> elems1,
                                           Iterable<Short> elems2)

newUpdatableSet

public static HashShortSet newUpdatableSet(Iterable<Short> elems1,
                                           Iterable<Short> elems2,
                                           Iterable<Short> elems3)

newUpdatableSet

public static HashShortSet newUpdatableSet(Iterable<Short> elems1,
                                           Iterable<Short> elems2,
                                           Iterable<Short> elems3,
                                           Iterable<Short> elems4)

newUpdatableSet

public static HashShortSet newUpdatableSet(Iterable<Short> elems1,
                                           Iterable<Short> elems2,
                                           Iterable<Short> elems3,
                                           Iterable<Short> elems4,
                                           Iterable<Short> elems5)

newUpdatableSet

public static HashShortSet newUpdatableSet(Iterator<Short> elements)

newUpdatableSet

public static HashShortSet newUpdatableSet(Iterator<Short> elements,
                                           int expectedSize)

newUpdatableSet

public static HashShortSet newUpdatableSet(Consumer<ShortConsumer> elementsSupplier)

newUpdatableSet

public static HashShortSet newUpdatableSet(Consumer<ShortConsumer> elementsSupplier,
                                           int expectedSize)

newUpdatableSet

public static HashShortSet newUpdatableSet(short[] elements)

newUpdatableSet

public static HashShortSet newUpdatableSet(short[] elements,
                                           int expectedSize)

newUpdatableSet

public static HashShortSet newUpdatableSet(Short[] elements)

newUpdatableSet

public static HashShortSet newUpdatableSet(Short[] elements,
                                           int expectedSize)

newUpdatableSetOf

public static HashShortSet newUpdatableSetOf(short e1)

newUpdatableSetOf

public static HashShortSet newUpdatableSetOf(short e1,
                                             short e2)

newUpdatableSetOf

public static HashShortSet newUpdatableSetOf(short e1,
                                             short e2,
                                             short e3)

newUpdatableSetOf

public static HashShortSet newUpdatableSetOf(short e1,
                                             short e2,
                                             short e3,
                                             short e4)

newUpdatableSetOf

public static HashShortSet newUpdatableSetOf(short e1,
                                             short e2,
                                             short e3,
                                             short e4,
                                             short e5,
                                             short... restElements)

newImmutableSet

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


newImmutableSet

public static HashShortSet newImmutableSet(Iterable<Short> elems1,
                                           Iterable<Short> elems2,
                                           int expectedSize)

newImmutableSet

public static HashShortSet newImmutableSet(Iterable<Short> elems1,
                                           Iterable<Short> elems2,
                                           Iterable<Short> elems3,
                                           int expectedSize)

newImmutableSet

public static HashShortSet newImmutableSet(Iterable<Short> elems1,
                                           Iterable<Short> elems2,
                                           Iterable<Short> elems3,
                                           Iterable<Short> elems4,
                                           int expectedSize)

newImmutableSet

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

newImmutableSet

public static HashShortSet newImmutableSet(Iterable<Short> elements)

newImmutableSet

public static HashShortSet newImmutableSet(Iterable<Short> elems1,
                                           Iterable<Short> elems2)

newImmutableSet

public static HashShortSet newImmutableSet(Iterable<Short> elems1,
                                           Iterable<Short> elems2,
                                           Iterable<Short> elems3)

newImmutableSet

public static HashShortSet newImmutableSet(Iterable<Short> elems1,
                                           Iterable<Short> elems2,
                                           Iterable<Short> elems3,
                                           Iterable<Short> elems4)

newImmutableSet

public static HashShortSet newImmutableSet(Iterable<Short> elems1,
                                           Iterable<Short> elems2,
                                           Iterable<Short> elems3,
                                           Iterable<Short> elems4,
                                           Iterable<Short> elems5)

newImmutableSet

public static HashShortSet newImmutableSet(Iterator<Short> elements)

newImmutableSet

public static HashShortSet newImmutableSet(Iterator<Short> elements,
                                           int expectedSize)

newImmutableSet

public static HashShortSet newImmutableSet(Consumer<ShortConsumer> elementsSupplier)

newImmutableSet

public static HashShortSet newImmutableSet(Consumer<ShortConsumer> elementsSupplier,
                                           int expectedSize)

newImmutableSet

public static HashShortSet newImmutableSet(short[] elements)

newImmutableSet

public static HashShortSet newImmutableSet(short[] elements,
                                           int expectedSize)

newImmutableSet

public static HashShortSet newImmutableSet(Short[] elements)

newImmutableSet

public static HashShortSet newImmutableSet(Short[] elements,
                                           int expectedSize)

newImmutableSetOf

public static HashShortSet newImmutableSetOf(short e1)

newImmutableSetOf

public static HashShortSet newImmutableSetOf(short e1,
                                             short e2)

newImmutableSetOf

public static HashShortSet newImmutableSetOf(short e1,
                                             short e2,
                                             short e3)

newImmutableSetOf

public static HashShortSet newImmutableSetOf(short e1,
                                             short e2,
                                             short e3,
                                             short e4)

newImmutableSetOf

public static HashShortSet newImmutableSetOf(short e1,
                                             short e2,
                                             short e3,
                                             short e4,
                                             short e5,
                                             short... restElements)