Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 13 of 13 for pairwise (0.25 sec)

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

                Comparator.naturalOrder(), Entry::getKey, Entry::getValue, Integer::sum);
        Equivalence<ImmutableMap<String, Integer>> equivalence =
            Equivalence.equals().<Entry<String, Integer>>pairwise().onResultOf(ImmutableMap::entrySet);
        CollectorTester.of(collector, equivalence)
            .expectCollects(
                ImmutableSortedMap.of("one", 1, "three", 3, "two", 4),
                mapEntry("one", 1),
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 28.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Ordering.java

          Iterable<? extends Comparator<? super T>> comparators) {
        return new CompoundOrdering<>(comparators);
      }
    
      /**
       * Returns a new ordering which sorts iterables by comparing corresponding elements pairwise until
       * a nonzero result is found; imposes "dictionary order". If the end of one iterable is reached,
       * but not the other, the shorter iterable is considered to be less than the longer one. For
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 39.4K bytes
    - Viewed (0)
  3. doc/go_spec.html

    <p>
    The type <code>T</code> in a term of the form <code>T</code> or <code>~T</code> cannot
    be a <a href="#Type_parameter_declarations">type parameter</a>, and the type sets of all
    non-interface terms must be pairwise disjoint (the pairwise intersection of the type sets must be empty).
    Given a type parameter <code>P</code>:
    </p>
    
    <pre>
    interface {
    	P                // illegal: P is a type parameter
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
Back to top