SMILA 1.0 API documentation

org.eclipse.smila.objectstore
Class StoreObjectTimestampComparator

java.lang.Object
  extended by org.eclipse.smila.objectstore.StoreObjectTimestampComparator
All Implemented Interfaces:
java.io.Serializable, java.util.Comparator<StoreObject>

public class StoreObjectTimestampComparator
extends java.lang.Object
implements java.util.Comparator<StoreObject>, java.io.Serializable

Comparator implementation for StoreObject timestamps.

Author:
aweber
See Also:
Serialized Form

Constructor Summary
StoreObjectTimestampComparator()
           
 
Method Summary
 int compare(StoreObject o1, StoreObject o2)
          
 boolean equals(java.lang.Object obj)
          
 int hashCode()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StoreObjectTimestampComparator

public StoreObjectTimestampComparator()
Method Detail

compare

public int compare(StoreObject o1,
                   StoreObject o2)

Specified by:
compare in interface java.util.Comparator<StoreObject>

equals

public boolean equals(java.lang.Object obj)

Specified by:
equals in interface java.util.Comparator<StoreObject>
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()

Overrides:
hashCode in class java.lang.Object

SMILA 1.0 API documentation