ostore.introspect
Class Time.NeverTime
java.lang.Object
|
+--ostore.introspect.Time.NeverTime
- All Implemented Interfaces:
- Comparable, QuickSerializable, Time
- Enclosing class:
- Time
- public static final class Time.NeverTime
- extends Object
- implements Time
Time that is before all other time.
- Version:
- $Id: Time.java,v 1.2 2003/03/15 01:35:39 jeffpang Exp $
- Author:
- Jeff Pang
Fields inherited from interface ostore.introspect.Time |
NEVER |
Time.NeverTime
public Time.NeverTime()
Time.NeverTime
public Time.NeverTime(InputBuffer buffer)
throws QSException
serialize
public void serialize(OutputBuffer buffer)
- Description copied from interface:
QuickSerializable
- Add the object to the
buffer
.
- Specified by:
serialize
in interface QuickSerializable
- Parameters:
buffer
- the output buffer to add the object to
compareTo
public int compareTo(Object other)
- Specified by:
compareTo
in interface Comparable
equals
public boolean equals(Object other)
- Overrides:
equals
in class Object
difference
public Distance difference(Time to)
- Description copied from interface:
Time
- Distance from this Time to to time.
- Specified by:
difference
in interface Time
- Parameters:
to
- next time
- Returns:
- |to - this| distance
toString
public String toString()
- Overrides:
toString
in class Object