Interface Equal.Definition<A>
- All Known Subinterfaces:
Equal.AltDefinition<A>, Ord.AltDefinition<A>, Ord.Definition<A>
public static interface Equal.Definition<A>
Primitives functions of Equal: minimal definition and overridable methods.
-
Method Summary
Modifier and TypeMethodDescriptionequal()Build an equal instance from this definition.default booleandefault <B> Equal.Definition<A> Refine this equal definition, to tests equality of self and the mapped object in "and" manner.
-
Method Details
-
equal
-
equal
-
then
Refine this equal definition, to tests equality of self and the mapped object in "and" manner.- Parameters:
f- The function to map the original objecteq- Equality for the mapped object- Returns:
- A new equal definition
- See Also:
-
equal
Build an equal instance from this definition. to be called after some successivethen(F, Equal)calls.
-