jxl.search
Class CollectionSearcher<T>

java.lang.Object
  extended by jxl.search.CollectionSearcher<T>
All Implemented Interfaces:
Removable<T>, Searchable<T>

public class CollectionSearcher<T>
extends java.lang.Object
implements Searchable<T>, Removable<T>

Author:
Alex Lynch

Constructor Summary
CollectionSearcher(java.util.Collection<T> col)
          Creates a new instance of CollectionSearcher
 
Method Summary
 T findObject(Search<T> s)
           
 java.util.Collection<T> findObjects(Search<T> s)
           
 java.util.Collection<T> findSomeObjects(LimitedSearch<T> ls)
           
 java.util.Collection<T> removeObjects(Search<T> s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CollectionSearcher

public CollectionSearcher(java.util.Collection<T> col)
Creates a new instance of CollectionSearcher

Method Detail

findObject

public T findObject(Search<T> s)
Specified by:
findObject in interface Searchable<T>

findObjects

public java.util.Collection<T> findObjects(Search<T> s)
Specified by:
findObjects in interface Searchable<T>

findSomeObjects

public java.util.Collection<T> findSomeObjects(LimitedSearch<T> ls)
Specified by:
findSomeObjects in interface Searchable<T>

removeObjects

public java.util.Collection<T> removeObjects(Search<T> s)
Specified by:
removeObjects in interface Removable<T>