public interface ExList<T> extends List<T>, ExCollection<T>
| 限定符和类型 | 方法和说明 |
|---|---|
default List<T> |
immutable()
Create immutable view of this List.
|
static <T> ExList<T> |
of()
Create mutable list
|
static <T> ExList<T> |
of(T... values)
create mutable list
|
static <T> ExList<T> |
of(T value)
Create mutable list
|
static <T> ExList<T> |
of(T value1,
T value2)
Create mutable list
|
static <T> ExList<T> |
of(T value1,
T value2,
T value3)
Create mutable list
|
static <T> ExList<T> |
of(T value1,
T value2,
T value3,
T value4)
Create mutable list
|
static <T> ExList<T> |
of(T value1,
T value2,
T value3,
T value4,
T value5)
Create mutable list
|
static <T> ExList<T> |
of(T value1,
T value2,
T value3,
T value4,
T value5,
T value6)
Create mutable list
|
static <T> ExList<T> |
of(T value1,
T value2,
T value3,
T value4,
T value5,
T value6,
T value7)
Create mutable list
|
ExList<T> |
subList(int fromIndex,
int toIndex) |
static <T> ExList<T> |
wrap(List<T> list)
If list is not EnhancedList, wrap list to EnhancedList.
|
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, toArray, toArrayaddAll, filter, join, join, join, map, mapToDouble, mapToInt, mapToLong, parallelStream, stream, toArray, wrapremoveIfstatic <T> ExList<T> wrap(List<T> list)
default List<T> immutable()
immutable 在接口中 ExCollection<T>static <T> ExList<T> of()
static <T> ExList<T> of(T value)
static <T> ExList<T> of(T value1, T value2)
static <T> ExList<T> of(T value1, T value2, T value3)
static <T> ExList<T> of(T value1, T value2, T value3, T value4)
static <T> ExList<T> of(T value1, T value2, T value3, T value4, T value5)
static <T> ExList<T> of(T value1, T value2, T value3, T value4, T value5, T value6)
static <T> ExList<T> of(T value1, T value2, T value3, T value4, T value5, T value6, T value7)
@SafeVarargs static <T> ExList<T> of(T... values)
Copyright © 2015. All rights reserved.