public class ArrayReferenceImpl extends ObjectReferenceImpl implements com.sun.jdi.ArrayReference
Modifier and Type | Field and Description |
---|---|
protected VirtualMachineImpl |
vm |
Modifier and Type | Method and Description |
---|---|
com.sun.jdi.Value |
getValue(int index) |
java.util.List |
getValues() |
java.util.List |
getValues(int index,
int len) |
int |
length()
Return array length.
|
void |
setValue(int index,
com.sun.jdi.Value value) |
void |
setValues(int index,
java.util.List values,
int srcIndex,
int length) |
void |
setValues(java.util.List values) |
java.lang.String |
toString() |
com.sun.jdi.VirtualMachine |
virtualMachine() |
disableCollection, enableCollection, entryCount, equals, getValue, getValues, hashCode, invokeMethod, isCollected, owningThread, ref, referenceType, referringObjects, setValue, type, uniqueID, waitingThreads
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
protected VirtualMachineImpl vm
public int length()
length
in interface com.sun.jdi.ArrayReference
public com.sun.jdi.Value getValue(int index)
getValue
in interface com.sun.jdi.ArrayReference
public java.util.List getValues()
getValues
in interface com.sun.jdi.ArrayReference
public java.util.List getValues(int index, int len)
getValues
in interface com.sun.jdi.ArrayReference
public void setValue(int index, com.sun.jdi.Value value) throws com.sun.jdi.InvalidTypeException, com.sun.jdi.ClassNotLoadedException
setValue
in interface com.sun.jdi.ArrayReference
com.sun.jdi.InvalidTypeException
com.sun.jdi.ClassNotLoadedException
public void setValues(java.util.List values) throws com.sun.jdi.InvalidTypeException, com.sun.jdi.ClassNotLoadedException
setValues
in interface com.sun.jdi.ArrayReference
com.sun.jdi.InvalidTypeException
com.sun.jdi.ClassNotLoadedException
public void setValues(int index, java.util.List values, int srcIndex, int length) throws com.sun.jdi.InvalidTypeException, com.sun.jdi.ClassNotLoadedException
setValues
in interface com.sun.jdi.ArrayReference
com.sun.jdi.InvalidTypeException
com.sun.jdi.ClassNotLoadedException
public java.lang.String toString()
toString
in interface com.sun.jdi.Mirror
toString
in class ObjectReferenceImpl
public com.sun.jdi.VirtualMachine virtualMachine()
virtualMachine
in interface com.sun.jdi.Mirror
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.