The nextItem method of the ObjectEnumerator class returns the subsequent element from the ObjectEnumerator.
public java.lang.Object nextItem();