Updated methods to help with the dictionary clean up.
This commit is contained in:
parent
96d0d0d9d0
commit
a82afad92c
6 changed files with 128 additions and 54 deletions
|
@ -113,6 +113,19 @@ public class ByteDictionarySource extends DictionarySource
|
|||
return dicts[i];
|
||||
}
|
||||
|
||||
public int getDicts()
|
||||
{
|
||||
int i;
|
||||
BitDictionarySource availableDicts = new BitDictionarySource();
|
||||
|
||||
if (dicts == null) return 0;
|
||||
|
||||
for (i=0; i< dicts.length; i++)
|
||||
availableDicts.add(dicts[i]);
|
||||
|
||||
return availableDicts.getDicts();
|
||||
}
|
||||
|
||||
public void dubDef(int n)
|
||||
{
|
||||
BitDictionarySource newDicts[] = new BitDictionarySource[dicts.length+1];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue