org.springframework.core.closure.support
Class AbstractConstraint
java.lang.Object
org.springframework.core.closure.support.AlgorithmsAccessor
org.springframework.core.closure.support.AbstractConstraint
- All Implemented Interfaces:
- Serializable, Constraint
- Direct Known Subclasses:
- IfTrue
public abstract class AbstractConstraint
- extends AlgorithmsAccessor
- implements Constraint, Serializable
Convenient class that uses the Algorithms on its own instance.
- See Also:
- Serialized Form
Methods inherited from class org.springframework.core.closure.support.AlgorithmsAccessor |
allTrue, allTrue, anyTrue, anyTrue, findAll, findAll, findFirst, findFirst, forEach, forEach, getAlgorithms |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.springframework.core.closure.Constraint |
test |
AbstractConstraint
public AbstractConstraint()
allTrue
public boolean allTrue(Collection collection)
- See Also:
AlgorithmsAccessor.allTrue(Collection, Constraint)
allTrue
public boolean allTrue(Iterator it)
- See Also:
AlgorithmsAccessor.allTrue(Iterator, Constraint)
anyTrue
public boolean anyTrue(Collection collection)
- See Also:
AlgorithmsAccessor.anyTrue(Collection, Constraint)
anyTrue
public boolean anyTrue(Iterator it)
- See Also:
AlgorithmsAccessor.anyTrue(Iterator, Constraint)
findAll
public Collection findAll(Collection collection)
- See Also:
AlgorithmsAccessor.findAll(Collection, Constraint)
findAll
public Collection findAll(Iterator it)
- See Also:
AlgorithmsAccessor.findAll(Iterator, Constraint)
findFirst
public Object findFirst(Collection collection)
- See Also:
AlgorithmsAccessor.findFirst(Collection, Constraint)
findFirst
public Object findFirst(Iterator it)
- See Also:
AlgorithmsAccessor.findFirst(Iterator, Constraint)
Copyright © 2004-2008 The Spring Framework. All Rights Reserved.