Home | History | Annotate | Download | only in network

Lines Matching defs:collection

36 import java.util.Collection;
58 * collection and false for all other cases.
60 public static <T> Filter<T> in( Collection<? extends T> collection )
62 return new InFilter<T>(collection);
77 * collection and false for all other cases. This is the equivalent
78 * of calling not(in(collection)).
80 public static <T> Filter<T> notIn( Collection<? extends T> collection )
82 return not( in( collection ) );
130 private Collection<? extends T> collection;
132 public InFilter( Collection<? extends T> collection )
134 this.collection = collection;
139 return collection.contains(input);