com.liferay.portal.kernel.util
Class MappingEnumeration<T,R>
java.lang.Object
com.liferay.portal.kernel.util.MappingEnumeration<T,R>
- All Implemented Interfaces:
- Enumeration<R>
public class MappingEnumeration<T,R>
- extends Object
- implements Enumeration<R>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
enumeration
protected final Enumeration<T> enumeration
mapper
protected final MappingEnumeration.Mapper<T,R> mapper
nextElement
protected R nextElement
MappingEnumeration
public MappingEnumeration(Enumeration<T> enumeration,
MappingEnumeration.Mapper<T,R> mapper)
hasMoreElements
public boolean hasMoreElements()
- Specified by:
hasMoreElements
in interface Enumeration<R>
nextElement
public R nextElement()
- Specified by:
nextElement
in interface Enumeration<R>
nextMappedElement
protected final R nextMappedElement()