Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for allMatch (0.09 sec)

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

        FluentIterable<String> iterable = FluentIterable.<String>from(list);
        Predicate<String> predicate = equalTo("cool");
    
        assertTrue(iterable.allMatch(predicate));
        list.add("cool");
        assertTrue(iterable.allMatch(predicate));
        list.add("pants");
        assertFalse(iterable.allMatch(predicate));
      }
    
      public void testFirstMatch() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 30.4K 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);
                    }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  3. 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);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 24 13:42:31 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  4. 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);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 42.8K bytes
    - Viewed (0)
Back to top