org.eclipse.emf.query.conditions.numbers
Class NumberAdapter.FloatAdapter
java.lang.Object
org.eclipse.emf.query.conditions.numbers.NumberAdapter<Float>
org.eclipse.emf.query.conditions.numbers.NumberAdapter.FloatAdapter
- All Implemented Interfaces:
- IDataTypeAdapter<Float>
- Enclosing class:
- NumberAdapter<N extends Number & Comparable<? super N>>
public abstract static class NumberAdapter.FloatAdapter
- extends NumberAdapter<Float>
A subclass of NumberAdapter
to be used to adapt an
argument object to float
values Clients can either use the
default implementation supplied or have their own.
Field Summary |
static NumberAdapter.FloatAdapter |
DEFAULT
The simplest FloatAdapter implementation that
represents the case when to argument object to adapt is a Float
object itself. |
Method Summary |
abstract float |
floatValue(Object object)
An adapting function whose responsible of extracting the
float value of interest from an the argument object |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT
public static final NumberAdapter.FloatAdapter DEFAULT
- The simplest
FloatAdapter
implementation that
represents the case when to argument object to adapt is a Float
object itself.
NumberAdapter.FloatAdapter
public NumberAdapter.FloatAdapter()
floatValue
public abstract float floatValue(Object object)
- An adapting function whose responsible of extracting the
float
value of interest from an the argument object
- Parameters:
object
- The Object
to adapt to float
- Returns:
- The
float
value of interest that got extracted
by this adapter from the argument object