Class ChunkArray<T>
java.lang.Object
org.languagetool.rules.spelling.symspell.implementation.ChunkArray<T>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static int
int
private static int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
add
(SuggestionStage.Node value) private int
capacity()
void
clear()
private int
col
(int index) getValues
(int index) private int
row
(int index) void
setValues
(int index, SuggestionStage.Node value) void
setValues
(int index, SuggestionStage.Node value, SuggestionStage.Node[][] list)
-
Field Details
-
chunkSize
private static int chunkSize -
divShift
private static int divShift -
values
-
count
public int count
-
-
Constructor Details
-
ChunkArray
ChunkArray(int initialCapacity)
-
-
Method Details
-
add
-
clear
public void clear() -
getValues
-
setValues
-
setValues
-
row
private int row(int index) -
col
private int col(int index) -
capacity
private int capacity()
-