|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractCollection<T>
edu.rice.cs.plt.collect.DelegatingCollection<T>
edu.rice.cs.plt.collect.DelegatingSet<T>
public class DelegatingSet<T>
An implementation of PredicateSet that delegates all operations to a wrapped
set. Subclasses can be defined that override a few of the methods, while maintaining
the default delegation behavior in most cases. Subclasses can also invoke the overridden
methods in AbstractCollection to use the default implementations there by
invoking, for example, DelegatingCollection.abstractCollectionAddAll(java.util.Collection extends T>) (see
AbstractCollection for details on the default implementations).
| Field Summary |
|---|
| Fields inherited from class edu.rice.cs.plt.collect.DelegatingCollection |
|---|
_delegate |
| Constructor Summary | |
|---|---|
DelegatingSet(java.util.Set<T> delegate)
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
|
int |
hashCode()
|
| Methods inherited from class edu.rice.cs.plt.collect.DelegatingCollection |
|---|
abstractCollectionAddAll, abstractCollectionClear, abstractCollectionContains, abstractCollectionContainsAll, abstractCollectionIsEmpty, abstractCollectionRemove, abstractCollectionRemoveAll, abstractCollectionRetainAll, abstractCollectionToArray, abstractCollectionToArray, add, addAll, clear, compositeHeight, compositeSize, contains, containsAll, hasFixedSize, isEmpty, isInfinite, isStatic, iterator, remove, removeAll, retainAll, size, size, toArray, toArray, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Set |
|---|
add, addAll, clear, contains, containsAll, 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 |
| Constructor Detail |
|---|
public DelegatingSet(java.util.Set<T> delegate)
| Method Detail |
|---|
public boolean equals(java.lang.Object o)
equals in interface java.util.Collection<T>equals in interface java.util.Set<T>equals in class java.lang.Objectpublic int hashCode()
hashCode in interface java.util.Collection<T>hashCode in interface java.util.Set<T>hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||