Class SuffixArray<T>

java.lang.Object
net.minecraft.client.searchtree.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.slf4j.Logger LOGGER
    • END_OF_TEXT_MARKER

      private static final int END_OF_TEXT_MARKER
      See Also:
    • END_OF_DATA

      private static final int END_OF_DATA
      See Also:
    • 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_119971_, String p_119972_)
    • generate

      public void generate()
    • print

      private void print()
    • getString

      private String getString(int p_119969_)
    • compare

      private int compare(String p_119976_, int p_119977_)
    • search

      public List<T> search(String p_119974_)