Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 559 for hashcode (0.05 sec)

  1. okhttp/src/test/java/okhttp3/MediaTypeTest.kt

        assertEquals("text/plain;boundary=foo;charset=utf-8", mediaType.toString())
        assertEquals(mediaType, parse("text/plain;boundary=foo;charset=utf-8"))
        assertEquals(
          mediaType.hashCode(),
          parse("text/plain;boundary=foo;charset=utf-8").hashCode(),
        )
      }
    
      @Test fun testValidParse() {
        assertMediaType("text/plain")
        assertMediaType("application/atom+xml; charset=utf-8")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

        return t;
      }
    
      @Override
      public boolean equals(@Nullable Object obj) {
        return delegate.equals(obj);
      }
    
      @Override
      public int hashCode() {
        return delegate.hashCode();
      }
    
      @Override
      public String toString() {
        return delegate.toString();
      }
    
      private static final long serialVersionUID = 0L;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/misc/DynamicProperties.java

        }
    
        @Override
        public String getProperty(final String key) {
            return getProperties().getProperty(key);
        }
    
        @Override
        public int hashCode() {
            return getProperties().hashCode();
        }
    
        @Override
        public boolean isEmpty() {
            return getProperties().isEmpty();
        }
    
        @Override
        public Enumeration<Object> keys() {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/Challenge.kt

        level = DeprecationLevel.ERROR,
      )
      fun charset(): Charset = charset
    
      override fun equals(other: Any?): Boolean = commonEquals(other)
    
      override fun hashCode(): Int = commonHashCode()
    
      override fun toString(): String = commonToString()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. api/maven-api-model/src/main/java/org/apache/maven/api/model/InputSource.java

            return Objects.equals(modelId, that.modelId)
                    && Objects.equals(location, that.location)
                    && Objects.equals(inputs, that.inputs);
        }
    
        @Override
        public int hashCode() {
            return Objects.hash(modelId, location, inputs);
        }
    
        Stream<InputSource> sources() {
            return inputs != null ? inputs.stream() : Stream.of(this);
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Aug 15 13:24:49 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RequestData.java

            this.metaData = metaData;
        }
    
        @Override
        public String toString() {
            return "RequestData [method=" + method + ", url=" + url + "]";
        }
    
        @Override
        public int hashCode() {
            return Objects.hash(metaData, method, url);
        }
    
        @Override
        public boolean equals(final Object obj) {
            if (this == obj) {
                return true;
            }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/Floats.java

       * value).hashCode()}.
       *
       * <p><b>Java 8+ users:</b> use {@link Float#hashCode(float)} instead.
       *
       * @param value a primitive {@code float} value
       * @return a hash code for the value
       */
      public static int hashCode(float value) {
        // TODO(kevinb): is there a better way, that's still gwt-safe?
        return ((Float) value).hashCode();
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/primitives/Doubles.java

       * value).hashCode()}.
       *
       * <p><b>Java 8+ users:</b> use {@link Double#hashCode(double)} instead.
       *
       * @param value a primitive {@code double} value
       * @return a hash code for the value
       */
      public static int hashCode(double value) {
        return ((Double) value).hashCode();
        // TODO(kevinb): do it this way when we can (GWT problem):
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/primitives/Floats.java

       * value).hashCode()}.
       *
       * <p><b>Java 8+ users:</b> use {@link Float#hashCode(float)} instead.
       *
       * @param value a primitive {@code float} value
       * @return a hash code for the value
       */
      public static int hashCode(float value) {
        // TODO(kevinb): is there a better way, that's still gwt-safe?
        return ((Float) value).hashCode();
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/FilteredKeySetMultimap.java

      }
    
      @Override
      Set<Entry<K, V>> createEntries() {
        return new EntrySet();
      }
    
      class EntrySet extends Entries implements Set<Entry<K, V>> {
        @Override
        public int hashCode() {
          return Sets.hashCodeImpl(this);
        }
    
        @Override
        public boolean equals(@CheckForNull Object o) {
          return Sets.equalsImpl(this, o);
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 2.2K bytes
    - Viewed (0)
Back to top