Esri Geoportal Server
1.0

com.esri.gpt.framework.util
Class EnumerationAdapter<T>

java.lang.Object
  extended by com.esri.gpt.framework.util.EnumerationAdapter<T>
All Implemented Interfaces:
Iterable<T>

public class EnumerationAdapter<T>
extends Object
implements Iterable<T>

Enumeration adapter.


Constructor Summary
EnumerationAdapter(Enumeration enumeration)
          Creates instance of the adapter.
 
Method Summary
 Iterator<T> iterator()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnumerationAdapter

public EnumerationAdapter(Enumeration enumeration)
Creates instance of the adapter.

Parameters:
enumeration - enumeration to create iterator over it's elements
Method Detail

iterator

public Iterator<T> iterator()
Specified by:
iterator in interface Iterable<T>

Esri Geoportal Server
1.0

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.