Class SuffixArray<T>

java.lang.Object
net.minecraft.client.util.SuffixArray<T>

public class SuffixArray<T> extends Object
  • Field Details

    • DEBUG_COMPARISONS

      private static final boolean DEBUG_COMPARISONS
    • DEBUG_ARRAY

      private static final boolean DEBUG_ARRAY
    • LOGGER

      private static final org.apache.logging.log4j.Logger LOGGER
    • list

      protected final List<T> list
    • chars

      private final it.unimi.dsi.fastutil.ints.IntList chars
    • wordStarts

      private final it.unimi.dsi.fastutil.ints.IntList wordStarts
    • suffixToT

      private it.unimi.dsi.fastutil.ints.IntList suffixToT
    • offsets

      private it.unimi.dsi.fastutil.ints.IntList offsets
    • maxStringLength

      private int maxStringLength
  • Constructor Details

    • SuffixArray

      public SuffixArray()
  • Method Details

    • add

      public void add(T p_194057_1_, String p_194057_2_)
    • generate

      public void generate()
    • print

      private void print()
    • getString

      private String getString(int p_194059_1_)
    • compare

      private int compare(String p_194056_1_, int p_194056_2_)
    • search

      public List<T> search(String p_194055_1_)