Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for Satisfies (0.2 sec)

  1. guava/src/com/google/common/collect/FilteredEntryMultimap.java

      }
    
      @Override
      public Predicate<? super Entry<K, V>> entryPredicate() {
        return predicate;
      }
    
      @Override
      public int size() {
        return entries().size();
      }
    
      private boolean satisfies(@ParametricNullness K key, @ParametricNullness V value) {
        return predicate.apply(Maps.immutableEntry(key, value));
      }
    
      final class ValuePredicate implements Predicate<V> {
        @ParametricNullness private final K key;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Oct 06 00:47:57 GMT 2021
    - 11.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Iterables.java

            ? ((Collection<?>) removeFrom).retainAll(checkNotNull(elementsToRetain))
            : Iterators.retainAll(removeFrom.iterator(), elementsToRetain);
      }
    
      /**
       * Removes, from an iterable, every element that satisfies the provided predicate.
       *
       * <p>Removals may or may not happen immediately as each element is tested against the predicate.
       * The behavior of this method is not specified if {@code predicate} is dependent on {@code
    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)
  3. android/guava/src/com/google/common/collect/FilteredEntryMultimap.java

      }
    
      @Override
      public Predicate<? super Entry<K, V>> entryPredicate() {
        return predicate;
      }
    
      @Override
      public int size() {
        return entries().size();
      }
    
      private boolean satisfies(@ParametricNullness K key, @ParametricNullness V value) {
        return predicate.apply(Maps.immutableEntry(key, value));
      }
    
      final class ValuePredicate implements Predicate<V> {
        @ParametricNullness private final K key;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Iterables.java

            ? ((Collection<?>) removeFrom).retainAll(checkNotNull(elementsToRetain))
            : Iterators.retainAll(removeFrom.iterator(), elementsToRetain);
      }
    
      /**
       * Removes, from an iterable, every element that satisfies the provided predicate.
       *
       * <p>Removals may or may not happen immediately as each element is tested against the predicate.
       * The behavior of this method is not specified if {@code predicate} is dependent on {@code
    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)
  5. guava/src/com/google/common/collect/Iterators.java

          if (elementsToRemove.contains(removeFrom.next())) {
            removeFrom.remove();
            result = true;
          }
        }
        return result;
      }
    
      /**
       * Removes every element that satisfies the provided predicate from the iterator. The iterator
       * will be left exhausted: its {@code hasNext()} method will return {@code false}.
       *
       * @param removeFrom the iterator to (potentially) remove elements from
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 50.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/Monitor.java

        lock.lock();
    
        boolean satisfied = false;
        try {
          return satisfied = guard.isSatisfied();
        } finally {
          if (!satisfied) {
            lock.unlock();
          }
        }
      }
    
      /**
       * Enters this monitor if the guard is satisfied. Blocks at most the given time acquiring the
       * lock, but does not wait for the guard to be satisfied.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 18:22:01 GMT 2023
    - 38.6K bytes
    - Viewed (0)
  7. 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);
      }
    
      /**
       * Returns {@code true} if every element in this fluent iterable satisfies the predicate. If this
    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)
  8. android/guava/src/com/google/common/graph/ValueGraph.java

     * <p>There are three primary interfaces provided to represent graphs. In order of increasing
     * complexity they are: {@link Graph}, {@link ValueGraph}, and {@link Network}. You should generally
     * prefer the simplest interface that satisfies your use case. See the <a
     * href="https://github.com/google/guava/wiki/GraphsExplained#choosing-the-right-graph-type">
     * "Choosing the right graph type"</a> section of the Guava User Guide for more details.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 15K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

       * @throws IllegalArgumentException if {@code occurrences} is negative
       */
      /*
       * TODO(cpovirk): remove and removeExactly currently accept null inputs only
       * if occurrences == 0. This satisfies both NullPointerTester and
       * CollectionRemoveTester.testRemove_nullAllowed, but it's not clear that it's
       * a good policy, especially because, in order for the test to pass, the
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ConcurrentHashMultiset.java

       * @throws IllegalArgumentException if {@code occurrences} is negative
       */
      /*
       * TODO(cpovirk): remove and removeExactly currently accept null inputs only
       * if occurrences == 0. This satisfies both NullPointerTester and
       * CollectionRemoveTester.testRemove_nullAllowed, but it's not clear that it's
       * a good policy, especially because, in order for the test to pass, the
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 20.9K bytes
    - Viewed (0)
Back to top