Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for equialgo (0.09 sec)

  1. android/guava/src/com/google/common/base/Predicates.java

      }
    
      /**
       * Returns a predicate that evaluates to {@code true} if the object being tested {@code equals()}
       * the given target or both are null.
       */
      public static <T extends @Nullable Object> Predicate<T> equalTo(@ParametricNullness T target) {
        return (target == null)
            ? Predicates.<T>isNull()
            : new IsEqualToPredicate(target).withNarrowedType();
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/StandardTable.java

     */
    
    package com.google.common.collect;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.base.Predicates.alwaysTrue;
    import static com.google.common.base.Predicates.equalTo;
    import static com.google.common.base.Predicates.in;
    import static com.google.common.base.Predicates.not;
    import static com.google.common.collect.Maps.safeContainsKey;
    import static com.google.common.collect.Maps.safeGet;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 29.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/math/StatsTesting.java

        }
    
        boolean hasAnyPositiveInfinity() {
          return Iterables.any(values, Predicates.equalTo(POSITIVE_INFINITY));
        }
    
        boolean hasAnyNegativeInfinity() {
          return Iterables.any(values, Predicates.equalTo(NEGATIVE_INFINITY));
        }
    
        boolean hasAnyNaN() {
          return Iterables.any(values, Predicates.equalTo(NaN));
        }
    
        boolean hasAnyNonFinite() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 09 22:49:56 UTC 2023
    - 22.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/base/PredicatesTest.java

            .addEqualityGroup(Predicates.equalTo(1), Predicates.equalTo(1))
            .addEqualityGroup(Predicates.equalTo(2))
            .addEqualityGroup(Predicates.<@Nullable Integer>equalTo(null))
            .testEquals();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testIsEqualTo_serialization() {
        checkSerialization(Predicates.equalTo(1));
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/base/FunctionsTest.java

      }
    
      public void testComposeOfPredicateAndFunctionIsAssociative() {
        Map<Float, String> m = ImmutableMap.of(4.0f, "A", 3.0f, "B", 2.0f, "C", 1.0f, "D");
        Predicate<? super Integer> h = Predicates.equalTo(42);
        Function<? super String, Integer> g = new HashCodeFunction();
        Function<Float, String> f = Functions.forMap(m, "F");
    
        Predicate<Float> p1 = Predicates.compose(Predicates.compose(h, g), f);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 16K bytes
    - Viewed (0)
Back to top