Class MemString.CharMem

java.lang.Object
eu.bandm.tools.d2d2.infra.MemString.CharMem
Enclosing class:
MemString

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

    • originalAddress

      protected String originalAddress
      The indication of the source of the data, for diagnosis messages. When constructed from a file by CharMem(File), this is the path of the file from which he character data had been read.
    • data

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

  • Method Details

    • get_originalAddress

      public String 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)
    • 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