net.sf.twip.parameterhandler
Class EnumParameterHandler
java.lang.Object
net.sf.twip.parameterhandler.ParameterHandler
net.sf.twip.parameterhandler.AbstractNumberParameterHandler
net.sf.twip.parameterhandler.EnumParameterHandler
public class EnumParameterHandler
- extends AbstractNumberParameterHandler
Enums can be compared by their ordinal.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EnumParameterHandler
public EnumParameterHandler(Parameter parameter)
getComparable
protected Comparable<? extends Number> getComparable(String value)
- Specified by:
getComparable
in class AbstractNumberParameterHandler
getDefaultParameterValues
protected Object[] getDefaultParameterValues()
- Specified by:
getDefaultParameterValues
in class ParameterHandler
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.