Class MemString.CharMem<D2>

java.lang.Object
eu.bandm.tools.d2d2.infra.MemString.CharMem<D2>
Enclosing class:
MemString<D>

public static class MemString.CharMem<D2> extends Object
The data storage underlying every MemString.
  • Field Details

    • originalAddress

      protected D2 originalAddress
      The indication of the source of the data, for diagnosis messages. ATTENTION in case of file-read, this should correspond.
    • data

      protected char[] data
      The character data.
  • Constructor Details

  • Method Details

    • get_originalAddress

      public D2 get_originalAddress()
      Returns the string stored as originalAddress, for diagnosis messages.
    • get_data

      public char[] get_data()
      Return the data.
    • append

      public void append(String s)
      Append the given string to the character data.
    • initData

      void initData(String s)
      Reads the string contents into the memory object, as its only contents.
    • dump

      public void dump(PrintStream p)
      Prints all character data to the given output.
    • dump

      public void dump()
      printa all character data to System.out