org.garret.serme
Class AbstractComparator

java.lang.Object
  extended byorg.garret.serme.AbstractComparator
All Implemented Interfaces:
IComparator, ISerializable

public abstract class AbstractComparator
extends java.lang.Object
implements IComparator

Abstract comparator. This class should be used as base class by comparator which has not state (no persistent fields)


Constructor Summary
AbstractComparator()
           
 
Method Summary
 void readObject(IInputStream in)
          Fetch object fields from the stream
 void writeObject(IOutputStream in)
          Store object fields in the stream.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.garret.serme.IComparator
compareMembers, compareMemberWithKey
 

Constructor Detail

AbstractComparator

public AbstractComparator()
Method Detail

readObject

public void readObject(IInputStream in)
Description copied from interface: ISerializable
Fetch object fields from the stream

Specified by:
readObject in interface ISerializable
Parameters:
in - stream from which object data should be fetched

writeObject

public void writeObject(IOutputStream in)
Description copied from interface: ISerializable
Store object fields in the stream.

Specified by:
writeObject in interface ISerializable
Parameters:
in - stream to which object is written