Returns the last element of the specified enumeration.
This function works as follows:
Object lastElement = null; while (e.hasMoreElements()) { lastElement = e.nextElement(); } return lastElement;