Package org.infinispan.commons.util
Class EnumerationList<T>
- java.lang.Object
-
- org.infinispan.commons.util.ForwardingList<T>
-
- org.infinispan.commons.util.EnumerationList<T>
-
- All Implemented Interfaces:
Iterable<T>
,Collection<T>
,List<T>
public class EnumerationList<T> extends ForwardingList<T>
An Enumeration → List adaptor- Author:
- Pete Muir
-
-
Constructor Summary
Constructors Constructor Description EnumerationList(Enumeration<T> enumeration)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<T>
delegate()
-
-
-
Constructor Detail
-
EnumerationList
public EnumerationList(Enumeration<T> enumeration)
Constructor- Parameters:
enumeration
- The enumeration
-
-
Method Detail
-
delegate
protected List<T> delegate()
- Specified by:
delegate
in classForwardingList<T>
-
-