edu.rice.cs.plt.collect
Interface PredicateSet<T>

All Superinterfaces:
Collection<T>, Iterable<T>, Predicate<Object>, Set<T>, SizedIterable<T>
All Known Subinterfaces:
FunctionalRelation<T1,T2>, InjectiveRelation<T1,T2>, OneToOneRelation<T1,T2>, Relation<T1,T2>, Relation3<T1,T2,T3>, Relation4<T1,T2,T3,T4>
All Known Implementing Classes:
AbstractFunctionalRelation, AbstractFunctionalRelation.InverseFunctionalRelation, AbstractInjectiveRelation, AbstractInjectiveRelation.InverseInjectiveRelation, AbstractKeyBasedMap.EntrySet, AbstractOneToOneRelation, AbstractOneToOneRelation.InverseOneToOneRelation, AbstractPredicateSet, AbstractRelation, AbstractRelation.InverseRelation, CartesianRelation, ComplementRelation, ComplementSet, ComposedRelation, DelegatingRelation, DelegatingSet, EmptyRelation, EmptySet, FilteredRelation, FilteredSet, ImmutableRelation, ImmutableSet, IndexedFunctionalRelation, IndexedInjectiveRelation, IndexedOneToOneRelation, IndexedRelation, IntersectionRelation, IntersectionSet, IterableSet, ListenerSet, SingletonRelation, SingletonSet, SnapshotSynchronizedSet, UnindexedRelation, UnionRelation, UnionSet

public interface PredicateSet<T>
extends Set<T>, Predicate<Object>, SizedIterable<T>

A Set that can be treated as a Predicate and as a SizedIterable. This extends Predicate<Object> (rather than Predicate<T>) because the signature of Set already supports that generalization, and because it's impossible to define two contains methods with the same erased signatures.


Method Summary
 
Methods inherited from interface java.util.Set
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 
Methods inherited from interface edu.rice.cs.plt.lambda.Predicate
contains
 
Methods inherited from interface edu.rice.cs.plt.iter.SizedIterable
hasFixedSize, isEmpty, isInfinite, isStatic, size, size