net.openhft.collect.set.hash
Class HashLongSets

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

public final class HashLongSets
extends Object

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

See Also:
HashLongSet

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

Method Detail

getDefaultFactory

public static HashLongSetFactory getDefaultFactory()

newMutableSet

public static HashLongSet newMutableSet()

newMutableSet

public static HashLongSet newMutableSet(int expectedSize)

newMutableSet

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


newMutableSet

public static HashLongSet newMutableSet(Iterable<Long> elems1,
                                        Iterable<Long> elems2,
                                        int expectedSize)

newMutableSet

public static HashLongSet newMutableSet(Iterable<Long> elems1,
                                        Iterable<Long> elems2,
                                        Iterable<Long> elems3,
                                        int expectedSize)

newMutableSet

public static HashLongSet newMutableSet(Iterable<Long> elems1,
                                        Iterable<Long> elems2,
                                        Iterable<Long> elems3,
                                        Iterable<Long> elems4,
                                        int expectedSize)

newMutableSet

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

newMutableSet

public static HashLongSet newMutableSet(Iterable<Long> elements)

newMutableSet

public static HashLongSet newMutableSet(Iterable<Long> elems1,
                                        Iterable<Long> elems2)

newMutableSet

public static HashLongSet newMutableSet(Iterable<Long> elems1,
                                        Iterable<Long> elems2,
                                        Iterable<Long> elems3)

newMutableSet

public static HashLongSet newMutableSet(Iterable<Long> elems1,
                                        Iterable<Long> elems2,
                                        Iterable<Long> elems3,
                                        Iterable<Long> elems4)

newMutableSet

public static HashLongSet newMutableSet(Iterable<Long> elems1,
                                        Iterable<Long> elems2,
                                        Iterable<Long> elems3,
                                        Iterable<Long> elems4,
                                        Iterable<Long> elems5)

newMutableSet

public static HashLongSet newMutableSet(Iterator<Long> elements)

newMutableSet

public static HashLongSet newMutableSet(Iterator<Long> elements,
                                        int expectedSize)

newMutableSet

public static HashLongSet newMutableSet(Consumer<LongConsumer> elementsSupplier)

newMutableSet

public static HashLongSet newMutableSet(Consumer<LongConsumer> elementsSupplier,
                                        int expectedSize)

newMutableSet

public static HashLongSet newMutableSet(long[] elements)

newMutableSet

public static HashLongSet newMutableSet(long[] elements,
                                        int expectedSize)

newMutableSet

public static HashLongSet newMutableSet(Long[] elements)

newMutableSet

public static HashLongSet newMutableSet(Long[] elements,
                                        int expectedSize)

newMutableSetOf

public static HashLongSet newMutableSetOf(long e1)

newMutableSetOf

public static HashLongSet newMutableSetOf(long e1,
                                          long e2)

newMutableSetOf

public static HashLongSet newMutableSetOf(long e1,
                                          long e2,
                                          long e3)

newMutableSetOf

public static HashLongSet newMutableSetOf(long e1,
                                          long e2,
                                          long e3,
                                          long e4)

newMutableSetOf

public static HashLongSet newMutableSetOf(long e1,
                                          long e2,
                                          long e3,
                                          long e4,
                                          long e5,
                                          long... restElements)

newUpdatableSet

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


newUpdatableSet

public static HashLongSet newUpdatableSet(Iterable<Long> elems1,
                                          Iterable<Long> elems2,
                                          int expectedSize)

newUpdatableSet

public static HashLongSet newUpdatableSet(Iterable<Long> elems1,
                                          Iterable<Long> elems2,
                                          Iterable<Long> elems3,
                                          int expectedSize)

newUpdatableSet

public static HashLongSet newUpdatableSet(Iterable<Long> elems1,
                                          Iterable<Long> elems2,
                                          Iterable<Long> elems3,
                                          Iterable<Long> elems4,
                                          int expectedSize)

newUpdatableSet

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

newUpdatableSet

public static HashLongSet newUpdatableSet(Iterable<Long> elements)

newUpdatableSet

public static HashLongSet newUpdatableSet(Iterable<Long> elems1,
                                          Iterable<Long> elems2)

newUpdatableSet

public static HashLongSet newUpdatableSet(Iterable<Long> elems1,
                                          Iterable<Long> elems2,
                                          Iterable<Long> elems3)

newUpdatableSet

public static HashLongSet newUpdatableSet(Iterable<Long> elems1,
                                          Iterable<Long> elems2,
                                          Iterable<Long> elems3,
                                          Iterable<Long> elems4)

newUpdatableSet

public static HashLongSet newUpdatableSet(Iterable<Long> elems1,
                                          Iterable<Long> elems2,
                                          Iterable<Long> elems3,
                                          Iterable<Long> elems4,
                                          Iterable<Long> elems5)

newUpdatableSet

public static HashLongSet newUpdatableSet(Iterator<Long> elements)

newUpdatableSet

public static HashLongSet newUpdatableSet(Iterator<Long> elements,
                                          int expectedSize)

newUpdatableSet

public static HashLongSet newUpdatableSet(Consumer<LongConsumer> elementsSupplier)

newUpdatableSet

public static HashLongSet newUpdatableSet(Consumer<LongConsumer> elementsSupplier,
                                          int expectedSize)

newUpdatableSet

public static HashLongSet newUpdatableSet(long[] elements)

newUpdatableSet

public static HashLongSet newUpdatableSet(long[] elements,
                                          int expectedSize)

newUpdatableSet

public static HashLongSet newUpdatableSet(Long[] elements)

newUpdatableSet

public static HashLongSet newUpdatableSet(Long[] elements,
                                          int expectedSize)

newUpdatableSetOf

public static HashLongSet newUpdatableSetOf(long e1)

newUpdatableSetOf

public static HashLongSet newUpdatableSetOf(long e1,
                                            long e2)

newUpdatableSetOf

public static HashLongSet newUpdatableSetOf(long e1,
                                            long e2,
                                            long e3)

newUpdatableSetOf

public static HashLongSet newUpdatableSetOf(long e1,
                                            long e2,
                                            long e3,
                                            long e4)

newUpdatableSetOf

public static HashLongSet newUpdatableSetOf(long e1,
                                            long e2,
                                            long e3,
                                            long e4,
                                            long e5,
                                            long... restElements)

newImmutableSet

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


newImmutableSet

public static HashLongSet newImmutableSet(Iterable<Long> elems1,
                                          Iterable<Long> elems2,
                                          int expectedSize)

newImmutableSet

public static HashLongSet newImmutableSet(Iterable<Long> elems1,
                                          Iterable<Long> elems2,
                                          Iterable<Long> elems3,
                                          int expectedSize)

newImmutableSet

public static HashLongSet newImmutableSet(Iterable<Long> elems1,
                                          Iterable<Long> elems2,
                                          Iterable<Long> elems3,
                                          Iterable<Long> elems4,
                                          int expectedSize)

newImmutableSet

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

newImmutableSet

public static HashLongSet newImmutableSet(Iterable<Long> elements)

newImmutableSet

public static HashLongSet newImmutableSet(Iterable<Long> elems1,
                                          Iterable<Long> elems2)

newImmutableSet

public static HashLongSet newImmutableSet(Iterable<Long> elems1,
                                          Iterable<Long> elems2,
                                          Iterable<Long> elems3)

newImmutableSet

public static HashLongSet newImmutableSet(Iterable<Long> elems1,
                                          Iterable<Long> elems2,
                                          Iterable<Long> elems3,
                                          Iterable<Long> elems4)

newImmutableSet

public static HashLongSet newImmutableSet(Iterable<Long> elems1,
                                          Iterable<Long> elems2,
                                          Iterable<Long> elems3,
                                          Iterable<Long> elems4,
                                          Iterable<Long> elems5)

newImmutableSet

public static HashLongSet newImmutableSet(Iterator<Long> elements)

newImmutableSet

public static HashLongSet newImmutableSet(Iterator<Long> elements,
                                          int expectedSize)

newImmutableSet

public static HashLongSet newImmutableSet(Consumer<LongConsumer> elementsSupplier)

newImmutableSet

public static HashLongSet newImmutableSet(Consumer<LongConsumer> elementsSupplier,
                                          int expectedSize)

newImmutableSet

public static HashLongSet newImmutableSet(long[] elements)

newImmutableSet

public static HashLongSet newImmutableSet(long[] elements,
                                          int expectedSize)

newImmutableSet

public static HashLongSet newImmutableSet(Long[] elements)

newImmutableSet

public static HashLongSet newImmutableSet(Long[] elements,
                                          int expectedSize)

newImmutableSetOf

public static HashLongSet newImmutableSetOf(long e1)

newImmutableSetOf

public static HashLongSet newImmutableSetOf(long e1,
                                            long e2)

newImmutableSetOf

public static HashLongSet newImmutableSetOf(long e1,
                                            long e2,
                                            long e3)

newImmutableSetOf

public static HashLongSet newImmutableSetOf(long e1,
                                            long e2,
                                            long e3,
                                            long e4)

newImmutableSetOf

public static HashLongSet newImmutableSetOf(long e1,
                                            long e2,
                                            long e3,
                                            long e4,
                                            long e5,
                                            long... restElements)