Class AccountingToken


public final class AccountingToken extends SmfData
  • Method Details

    • toString

      public String toString()
      Convert the value of the Accounting Token to a String.

      The format produced by toString() may change in the future as more is learned about possible values.

      If the token contains values that are not EBCDIC characters, different tokens might produce the same string.

      See toHexString() for a more strictly defined string format.

      Overrides:
      toString in class Data
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Data
    • toHexString

      public String toHexString()
      Convert the value of the Accounting Token to a 44 character string of hexadecimal digits.
    • equals

      public boolean equals(Object obj)
      Return Equals if the Accounting Tokens contain the same value.
      Overrides:
      equals in class Data
      See Also:
    • create

      public static AccountingToken create(byte[] Data, int offset, int length)
      create is intended for internal use only. Instances of this section are created by the parent record or section.
      Parameters:
      Data - Array of bytes containing data for this section
      offset - Offset of this section in the data
      length - length of the section