org.progeeks.graph
Class ExcludeObjectsPredicate
java.lang.Object
org.progeeks.graph.ExcludeObjectsPredicate
- All Implemented Interfaces:
- org.apache.commons.collections.Predicate
- Direct Known Subclasses:
- ExcludeEdgesFilter
public class ExcludeObjectsPredicate
- extends java.lang.Object
- implements org.apache.commons.collections.Predicate
Returns true for all objects except the specified set of
objects.
- Version:
- $Revision: 1.2 $
- Author:
- Paul Speed
Method Summary |
void |
add(java.lang.Object object)
|
boolean |
evaluate(java.lang.Object object)
|
protected java.lang.Object |
getCanonicalForm(java.lang.Object object)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExcludeObjectsPredicate
public ExcludeObjectsPredicate()
ExcludeObjectsPredicate
public ExcludeObjectsPredicate(java.util.Set excludes)
getCanonicalForm
protected java.lang.Object getCanonicalForm(java.lang.Object object)
add
public void add(java.lang.Object object)
evaluate
public boolean evaluate(java.lang.Object object)
- Specified by:
evaluate
in interface org.apache.commons.collections.Predicate
Copyright © 2002-2003 Paul Speed. All Rights Reserved.