net.obsearch.pivots
Class AcceptAll<O extends OB>
java.lang.Object
net.obsearch.pivots.AcceptAll<O>
- All Implemented Interfaces:
- Pivotable<O>
public class AcceptAll<O extends OB>
- extends Object
- implements Pivotable<O>
A class that accepts any object as pivot.
- Since:
- 0.8
- Author:
- Arnoldo Jose Muller Molina
Method Summary |
boolean |
canBeUsedAsPivot(O object)
Returns true if the given object can be used as a pivot. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AcceptAll
public AcceptAll()
canBeUsedAsPivot
public boolean canBeUsedAsPivot(O object)
throws OBException
- Description copied from interface:
Pivotable
- Returns true if the given object can be used as a pivot.
- Specified by:
canBeUsedAsPivot
in interface Pivotable<O extends OB>
- Returns:
- true if the object should be used as a pivot
- Throws:
OBException
- If something goes wrong
Copyright © 2007-2011 Arnoldo Jose Muller Molina. All Rights Reserved.