Class ValueArray
java.lang.Object
com.pnfsoftware.jeb.core.units.code.debug.impl.AbstractValueComposite
com.pnfsoftware.jeb.core.units.code.debug.impl.ValueArray
- All Implemented Interfaces:
ITypedValue
An array of values provided by a debugger unit.
-
Field Summary
Fields inherited from class com.pnfsoftware.jeb.core.units.code.debug.impl.AbstractValueComposite
refTypeId
Fields inherited from interface com.pnfsoftware.jeb.core.units.code.debug.ITypedValue
TYPE_ARRAY, TYPE_BOOLEAN, TYPE_BYTE, TYPE_CHARACTER, TYPE_DOUBLE, TYPE_FLOAT, TYPE_INTEGER, TYPE_LONG, TYPE_OBJECT, TYPE_RAW, TYPE_SHORT, TYPE_STRING
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract List<? extends IDebuggerVariable>
getElements
(int index, int count) Get a slice of this array.abstract int
Retrieve the size of this array.Get the type name.Methods inherited from class com.pnfsoftware.jeb.core.units.code.debug.impl.AbstractValueComposite
format, getObjectId, getRefTypeId, getValue, hasChildren
-
Constructor Details
-
ValueArray
-
-
Method Details
-
getTypeName
Description copied from interface:ITypedValue
Get the type name. One of TYPE_* or a language type (Ljava/util/ArrayList; for example)- Returns:
-
getLength
public abstract int getLength()Retrieve the size of this array.- Returns:
-
getElements
Get a slice of this array.- Parameters:
index
- start index, must be a valid valuecount
- number of elements to be retrieved, a negative value means "until the end of the array"- Returns:
- null on error
-