Package com.liferay.portal.kernel.util
Class MappingEnumeration<T,R>
Object
com.liferay.portal.kernel.util.MappingEnumeration<T,R>
- All Implemented Interfaces:
Enumeration<R>
- Author:
- Shuyang Zhou
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Enumeration<T>
protected final MappingEnumeration.Mapper<T,
R> protected R
-
Constructor Summary
ConstructorsConstructorDescriptionMappingEnumeration
(Enumeration<T> enumeration, MappingEnumeration.Mapper<T, R> mapper) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Enumeration
asIterator
-
Field Details
-
enumeration
-
mapper
-
nextElement
-
-
Constructor Details
-
MappingEnumeration
-
-
Method Details
-
hasMoreElements
public boolean hasMoreElements()- Specified by:
hasMoreElements
in interfaceEnumeration<T>
-
nextElement
- Specified by:
nextElement
in interfaceEnumeration<T>
-
nextMappedElement
-