public abstract class FilteredEnumeration<T> extends Object implements SkipEnumeration<T>
Enumeration created by filtering another
according to an abstract inclusion function.
Implementations must provide isIncluded(Object).
| Constructor and Description |
|---|
FilteredEnumeration(Enumeration<T> base)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasMoreElements() |
T |
nextElement() |
void |
skip()
Skip an Element.
|
public FilteredEnumeration(Enumeration<T> base)
base - the Enumeration we are based uponpublic boolean hasMoreElements()
hasMoreElements in interface Enumeration<T>Enumeration.hasMoreElements()public T nextElement()
nextElement in interface Enumeration<T>Enumeration.nextElement()public void skip()
skip in interface SkipEnumeration<T>SkipEnumeration.skip()Copyright © 2000–2021 PanEris. All rights reserved.