Search Options

Results per page
Sort
Preferred Languages
Advance

Results 501 - 510 of 585 for hashCode (1.16 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilderRequest.java

                            && Objects.equals(source, that.source)
                            && Objects.equals(repositories, that.repositories);
                }
    
                @Override
                public int hashCode() {
                    return Objects.hash(path, source, allowStubModel, recursive, processPlugins, repositories);
                }
    
                @Override
                public String toString() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 10 07:30:49 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/AbstractTableReadTest.java

        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        int expected =
            Objects.hash("foo", 1, 'a') + Objects.hash("bar", 1, 'b') + Objects.hash("foo", 3, 'c');
        assertEquals(expected, table.hashCode());
      }
    
      public void testToStringSize1() {
        table = create("foo", 1, 'a');
        assertEquals("{foo={1=a}}", table.toString());
      }
    
      public void testRow() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/opensearch/log/allcommon/EsAbstractBehavior.java

            public void clear() {
                parent.clear();
            }
    
            public boolean equals(final Object o) {
                return parent.equals(o);
            }
    
            public int hashCode() {
                return parent.hashCode();
            }
    
            public E get(final int index) {
                return parent.get(index);
            }
    
            public E set(final int index, final E element) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 27 07:01:25 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

     *   private final String zipcode;
     *
     *   public Address(String city, String state, String zipcode) {...}
     *
     *   {@literal @Override} public boolean equals(Object obj) {...}
     *   {@literal @Override} public int hashCode() {...}
     *   ...
     * }
     * </pre>
     *
     * <p>No cascading checks are performed against the return values of methods unless the method is a
     * static factory method. Neither are semantics of mutation methods such as {@code
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ForwardingNavigableMapTest.java

          return standardRemove(object);
        }
    
        @Override
        public boolean equals(@Nullable Object object) {
          return standardEquals(object);
        }
    
        @Override
        public int hashCode() {
          return standardHashCode();
        }
    
        @Override
        public Set<K> keySet() {
          /*
           * We can't use StandardKeySet, as NavigableMapTestSuiteBuilder assumes that our keySet is a
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Dec 16 03:23:31 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  6. docs/smb3-features/02-persistent-handles-design.md

            if (obj instanceof HandleGuid) {
                return guid.equals(((HandleGuid)obj).guid);
            }
            return false;
        }
        
        @Override
        public int hashCode() {
            return guid.hashCode();
        }
    }
    ```
    
    ### 4.2 Durable Handle Request Context
    ```java
    package jcifs.internal.smb2.persistent;
    
    import jcifs.internal.smb2.create.Smb2CreateContext;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/Files.java

       * @return the {@link HashCode} of all of the bytes in the file
       * @throws IOException if an I/O error occurs
       * @since 12.0
       * @deprecated Prefer {@code asByteSource(file).hash(hashFunction)}.
       */
      @Deprecated
      @InlineMe(
          replacement = "Files.asByteSource(file).hash(hashFunction)",
          imports = "com.google.common.io.Files")
      public
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 25 20:24:13 UTC 2025
    - 32.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/net/MediaType.java

        } else {
          return false;
        }
      }
    
      @Override
      public int hashCode() {
        // racy single-check idiom
        int h = hashCode;
        if (h == 0) {
          h = hash(type, subtype, parametersAsMap());
          hashCode = h;
        }
        return h;
      }
    
      private static final MapJoiner PARAMETER_JOINER = Joiner.on("; ").withKeyValueSeparator("=");
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Oct 02 01:46:40 UTC 2025
    - 48K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/primitives/IntsTest.java

      // We need to test that our method behaves like the JDK method.
      @SuppressWarnings("InlineMeInliner")
      public void testHashCode() {
        for (int value : VALUES) {
          assertThat(Ints.hashCode(value)).isEqualTo(Integer.hashCode(value));
        }
      }
    
      public void testCheckedCast() {
        for (int value : VALUES) {
          assertThat(Ints.checkedCast((long) value)).isEqualTo(value);
        }
        assertCastFails(GREATEST + 1L);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 29.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SID.java

            }
            if (this.type == SID_TYPE_DOMAIN) {
                return "";
            }
            return this.acctName;
        }
    
        @Override
        public int hashCode() {
            int hcode = this.identifier_authority[5];
            for (int i = 0; i < this.sub_authority_count; i++) {
                hcode += 65599 * this.sub_authority[i];
            }
            return hcode;
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16K bytes
    - Viewed (0)
Back to top