All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class aid.cbr.tools.core.cbrcase.AbstractIntType

java.lang.Object
   |
   +----aid.cbr.tools.core.cbrcase.AbstractIntType

public abstract class AbstractIntType
extends Object
implements IndiceType
Implements basic operation for int type. Sub classes of this class can represent the primitive float type or the floats wrapped into Integer objects.

Version:
$Revision$, $Date$
Author:
M. Jaczynski

Constructor Index

 o AbstractIntType()
 o AbstractIntType(boolean)
 o AbstractIntType(int, int)

Method Index

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

Precondiftons:

 this.isInt()==true
 this.isBounded()==true
 
 o getMinValue()
Returns the minimum value of this type

Precondiftons:

 this.isBounded()==true
 
 o getUndefFloatValue()
throws OperationNotSupportedException.
 o getUndefIntValue()
 o getUndefValue()
 o getUnknownFloatValue()
throws OperationNotSupportedException.
 o getUnknownIntValue()
 o getUnknownValue()
 o greatherThan(Object, Object)
 o intEnum()
Returns the list of elements defining this type.
 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)
throws OperationNotSupportedException.
 o isFloatUnknown(float)
throws OperationNotSupportedException.
 o isInt()
 o isIntDefined(int)
 o isIntUnknown(int)
 o isObject()
 o isOrdered()
 o isUnknown(Object)
 o isValidFloatValue(float)
throws OperationNotSupportedException.
 o isValidIntValue(int)
Indiquates if a int value is an element of this type.
 o isValidValue(Object)
Indiquates if a value is an element of this type.

Constructors

 o AbstractIntType
 protected AbstractIntType(int unknown,
                           int undef)
 o AbstractIntType
 protected AbstractIntType(boolean isPrimitive)
 o AbstractIntType
 protected AbstractIntType()

Methods

 o isValidFloatValue
 public boolean isValidFloatValue(float f)
throws OperationNotSupportedException.

 o getMinFloatValue
 public float getMinFloatValue()
throws OperationNotSupportedException.

 o getMaxFloatValue
 public float getMaxFloatValue()
throws OperationNotSupportedException.

 o floatEnum
 public float[] floatEnum()
throws OperationNotSupportedException.

 o isFloatDefined
 public boolean isFloatDefined(float f)
throws OperationNotSupportedException.

 o getUndefFloatValue
 public float getUndefFloatValue()
throws OperationNotSupportedException.

 o getUnknownFloatValue
 public float getUnknownFloatValue()
throws OperationNotSupportedException.

 o isFloatUnknown
 public boolean isFloatUnknown(float f)
throws OperationNotSupportedException.

 o isOrdered
 public boolean isOrdered()
 o greatherThan
 public boolean greatherThan(Object o1,
                             Object o2)
 o getUnknownValue
 public Object getUnknownValue()
 o getUnknownIntValue
 public int getUnknownIntValue()
 o isUnknown
 public boolean isUnknown(Object value)
 o isIntUnknown
 public boolean isIntUnknown(int i)
 o getUndefValue
 public Object getUndefValue()
 o getUndefIntValue
 public int getUndefIntValue()
 o isDefined
 public boolean isDefined(Object v)
 o isIntDefined
 public boolean isIntDefined(int v)
 o isObject
 public boolean isObject()
 o isFloat
 public boolean isFloat()
 o isInt
 public boolean isInt()

All Packages  Class Hierarchy  This Package  Previous  Next  Index