类 NonNullList<E>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
net.minecraft.core.NonNullList<E>
- 所有已实现的接口:
Iterable<E>
,Collection<E>
,List<E>
-
字段概要
字段从类继承的字段 java.util.AbstractList
modCount
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明void
void
clear()
static <E> NonNullList<E>
create()
static <E> NonNullList<E>
createWithCapacity
(int pInitialCapacity) get
(int pIndex) static <E> NonNullList<E>
of
(E pDefaultValue, E... pElements) remove
(int pIndex) int
size()
static <E> NonNullList<E>
withSize
(int pSize, E pDefaultValue) 从类继承的方法 java.util.AbstractList
add, addAll, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subList
从类继承的方法 java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
从接口继承的方法 java.util.Collection
parallelStream, removeIf, stream, toArray
从接口继承的方法 java.util.List
addAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
-
字段详细资料
-
list
-
defaultValue
-
-
构造器详细资料
-
NonNullList
-
-
方法详细资料
-
create
-
createWithCapacity
-
withSize
-
of
-
get
-
set
-
add
-
remove
-
size
public int size()- 指定者:
size
在接口中Collection<E>
- 指定者:
size
在接口中List<E>
- 指定者:
size
在类中AbstractCollection<E>
-
clear
public void clear()- 指定者:
clear
在接口中Collection<E>
- 指定者:
clear
在接口中List<E>
- 覆盖:
clear
在类中AbstractList<E>
-