Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 251 - 260 of 340 for Compare (0.06 seconds)

  1. android/guava/src/com/google/common/collect/Iterables.java

       *
       * <p>For any equivalent elements across all {@code iterables}, elements are returned in the order
       * of their source iterables. That is, if element A from iterable 1 and element B from iterable 2
       * compare as equal, A will be returned before B if iterable 1 was passed before iterable 2.
       *
       * @since 11.0
       */
      public static <T extends @Nullable Object> Iterable<T> mergeSorted(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 16 18:35:28 GMT 2025
    - 43.8K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/Iterables.java

       *
       * <p>For any equivalent elements across all {@code iterables}, elements are returned in the order
       * of their source iterables. That is, if element A from iterable 1 and element B from iterable 2
       * compare as equal, A will be returned before B if iterable 1 was passed before iterable 2.
       *
       * @since 11.0
       */
      public static <T extends @Nullable Object> Iterable<T> mergeSorted(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 43.6K bytes
    - Click Count (0)
  3. cmd/bucket-replication.go

    		return replicateMetadata
    	}
    
    	// Compare only necessary headers
    	compareKeys := []string{
    		"Expires",
    		"Cache-Control",
    		"Content-Language",
    		"Content-Disposition",
    		"X-Amz-Object-Lock-Mode",
    		"X-Amz-Object-Lock-Retain-Until-Date",
    		"X-Amz-Object-Lock-Legal-Hold",
    		"X-Amz-Website-Redirect-Location",
    		"X-Amz-Meta-",
    	}
    
    	// compare metadata on both maps to see if meta is identical
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 118.2K bytes
    - Click Count (0)
  4. guava/src/com/google/common/net/MediaType.java

          return true;
        } else if (obj instanceof MediaType) {
          MediaType that = (MediaType) obj;
          return this.type.equals(that.type)
              && this.subtype.equals(that.subtype)
              // compare parameters regardless of order
              && this.parametersAsMap().equals(that.parametersAsMap());
        } else {
          return false;
        }
      }
    
      @Override
      public int hashCode() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Oct 02 01:46:40 GMT 2025
    - 48K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/net/MediaType.java

          return true;
        } else if (obj instanceof MediaType) {
          MediaType that = (MediaType) obj;
          return this.type.equals(that.type)
              && this.subtype.equals(that.subtype)
              // compare parameters regardless of order
              && this.parametersAsMap().equals(that.parametersAsMap());
        } else {
          return false;
        }
      }
    
      @Override
      public int hashCode() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Oct 02 01:46:40 GMT 2025
    - 48K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/Maps.java

       * @param left the map to treat as the "left" map for purposes of comparison
       * @param right the map to treat as the "right" map for purposes of comparison
       * @param valueEquivalence the equivalence relationship to use to compare values
       * @return the difference between the two maps
       * @since 10.0
       */
      public static <K extends @Nullable Object, V extends @Nullable Object>
          MapDifference<K, V> difference(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 157.6K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/Maps.java

       * @param left the map to treat as the "left" map for purposes of comparison
       * @param right the map to treat as the "right" map for purposes of comparison
       * @param valueEquivalence the equivalence relationship to use to compare values
       * @return the difference between the two maps
       * @since 10.0
       */
      public static <K extends @Nullable Object, V extends @Nullable Object>
          MapDifference<K, V> difference(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 163.5K bytes
    - Click Count (0)
  8. cmd/test-utils_test.go

    		t.Errorf("Object API Nil Test expected to fail with %d, but failed with %d", serverNotInitializedErr, rec.Code)
    	}
    
    	// HEAD HTTP Request doesn't contain body in its response,
    	// for other type of HTTP requests compare the response body content with the expected one.
    	if req.Method != http.MethodHead {
    		// read the response body.
    		actualContent, err := io.ReadAll(rec.Body)
    		if err != nil {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 77K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/collect/IteratorsTest.java

        ImmutableList<TestDatum> right = ImmutableList.of(new TestDatum("A", 2), new TestDatum("C", 2));
    
        Comparator<TestDatum> comparator = Comparator.comparing(d -> d.letter);
    
        // When elements compare as equal (both C's have same letter), our merge should always return C1
        // before C2, since C1 is from the first iterator.
    
        Iterator<TestDatum> merged =
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:44:53 GMT 2025
    - 56.7K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/Sets.java

        if (set.comparator() != null
            && set.comparator() != Ordering.natural()
            && range.hasLowerBound()
            && range.hasUpperBound()) {
          checkArgument(
              set.comparator().compare(range.lowerEndpoint(), range.upperEndpoint()) <= 0,
              "set is using a custom comparator which is inconsistent with the natural ordering.");
        }
        if (range.hasLowerBound() && range.hasUpperBound()) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 81.6K bytes
    - Click Count (0)
Back to Top