net.sf.ehcache.store
Interface ElementValueComparator
- All Known Implementing Classes:
- DefaultElementValueComparator
public interface ElementValueComparator
Used to compare two element values.
Implementations must define a constructor accepting a single CacheConfiguration argument.
- Author:
- Ludovic Orban
equals
boolean equals(Element e1,
Element e2)
- Compare the two elements.
Null values have to be supported.
- Parameters:
e1
- element to comparee2
- element to compare
- Returns:
true
if the elements are equal
Copyright 2001-2015, Terracotta, Inc.