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 if the two element values are equal
- 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.