public class Array<T> extends AbstractList<T> implements RandomAccess, Serializable, ExList<T>
modCount| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
contains(Object o) |
void |
forEach(java.util.function.Consumer<? super T> action) |
T |
get(int index) |
int |
indexOf(Object o) |
static <T> Array<T> |
of(T... values)
Create mutable list
|
void |
replaceAll(java.util.function.UnaryOperator<T> operator) |
T |
set(int index,
T element) |
int |
size() |
void |
sort(Comparator<? super T> c) |
Spliterator<T> |
spliterator() |
ExList<T> |
subList(int fromIndex,
int toIndex) |
Object[] |
toArray() |
<T1> T1[] |
toArray(T1[] a) |
add, add, addAll, clear, equals, hashCode, iterator, lastIndexOf, listIterator, listIterator, remove, removeRangeaddAll, containsAll, isEmpty, remove, removeAll, retainAll, toStringadd, add, addAll, addAll, clear, containsAll, equals, hashCode, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAlladdAll, filter, join, join, join, map, mapToDouble, mapToInt, mapToLong, parallelStream, stream, toArray, wrapremoveIfpublic Array(T[] array)
@SafeVarargs public static <T> Array<T> of(T... values)
ExListpublic int size()
size 在接口中 Collection<T>size 在接口中 List<T>size 在类中 AbstractCollection<T>public Object[] toArray()
toArray 在接口中 Collection<T>toArray 在接口中 List<T>toArray 在类中 AbstractCollection<T>public <T1> T1[] toArray(T1[] a)
toArray 在接口中 Collection<T>toArray 在接口中 List<T>toArray 在类中 AbstractCollection<T>public boolean contains(Object o)
contains 在接口中 Collection<T>contains 在接口中 List<T>contains 在类中 AbstractCollection<T>public Spliterator<T> spliterator()
spliterator 在接口中 Iterable<T>spliterator 在接口中 Collection<T>spliterator 在接口中 List<T>public void forEach(java.util.function.Consumer<? super T> action)
public void replaceAll(java.util.function.UnaryOperator<T> operator)
replaceAll 在接口中 List<T>public void sort(Comparator<? super T> c)
Copyright © 2015. All rights reserved.