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

Constructor Index

 o AbstractFloatType()
 o AbstractFloatType(boolean)
 o AbstractFloatType(float, float)

Method Index

 o enum()
Returns the list of elements defining this type.
 o floatEnum()
Returns the list of elements defining this type.
 o getMaxFloatValue()
Returns the maximum value of this type.
 o getMaxIntValue()
throws OperationNotSupportedException.
 o getMaxValue()
Returns the maximum value of this type.
 o getMinFloatValue()
Returns the minimum value of this type

Precondiftons:

 this.isBounded()==true
 this.isFloat()==true
 
 o getMinIntValue()
throws OperationNotSupportedException.
 o getMinValue()
Returns the minimum value of this type

Precondiftons:

 this.isBounded()==true
 
 o getUndefFloatValue()
 o getUndefIntValue()
throws OperationNotSupportedException.
 o getUndefValue()
 o getUnknownFloatValue()
 o getUnknownIntValue()
 o getUnknownValue()
 o greatherThan(Object, Object)
 o intEnum()
throws OperationNotSupportedException.
 o isBounded()
Indiquates if this type has upper and lower bounds.
 o isDefined(Object)
 o isEnumerated()
Indiquates if this type is defined by extension.
 o isFloat()
 o isFloatDefined(float)
 o isFloatUnknown(float)
 o isInt()
 o isIntDefined(int)
throws OperationNotSupportedException.
 o isIntUnknown(int)
throws OperationNotSupportedException.
 o isObject()
 o isOrdered()
 o isUnknown(Object)
 o isValidFloatValue(float)
Indiquates if a float value is an element of this type.
 o isValidIntValue(int)
throws OperationNotSupportedException.
 o isValidValue(Object)
Indiquates if a value is an element of this type.

Constructors

 o AbstractFloatType
 protected AbstractFloatType(float unknown,
                             float undef)
 o AbstractFloatType
 protected AbstractFloatType(boolean isPrimitive)
 o AbstractFloatType
 protected AbstractFloatType()

Methods

 o isValidIntValue
 public boolean isValidIntValue(int f)
throws OperationNotSupportedException.

 o getMinIntValue
 public int getMinIntValue()
throws OperationNotSupportedException.

 o getMaxIntValue
 public int getMaxIntValue()
throws OperationNotSupportedException.

 o intEnum
 public int[] intEnum()
throws OperationNotSupportedException.

 o isIntDefined
 public boolean isIntDefined(int f)
throws OperationNotSupportedException.

 o getUndefIntValue
 public int getUndefIntValue()
throws OperationNotSupportedException.

 o getUnknownIntValue
 public int getUnknownIntValue()
 o isIntUnknown
 public boolean isIntUnknown(int f)
throws OperationNotSupportedException.

 o isOrdered
 public boolean isOrdered()
 o greatherThan
 public boolean greatherThan(Object o1,
                             Object o2)
 o getUnknownValue
 public Object getUnknownValue()
 o getUnknownFloatValue
 public float getUnknownFloatValue()
 o isUnknown
 public boolean isUnknown(Object value)
 o isFloatUnknown
 public boolean isFloatUnknown(float i)
 o getUndefValue
 public Object getUndefValue()
 o getUndefFloatValue
 public float getUndefFloatValue()
 o isDefined
 public boolean isDefined(Object v)
 o isFloatDefined
 public boolean isFloatDefined(float v)
 o isObject
 public boolean isObject()
 o isInt
 public boolean isInt()
 o isFloat
 public boolean isFloat()

All Packages  Class Hierarchy  This Package  Previous  Next  Index