Class SearchTreeReloadable<T>

    • Field Detail

      • idGetter

        private final java.util.function.Function<T,​java.util.stream.Stream<ResourceLocation>> idGetter
      • contents

        private final java.util.List<T> contents
      • orderT

        private final it.unimi.dsi.fastutil.objects.Object2IntMap<T> orderT
    • Constructor Detail

      • SearchTreeReloadable

        public SearchTreeReloadable​(java.util.function.Function<T,​java.util.stream.Stream<ResourceLocation>> p_i50896_1_)
    • Method Detail

      • index

        protected void index​(T p_194042_1_)
      • comparePosition

        protected int comparePosition​(T p_217874_1_,
                                      T p_217874_2_)
      • search

        public java.util.List<T> search​(java.lang.String p_194038_1_)
        Specified by:
        search in interface ISearchTree<T>