public class CPUTF8 extends ConstantPoolEntry
UTF8 constant pool entry, used for storing long Strings.
  • Field Details

    • utf8

      private final String utf8
    • hashCodeComputed

      private boolean hashCodeComputed
    • cachedHashCode

      private int cachedHashCode
  • Constructor Details

    • CPUTF8

      public CPUTF8(String string)
    • CPUTF8

      public CPUTF8(String utf8, int globalIndex)
      Creates a new CPUTF8 instance
      Parameters:
      utf8 - TODO
      globalIndex - index in CpBands
      Throws:
      NullPointerException - if utf8 is null
  • Method Details