Class FilteredEntryMultimap.ValuePredicate

java.lang.Object
com.google.common.collect.FilteredEntryMultimap.ValuePredicate
All Implemented Interfaces:
Predicate<V>, Predicate<V>
Enclosing class:
FilteredEntryMultimap<K,V>

final class FilteredEntryMultimap.ValuePredicate extends Object implements Predicate<V>
  • Field Details

    • key

      private final K key
  • Constructor Details

    • ValuePredicate

      ValuePredicate(K key)
  • Method Details

    • apply

      public boolean apply(V value)
      Description copied from interface: Predicate
      Returns the result of applying this predicate to input (Java 8+ users, see notes in the class documentation above). This method is generally expected, but not absolutely required, to have the following properties:
      • Its execution does not cause any observable side effects.
      • The computation is consistent with equals; that is, Objects.equal(a, b) implies that predicate.apply(a) == predicate.apply(b)).
      Specified by:
      apply in interface Predicate<V>