/** * Looks at the object at the top of this stack without removing it. * * @return The object at the top of this stack * @exception EmptyStackException * If this stack is empty. */ public final Object peek() { int size = size(); if (size == 0) { throw new EmptyStackException(); } return get(size - 1); }
/** * Looks at the object at the top of this stack without removing it. * * @return The object at the top of this stack * @exception EmptyStackException * If this stack is empty. */ public final T peek() { int size = size(); if (size == 0) { throw new EmptyStackException(); } return get(size - 1); }
/** * Looks at the object at the top of this stack without removing it. * * @return The object at the top of this stack * @exception EmptyStackException * If this stack is empty. */ public final T peek() { int size = size(); if (size == 0) { throw new EmptyStackException(); } return get(size - 1); }
IRequestTarget target = requestTargets.get(i); if (target != null)
IRequestTarget target = (IRequestTarget)requestTargets.get(i); if (target != null)
for (int i = accessStack.size() - 1; i >= 0; i--) final Access access = accessStack.get(i);
for (int i = accessStack.size() - 1; i >= 0; i--) final Access access = (Access)accessStack.get(i);