public class Finder extends Object
Constructor and Description |
---|
Finder() |
Modifier and Type | Method and Description |
---|---|
boolean |
identify(Object object)
Returns true if the object passed in parameter is identified by this
identifier, false in the other case.
|
void |
removeFromList(ArrayList list)
Removes an object of the list if it is identified.
|
public boolean identify(Object object)
object
- the object to be identifiedpublic void removeFromList(ArrayList list)
list
- an object list