Enumeration<Object>
public class EmptyEnumeration extends Object implements Enumeration<Object>
Modifier and Type | Method | Description |
---|---|---|
boolean |
hasMoreElements() |
|
static <T> Enumeration<T> |
instance() |
|
Object |
nextElement() |
asIterator
public static <T> Enumeration<T> instance()
public boolean hasMoreElements()
hasMoreElements
in interface Enumeration<Object>
public Object nextElement()
nextElement
in interface Enumeration<Object>
Copyright © 2018. All rights reserved.