Class MCOldObject.MCOldObjectArray

    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) java.lang.Long arrayIndex  
      (package private) java.lang.Long arraySize  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Long getIndex()
      Returns the index of the object in the array.
      java.lang.Long getSize()
      Returns the size of the array the old object is in.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • arrayIndex

        java.lang.Long arrayIndex
      • arraySize

        java.lang.Long arraySize
    • Constructor Detail

      • MCOldObjectArray

        public MCOldObjectArray​(IQuantity arrayIndex,
                                IQuantity arraySize)
    • Method Detail

      • getSize

        public java.lang.Long getSize()
        Description copied from interface: IMCOldObjectArray
        Returns the size of the array the old object is in.
        Specified by:
        getSize in interface IMCOldObjectArray
        Returns:
        the size of the array containing the referred object
      • getIndex

        public java.lang.Long getIndex()
        Description copied from interface: IMCOldObjectArray
        Returns the index of the object in the array.
        Specified by:
        getIndex in interface IMCOldObjectArray
        Returns:
        the index of the referred object in the array