ostore.update
Class PredicateTrue

java.lang.Object
  |
  +--ostore.update.Predicate
        |
        +--ostore.update.PredicateTrue
All Implemented Interfaces:
QuickSerializable

public class PredicateTrue
extends Predicate

The PredicateTrue predicate is a simple predicate that always evaluates to true with no side effects.

Version:
$Id: PredicateTrue.java,v 1.21 2002/11/18 23:28:39 jeffpang Exp $
Author:
Patrick R. Eaton

Constructor Summary
PredicateTrue()
          Construct a PredicateTrue predicate.
PredicateTrue(InputBuffer buffer)
           
 
Method Summary
 void serialize(OutputBuffer buffer)
          Add the object to the buffer.
 String toString()
          Return a representation of this predicate as a string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PredicateTrue

public PredicateTrue()
Construct a PredicateTrue predicate.


PredicateTrue

public PredicateTrue(InputBuffer buffer)
              throws QSException
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
Overrides:
serialize in class Predicate
Parameters:
buffer - the output buffer to add the object to

toString

public String toString()
Description copied from class: Predicate
Return a representation of this predicate as a string.

Specified by:
toString in class Predicate
Returns:
a string representation of this predicate