Package net.minecraft.client.search
Class SuffixArray<T>
java.lang.Object
net.minecraft.client.search.SuffixArray<T>
@Environment(CLIENT) public class SuffixArray<T> extends Object
-
Field Summary
Fields Modifier and Type Field Description private IntListcharactersprivate static LoggerLOGGERprivate intmaxTextLengthprotected List<T>objectsprivate static booleanPRINT_ARRAYprivate static booleanPRINT_COMPARISONSprivate IntListsuffixIndexToObjectIndexprivate IntListsuffixSplitsprivate IntListsuffixStarts -
Constructor Summary
Constructors Constructor Description SuffixArray() -
Method Summary
-
Field Details
-
PRINT_COMPARISONS
private static final boolean PRINT_COMPARISONS -
PRINT_ARRAY
private static final boolean PRINT_ARRAY -
LOGGER
-
objects
-
characters
-
suffixStarts
-
suffixIndexToObjectIndex
-
suffixSplits
-
maxTextLength
private int maxTextLength
-
-
Constructor Details
-
SuffixArray
public SuffixArray()
-
-
Method Details
-
add
-
sort
public void sort() -
printArray
private void printArray() -
getDebugString
-
compare
-
findAll
-