net.obsearch.pivots
Class AcceptAll<O extends OB>

java.lang.Object
  extended by 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

Constructor Summary
AcceptAll()
           
 
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
 

Constructor Detail

AcceptAll

public AcceptAll()
Method Detail

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.