net.minecraft.util

public class SortedArraySet<T>

extends AbstractSet<T>

baw
net.minecraft.util.SortedArraySet
net.minecraft.class_4706
net.minecraft.util.collection.SortedArraySet
net.minecraft.util.ArraySetSorted

Field summary

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

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()
public static <T extends Comparable<T>> SortedArraySet<T>
a(int arg0)
create(int arg0)
method_23859(int arg0)
create(int initialCapacity)
public static <T> SortedArraySet<T>
a(Comparator<T> arg0)
create(Comparator<T> arg0)
method_34959(Comparator<T> arg0)
create(Comparator<T> comparator)
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> comparator, int initialCapacity)
private static <T> T[]
a(Object[] arg0)
castRawArray(Object[] arg0)
method_23864(Object[] arg0)
cast(Object[] array)
private int
c(T arg0)
findIndex(T arg0)
method_23869(T arg0)
binarySearch(T object)
private static int
b(int arg0)
getInsertionPosition(int arg0)
method_23866(int arg0)
insertionPoint(int binarySearchResult)
public boolean
add(T arg0)
add(T arg0)
add(T arg0)
add(T object)
private void
c(int arg0)
grow(int arg0)
method_23868(int arg0)
ensureCapacity(int minCapacity)
private void
a(T arg0, int arg1)
addInternal(T arg0, int arg1)
method_23863(T arg0, int arg1)
add(T object, int index)
void
d(int arg0)
removeInternal(int arg0)
method_23870(int arg0)
remove(int index)
private T
e(int arg0)
getInternal(int arg0)
method_23871(int arg0)
get(int index)
public T
a(T arg0)
addOrGet(T arg0)
method_23862(T arg0)
addAndGet(T object)
public boolean
remove(Object arg0)
remove(Object arg0)
remove(Object arg0)
remove(Object object)
public T
b(T arg0)
get(T arg0)
method_34961(T arg0)
getIfContains(T object)
public T
b()
first()
method_23865()
first()
public T
c()
last()
method_34962()
last()
public boolean
contains(Object arg0)
contains(Object arg0)
contains(Object arg0)
contains(Object object)
public Iterator<T>
iterator()
iterator()
public int
size()
size()
public Object[]
toArray()
toArray()
public <U> U[]
toArray(U[] arg0)
toArray(U[] arg0)
toArray(U[] arg0)
toArray(U[] array)
public void
clear()
clear()