Interface PredicateMap<T,V>

All Known Implementing Classes:
SimplePredicateMap

public interface PredicateMap<T,V>
A predicate map connects predicates of a certain type to multiple objects of another type. It allows quick retrieval of all objects associated with any predicates that match the incoming value.
  • Method Summary

    Modifier and Type
    Method
    Description
    <P extends com.google.common.base.Predicate<T>>
    void
    add(P predicate, List<V> value)
     
    <P extends com.google.common.base.Predicate<T>>
    void
    add(P predicate, V value)
     
    get(T object)
     
    void
    remove(List<V> values)
     
    void
    remove(V value)
     
  • Method Details

    • add

      <P extends com.google.common.base.Predicate<T>> void add(P predicate, V value)
    • add

      <P extends com.google.common.base.Predicate<T>> void add(P predicate, List<V> value)
    • remove

      void remove(V value)
    • remove

      void remove(List<V> values)
    • get

      Collection<V> get(T object)