net.sf.ehcache.store
Class DefaultElementValueComparator
java.lang.Object
  
net.sf.ehcache.store.DefaultElementValueComparator
- All Implemented Interfaces: 
 - ElementValueComparator
 
public class DefaultElementValueComparator
- extends Object
- implements ElementValueComparator
  
- Author:
 
  - Ludovic Orban
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
DefaultElementValueComparator
public DefaultElementValueComparator(CacheConfiguration cacheConfiguration)
- Constructor
- Parameters:
 cacheConfiguration - the cache configuration
 
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 comparee2 - the second element to compare
- Returns:
 - true if both element values are equal
 
 
 
Copyright © 2003-2014 Terracotta, Inc.. All Rights Reserved.