|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ostore.read.HeadPredicate
A VersionPredicate
that requires a version that was still
the most recent version at some point in a specified range.
The class name comes from the CVS term "head".
Constructor Summary | |
---|---|
HeadPredicate(InputBuffer buffer)
Constructs a HeadPredicate from its
serialize d form. |
|
HeadPredicate(QSDate date)
Constructs a new HeadPredicate that requires the
version that was the most recent version at a specific date. |
|
HeadPredicate(QSDate low,
QSDate high)
Constructs a new HeadPredicate that requires a version
that was the most recent version at some date between
low and high , inclusive.
|
Method Summary | |
---|---|
QSDate |
get_high()
Returns the latest accaptable "head" date; |
QSDate |
get_low()
Returns the earliest accaptable "head" date; |
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 |
public HeadPredicate(QSDate low, QSDate high)
HeadPredicate
that requires a version
that was the most recent version at some date between
low
and high
, inclusive.
Set high=Clock.QS_NEVER
for open-ended predicates.
low
- The earliest acceptable "head" date.high
- The latest acceptable "head" date.Clock.QS_NEVER
public HeadPredicate(QSDate date)
HeadPredicate
that requires the
version that was the most recent version at a specific date.
date
- The time at which the desired version was head.public HeadPredicate(InputBuffer buffer) throws QSException
HeadPredicate
from its
serialize
d form.
Method Detail |
public QSDate get_low()
public QSDate get_high()
public void serialize(OutputBuffer buffer)
QuickSerializable
buffer
.
serialize
in interface QuickSerializable
buffer
- the output buffer to add the object topublic String toString()
toString
in class Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |