/** * Gets the default target. This is just a shorthand for * {@code getTarget(size())}. * * @return {@code >= 0;} the default target */ public int getDefaultTarget() { return targets.get(size); }
/** * Gets the indicated target. Asking for the target at {@code size()} * returns the default target. * * @param n {@code >= 0, <= size();} which index * @return {@code >= 0;} the target */ public int getTarget(int n) { return targets.get(n); }
/** * Returns the last element in the array without modifying the array * * @return last value in the array * @throws IndexOutOfBoundsException if stack is empty */ public int top() { return get(size - 1); }
/** * Gets the indicated test value. * * @param n {@code >= 0;}, < size(); which index * @return the test value */ public int getValue(int n) { return values.get(n); }
/** * Gets the indicated test value. * * @param n {@code >= 0;}, < size(); which index * @return the test value */ public int getValue(int n) { return values.get(n); }
/** * Gets the indicated test value. * * @param n {@code >= 0;}, < size(); which index * @return the test value */ public int getValue(int n) { return values.get(n); }
/** * Gets the indicated target. Asking for the target at {@code size()} * returns the default target. * * @param n {@code >= 0, <= size();} which index * @return {@code >= 0;} the target */ public int getTarget(int n) { return targets.get(n); }
/** * Gets the default target. This is just a shorthand for * {@code getTarget(size())}. * * @return {@code >= 0;} the default target */ public int getDefaultTarget() { return targets.get(size); }
/** * Gets the indicated target. Asking for the target at {@code size()} * returns the default target. * * @param n {@code >= 0, <= size();} which index * @return {@code >= 0;} the target */ public int getTarget(int n) { return targets.get(n); }
/** * Returns the last element in the array without modifying the array * * @return last value in the array * @throws IndexOutOfBoundsException if stack is empty */ public int top() { return get(size - 1); }
/** * Gets the default target. This is just a shorthand for * {@code getTarget(size())}. * * @return {@code >= 0;} the default target */ public int getDefaultTarget() { return targets.get(size); }
/** * Returns the last element in the array without modifying the array * * @return last value in the array * @throws IndexOutOfBoundsException if stack is empty */ public int top() { return get(size - 1); }
/** * Returns the last element in the array without modifying the array * * @return last value in the array * @throws IndexOutOfBoundsException if stack is empty */ public int top() { return get(size - 1); }
/** * Gets the default target. This is just a shorthand for * {@code getTarget(size())}. * * @return {@code >= 0;} the default target */ public int getDefaultTarget() { return targets.get(size); }
/** {@inheritDoc} */ @Override public int next() { if (!hasNext()) { throw new NoSuchElementException(); } return ints.get(idx++); } };
/** @inheritDoc */ public int next() { if (!hasNext()) { throw new NoSuchElementException(); } return ints.get(idx++); } };
/** {@inheritDoc} */ @Override public int next() { if (!hasNext()) { throw new NoSuchElementException(); } return ints.get(idx++); } };
/** * @return successor list of rop labels */ public IntList getRopLabelSuccessorList() { IntList result = new IntList(successorList.size()); int sz = successorList.size(); for (int i = 0; i < sz; i++) { result.add(parent.blockIndexToRopLabel(successorList.get(i))); } return result; }
/** * @return successor list of rop labels */ public IntList getRopLabelSuccessorList() { IntList result = new IntList(successorList.size()); int sz = successorList.size(); for (int i = 0; i < sz; i++) { result.add(parent.blockIndexToRopLabel(successorList.get(i))); } return result; }
/** * @return successor list of rop labels */ public IntList getRopLabelSuccessorList() { IntList result = new IntList(successorList.size()); int sz = successorList.size(); for (int i = 0; i < sz; i++) { result.add(parent.blockIndexToRopLabel(successorList.get(i))); } return result; }