Class TLongUtils


  • public final class TLongUtils
    extends Object
    • Method Detail

      • newTIntHashSet

        @NotNull
        public static gnu.trove.set.TIntSet newTIntHashSet()
      • newTIntArrayList

        @NotNull
        public static gnu.trove.list.array.TIntArrayList newTIntArrayList()
      • newTLongArrayList

        @NotNull
        public static gnu.trove.list.array.TLongArrayList newTLongArrayList()
      • newTLongArrayList

        @NotNull
        public static gnu.trove.list.array.TLongArrayList newTLongArrayList​(int capacity)
      • newTLongArrayList

        @NotNull
        public static gnu.trove.list.TLongList newTLongArrayList​(@NotNull
                                                                 gnu.trove.TLongCollection collection)
      • newTLongLinkedList

        @NotNull
        public static gnu.trove.list.linked.TLongLinkedList newTLongLinkedList()
      • newTLongByteHashMap

        @NotNull
        public static gnu.trove.map.TLongByteMap newTLongByteHashMap​(float loadFactor)
      • newTLongLongHashMap

        @NotNull
        public static gnu.trove.map.TLongLongMap newTLongLongHashMap​(float loadFactor)
      • newTLongObjectHashMap

        @NotNull
        public static <V> gnu.trove.map.hash.TLongObjectHashMap<V> newTLongObjectHashMap()
      • newTLongObjectHashMap

        @NotNull
        public static <V> gnu.trove.map.hash.TLongObjectHashMap<V> newTLongObjectHashMap​(float loadFactor)
      • newTLongObjectHashMap

        @NotNull
        public static <V> gnu.trove.map.hash.TLongObjectHashMap<V> newTLongObjectHashMap​(int capacity,
                                                                                         float loadFactor)
      • newTLongHashSet

        @NotNull
        public static gnu.trove.set.hash.TLongHashSet newTLongHashSet()
      • newTLongHashSet

        @NotNull
        public static gnu.trove.set.hash.TLongHashSet newTLongHashSet​(float loadFactor)
      • newTLongHashSet

        @NotNull
        public static gnu.trove.set.hash.TLongHashSet newTLongHashSet​(int capacity,
                                                                      float loadFactor)
      • newTLongHashSet

        @NotNull
        public static gnu.trove.set.hash.TLongHashSet newTLongHashSet​(@NotNull
                                                                      gnu.trove.TLongCollection collection,
                                                                      float loadFactor)
      • unmodifiableList

        @NotNull
        public static List<Long> unmodifiableList​(@NotNull
                                                  gnu.trove.list.TLongList list)
      • unmodifiableSet

        @NotNull
        public static Set<Long> unmodifiableSet​(@NotNull
                                                gnu.trove.set.TLongSet set)
      • unmodifiableMap

        @NotNull
        public static <V> Map<Long,​V> unmodifiableMap​(@NotNull
                                                            gnu.trove.map.TLongObjectMap<V> map)
      • newUnmodifiableList

        @NotNull
        public static List<Long> newUnmodifiableList​(@NotNull
                                                     gnu.trove.TLongCollection collection)
      • emptyLongSet

        @NotNull
        public static gnu.trove.set.TLongSet emptyLongSet()
      • subtract

        @NotNull
        public static gnu.trove.set.TLongSet subtract​(@NotNull
                                                      gnu.trove.TLongCollection minuend,
                                                      @NotNull
                                                      gnu.trove.TLongCollection subtrahend)
      • intersect

        @NotNull
        public static gnu.trove.set.TLongSet intersect​(@NotNull
                                                       gnu.trove.set.TLongSet first,
                                                       @NotNull
                                                       gnu.trove.set.TLongSet second)
      • toIntList

        @NotNull
        public static Collector<Integer,​?,​gnu.trove.list.TIntList> toIntList()
      • max

        public static long max​(@NotNull
                               gnu.trove.TLongCollection collection)
        Returns:
        max element in the collection
        Throws:
        NoSuchElementException - if the collection is empty.