ehcache

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

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

Method Detail

equals

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

Parameters:
e1 - the first element to compare
e2 - the second element to compare
Returns:
true if both element values are equal

ehcache

Copyright © 2003-2012 Terracotta, Inc.. All Rights Reserved.