at.dms.kjc.sir
Class SIRLatencySet

java.lang.Object
  extended by at.dms.kjc.sir.SIRLatency
      extended by at.dms.kjc.sir.SIRLatencySet
All Implemented Interfaces:
DeepCloneable, Serializable

public class SIRLatencySet
extends SIRLatency

A set of Integers corresponding to possible latencies for message delivery.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class at.dms.kjc.sir.SIRLatency
BEST_EFFORT
 
Constructor Summary
SIRLatencySet()
           
 
Method Summary
 Object accept(AttributeVisitor p)
          Accepts the specified attribute visitor.
 void accept(KjcVisitor p)
          Accepts the specified visitor.
 boolean add(Integer x)
           
 Object deepClone()
          Returns a deep clone of this object.
protected  void deepCloneInto(SIRLatencySet other)
          Clones all fields of this into
 Integer first()
           
 boolean isEmpty()
           
 Iterator<Integer> iterator()
           
 Integer last()
           
 boolean remove(Integer x)
           
 int size()
           
 
Methods inherited from class at.dms.kjc.sir.SIRLatency
deepCloneInto, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SIRLatencySet

public SIRLatencySet()
Method Detail

add

public boolean add(Integer x)

first

public Integer first()

isEmpty

public boolean isEmpty()

iterator

public Iterator<Integer> iterator()

last

public Integer last()

remove

public boolean remove(Integer x)

size

public int size()

accept

public Object accept(AttributeVisitor p)
Accepts the specified attribute visitor.

Overrides:
accept in class SIRLatency
Parameters:
p - the visitor

accept

public void accept(KjcVisitor p)
Accepts the specified visitor.

Overrides:
accept in class SIRLatency

deepClone

public Object deepClone()
Returns a deep clone of this object.

Specified by:
deepClone in interface DeepCloneable
Overrides:
deepClone in class SIRLatency

deepCloneInto

protected void deepCloneInto(SIRLatencySet other)
Clones all fields of this into
other