ostore.read
Class FreshPredicate

java.lang.Object
  |
  +--ostore.read.FreshPredicate
All Implemented Interfaces:
QuickSerializable, VersionPredicate

public class FreshPredicate
extends Object
implements VersionPredicate

A VersionPredicate that requires a version whose expiration date has not yet been reached.

Version:
$Id: FreshPredicate.java,v 1.16 2002/07/29 18:48:53 geels Exp $
Author:
Dennis Geels

Constructor Summary
FreshPredicate()
          Constructs a new FreshPredicate.
FreshPredicate(InputBuffer buffer)
          Constructs a FreshPredicate from its serialized form.
 
Method Summary
 void serialize(OutputBuffer buffer)
          Add the object to the buffer.
 String toString()
          Returns a human-readable representation of this predicate.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FreshPredicate

public FreshPredicate()
Constructs a new FreshPredicate.


FreshPredicate

public FreshPredicate(InputBuffer buffer)
Constructs a FreshPredicate from its serialized form.

Method Detail

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

toString

public String toString()
Returns a human-readable representation of this predicate.

Overrides:
toString in class Object