hla.rti1516
Interface LogicalTimeInterval

All Superinterfaces:
Comparable, Serializable

public interface LogicalTimeInterval
extends Comparable, Serializable


Method Summary
 int compareTo(Object other)
           
 void encode(byte[] buffer, int offset)
           
 int encodedLength()
           
 boolean equals(Object other)
          Returns true iff this and other represent the same time interval.
 int hashCode()
          Two LogicalTimeIntervals for which equals() is true should yield same hash code
 boolean isEpsilon()
           
 boolean isZero()
           
 LogicalTimeInterval subtract(LogicalTimeInterval subtrahend)
          Returns a LogicalTimeInterval whose value is (this - subtrahend).
 String toString()
           
 

Method Detail

isZero

boolean isZero()

isEpsilon

boolean isEpsilon()

subtract

LogicalTimeInterval subtract(LogicalTimeInterval subtrahend)
Returns a LogicalTimeInterval whose value is (this - subtrahend).


compareTo

int compareTo(Object other)
Specified by:
compareTo in interface Comparable

equals

boolean equals(Object other)
Returns true iff this and other represent the same time interval.

Overrides:
equals in class Object

hashCode

int hashCode()
Two LogicalTimeIntervals for which equals() is true should yield same hash code

Overrides:
hashCode in class Object

toString

String toString()
Overrides:
toString in class Object

encodedLength

int encodedLength()

encode

void encode(byte[] buffer,
            int offset)