net.sf.twip.parameterhandler
Class FloatParameterHandler

java.lang.Object
  extended by net.sf.twip.parameterhandler.ParameterHandler
      extended by net.sf.twip.parameterhandler.AbstractNumberParameterHandler
          extended by net.sf.twip.parameterhandler.AbstractFloatingPointNumberParameterHandler
              extended by net.sf.twip.parameterhandler.FloatParameterHandler

public class FloatParameterHandler
extends AbstractFloatingPointNumberParameterHandler


Nested Class Summary
 
Nested classes/interfaces inherited from class net.sf.twip.parameterhandler.AbstractNumberParameterHandler
AbstractNumberParameterHandler.Tester
 
Field Summary
 
Fields inherited from class net.sf.twip.parameterhandler.ParameterHandler
parameter
 
Constructor Summary
FloatParameterHandler(Parameter parameter)
           
 
Method Summary
protected  Comparable<? extends Number> getComparable(String numberExpression)
           
protected  Object[] getDefaultParameterValues()
           
protected  boolean isNaN(Object value)
           
protected  boolean isNegativeInfinity(Object value)
           
protected  boolean isPositiveInfinity(Object value)
           
 boolean test(Object value)
          Should this value go into the parameter values?
 
Methods inherited from class net.sf.twip.parameterhandler.AbstractFloatingPointNumberParameterHandler
getTester
 
Methods inherited from class net.sf.twip.parameterhandler.ParameterHandler
getParameterValues, of
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FloatParameterHandler

public FloatParameterHandler(Parameter parameter)
Method Detail

getComparable

protected Comparable<? extends Number> getComparable(String numberExpression)
Specified by:
getComparable in class AbstractNumberParameterHandler

getDefaultParameterValues

protected Object[] getDefaultParameterValues()
Specified by:
getDefaultParameterValues in class ParameterHandler

isNaN

protected boolean isNaN(Object value)
Specified by:
isNaN in class AbstractFloatingPointNumberParameterHandler

isNegativeInfinity

protected boolean isNegativeInfinity(Object value)
Specified by:
isNegativeInfinity in class AbstractFloatingPointNumberParameterHandler

isPositiveInfinity

protected boolean isPositiveInfinity(Object value)
Specified by:
isPositiveInfinity in class AbstractFloatingPointNumberParameterHandler

test

public boolean test(Object value)
Description copied from class: ParameterHandler
Should this value go into the parameter values?

Overrides:
test in class AbstractNumberParameterHandler
Parameters:
value - the value to check


Copyright © 2011. All Rights Reserved.