public class SearchTreeReloadable<T> extends java.lang.Object implements IMutableSearchTree<T>
Modifier and Type | Class and Description |
---|---|
static class |
SearchTreeReloadable.JoinedIterator<T> |
Modifier and Type | Field and Description |
---|---|
private java.util.function.Function<T,java.util.stream.Stream<ResourceLocation>> |
field_217877_c |
private java.util.List<T> |
field_217878_d |
private it.unimi.dsi.fastutil.objects.Object2IntMap<T> |
field_217879_e |
protected SuffixArray<T> |
namespaceList |
protected SuffixArray<T> |
pathList |
Constructor and Description |
---|
SearchTreeReloadable(java.util.function.Function<T,java.util.stream.Stream<ResourceLocation>> p_i50896_1_) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
protected int |
compare(T p_217874_1_,
T p_217874_2_) |
void |
func_217872_a(T element) |
protected void |
index(T element) |
void |
recalculate() |
java.util.List<T> |
search(java.lang.String searchText) |
protected SuffixArray<T> namespaceList
protected SuffixArray<T> pathList
private final java.util.function.Function<T,java.util.stream.Stream<ResourceLocation>> field_217877_c
private final java.util.List<T> field_217878_d
private final it.unimi.dsi.fastutil.objects.Object2IntMap<T> field_217879_e
public SearchTreeReloadable(java.util.function.Function<T,java.util.stream.Stream<ResourceLocation>> p_i50896_1_)
public void recalculate()
recalculate
in interface IMutableSearchTree<T>
public void func_217872_a(T element)
func_217872_a
in interface IMutableSearchTree<T>
public void clear()
clear
in interface IMutableSearchTree<T>
protected void index(T element)
public java.util.List<T> search(java.lang.String searchText)
search
in interface ISearchTree<T>