Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 491 for hashCodes (0.05 sec)

  1. src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java

        }
    
        @Test
        @DisplayName("equals/hashCode: subject semantics")
        void equalsAndHashCode_subjectSemantics() {
            Kerb5Authenticator a = new Kerb5Authenticator((Subject) null);
            Kerb5Authenticator b = new Kerb5Authenticator((Subject) null);
    
            // Both null subjects -> equal
            assertEquals(a, b);
            assertEquals(a.hashCode(), b.hashCode());
    
            // Mixed null/non-null -> not equal
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/LegacyComparable.java

          LegacyComparable that = (LegacyComparable) object;
          return this.value.equals(that.value);
        }
        return false;
      }
    
      @Override
      public int hashCode() {
        return value.hashCode();
      }
    
      @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/util/QueryResponseList.java

            return parent.equals(o);
        }
    
        @Override
        public Map<String, Object> get(final int index) {
            return parent.get(index);
        }
    
        @Override
        public int hashCode() {
            return parent.hashCode();
        }
    
        @Override
        public int indexOf(final Object o) {
            return parent.indexOf(o);
        }
    
        @Override
        public boolean isEmpty() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java

        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          return this == obj || (obj instanceof Element && ((Element) obj).hash == hash);
        }
    
        @Override
        public int hashCode() {
          return hash;
        }
    
        @Override
        public int compareTo(Element that) {
          return Integer.compare(hash, that.hash);
        }
    
        @Override
        public String toString() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/CaseFormat.java

            return sourceFormat.equals(that.sourceFormat) && targetFormat.equals(that.targetFormat);
          }
          return false;
        }
    
        @Override
        public int hashCode() {
          return sourceFormat.hashCode() ^ targetFormat.hashCode();
        }
    
        @Override
        public String toString() {
          return sourceFormat + ".converterTo(" + targetFormat + ")";
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Apr 15 22:14:00 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/ArtifactTransferEvent.java

            return sb.toString();
        }
    
        @Override
        public int hashCode() {
            final int prime = 31;
            int result = 1;
            result = prime * result + eventType;
            result = prime * result + ((exception == null) ? 0 : exception.hashCode());
            result = prime * result + ((localFile == null) ? 0 : localFile.hashCode());
            result = prime * result + requestType;
            return result;
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableSet.java

            && isHashCodeFast()
            && ((ImmutableSet<?>) object).isHashCodeFast()
            && hashCode() != object.hashCode()) {
          return false;
        }
        return Sets.equalsImpl(this, object);
      }
    
      @Override
      public int hashCode() {
        return Sets.hashCodeImpl(this);
      }
    
      // This declaration is needed to make Set.iterator() and
      // ImmutableCollection.iterator() consistent.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/NullsFirstOrdering.java

          NullsFirstOrdering<?> that = (NullsFirstOrdering<?>) object;
          return this.ordering.equals(that.ordering);
        }
        return false;
      }
    
      @Override
      public int hashCode() {
        return ordering.hashCode() ^ 957692532; // meaningless
      }
    
      @Override
      public String toString() {
        return ordering + ".nullsFirst()";
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 04 13:03:16 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/RegularImmutableMap.java

       * double the index of the entry in entrySet.asList.)
       *
       * The basic data structure is described in https://en.wikipedia.org/wiki/Open_addressing.
       * The pointer to a key is stored in hashTable[Hashing.smear(key.hashCode()) % table.length],
       * save that if that location is already full, we try the next index, and the next, until we
       * find an empty table position.  Since the table has a power-of-two size, we use
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 22.5K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/testing/DummyProxy.java

              checkNotNull(args[i]);
            }
          }
          return dummyReturnValue(interfaceType.resolveType(method.getGenericReturnType()));
        }
    
        @Override
        public int hashCode() {
          return identity().hashCode();
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj instanceof DummyHandler) {
            DummyHandler that = (DummyHandler) obj;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:10:29 UTC 2025
    - 4.5K bytes
    - Viewed (0)
Back to top