public class FloatType extends NumberType<Float>
| 限定符和类型 | 方法和说明 |
|---|---|
Float |
fromValue(Object value,
Map<String,Object> conversionParams)
Returns an Object as an equivalent instance of type T
|
String |
getTypeName()
Indicative name of the type T
|
boolean |
roundOffValue()
Whether to round off a fractional value during cross conversion
from a different type to this type.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitobjectConversionException, stringConversionException, valueOutOfRangeExceptionpublic static final FloatType INSTANCE
public Float fromValue(Object value, Map<String,Object> conversionParams) throws SQLException
TypeHelpervalue - Object instance to convertconversionParams - Optional parameters to use for conversionSQLException - if there is a problem in carrying out the conversionpublic String getTypeName()
TypeHelperpublic boolean roundOffValue()
NumberTyperoundOffValue 在类中 NumberType<Float>Copyright © 2022. All rights reserved.