public class SymbolList extends Object
Modifier and Type | Field and Description |
---|---|
protected int[] |
ciphers |
protected int |
n |
protected String[] |
symbols |
Modifier | Constructor and Description |
---|---|
protected |
SymbolList(int n) |
|
SymbolList(int[] ciphers,
String[] symbols) |
|
SymbolList(String[] symbols,
SymbolCodec codec) |
|
SymbolList(SymbolList another) |
Modifier and Type | Method and Description |
---|---|
SymbolList |
generateRandomSublist(int expectedSize) |
int |
getCipher(int i) |
String |
getSymbol(int i) |
int |
getUncodedCount() |
int |
size() |
protected final int[] ciphers
protected final String[] symbols
protected final int n
public SymbolList(String[] symbols, SymbolCodec codec)
public SymbolList(int[] ciphers, String[] symbols)
protected SymbolList(int n)
public SymbolList(SymbolList another)
public String getSymbol(int i)
public int getCipher(int i)
public int size()
public SymbolList generateRandomSublist(int expectedSize)
public int getUncodedCount()
Copyright © 2002–2025 Devexperts LLC. All rights reserved.