All Packages Class Hierarchy This Package Previous Next Index
Class aid.cbr.tools.core.cbrcase.AbstractFloatType
java.lang.Object
|
+----aid.cbr.tools.core.cbrcase.AbstractFloatType
- public abstract class AbstractFloatType
- extends Object
- implements IndiceType
Implements basic operation for float type.
Sub classes of this class can represent the primitive float type or
the floats wrapped into Float objects.
- Version:
- $Revision$, $Date$
- Author:
- M. Jaczynski
-
AbstractFloatType()
-
-
AbstractFloatType(boolean)
-
-
AbstractFloatType(float, float)
-
-
enum()
- Returns the list of elements defining this type.
-
floatEnum()
- Returns the list of elements defining this type.
-
getMaxFloatValue()
- Returns the maximum value of this type.
-
getMaxIntValue()
- throws OperationNotSupportedException.
-
getMaxValue()
- Returns the maximum value of this type.
-
getMinFloatValue()
- Returns the minimum value of this type
Precondiftons:
this.isBounded()==true
this.isFloat()==true
-
getMinIntValue()
- throws OperationNotSupportedException.
-
getMinValue()
- Returns the minimum value of this type
Precondiftons:
this.isBounded()==true
-
getUndefFloatValue()
-
-
getUndefIntValue()
- throws OperationNotSupportedException.
-
getUndefValue()
-
-
getUnknownFloatValue()
-
-
getUnknownIntValue()
-
-
getUnknownValue()
-
-
greatherThan(Object, Object)
-
-
intEnum()
- throws OperationNotSupportedException.
-
isBounded()
- Indiquates if this type has upper and lower bounds.
-
isDefined(Object)
-
-
isEnumerated()
- Indiquates if this type is defined by extension.
-
isFloat()
-
-
isFloatDefined(float)
-
-
isFloatUnknown(float)
-
-
isInt()
-
-
isIntDefined(int)
- throws OperationNotSupportedException.
-
isIntUnknown(int)
- throws OperationNotSupportedException.
-
isObject()
-
-
isOrdered()
-
-
isUnknown(Object)
-
-
isValidFloatValue(float)
- Indiquates if a float value is an element of this type.
-
isValidIntValue(int)
- throws OperationNotSupportedException.
-
isValidValue(Object)
- Indiquates if a value is an element of this type.
AbstractFloatType
protected AbstractFloatType(float unknown,
float undef)
AbstractFloatType
protected AbstractFloatType(boolean isPrimitive)
AbstractFloatType
protected AbstractFloatType()
isValidIntValue
public boolean isValidIntValue(int f)
- throws OperationNotSupportedException.
getMinIntValue
public int getMinIntValue()
- throws OperationNotSupportedException.
getMaxIntValue
public int getMaxIntValue()
- throws OperationNotSupportedException.
intEnum
public int[] intEnum()
- throws OperationNotSupportedException.
isIntDefined
public boolean isIntDefined(int f)
- throws OperationNotSupportedException.
getUndefIntValue
public int getUndefIntValue()
- throws OperationNotSupportedException.
getUnknownIntValue
public int getUnknownIntValue()
isIntUnknown
public boolean isIntUnknown(int f)
- throws OperationNotSupportedException.
isOrdered
public boolean isOrdered()
greatherThan
public boolean greatherThan(Object o1,
Object o2)
getUnknownValue
public Object getUnknownValue()
getUnknownFloatValue
public float getUnknownFloatValue()
isUnknown
public boolean isUnknown(Object value)
isFloatUnknown
public boolean isFloatUnknown(float i)
getUndefValue
public Object getUndefValue()
getUndefFloatValue
public float getUndefFloatValue()
isDefined
public boolean isDefined(Object v)
isFloatDefined
public boolean isFloatDefined(float v)
isObject
public boolean isObject()
isInt
public boolean isInt()
isFloat
public boolean isFloat()
All Packages Class Hierarchy This Package Previous Next Index