public class FloatingPointType extends PrimitiveType
float
and double
.
Class PredefinedType provides public static final variables referring to the JavaType representation for floating point types.
PredefinedType.floatType
,
PredefinedType.doubleType
abstractCollectionType, abstractListType, abstractMapType, abstractSetType, arrayListType, bigDecimalType, bigIntegerType, bitsetType, booleanClassType, booleanType, byteClassType, byteType, characterClassType, charType, collectionType, dateType, dictionaryType, doubleClassType, doubleType, floatClassType, floatType, hashMapType, hashSetType, hashtableType, integerClassType, intType, linkedListType, listType, localeType, longClassType, longType, mapType, numberType, objectType, propertiesType, setType, shortClassType, shortType, sqlDateType, sqlTimestampType, sqlTimeType, stackType, stringType, treeMapType, treeSetType, vectorType, voidType
clazz, superclass
Constructor and Description |
---|
FloatingPointType(java.lang.Class clazz)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isFloatingPoint()
Returns
true if this JavaType represents a floating
point type. |
boolean |
isOrderable()
Returns
true if this JavaType represents an orderable
type as specified by JDO. |
getWrapperClassType, isPrimitive, isValue
getPredefinedType, getPredefinedTypes
getDeclaredJavaFields, getDeclaredJavaProperties, getJavaClass, getJavaField, getJavaProperty, getModifiers, getName, getSuperclass, getUnderlyingObject, isCompatibleWith, isInterface
equals, getArrayComponentType, getJDOClass, hashCode, isArray, isIntegral, isJDOSupportedCollection, isJDOSupportedMap, isPersistenceCapable, isTrackable, isWrapperClass, toString
public boolean isFloatingPoint()
true
if this JavaType represents a floating
point type.isFloatingPoint
in interface JavaType
isFloatingPoint
in class AbstractJavaType
true
if this JavaType represents a floating
point type; false
otherwise.public boolean isOrderable()
true
if this JavaType represents an orderable
type as specified by JDO.isOrderable
in interface JavaType
isOrderable
in class AbstractJavaType
true
if this JavaType represents an orderable
type; false
otherwise.Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.