Lines Matching defs:index
72 public Value getValue(int index) {
73 List list = getValues(index, 1);
86 private void validateArrayAccess(int index, int length) {
87 // because length can be computed from index,
88 // index must be tested first for correct error message
89 if ((index < 0) || (index > length())) {
91 "Invalid array index: " + index);
97 if (index + length > length()) {
100 index + " to " + (index + length - 1));
109 public List<Value> getValues(int index, int length) {
111 length = length() - index;
113 validateArrayAccess(index, length);
120 vals = cast(JDWP.ArrayReference.GetValues.process(vm, this, index, length).values);
128 public void setValue(int index, Value value)
133 setValues(index, list, 0, 1);
142 public void setValues(int index, List<? extends Value> values,
150 length = Math.min(length() - index,
154 validateArrayAccess(index, length);
158 "Invalid source index: " + srcIndex);
198 process(vm, this, index, setValues);