pl.edu.agh.cast.editor.operation
Class FindNodesOperation

java.lang.Object
  extended by pl.edu.agh.cast.editor.operation.FindNodesOperation

public class FindNodesOperation
extends java.lang.Object

This class could probably use some refactoring.. anyone heard of iterators? This class is a great candidate to be converted to a Iterator

Author:
unknown

Constructor Summary
FindNodesOperation()
           
 
Method Summary
 java.util.Collection<Node> findAll(FindNodesParameters params, java.util.Collection<Node> nodesToSearch)
           
 Node findNext(FindNodesParameters params, java.util.Collection<Node> nodesToSearch)
           
protected  java.util.Collection<Node> findNodes(FindNodesParameters params, java.util.Collection<Node> nodesToSearch)
           
protected  java.util.Collection<Node> findNoWildcards(FindNodesParameters params, java.util.Collection<Node> nodesToSearch)
           
 Node findPrev(FindNodesParameters params, java.util.Collection<Node> nodesToSearch)
           
protected  java.util.Collection<Node> findUsingWildcards(FindNodesParameters params, java.util.Collection<Node> nodesToSearch)
           
 int foundCount()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FindNodesOperation

public FindNodesOperation()
Method Detail

findAll

public java.util.Collection<Node> findAll(FindNodesParameters params,
                                          java.util.Collection<Node> nodesToSearch)

findNext

public Node findNext(FindNodesParameters params,
                     java.util.Collection<Node> nodesToSearch)

findPrev

public Node findPrev(FindNodesParameters params,
                     java.util.Collection<Node> nodesToSearch)

foundCount

public int foundCount()

findNodes

protected java.util.Collection<Node> findNodes(FindNodesParameters params,
                                               java.util.Collection<Node> nodesToSearch)

findUsingWildcards

protected java.util.Collection<Node> findUsingWildcards(FindNodesParameters params,
                                                        java.util.Collection<Node> nodesToSearch)

findNoWildcards

protected java.util.Collection<Node> findNoWildcards(FindNodesParameters params,
                                                     java.util.Collection<Node> nodesToSearch)


Copyright © 2007-2008 AGH University of Science and Technology. All Rights Reserved.