|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.core.util.collection.EasyList
ImmutableList, Lists, or Iterables
@Deprecated public class EasyList
A replacement for UtilMisc.toList().
Most methods here are not null safe
| Constructor Summary | |
|---|---|
EasyList()
Deprecated. |
|
| Method Summary | ||
|---|---|---|
static
|
build()
Deprecated. |
|
static
|
build(A o1,
B o2)
Deprecated. |
|
static
|
build(A o1,
B o2,
C o3)
Deprecated. |
|
static
|
build(A o1,
B o2,
C o3,
D o4)
Deprecated. |
|
static
|
build(A o1,
B o2,
C o3,
D o4,
E... others)
Deprecated. |
|
static
|
build(Collection<T> collection)
Deprecated. |
|
static
|
build(T o1)
Deprecated. |
|
static
|
build(T[] array)
Deprecated. |
|
static
|
buildNonNull(Collection<T> c)
Deprecated. |
|
static
|
buildNonNull(T o)
Deprecated. |
|
static
|
buildNonNull(T[] array)
Deprecated. |
|
static
|
buildNull()
Deprecated. Creates a list with one null value. |
|
static
|
createList(int size)
Deprecated. |
|
static
|
mergeLists(List<T> a,
List<U> b,
List<V> c)
Deprecated. use Guava's Iterables.concat() |
|
static
|
shallowSplit(List<T> list,
int sublength)
Deprecated. use Guava's Lists.partition() |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EasyList()
| Method Detail |
|---|
public static <T> List<T> buildNull()
public static <T> List<T> build(T[] array)
public static <T> List<T> buildNonNull(T[] array)
public static <T> List<T> buildNonNull(Collection<T> c)
public static <T> List<T> buildNonNull(T o)
public static <T> List<T> build()
public static <T> List<T> build(T o1)
public static <A,B extends A> List<A> build(A o1,
B o2)
public static <A,B extends A,C extends A> List<A> build(A o1,
B o2,
C o3)
public static <A,B extends A,C extends A,D extends A> List<A> build(A o1,
B o2,
C o3,
D o4)
public static <A,B extends A,C extends A,D extends A,E extends A> List<A> build(A o1,
B o2,
C o3,
D o4,
E... others)
public static <T> List<T> build(Collection<T> collection)
public static <T> List<T> createList(int size)
public static <T,U extends T,V extends T> List<T> mergeLists(List<T> a,
List<U> b,
List<V> c)
Iterables.concat()
a - The first list.b - The second list.c - The third list.
public static <T> List<List<T>> shallowSplit(List<T> list,
int sublength)
Lists.partition()
list - The list to splitsublength - Length of the sublists
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||