ehcache

net.sf.ehcache.store
Class DefaultElementValueComparator

java.lang.Object
  extended by net.sf.ehcache.store.DefaultElementValueComparator
All Implemented Interfaces:
ElementValueComparator

public class DefaultElementValueComparator
extends Object
implements ElementValueComparator

Author:
Ludovic Orban

Constructor Summary
DefaultElementValueComparator()
           
 
Method Summary
 boolean equals(Element e1, Element e2)
          Compare if the two element values are equal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultElementValueComparator

public DefaultElementValueComparator()
Method Detail

equals

public boolean equals(Element e1,
                      Element e2)
Compare if the two element values are equal

Specified by:
equals in interface ElementValueComparator
Parameters:
e1 - the first element to compare
e2 - the second element to compare
Returns:
true if both element values are equal

ehcache

true