net.minecraft.core

public class NonNullList<E>

extends AbstractList<E>

gi
net.minecraft.core.NonNullList
net.minecraft.class_2371
net.minecraft.util.collection.DefaultedList
net.minecraft.util.NonNullList
net.minecraft.server.v1_16_R1.NonNullList

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public static <E> NonNullList<E>
a()
create()
method_10211()
of()
func_191196_a()
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)
func_191197_a(int arg0, E arg1)
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)
func_193580_a(E arg0, E... arg1)
public E
get(int arg0)
get(int arg0)
get(int arg0)
get(int index)
get(int arg0)
public E
set(int arg0, E arg1)
set(int arg0, E arg1)
set(int arg0, E arg1)
set(int index, E element)
set(int arg0, E arg1)
public void
add(int arg0, E arg1)
add(int arg0, E arg1)
add(int arg0, E arg1)
add(int value, E element)
add(int arg0, E arg1)
public E
remove(int arg0)
remove(int arg0)
remove(int arg0)
remove(int index)
remove(int arg0)
public int
size()
size()
size()
size()
size()
public void
clear()
clear()
clear()
clear()
clear()