private class LanguageProfile.Interleaved
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
private class |
LanguageProfile.Interleaved.Entry |
Modifier and Type | Field and Description |
---|---|
private char[] |
entries |
private long |
entriesGeneratedAtCount |
private int |
size |
Modifier | Constructor and Description |
---|---|
private |
Interleaved() |
Modifier and Type | Method and Description |
---|---|
LanguageProfile.Interleaved.Entry |
firstEntry() |
private java.util.List<java.util.Map.Entry<java.lang.String,LanguageProfile.Counter>> |
getSortedNgrams() |
void |
update()
Ensure that the entries array is in sync with the ngrams.
|
private char[] entries
private int size
private long entriesGeneratedAtCount
public void update()
public LanguageProfile.Interleaved.Entry firstEntry()
private java.util.List<java.util.Map.Entry<java.lang.String,LanguageProfile.Counter>> getSortedNgrams()