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>
An Enumeration → List adaptor
- Author:
- Pete Muir
-
Constructor Summary
-
Method Summary
Methods inherited from class org.infinispan.commons.util.ForwardingList
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface java.util.List
replaceAll, sort, spliterator
-
Constructor Details
-
EnumerationList
Constructor- Parameters:
enumeration
- The enumeration
-
-
Method Details
-
delegate
- Specified by:
delegate
in classForwardingList<T>
-