Documentation of 'org.apache.derby.iapi.services.classfile.CONSTANT_Index_info' Java class
CONSTANT_Index_info
org.apache.derby.iapi.services.classfile

Class CONSTANT_Index_info



  • public final class CONSTANT_Index_info
    extends ConstantPoolEntry
    A generic constant pool entry for entries that simply hold indexes into other entries.
    Ref Constant Pool Entry - page 94 - Section 4.4.2 - Two indexes
    NameAndType Constant Pool Entry - page 99 - Section 4.4.6 - Two indexes
    String Constant Pool Entry - page 96 - Section 4.4.3 - One index
    Class Reference Constant Pool Entry - page 93 - Section 4.4.1 - One index
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean equals(java.lang.Object other) 
      int getI1()
      Get the first index in a index type pool entry.
      int getI2()
      Get the second index in a index type pool entry.
      int hashCode() 
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • hashCode

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

        public boolean equals(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • getI1

        public int getI1()
        Description copied from class: ConstantPoolEntry
        Get the first index in a index type pool entry. This call is valid when getTag() returns one of
        • CONSTANT_Class
        • CONSTANT_Fieldref
        • CONSTANT_Methodref
        • CONSTANT_InterfaceMethodref
        • CONSTANT_String
        • CONSTANT_NameAndType
      • getI2

        public int getI2()
        Description copied from class: ConstantPoolEntry
        Get the second index in a index type pool entry. This call is valid when getTag() returns one of
        • CONSTANT_Fieldref
        • CONSTANT_Methodref
        • CONSTANT_InterfaceMethodref
        • CONSTANT_NameAndType

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.