com.devexperts.qd
Class SymbolList

java.lang.Object
  extended by com.devexperts.qd.SymbolList
Direct Known Subclasses:
RandomRecordsProvider

public class SymbolList
extends java.lang.Object


Field Summary
protected  int[] ciphers
           
protected  int n
           
protected  java.lang.String[] symbols
           
 
Constructor Summary
protected SymbolList(int n)
           
  SymbolList(int[] ciphers, java.lang.String[] symbols)
           
  SymbolList(java.lang.String[] symbols, SymbolCodec codec)
           
  SymbolList(SymbolList another)
           
 
Method Summary
 SymbolList generateRandomSublist(int expectedSize)
           
 int getCipher(int i)
           
 java.lang.String getSymbol(int i)
           
 int getUncodedCount()
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ciphers

protected final int[] ciphers

symbols

protected final java.lang.String[] symbols

n

protected final int n
Constructor Detail

SymbolList

public SymbolList(java.lang.String[] symbols,
                  SymbolCodec codec)

SymbolList

public SymbolList(int[] ciphers,
                  java.lang.String[] symbols)

SymbolList

protected SymbolList(int n)

SymbolList

public SymbolList(SymbolList another)
Method Detail

getSymbol

public java.lang.String getSymbol(int i)

getCipher

public int getCipher(int i)

size

public int size()

generateRandomSublist

public SymbolList generateRandomSublist(int expectedSize)

getUncodedCount

public int getUncodedCount()