de.cau.cs.kieler.sim.trace
Interface ITraceList

All Superinterfaces:
Iterator<ITrace>

public interface ITraceList
extends Iterator<ITrace>

Generic interface for a list of traces, as for example defined by an Esi/ Eso file.

Rating red

Method Summary
 ITrace current()
          Return the current tick without activating the next one.
 Set<String> getInputs()
           
 Set<String> getOutputs()
           
 int getRemaining()
          Return the number of remaining traces after the current one.
 boolean hasNext()
           
 ITrace next()
           
 
Methods inherited from interface java.util.Iterator
remove
 

Method Detail

next

ITrace next()
Specified by:
next in interface Iterator<ITrace>
Returns:
Returns the next element in the interation.

hasNext

boolean hasNext()
Specified by:
hasNext in interface Iterator<ITrace>
Returns:
Returns true if the iteration has more elements.

current

ITrace current()
Return the current tick without activating the next one.

Returns:
the current tick

getRemaining

int getRemaining()
Return the number of remaining traces after the current one.

Returns:
number of remaining traces.

getInputs

Set<String> getInputs()
Returns:
all inputs defined by the traces.

getOutputs

Set<String> getOutputs()
Returns:
all outputs defined by the traces.