net.minecraft.core

public class NonNullList<E>

extends AbstractList<E>

jz
net.minecraft.core.NonNullList
net.minecraft.class_2371
net.minecraft.util.collection.DefaultedList
net.minecraft.core.NonNullList

Field summary

Modifier and TypeField
private final List<E>
a
list
field_11115
delegate
private final E
b
defaultValue
field_11116
initialElement

Constructor summary

ModifierConstructor
protected (List<E> delegate, E initialElement)

Method summary

Modifier and TypeMethod
public static <E> NonNullList<E>
a()
create()
method_10211()
of()
public static <E> NonNullList<E>
a(int arg0)
createWithCapacity(int arg0)
method_37434(int arg0)
ofSize(int size)
public static <E> NonNullList<E>
a(int arg0, E arg1)
withSize(int arg0, E arg1)
method_10213(int arg0, E arg1)
ofSize(int size, E defaultValue)
public static <E> NonNullList<E>
a(E arg0, E... arg1)
of(E arg0, E... arg1)
method_10212(E arg0, E... arg1)
copyOf(E defaultValue, E... values)
public E
get(int arg0)
get(int arg0)
get(int arg0)
get(int index)
public E
set(int arg0, E arg1)
set(int arg0, E arg1)
set(int arg0, E arg1)
set(int index, E element)
public void
add(int arg0, E arg1)
add(int arg0, E arg1)
add(int arg0, E arg1)
add(int index, E element)
public E
remove(int arg0)
remove(int arg0)
remove(int arg0)
remove(int index)
public int
size()
size()
public void
clear()
clear()