biz.hammurapi.util
Class AbstractSearchable

java.lang.Object
  extended by biz.hammurapi.util.AbstractSearchable
All Implemented Interfaces:
Searchable, Visitable

public abstract class AbstractSearchable
extends java.lang.Object
implements Visitable, Searchable

Version:
$Revision: 1.3 $
Author:
Pavel Vlasov

Constructor Summary
AbstractSearchable()
           
 
Method Summary
 java.lang.Object find(Acceptor acceptor)
           
 java.util.Collection findAll(Acceptor acceptor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface biz.hammurapi.util.Visitable
accept
 

Constructor Detail

AbstractSearchable

public AbstractSearchable()
Method Detail

find

public java.lang.Object find(Acceptor acceptor)
Specified by:
find in interface Searchable
Returns:
First object accepted by acceptor or null

findAll

public java.util.Collection findAll(Acceptor acceptor)
Specified by:
findAll in interface Searchable
Returns:
Collection of objects accepted by acceptor


Copyright © 2003 Hammurapi Group. All Rights Reserved.