Class ListExtensions

java.lang.Object
net.hl.lang.ext.ListExtensions

public class ListExtensions extends Object
  • Constructor Details

    • ListExtensions

      public ListExtensions()
  • Method Details

    • getAt

      public static <T> T getAt(List<T> list, int index)
    • getAt

      public static <T> List<T> getAt(List<T> list, IntRange range)
    • setAt

      public static <T> List<T> setAt(List<T> list, IntRange range, T[] other)
    • setAt

      public static <T> List<T> setAt(List<T> list, IntRange range, List<T> other)
    • newList

      public static <T> List<T> newList()
    • newList

      public static <T> List<T> newList(Collection<T> other)
    • newList

      public static <T> List<T> newList(T[] other)
    • newList

      public static List<Boolean> newList(boolean[] other)
    • newList

      public static List<Byte> newList(byte[] other)
    • newList

      public static List<Character> newList(char[] other)
    • newList

      public static List<Short> newList(short[] other)
    • newList

      public static List<Integer> newList(int[] other)
    • newList

      public static List<Long> newList(long[] other)
    • newList

      public static List<Float> newList(float[] other)
    • newList

      public static List<Double> newList(double[] other)