public class ListExtensions extends Object
| Constructor and Description |
|---|
ListExtensions() |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
getAt(List<T> list,
int index) |
static <T> List<T> |
getAt(List<T> list,
IntRange range) |
static <T> List<T> |
newList() |
static List<Boolean> |
newList(boolean[] other) |
static List<Byte> |
newList(byte[] other) |
static List<Character> |
newList(char[] other) |
static <T> List<T> |
newList(Collection<T> other) |
static List<Double> |
newList(double[] other) |
static List<Float> |
newList(float[] other) |
static List<Integer> |
newList(int[] other) |
static List<Long> |
newList(long[] other) |
static List<Short> |
newList(short[] other) |
static <T> List<T> |
newList(T[] other) |
static <T> List<T> |
setAt(List<T> list,
IntRange range,
List<T> other) |
static <T> List<T> |
setAt(List<T> list,
IntRange range,
T[] other) |
public static <T> T getAt(List<T> list, int index)
public static <T> List<T> newList()
public static <T> List<T> newList(Collection<T> other)
public static <T> List<T> newList(T[] other)
Copyright © 2021 vpc open source initiative. All rights reserved.