org.snmp4j.agent.mo.jmx.util
Class TransformIterator

java.lang.Object
  extended by org.snmp4j.agent.mo.jmx.util.TransformIterator
All Implemented Interfaces:
java.util.Iterator
Direct Known Subclasses:
JMXArrayIndexKeyIterator

public abstract class TransformIterator
extends java.lang.Object
implements java.util.Iterator

Author:
Frank Fock

Constructor Summary
TransformIterator(java.util.Iterator it)
           
 
Method Summary
 boolean hasNext()
           
 java.lang.Object next()
           
 void remove()
           
protected abstract  java.lang.Object transform(java.lang.Object next)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransformIterator

public TransformIterator(java.util.Iterator it)
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator

next

public java.lang.Object next()
Specified by:
next in interface java.util.Iterator

transform

protected abstract java.lang.Object transform(java.lang.Object next)

remove

public void remove()
Specified by:
remove in interface java.util.Iterator

Copyright 2006-2007 Frank Fock (SNMP4J.org)