Class SimpleElementValue


  • public class SimpleElementValue
    extends ElementValue
    Since:
    6.0
    • Constructor Detail

      • SimpleElementValue

        public SimpleElementValue​(int type,
                                  int index,
                                  ConstantPool cpool)
    • Method Detail

      • getIndex

        public int getIndex()
        Returns:
        Value entry index in the cpool
      • setIndex

        public void setIndex​(int index)
      • getValueString

        public java.lang.String getValueString()
      • getValueInt

        public int getValueInt()
      • getValueByte

        public byte getValueByte()
      • getValueChar

        public char getValueChar()
      • getValueLong

        public long getValueLong()
      • getValueFloat

        public float getValueFloat()
      • getValueDouble

        public double getValueDouble()
      • getValueBoolean

        public boolean getValueBoolean()
      • getValueShort

        public short getValueShort()
      • dump

        public void dump​(java.io.DataOutputStream dos)
                  throws java.io.IOException
        Specified by:
        dump in class ElementValue
        Throws:
        java.io.IOException