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