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