- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for ComparableType (0.1 sec)
-
android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
} // Compare by toString() to satisfy 2 properties: // 1. compareTo(null) should throw NullPointerException // 2. the order is deterministic and easy to understand, for debugging purpose. @SuppressWarnings("ComparableType") private static final class ByToString implements Comparable<Object>, Serializable { private static final ByToString INSTANCE = new ByToString(); @Override public int compareTo(Object o) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 20.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
} // Compare by toString() to satisfy 2 properties: // 1. compareTo(null) should throw NullPointerException // 2. the order is deterministic and easy to understand, for debugging purpose. @SuppressWarnings("ComparableType") private static final class ByToString implements Comparable<Object>, Serializable { private static final ByToString INSTANCE = new ByToString(); @Override public int compareTo(Object o) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 21.2K bytes - Viewed (0)