org.springframework.rules.closure.support
Class AlgorithmsAccessor

Show UML class diagram
java.lang.Object
  extended by org.springframework.rules.closure.support.AlgorithmsAccessor
Direct Known Subclasses:
AbstractClosure, Closures, Constraints, ConstraintsAccessor, PropertyConstraints

public abstract class AlgorithmsAccessor
extends Object

Algorithms accessor support class, for convenient extending by subclasses.

Author:
Keith Donald

Constructor Summary
AlgorithmsAccessor()
           
 
Method Summary
 boolean allTrue(Collection collection, Constraint constraint)
           
 boolean allTrue(Iterator it, Constraint constraint)
           
 boolean anyTrue(Collection collection, Constraint constraint)
           
 boolean anyTrue(Iterator it, Constraint constraint)
           
 Collection findAll(Collection collection, Constraint constraint)
           
 Collection findAll(Iterator it, Constraint constraint)
           
 Object findFirst(Collection collection, Constraint constraint)
           
 Object findFirst(Iterator it, Constraint constraint)
           
 void forEach(Collection collection, Closure closure)
           
 void forEach(Iterator it, Closure closure)
           
protected  Algorithms getAlgorithms()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlgorithmsAccessor

public AlgorithmsAccessor()
Method Detail

getAlgorithms

protected Algorithms getAlgorithms()
Returns:
Algorithms instance.

findFirst

public Object findFirst(Collection collection,
                        Constraint constraint)
See Also:
Algorithms.findFirst(Collection, Constraint)

findFirst

public Object findFirst(Iterator it,
                        Constraint constraint)
See Also:
Algorithms.findFirst(Iterator, Constraint)

findAll

public Collection findAll(Collection collection,
                          Constraint constraint)
See Also:
Algorithms.findAll(Collection, org.springframework.rules.constraint.Constraint)

findAll

public Collection findAll(Iterator it,
                          Constraint constraint)
See Also:
Algorithms.findAll(Iterator, org.springframework.rules.constraint.Constraint)

allTrue

public boolean allTrue(Collection collection,
                       Constraint constraint)
See Also:
Algorithms.allTrue(Collection, Constraint)

allTrue

public boolean allTrue(Iterator it,
                       Constraint constraint)
See Also:
Algorithms.allTrue(Iterator, Constraint)

anyTrue

public boolean anyTrue(Collection collection,
                       Constraint constraint)
See Also:
Algorithms.anyTrue(Collection, org.springframework.rules.constraint.Constraint)

anyTrue

public boolean anyTrue(Iterator it,
                       Constraint constraint)
See Also:
Algorithms.anyTrue(Iterator, Constraint)

forEach

public void forEach(Collection collection,
                    Closure closure)
See Also:
Algorithms.forEach(Collection, org.springframework.rules.closure.Closure)

forEach

public void forEach(Iterator it,
                    Closure closure)
See Also:
Algorithms.forEach(Iterator, org.springframework.rules.closure.Closure)


Copyright © 2004-2009 The Spring Framework. All Rights Reserved.