public Object lastElement() {   Object	element;  try { element = elements.get(elements.size() - 1); return element; } catch (ArrayIndexOutOfBoundsException e) { throw new NoSuchElementException(); }  }
public Object lastElement() { return elements.lastElement(); }
	public Object lastElement() {		// Variables		Object	element;		try {			element = elements.get(elements.size() - 1);			return element;		} catch (ArrayIndexOutOfBoundsException e) {			throw new NoSuchElementException();		} // try	} // lastElement()