net.minecraft.util

public class SortedArraySet<T>

extends AbstractSet<T>

ahf
net.minecraft.util.SortedArraySet
net.minecraft.class_4706
net.minecraft.util.collection.SortedArraySet
net.minecraft.src.C_193_
net.minecraft.util.ArraySetSorted

Field summary

Modifier and TypeField
private static final int
a
DEFAULT_INITIAL_CAPACITY
field_29860
DEFAULT_CAPACITY
f_144974_
private final Comparator<T>
b
comparator
field_21562
comparator
f_14240_
T[]
c
contents
field_21563
elements
f_14241_
int
d
size
field_21564
size
f_14242_

Constructor summary

ModifierConstructor
private (int initialCapacity, Comparator<T> comparator)

Method summary

Modifier and TypeMethod
public static <T extends Comparable<T>> SortedArraySet<T>
a()
create()
method_34958()
create()
m_144975_()
public static <T extends Comparable<T>> SortedArraySet<T>
a(int arg0)
create(int arg0)
method_23859(int arg0)
create(int initialCapacity)
m_14246_(int p_14247_)
public static <T> SortedArraySet<T>
a(Comparator<T> arg0)
create(Comparator<T> arg0)
method_34959(Comparator<T> arg0)
create(Comparator<T> arg0)
m_144976_(Comparator<T> p_144977_)
public static <T> SortedArraySet<T>
a(Comparator<T> arg0, int arg1)
create(Comparator<T> arg0, int arg1)
method_34960(Comparator<T> arg0, int arg1)
create(Comparator<T> arg0, int initialCapacity)
m_144978_(Comparator<T> p_144979_, int p_144980_)
private static <T> T[]
a(Object[] arg0)
castRawArray(Object[] arg0)
method_23864(Object[] arg0)
cast(Object[] array)
m_14258_(Object[] p_14259_)
private int
c(T arg0)
findIndex(T arg0)
method_23869(T arg0)
binarySearch(T object)
m_14269_(T arg0)
private static int
b(int arg0)
getInsertionPosition(int arg0)
method_23866(int arg0)
insertionPoint(int binarySearchResult)
m_14263_(int p_14264_)
public boolean
add(T arg0)
add(T arg0)
add(T arg0)
private void
c(int arg0)
grow(int arg0)
method_23868(int arg0)
ensureCapacity(int minCapacity)
m_14267_(int arg0)
private void
a(T arg0, int arg1)
addInternal(T arg0, int arg1)
method_23863(T arg0, int arg1)
add(T object, int index)
m_14255_(T p_14257_, int arg1)
void
d(int arg0)
removeInternal(int arg0)
method_23870(int arg0)
remove(int index)
m_14274_(int arg0)
private T
e(int arg0)
getInternal(int arg0)
method_23871(int arg0)
get(int index)
m_14276_(int arg0)
public T
a(T arg0)
addOrGet(T arg0)
method_23862(T arg0)
addAndGet(T object)
m_14253_(T arg0)
public boolean
remove(Object arg0)
remove(Object arg0)
remove(Object arg0)
public T
b(T arg0)
get(T arg0)
method_34961(T arg0)
getIfContains(T arg0)
m_144981_(T arg0)
public T
b()
first()
method_23865()
first()
m_14262_()
public T
c()
last()
method_34962()
last()
m_144983_()
public boolean
contains(Object arg0)
contains(Object arg0)
contains(Object arg0)
public Iterator<T>
iterator()
iterator()
iterator()
public int
size()
size()
size()
public Object[]
toArray()
toArray()
toArray()
public <U> U[]
toArray(U[] arg0)
toArray(U[] arg0)
toArray(U[] arg0)
public void
clear()
clear()
clear()