public class MappingEnumeration<T,R>
extends Object
implements Enumeration<R>
| Modifier and Type | Class and Description |
|---|---|
static interface |
MappingEnumeration.Mapper<T,R> |
| Modifier and Type | Field and Description |
|---|---|
protected Enumeration<T> |
enumeration |
protected MappingEnumeration.Mapper<T,R> |
mapper |
protected R |
nextElement |
| Constructor and Description |
|---|
MappingEnumeration(Enumeration<T> enumeration,
MappingEnumeration.Mapper<T,R> mapper) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasMoreElements() |
R |
nextElement() |
protected R |
nextMappedElement() |
protected final Enumeration<T> enumeration
protected final MappingEnumeration.Mapper<T,R> mapper
protected R nextElement
public MappingEnumeration(Enumeration<T> enumeration, MappingEnumeration.Mapper<T,R> mapper)