Class DefaultVPAlphabet<I>

All Implemented Interfaces:
Iterable<I>, Collection<I>, Comparator<I>, IntFunction<I>, ToIntFunction<I>, List<I>, Alphabet<I>, VPAlphabet<I>, ArrayWritable<I>
Direct Known Subclasses:
DefaultProceduralInputAlphabet

public class DefaultVPAlphabet<I> extends AbstractVPAlphabet<I>
An alphabet-based, fixed size implementation of a VPAlphabet.
  • Constructor Details

  • Method Details

    • getSymbol

      public I getSymbol(int index)
      Description copied from interface: Alphabet
      Returns the symbol with the given index in this alphabet.
      Specified by:
      getSymbol in interface Alphabet<I>
      Overrides:
      getSymbol in class AbstractVPAlphabet<I>
      Parameters:
      index - the index of the requested symbol.
      Returns:
      symbol with the given index.