Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 548 for equalTo (0.81 sec)

  1. 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)
  2. 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)
  3. android/guava/src/com/google/common/base/Predicates.java

        }
    
        @Override
        public boolean equals(@CheckForNull Object obj) {
          if (obj instanceof IsEqualToPredicate) {
            IsEqualToPredicate that = (IsEqualToPredicate) obj;
            return target.equals(that.target);
          }
          return false;
        }
    
        @Override
        public String toString() {
          return "Predicates.equalTo(" + target + ")";
        }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/Predicates.java

        }
    
        @Override
        public boolean equals(@CheckForNull Object obj) {
          if (obj instanceof IsEqualToPredicate) {
            IsEqualToPredicate that = (IsEqualToPredicate) obj;
            return target.equals(that.target);
          }
          return false;
        }
    
        @Override
        public String toString() {
          return "Predicates.equalTo(" + target + ")";
        }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

            Iterators.removeIf(
                list.iterator(),
                new Predicate<String>() {
                  @Override
                  public boolean apply(String s) {
                    return s.equals("b") || s.equals("d") || s.equals("f");
                  }
                }));
        assertEquals(newArrayList("a", "c", "e"), list);
        assertFalse(
            Iterators.removeIf(
                list.iterator(),
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 03 13:01:51 UTC 2024
    - 55.7K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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
    - 30.6K bytes
    - Viewed (0)
  9. 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)
  10. android/guava/src/com/google/common/reflect/Types.java

        }
    
        @Override
        public boolean equals(@CheckForNull Object other) {
          if (!(other instanceof ParameterizedType)) {
            return false;
          }
          ParameterizedType that = (ParameterizedType) other;
          return getRawType().equals(that.getRawType())
              && Objects.equal(getOwnerType(), that.getOwnerType())
              && Arrays.equals(getActualTypeArguments(), that.getActualTypeArguments());
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 17 16:33:44 UTC 2024
    - 23.1K bytes
    - Viewed (0)
Back to top