Package org.skyscreamer.jsonassert
Interface ValueMatcher<T>
- Type Parameters:
T
- the object type to compare
- All Known Subinterfaces:
LocationAwareValueMatcher<T>
- All Known Implementing Classes:
ArrayValueMatcher
,RegularExpressionValueMatcher
public interface ValueMatcher<T>
Represents a value matcher that can compare two objects for equality.
-
Method Summary
-
Method Details
-
equal
Compares the two provided objects whether they are equal.- Parameters:
o1
- the first object to checko2
- the object to check the first against- Returns:
- true if the objects are equal, false otherwise
-