Tests if the specified enumeration contains more elements.
Returns:
true if the enumeration contains at least one more element to provide; false otherwise.
true
false
Tip:
You may also call this function in a method-like style:
e.hasNext()