Package com.helger.commons.collection
Class PrimitiveCollectionHelper
java.lang.Object
com.helger.commons.collection.PrimitiveCollectionHelper
Collection helper for primitive data types (boolean, byte, char, double,
float, int, long and short).
- Author:
- Philip Helger
-
Method Summary
Modifier and TypeMethodDescriptionstatic CommonsArrayList<Boolean>newPrimitiveList(boolean... aValues) static CommonsArrayList<Byte>newPrimitiveList(byte... aValues) static CommonsArrayList<Character>newPrimitiveList(char... aValues) static CommonsArrayList<Double>newPrimitiveList(double... aValues) static CommonsArrayList<Float>newPrimitiveList(float... aValues) static CommonsArrayList<Integer>newPrimitiveList(int... aValues) static CommonsArrayList<Long>newPrimitiveList(long... aValues) static CommonsArrayList<Short>newPrimitiveList(short... aValues) static CommonsLinkedHashSet<Boolean>newPrimitiveOrderedSet(boolean... aValues) static CommonsLinkedHashSet<Byte>newPrimitiveOrderedSet(byte... aValues) static CommonsLinkedHashSet<Character>newPrimitiveOrderedSet(char... aValues) static CommonsLinkedHashSet<Double>newPrimitiveOrderedSet(double... aValues) static CommonsLinkedHashSet<Float>newPrimitiveOrderedSet(float... aValues) static CommonsLinkedHashSet<Integer>newPrimitiveOrderedSet(int... aValues) static CommonsLinkedHashSet<Long>newPrimitiveOrderedSet(long... aValues) static CommonsLinkedHashSet<Short>newPrimitiveOrderedSet(short... aValues) static CommonsHashSet<Boolean>newPrimitiveSet(boolean... aValues) static CommonsHashSet<Byte>newPrimitiveSet(byte... aValues) static CommonsHashSet<Character>newPrimitiveSet(char... aValues) static CommonsHashSet<Double>newPrimitiveSet(double... aValues) static CommonsHashSet<Float>newPrimitiveSet(float... aValues) static CommonsHashSet<Integer>newPrimitiveSet(int... aValues) static CommonsHashSet<Long>newPrimitiveSet(long... aValues) static CommonsHashSet<Short>newPrimitiveSet(short... aValues) static CommonsTreeSet<Boolean>newPrimitiveSortedSet(boolean... aValues) static CommonsTreeSet<Byte>newPrimitiveSortedSet(byte... aValues) static CommonsTreeSet<Character>newPrimitiveSortedSet(char... aValues) static CommonsTreeSet<Double>newPrimitiveSortedSet(double... aValues) static CommonsTreeSet<Float>newPrimitiveSortedSet(float... aValues) static CommonsTreeSet<Integer>newPrimitiveSortedSet(int... aValues) static CommonsTreeSet<Long>newPrimitiveSortedSet(long... aValues) static CommonsTreeSet<Short>newPrimitiveSortedSet(short... aValues) static NonBlockingStack<Boolean>newPrimitiveStack(boolean... aValues) static NonBlockingStack<Byte>newPrimitiveStack(byte... aValues) static NonBlockingStack<Character>newPrimitiveStack(char... aValues) static NonBlockingStack<Double>newPrimitiveStack(double... aValues) static NonBlockingStack<Float>newPrimitiveStack(float... aValues) static NonBlockingStack<Integer>newPrimitiveStack(int... aValues) static NonBlockingStack<Long>newPrimitiveStack(long... aValues) static NonBlockingStack<Short>newPrimitiveStack(short... aValues)
-
Method Details
-
newPrimitiveList
@Nonnull @ReturnsMutableCopy public static CommonsArrayList<Boolean> newPrimitiveList(@Nullable boolean... aValues) -
newPrimitiveList
@Nonnull @ReturnsMutableCopy public static CommonsArrayList<Byte> newPrimitiveList(@Nullable byte... aValues) -
newPrimitiveList
@Nonnull @ReturnsMutableCopy public static CommonsArrayList<Character> newPrimitiveList(@Nullable char... aValues) -
newPrimitiveList
@Nonnull @ReturnsMutableCopy public static CommonsArrayList<Double> newPrimitiveList(@Nullable double... aValues) -
newPrimitiveList
@Nonnull @ReturnsMutableCopy public static CommonsArrayList<Float> newPrimitiveList(@Nullable float... aValues) -
newPrimitiveList
@Nonnull @ReturnsMutableCopy public static CommonsArrayList<Integer> newPrimitiveList(@Nullable int... aValues) -
newPrimitiveList
@Nonnull @ReturnsMutableCopy public static CommonsArrayList<Long> newPrimitiveList(@Nullable long... aValues) -
newPrimitiveList
@Nonnull @ReturnsMutableCopy public static CommonsArrayList<Short> newPrimitiveList(@Nullable short... aValues) -
newPrimitiveSet
@Nonnull @ReturnsMutableCopy public static CommonsHashSet<Boolean> newPrimitiveSet(@Nullable boolean... aValues) -
newPrimitiveSet
@Nonnull @ReturnsMutableCopy public static CommonsHashSet<Byte> newPrimitiveSet(@Nullable byte... aValues) -
newPrimitiveSet
@Nonnull @ReturnsMutableCopy public static CommonsHashSet<Character> newPrimitiveSet(@Nullable char... aValues) -
newPrimitiveSet
@Nonnull @ReturnsMutableCopy public static CommonsHashSet<Double> newPrimitiveSet(@Nullable double... aValues) -
newPrimitiveSet
@Nonnull @ReturnsMutableCopy public static CommonsHashSet<Float> newPrimitiveSet(@Nullable float... aValues) -
newPrimitiveSet
@Nonnull @ReturnsMutableCopy public static CommonsHashSet<Integer> newPrimitiveSet(@Nullable int... aValues) -
newPrimitiveSet
@Nonnull @ReturnsMutableCopy public static CommonsHashSet<Long> newPrimitiveSet(@Nullable long... aValues) -
newPrimitiveSet
@Nonnull @ReturnsMutableCopy public static CommonsHashSet<Short> newPrimitiveSet(@Nullable short... aValues) -
newPrimitiveOrderedSet
@Nonnull @ReturnsMutableCopy public static CommonsLinkedHashSet<Boolean> newPrimitiveOrderedSet(@Nullable boolean... aValues) -
newPrimitiveOrderedSet
@Nonnull @ReturnsMutableCopy public static CommonsLinkedHashSet<Byte> newPrimitiveOrderedSet(@Nullable byte... aValues) -
newPrimitiveOrderedSet
@Nonnull @ReturnsMutableCopy public static CommonsLinkedHashSet<Character> newPrimitiveOrderedSet(@Nullable char... aValues) -
newPrimitiveOrderedSet
@Nonnull @ReturnsMutableCopy public static CommonsLinkedHashSet<Double> newPrimitiveOrderedSet(@Nullable double... aValues) -
newPrimitiveOrderedSet
@Nonnull @ReturnsMutableCopy public static CommonsLinkedHashSet<Float> newPrimitiveOrderedSet(@Nullable float... aValues) -
newPrimitiveOrderedSet
@Nonnull @ReturnsMutableCopy public static CommonsLinkedHashSet<Integer> newPrimitiveOrderedSet(@Nullable int... aValues) -
newPrimitiveOrderedSet
@Nonnull @ReturnsMutableCopy public static CommonsLinkedHashSet<Long> newPrimitiveOrderedSet(@Nullable long... aValues) -
newPrimitiveOrderedSet
@Nonnull @ReturnsMutableCopy public static CommonsLinkedHashSet<Short> newPrimitiveOrderedSet(@Nullable short... aValues) -
newPrimitiveSortedSet
@Nonnull @ReturnsMutableCopy public static CommonsTreeSet<Boolean> newPrimitiveSortedSet(@Nullable boolean... aValues) -
newPrimitiveSortedSet
@Nonnull @ReturnsMutableCopy public static CommonsTreeSet<Byte> newPrimitiveSortedSet(@Nullable byte... aValues) -
newPrimitiveSortedSet
@Nonnull @ReturnsMutableCopy public static CommonsTreeSet<Character> newPrimitiveSortedSet(@Nullable char... aValues) -
newPrimitiveSortedSet
@Nonnull @ReturnsMutableCopy public static CommonsTreeSet<Double> newPrimitiveSortedSet(@Nullable double... aValues) -
newPrimitiveSortedSet
@Nonnull @ReturnsMutableCopy public static CommonsTreeSet<Float> newPrimitiveSortedSet(@Nullable float... aValues) -
newPrimitiveSortedSet
@Nonnull @ReturnsMutableCopy public static CommonsTreeSet<Integer> newPrimitiveSortedSet(@Nullable int... aValues) -
newPrimitiveSortedSet
@Nonnull @ReturnsMutableCopy public static CommonsTreeSet<Long> newPrimitiveSortedSet(@Nullable long... aValues) -
newPrimitiveSortedSet
@Nonnull @ReturnsMutableCopy public static CommonsTreeSet<Short> newPrimitiveSortedSet(@Nullable short... aValues) -
newPrimitiveStack
@Nonnull @ReturnsMutableCopy public static NonBlockingStack<Boolean> newPrimitiveStack(@Nullable boolean... aValues) -
newPrimitiveStack
@Nonnull @ReturnsMutableCopy public static NonBlockingStack<Byte> newPrimitiveStack(@Nullable byte... aValues) -
newPrimitiveStack
@Nonnull @ReturnsMutableCopy public static NonBlockingStack<Character> newPrimitiveStack(@Nullable char... aValues) -
newPrimitiveStack
@Nonnull @ReturnsMutableCopy public static NonBlockingStack<Double> newPrimitiveStack(@Nullable double... aValues) -
newPrimitiveStack
@Nonnull @ReturnsMutableCopy public static NonBlockingStack<Float> newPrimitiveStack(@Nullable float... aValues) -
newPrimitiveStack
@Nonnull @ReturnsMutableCopy public static NonBlockingStack<Integer> newPrimitiveStack(@Nullable int... aValues) -
newPrimitiveStack
@Nonnull @ReturnsMutableCopy public static NonBlockingStack<Long> newPrimitiveStack(@Nullable long... aValues) -
newPrimitiveStack
@Nonnull @ReturnsMutableCopy public static NonBlockingStack<Short> newPrimitiveStack(@Nullable short... aValues)
-