Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 150 for predict0 (0.06 sec)

  1. guava-tests/test/com/google/common/util/concurrent/ReflectionFreeAssertThrows.java

          Class<T> expectedThrowable, ThrowingSupplier supplier, boolean userPassedSupplier) {
        checkNotNull(expectedThrowable);
        checkNotNull(supplier);
        Predicate<Throwable> predicate = INSTANCE_OF.get(expectedThrowable);
        if (predicate == null) {
          throw new IllegalArgumentException(
              expectedThrowable
                  + " is not yet supported by ReflectionFreeAssertThrows. Add an entry for it in the"
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/FilteredMultimapTest.java

    import com.google.common.base.Predicate;
    import java.util.Map.Entry;
    import junit.framework.TestCase;
    
    /**
     * Unit tests for {@link Multimaps} filtering methods.
     *
     * @author Jared Levy
     */
    @GwtIncompatible // nottested
    public class FilteredMultimapTest extends TestCase {
    
      private static final Predicate<Entry<String, Integer>> ENTRY_PREDICATE =
          new Predicate<Entry<String, Integer>>() {
            @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/Collections2FilterArrayListTest.java

        return Lists.newArrayList(contents);
      }
    
      @Override
      Collection<Integer> filter(Collection<Integer> elements, Predicate<? super Integer> predicate) {
        return Collections2.filter(elements, predicate);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Mar 16 21:55:55 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/SetsFilterHashSetTest.java

        return newHashSet(contents);
      }
    
      @Override
      Set<Integer> filter(Set<Integer> elements, Predicate<? super Integer> predicate) {
        return Sets.filter(elements, predicate);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/CharMatcher.java

      /** Implementation of {@link #forPredicate(Predicate)}. */
      private static final class ForPredicate extends CharMatcher {
    
        private final Predicate<? super Character> predicate;
    
        ForPredicate(Predicate<? super Character> predicate) {
          this.predicate = checkNotNull(predicate);
        }
    
        @Override
        public boolean matches(char c) {
          return predicate.apply(c);
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Multisets.java

      }
    
      private static final class FilteredMultiset<E extends @Nullable Object> extends ViewMultiset<E> {
        final Multiset<E> unfiltered;
        final Predicate<? super E> predicate;
    
        FilteredMultiset(Multiset<E> unfiltered, Predicate<? super E> predicate) {
          this.unfiltered = checkNotNull(unfiltered);
          this.predicate = checkNotNull(predicate);
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Multisets.java

      }
    
      private static final class FilteredMultiset<E extends @Nullable Object> extends ViewMultiset<E> {
        final Multiset<E> unfiltered;
        final Predicate<? super E> predicate;
    
        FilteredMultiset(Multiset<E> unfiltered, Predicate<? super E> predicate) {
          this.unfiltered = checkNotNull(unfiltered);
          this.predicate = checkNotNull(predicate);
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/FilteredEntrySetMultimap.java

        extends FilteredEntryMultimap<K, V> implements FilteredSetMultimap<K, V> {
    
      FilteredEntrySetMultimap(SetMultimap<K, V> unfiltered, Predicate<? super Entry<K, V>> predicate) {
        super(unfiltered, predicate);
      }
    
      @Override
      public SetMultimap<K, V> unfiltered() {
        return (SetMultimap<K, V>) unfiltered;
      }
    
      @Override
      public Set<V> get(@ParametricNullness K key) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/IterablesFilterArrayListTest.java

        return Lists.newArrayList(contents);
      }
    
      @Override
      Iterable<Integer> filter(Iterable<Integer> elements, Predicate<? super Integer> predicate) {
        return Iterables.filter(elements, predicate);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Mar 16 21:55:55 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/Collections2FilterArrayListTest.java

        return Lists.newArrayList(contents);
      }
    
      @Override
      Collection<Integer> filter(Collection<Integer> elements, Predicate<? super Integer> predicate) {
        return Collections2.filter(elements, predicate);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Mar 16 21:55:55 UTC 2022
    - 1.2K bytes
    - Viewed (0)
Back to top