Lines Matching refs:index

78             for (int index = 0; index < values.length; index++)
80 values[index] = null;
123 for (int index = 0; index < size; index++)
125 Value thisValue = this.values[index];
126 Value otherValue = other.values[index];
130 // two local variables that share the same index), at some point
141 this.values[index] = newValue;
147 this.values[index] = null;
151 other.values[index] = null;
170 * Gets the Value of the variable with the given index, without disturbing it.
172 public Value getValue(int index)
174 if (index < 0 ||
175 index >= size)
177 throw new IndexOutOfBoundsException("Variable index ["+index+"] out of bounds ["+size+"]");
180 return values[index];
185 * Stores the given Value at the given variable index.
187 public void store(int index, Value value)
189 if (index < 0 ||
190 index >= size)
192 throw new IndexOutOfBoundsException("Variable index ["+index+"] out of bounds ["+size+"]");
196 values[index] = value;
201 values[index + 1] = TOP_VALUE;
207 * Loads the Value from the variable with the given index.
209 public Value load(int index)
211 if (index < 0 ||
212 index >= size)
214 throw new IndexOutOfBoundsException("Variable index ["+index+"] out of bounds ["+size+"]");
217 return values[index];
224 * Loads the IntegerValue from the variable with the given index.
226 public IntegerValue iload(int index)
228 return load(index).integerValue();
233 * Loads the LongValue from the variable with the given index.
235 public LongValue lload(int index)
237 return load(index).longValue();
242 * Loads the FloatValue from the variable with the given index.
244 public FloatValue fload(int index)
246 return load(index).floatValue();
251 * Loads the DoubleValue from the variable with the given index.
253 public DoubleValue dload(int index)
255 return load(index).doubleValue();
260 * Loads the ReferenceValue from the variable with the given index.
262 public ReferenceValue aload(int index)
264 return load(index).referenceValue();
269 * Loads the InstructionOffsetValue from the variable with the given index.
271 public InstructionOffsetValue oload(int index)
273 return load(index).instructionOffsetValue();
294 for (int index = 0; index < size; index++)
296 Value thisValue = this.values[index];
297 Value otherValue = other.values[index];
302 // same index), at some point outside of their scopes.
321 for (int index = 0; index < size; index++)
323 Value value = values[index];
338 for (int index = 0; index < size; index++)
340 Value value = values[index];