Class UnhashableObject
- java.lang.Object
-
- com.google.common.collect.testing.UnhashableObject
-
- All Implemented Interfaces:
Comparable<UnhashableObject>
@GwtCompatible public class UnhashableObject extends Object implements Comparable<UnhashableObject>
An unhashable object to be used in testing as values in our collections.- Author:
- Regina O'Dell
-
-
Constructor Summary
Constructors Constructor Description UnhashableObject(int value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(UnhashableObject o)booleanequals(@Nullable Object object)inthashCode()StringtoString()
-
-
-
Constructor Detail
-
UnhashableObject
public UnhashableObject(int value)
-
-
Method Detail
-
compareTo
public int compareTo(UnhashableObject o)
- Specified by:
compareToin interfaceComparable<UnhashableObject>
-
-