Skip to content

Class Alphabet

Javadoc 27 generates this reference during each site build from the exported packages and the annotation processor. The Java guide shows the API in use.

public final class Alphabet extends IntType
alphabet "symbols", which reads each symbol as its index. blank(String), strip(String) and base(long) add options in call order.
  • Method Details

    • blank

      public Alphabet blank(String characters)
      Returns this alphabet with blank "characters".
      Parameters:
      characters - the characters that read as blanks
      Returns:
      this alphabet with blank "characters"
    • strip

      public Alphabet strip(String characters)
      Returns this alphabet with strip "characters".
      Parameters:
      characters - the characters to remove
      Returns:
      this alphabet with strip "characters"
    • base

      public Alphabet base(long value)
      Returns this alphabet with base value.
      Parameters:
      value - the index of the first symbol
      Returns:
      this alphabet with base value