Class MatchNothing
java.lang.Object
org.soliscode.test.util.MatchNothing
- All Implemented Interfaces:
Comparable<MatchNothing>
An instance of this class will not compare equal to any other object.
- Since:
- 1.0.0
- Author:
- evanbergstrom
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
compareTo
(@NotNull MatchNothing obj) Always returns1
.boolean
Always returnsfalse
.int
hashCode()
Always returns1
.
-
Constructor Details
-
MatchNothing
public MatchNothing()
-
-
Method Details
-
equals
-
hashCode
-
compareTo
Always returns1
.- Specified by:
compareTo
in interfaceComparable<MatchNothing>
- Parameters:
obj
- The object to compare (not used).- Returns:
- The value
1
.
-