org.apache.commons.collections
Class SetUtils.PredicatedSet
java.lang.Object
org.apache.commons.collections.CollectionUtils.CollectionWrapper
org.apache.commons.collections.CollectionUtils.PredicatedCollection
org.apache.commons.collections.SetUtils.PredicatedSet
- All Implemented Interfaces:
- java.util.Collection, java.util.Set
- Direct Known Subclasses:
- SetUtils.PredicatedSortedSet
- Enclosing class:
- SetUtils
- static class SetUtils.PredicatedSet
- extends CollectionUtils.PredicatedCollection
- implements java.util.Set
| 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, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
predicate
protected final Predicate predicate
-
collection
protected final java.util.Collection collection
-
SetUtils.PredicatedSet
public SetUtils.PredicatedSet(java.util.Set set,
Predicate predicate)
add
public boolean add(java.lang.Object o)
-
- Specified by:
add in interface java.util.Collection
- Overrides:
add in class CollectionUtils.CollectionWrapper
-
addAll
public boolean addAll(java.util.Collection c2)
-
- Specified by:
addAll in interface java.util.Collection
- Overrides:
addAll in class CollectionUtils.CollectionWrapper
-
validate
protected void validate(java.lang.Object o)
-
size
public int size()
-
- Specified by:
size in interface java.util.Collection
-
isEmpty
public boolean isEmpty()
-
- Specified by:
isEmpty in interface java.util.Collection
-
contains
public boolean contains(java.lang.Object o)
-
- Specified by:
contains in interface java.util.Collection
-
iterator
public java.util.Iterator iterator()
-
- Specified by:
iterator in interface java.util.Collection
-
toArray
public java.lang.Object[] toArray()
-
- Specified by:
toArray in interface java.util.Collection
-
toArray
public java.lang.Object[] toArray(java.lang.Object[] o)
-
- Specified by:
toArray in interface java.util.Collection
-
remove
public boolean remove(java.lang.Object o)
-
- Specified by:
remove in interface java.util.Collection
-
containsAll
public boolean containsAll(java.util.Collection c2)
-
- Specified by:
containsAll in interface java.util.Collection
-
removeAll
public boolean removeAll(java.util.Collection c2)
-
- Specified by:
removeAll in interface java.util.Collection
-
retainAll
public boolean retainAll(java.util.Collection c2)
-
- Specified by:
retainAll in interface java.util.Collection
-
clear
public void clear()
-
- Specified by:
clear in interface java.util.Collection
-
equals
public boolean equals(java.lang.Object o)
-
- Specified by:
equals in interface java.util.Collection
-
hashCode
public int hashCode()
-
- Specified by:
hashCode in interface java.util.Collection
-
toString
public java.lang.String toString()
-
-
Please see keelframework.org for information about new Keel releases.