org.infinispan.util
Class EnumerationList<T>

java.lang.Object
  extended by org.infinispan.util.ForwardingList<T>
      extended by org.infinispan.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
EnumerationList(Enumeration<T> enumeration)
          Constructor
 
Method Summary
protected  List<T> delegate()
           
 
Methods inherited from class org.infinispan.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
 

Constructor Detail

EnumerationList

public EnumerationList(Enumeration<T> enumeration)
Constructor

Parameters:
enumeration - The enumeration
Method Detail

delegate

protected List<T> delegate()
Specified by:
delegate in class ForwardingList<T>

-->

Copyright © 2011 JBoss, a division of Red Hat. All Rights Reserved.