T - public class FixedLengthList<T> extends AbstractList<T>
add(Object) and get(int)| 限定符和类型 | 字段和说明 |
|---|---|
protected T[] |
array |
protected int |
count |
protected int |
length |
protected int |
pos |
modCount| 构造器和说明 |
|---|
FixedLengthList(int length) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
add(T t) |
T |
get(int index) |
int |
size() |
Object[] |
toArray() |
add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subListaddAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toStringaddAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArrayparallelStream, removeIf, streamprotected final int length
protected final T[] array
protected int pos
protected int count
public int size()
size 在接口中 Collection<T>size 在接口中 List<T>size 在类中 AbstractCollection<T>public boolean add(T t)
add 在接口中 Collection<T>add 在接口中 List<T>add 在类中 AbstractList<T>public Object[] toArray()
toArray 在接口中 Collection<T>toArray 在接口中 List<T>toArray 在类中 AbstractCollection<T>Copyright © 2017. All rights reserved.