INRIA & FluxMedia

fr.fluxmedia.tmcontrib.iterator
Class ParametersIterator

java.lang.Object
  extended by fr.fluxmedia.tmcontrib.iterator.ParametersIterator
All Implemented Interfaces:
TIterator, java.util.Enumeration

public final class ParametersIterator
extends java.lang.Object
implements TIterator

An iterator which returns a new parameter value

Author:
triolet

Field Summary
private  java.lang.String name
           
private  Parameters param
           
private  java.util.Enumeration paramNames
           
private  java.lang.String type
           
 
Constructor Summary
ParametersIterator(java.lang.String n, Parameters p)
          The constructor
 
Method Summary
 java.lang.String getName()
          Gets the name attribute of the ParametersIterator object
 java.lang.String getType()
          Gets the type attribute of the ParametersIterator object
 boolean hasMoreElements()
          Is this the last value
 void init(Parameters p)
          The initializer
 java.lang.Object nextElement()
          The next parameter value
 void staticInit(Parameters p)
          Static initialization is currently not used
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

param

private Parameters param

name

private java.lang.String name

type

private java.lang.String type

paramNames

private java.util.Enumeration paramNames
Constructor Detail

ParametersIterator

public ParametersIterator(java.lang.String n,
                          Parameters p)
The constructor

Parameters:
n - Description of the Parameter
p - Description of the Parameter
Method Detail

staticInit

public void staticInit(Parameters p)
Static initialization is currently not used

Specified by:
staticInit in interface TIterator
Parameters:
p - Description of the Parameter

init

public void init(Parameters p)
The initializer

Specified by:
init in interface TIterator
Parameters:
p - Description of the Parameter

getName

public java.lang.String getName()
Gets the name attribute of the ParametersIterator object

Specified by:
getName in interface TIterator
Returns:
The name value

hasMoreElements

public final boolean hasMoreElements()
Is this the last value

Specified by:
hasMoreElements in interface java.util.Enumeration
Returns:
Description of the Return Value

nextElement

public final java.lang.Object nextElement()
The next parameter value

Specified by:
nextElement in interface java.util.Enumeration
Returns:
Description of the Return Value

getType

public java.lang.String getType()
Gets the type attribute of the ParametersIterator object

Specified by:
getType in interface TIterator
Returns:
The type value

INRIA & FluxMedia

..no bottom yet...