Package nl._42.beanie.tester.strategy
Class SimpleObjectEqualizer
- java.lang.Object
-
- nl._42.beanie.tester.strategy.SimpleObjectEqualizer
-
- All Implemented Interfaces:
ObjectEqualizer
public class SimpleObjectEqualizer extends java.lang.Object implements ObjectEqualizer
Simple implementation ofObjectEqualizer
.- Since:
- Mar 10, 2014
- Author:
- Jeroen van Schagen
-
-
Constructor Summary
Constructors Constructor Description SimpleObjectEqualizer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isEqual(java.lang.Object left, java.lang.Object right)
Determine if two objects are sementically equal.
-
-
-
Method Detail
-
isEqual
public boolean isEqual(java.lang.Object left, java.lang.Object right)
Determine if two objects are sementically equal.- Specified by:
isEqual
in interfaceObjectEqualizer
- Parameters:
left
- the left objectright
- the right object- Returns:
true
when equal, elsefalse
-
-