Class ConstantInfo.ConstantInteger

    • Field Detail

      • constant

        private int constant
    • Constructor Detail

      • ConstantInteger

        public ConstantInteger​(int bytes)
      • ConstantInteger

        public ConstantInteger​(java.io.DataInput in)
                        throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • initialize

        protected void initialize​(java.io.DataInput in)
                           throws java.io.IOException
        Specified by:
        initialize in class ConstantInfo
        Throws:
        java.io.IOException
      • write

        public void write​(java.io.DataOutput out)
                   throws java.io.IOException
        Specified by:
        write in interface Writable
        Overrides:
        write in class ConstantInfo
        Throws:
        java.io.IOException
      • getConstant

        public int getConstant()
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object