Package org.openjdk.jmc.common.util
Class MCOldObject.MCOldObjectArray
- java.lang.Object
-
- org.openjdk.jmc.common.util.MCOldObject.MCOldObjectArray
-
- All Implemented Interfaces:
IMCOldObjectArray
- Enclosing class:
- MCOldObject
private static class MCOldObject.MCOldObjectArray extends java.lang.Object implements IMCOldObjectArray
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.lang.Long
arrayIndex
(package private) java.lang.Long
arraySize
-
Constructor Summary
Constructors Constructor Description MCOldObjectArray(IQuantity arrayIndex, IQuantity 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.
-
-
-
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 interfaceIMCOldObjectArray
- 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 interfaceIMCOldObjectArray
- Returns:
- the index of the referred object in the array
-
-