Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for DontHashMe (0.13 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/UnhashableObject.java

      @Override
      public int hashCode() {
        throw new UnsupportedOperationException();
      }
    
      // needed because otherwise Object.toString() calls hashCode()
      @Override
      public String toString() {
        return "DontHashMe" + value;
      }
    
      @Override
      public int compareTo(UnhashableObject o) {
        return (this.value < o.value) ? -1 : (this.value > o.value) ? 1 : 0;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Apr 20 11:19:03 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/UnhashableObject.java

      @Override
      public int hashCode() {
        throw new UnsupportedOperationException();
      }
    
      // needed because otherwise Object.toString() calls hashCode()
      @Override
      public String toString() {
        return "DontHashMe" + value;
      }
    
      @Override
      public int compareTo(UnhashableObject o) {
        return (this.value < o.value) ? -1 : (this.value > o.value) ? 1 : 0;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Apr 20 11:19:03 UTC 2023
    - 1.6K bytes
    - Viewed (0)
Back to top