Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for allMatch (0.38 sec)

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

        Predicate<String> predicate = Predicates.equalTo("cool");
    
        assertTrue(iterable.allMatch(predicate));
        list.add("cool");
        assertTrue(iterable.allMatch(predicate));
        list.add("pants");
        assertFalse(iterable.allMatch(predicate));
      }
    
      public void testFirstMatch() {
    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. src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java

                        }
                    }
                    if (logger.isDebugEnabled()) {
                        logger.debug("generator path: {}", s);
                    }
                    return s;
                }).allMatch(s -> {
                    final boolean found = new File(s).isFile();
                    if (found && logger.isDebugEnabled()) {
                        logger.debug("{} is found.", s);
                    }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/FluentIterableTest.java

        Predicate<String> predicate = Predicates.equalTo("cool");
    
        assertTrue(iterable.allMatch(predicate));
        list.add("cool");
        assertTrue(iterable.allMatch(predicate));
        list.add("pants");
        assertFalse(iterable.allMatch(predicate));
      }
    
      public void testFirstMatch() {
    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)
  4. guava/src/com/google/common/collect/FluentIterable.java

       * fluent iterable is empty, {@code true} is returned.
       *
       * <p><b>{@code Stream} equivalent:</b> {@link Stream#allMatch} (same).
       */
      public final boolean allMatch(Predicate<? super E> predicate) {
        return Iterables.all(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)
  5. android/guava/src/com/google/common/collect/FluentIterable.java

       * fluent iterable is empty, {@code true} is returned.
       *
       * <p><b>{@code Stream} equivalent:</b> {@link Stream#allMatch} (same).
       */
      public final boolean allMatch(Predicate<? super E> predicate) {
        return Iterables.all(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 every element in {@code iterable} satisfies the predicate. If {@code
       * iterable} is empty, {@code true} is returned.
       *
       * <p><b>{@code Stream} equivalent:</b> {@link Stream#allMatch}.
       */
      public static <T extends @Nullable Object> boolean all(
          Iterable<T> iterable, Predicate<? super T> predicate) {
        return Iterators.all(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)
  7. android/guava/src/com/google/common/collect/Iterables.java

      /**
       * Returns {@code true} if every element in {@code iterable} satisfies the predicate. If {@code
       * iterable} is empty, {@code true} is returned.
       *
       * <p><b>{@code Stream} equivalent:</b> {@link Stream#allMatch}.
       */
      public static <T extends @Nullable Object> boolean all(
          Iterable<T> iterable, Predicate<? super T> predicate) {
        return Iterators.all(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)
Back to top