Search Options

Results per page
Sort
Preferred Languages
Advance

Results 451 - 460 of 554 for HashCode (0.05 sec)

  1. android/guava-tests/test/com/google/common/collect/ForwardingSetTest.java

        protected Set<T> delegate() {
          return backingSet;
        }
    
        @Override
        public boolean equals(@Nullable Object object) {
          return standardEquals(object);
        }
    
        @Override
        public int hashCode() {
          return standardHashCode();
        }
    
        @Override
        public boolean addAll(Collection<? extends T> collection) {
          return standardAddAll(collection);
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 15:49:06 UTC 2023
    - 5K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketExtensions.kt

     *
     * See [RFC 7692, 7.1][rfc_7692] for details on negotiation process.
     *
     * [rfc_7692]: https://tools.ietf.org/html/rfc7692#section-7.1
     */
    @IgnoreJRERequirement // As of AGP 3.4.1, D8 desugars API 24 hashCode methods.
    data class WebSocketExtensions(
      /** True if the agreed upon extensions includes the permessage-deflate extension. */
      @JvmField val perMessageDeflate: Boolean = false,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/cache/LongAdder.java

     * higher space consumption.
     *
     * <p>This class extends {@link Number}, but does not define methods such as {@code
     * equals}, {@code hashCode} and {@code compareTo} because instances are expected to be mutated, and
     * so are not useful as collection keys.
     *
     * <p>jsr166e note: This class is targeted to be placed in java.util.concurrent.atomic.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 5.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/net/HostAndPort.java

          HostAndPort that = (HostAndPort) other;
          return Objects.equal(this.host, that.host) && this.port == that.port;
        }
        return false;
      }
    
      @Override
      public int hashCode() {
        return Objects.hashCode(host, port);
      }
    
      /** Rebuild the host:port string, including brackets if necessary. */
      @Override
      public String toString() {
        // "[]:12345" requires 8 extra bytes.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 22:02:22 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  5. android/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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:43:49 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/SampleElements.java

        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          return obj instanceof Collider && ((Collider) obj).value == value;
        }
    
        @Override
        public int hashCode() {
          return 1; // evil!
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/reflect/Parameter.java

          Parameter that = (Parameter) obj;
          return position == that.position && declaration.equals(that.declaration);
        }
        return false;
      }
    
      @Override
      public int hashCode() {
        return position;
      }
    
      @Override
      public String toString() {
        return type + " arg" + position;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 16 15:12:31 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/SynchronizedQueueTest.java

        create().clear();
        create().contains("foo");
        create().containsAll(ImmutableList.of("foo"));
        create().equals(new ArrayDeque<>(ImmutableList.of("foo")));
        create().hashCode();
        create().isEmpty();
        create().iterator();
        create().remove("foo");
        create().removeAll(ImmutableList.of("foo"));
        create().retainAll(ImmutableList.of("foo"));
        create().size();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 19 20:50:58 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/SampleElements.java

        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          return obj instanceof Collider && ((Collider) obj).value == value;
        }
    
        @Override
        public int hashCode() {
          return 1; // evil!
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ContiguousSet.java

     * {@code ContiguousSet.create(Range.greaterThan(0), DiscreteDomain.integers()}). Certain operations
     * on such a set can be performed efficiently, but others (such as {@link Set#hashCode} or {@link
     * Collections#frequency}) can cause major performance problems.
     *
     * @author Gregory Kick
     * @since 10.0
     */
    @GwtCompatible(emulated = true)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 9.9K bytes
    - Viewed (0)
Back to top