at.dms.kjc.sir
Class SIRLatencySet
java.lang.Object
at.dms.kjc.sir.SIRLatency
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
SIRLatencySet
public SIRLatencySet()
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