Vector.lastElement

Vector.lastElement

Class Overview | Class Members | This Package | All Packages

Syntax
public final synchronized Object lastElement()
Returns
the last component of the vector, i.e., the component at index size() - 1.
Description
Returns the last component of the vector.

Exceptions
NoSuchElementException if this vector is empty.