net.minecraft.core

public class NonNullList<E>

extends AbstractList<E>

hn
net.minecraft.core.NonNullList
net.minecraft.class_2371
net.minecraft.util.collection.DefaultedList
net.minecraft.src.C_4702_
net.minecraft.core.NonNullList

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public static <E> NonNullList<E>
a()
create()
method_10211()
of()
m_122779_()
public static <E> NonNullList<E>
a(int arg0)
createWithCapacity(int arg0)
method_37434(int arg0)
ofSize(int size)
m_182647_(int p_182648_)
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)
m_122780_(int p_122781_, E p_122782_)
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)
m_122783_(E p_122784_, E... p_122785_)
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 p_122796_, E arg1)
public void
add(int arg0, E arg1)
add(int arg0, E arg1)
add(int arg0, E arg1)
add(int index, E element)
add(int p_122788_, E arg1)
public E
remove(int arg0)
remove(int arg0)
remove(int arg0)
remove(int index)
remove(int arg0)
public int
size()
size()
size()
public void
clear()
clear()
clear()