net.minecraft.util

public class SortedArraySet<T>

extends AbstractSet<T>

afn
net.minecraft.util.SortedArraySet
net.minecraft.class_4706
net.minecraft.util.collection.SortedArraySet
net.minecraft.util.SortedArraySet
net.minecraft.server.v1_16_R2.ArraySetSorted

Field summary

Modifier and TypeField
private final Comparator<T>
a
comparator
field_21562
comparator
field_226169_a_
private T[]
b
contents
field_21563
elements
field_226170_b_
private int
c
size
field_21564
size
field_226171_c_

Constructor summary

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

Method summary

Modifier and TypeMethod
public static <T extends Comparable<T>> SortedArraySet<T>
a(int arg0)
create(int arg0)
method_23859(int arg0)
create(int initialCapacity)
func_226172_a_(int arg0)
private static <T> T[]
a(Object[] arg0)
castRawArray(Object[] arg0)
method_23864(Object[] arg0)
cast(Object[] array)
func_226177_a_(Object[] arg0)
private int
c(T arg0)
findIndex(T arg0)
method_23869(T arg0)
binarySearch(T object)
func_226182_c_(T arg0)
private static int
b(int arg0)
getInsertionPosition(int arg0)
method_23866(int arg0)
insertionPoint(int binarySearchResult)
func_226179_b_(int arg0)
public boolean
add(T arg0)
add(T arg0)
add(T arg0)
add(T arg0)
add(T arg0)
private void
c(int arg0)
grow(int arg0)
method_23868(int arg0)
ensureCapacity(int minCapacity)
func_226181_c_(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)
func_226176_a_(T arg0, int arg1)
private void
d(int arg0)
removeInternal(int arg0)
method_23870(int arg0)
remove(int index)
func_226183_d_(int arg0)
private T
e(int arg0)
getInternal(int arg0)
method_23871(int arg0)
get(int index)
func_226184_e_(int arg0)
public T
a(T arg0)
addOrGet(T arg0)
method_23862(T arg0)
addAndGet(T object)
func_226175_a_(T arg0)
public boolean
remove(Object arg0)
remove(Object arg0)
remove(Object arg0)
remove(Object arg0)
remove(Object arg0)
public T
b()
first()
method_23865()
first()
func_226178_b_()
public boolean
contains(Object arg0)
contains(Object arg0)
contains(Object arg0)
contains(Object arg0)
contains(Object arg0)
public Iterator<T>
iterator()
iterator()
iterator()
iterator()
iterator()
public int
size()
size()
size()
size()
size()
public Object[]
toArray()
toArray()
toArray()
toArray()
toArray()
public <U> U[]
toArray(U[] arg0)
toArray(U[] arg0)
toArray(U[] arg0)
toArray(U[] arg0)
toArray(U[] arg0)
public void
clear()
clear()
clear()
clear()
clear()