Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for anyMatch (0.15 sec)

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

        Predicate<String> predicate = Predicates.equalTo("pants");
    
        assertFalse(iterable.anyMatch(predicate));
        list.add("cool");
        assertFalse(iterable.anyMatch(predicate));
        list.add("pants");
        assertTrue(iterable.anyMatch(predicate));
      }
    
      public void testAllMatch() {
        List<String> list = Lists.newArrayList();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 06 17:32:08 GMT 2023
    - 30.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/FluentIterable.java

      }
    
      /**
       * Returns {@code true} if any element in this fluent iterable satisfies the predicate.
       *
       * <p><b>{@code Stream} equivalent:</b> {@link Stream#anyMatch} (same).
       */
      public final boolean anyMatch(Predicate<? super E> predicate) {
        return Iterables.any(getDelegate(), predicate);
      }
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 35.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Iterables.java

      }
    
      /**
       * Returns {@code true} if any element in {@code iterable} satisfies the predicate.
       *
       * <p><b>{@code Stream} equivalent:</b> {@link Stream#anyMatch}.
       */
      public static <T extends @Nullable Object> boolean any(
          Iterable<T> iterable, Predicate<? super T> predicate) {
        return Iterators.any(iterable.iterator(), predicate);
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/FluentIterableTest.java

        Predicate<String> predicate = Predicates.equalTo("pants");
    
        assertFalse(iterable.anyMatch(predicate));
        list.add("cool");
        assertFalse(iterable.anyMatch(predicate));
        list.add("pants");
        assertTrue(iterable.anyMatch(predicate));
      }
    
      public void testAllMatch() {
        List<String> list = Lists.newArrayList();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 18:35:19 GMT 2024
    - 31.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/FluentIterable.java

      }
    
      /**
       * Returns {@code true} if any element in this fluent iterable satisfies the predicate.
       *
       * <p><b>{@code Stream} equivalent:</b> {@link Stream#anyMatch} (same).
       */
      public final boolean anyMatch(Predicate<? super E> predicate) {
        return Iterables.any(getDelegate(), predicate);
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 35.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Iterables.java

      }
    
      /**
       * Returns {@code true} if any element in {@code iterable} satisfies the predicate.
       *
       * <p><b>{@code Stream} equivalent:</b> {@link Stream#anyMatch}.
       */
      public static <T extends @Nullable Object> boolean any(
          Iterable<T> iterable, Predicate<? super T> predicate) {
        return Iterators.any(iterable.iterator(), predicate);
      }
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 42.5K bytes
    - Viewed (0)
Back to top