Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for pairwise (0.2 sec)

  1. guava-tests/test/com/google/common/base/EquivalenceTest.java

            .test();
      }
    
      public void testPairwiseEquivalent_equals() {
        new EqualsTester()
            .addEqualityGroup(Equivalence.equals().pairwise(), Equivalence.equals().pairwise())
            .addEqualityGroup(Equivalence.identity().pairwise())
            .testEquals();
      }
    
      private enum LengthFunction implements Function<String, Integer> {
        INSTANCE;
    
        @Override
        public Integer apply(String input) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/EquivalenceTest.java

            .test();
      }
    
      public void testPairwiseEquivalent_equals() {
        new EqualsTester()
            .addEqualityGroup(Equivalence.equals().pairwise(), Equivalence.equals().pairwise())
            .addEqualityGroup(Equivalence.identity().pairwise())
            .testEquals();
      }
    
      private enum LengthFunction implements Function<String, Integer> {
        INSTANCE;
    
        @Override
        public Integer apply(String input) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/PairwiseEquivalence.java

        return false;
      }
    
      @Override
      public int hashCode() {
        return elementEquivalence.hashCode() ^ 0x46a3eb07;
      }
    
      @Override
      public String toString() {
        return elementEquivalence + ".pairwise()";
      }
    
      private static final long serialVersionUID = 1;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 23 15:09:35 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ImmutableEnumMapTest.java

            Maps.toImmutableEnumMap(Entry::getKey, Entry::getValue);
        Equivalence<ImmutableMap<AnEnum, Integer>> equivalence =
            Equivalence.equals().<Entry<AnEnum, Integer>>pairwise().onResultOf(ImmutableMap::entrySet);
        CollectorTester.of(collector, equivalence)
            .expectCollects(
                ImmutableMap.of(AnEnum.A, 1, AnEnum.C, 2, AnEnum.E, 3),
                mapEntry(AnEnum.A, 1),
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/PairwiseEquivalence.java

        return false;
      }
    
      @Override
      public int hashCode() {
        return elementEquivalence.hashCode() ^ 0x46a3eb07;
      }
    
      @Override
      public String toString() {
        return elementEquivalence + ".pairwise()";
      }
    
      private static final long serialVersionUID = 1;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 23 15:09:35 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/LexicographicalOrdering.java

    import java.util.Comparator;
    import java.util.Iterator;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** An ordering which sorts iterables by comparing corresponding elements pairwise. */
    @GwtCompatible(serializable = true)
    @ElementTypesAreNonnullByDefault
    final class LexicographicalOrdering<T extends @Nullable Object> extends Ordering<Iterable<T>>
        implements Serializable {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sun Jun 20 14:22:42 GMT 2021
    - 2.4K bytes
    - Viewed (0)
  7. cmd/sts-datatypes.go

    	// This identifier is associated with the Token that was submitted
    	// with the AssumeRoleWithWebIdentity call. The identifier is typically unique to
    	// the user and the application that acquired the WebIdentityToken (pairwise identifier).
    	// For OpenID Connect ID tokens, this field contains the value returned by the identity
    	// provider as the token's sub (Subject) claim.
    	SubjectFromWebIdentityToken string `xml:",omitempty"`
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri May 27 00:58:09 GMT 2022
    - 9.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/TableCollectorsTest.java

      static <C, E extends @Nullable Object, R extends Iterable<E>>
          BiPredicate<C, C> pairwiseOnResultOf(Function<C, R> arg) {
        Equivalence<C> equivalence = Equivalence.equals().<E>pairwise().onResultOf(arg);
        return equivalence::equivalent;
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Mar 05 16:03:18 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Comparators.java

     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class Comparators {
      private Comparators() {}
    
      /**
       * Returns a new comparator 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.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 11 08:42:51 GMT 2024
    - 10K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Equivalence.java

       *
       * <p>The returned object is serializable if this object is serializable.
       *
       * @since 10.0
       */
      @GwtCompatible(serializable = true)
      public final <S extends @Nullable T> Equivalence<Iterable<S>> pairwise() {
        // Ideally, the returned equivalence would support Iterable<? extends T>. However,
        // the need for this is so rare that it's not worth making callers deal with the ugly wildcard.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.1K bytes
    - Viewed (0)
Back to top