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
-
AbstractIntType()
-
-
AbstractIntType(boolean)
-
-
AbstractIntType(int, int)
-
-
enum()
- Returns the list of elements defining this type.
-
floatEnum()
- throws OperationNotSupportedException.
-
getMaxFloatValue()
- throws OperationNotSupportedException.
-
getMaxIntValue()
- Returns the maximum value of this type.
-
getMaxValue()
- Returns the maximum value of this type.
-
getMinFloatValue()
- throws OperationNotSupportedException.
-
getMinIntValue()
- Returns the minimum value of this type
Precondiftons:
this.isInt()==true
this.isBounded()==true
-
getMinValue()
- Returns the minimum value of this type
Precondiftons:
this.isBounded()==true
-
getUndefFloatValue()
- throws OperationNotSupportedException.
-
getUndefIntValue()
-
-
getUndefValue()
-
-
getUnknownFloatValue()
- throws OperationNotSupportedException.
-
getUnknownIntValue()
-
-
getUnknownValue()
-
-
greatherThan(Object, Object)
-
-
intEnum()
- Returns the list of elements defining this type.
-
isBounded()
- Indiquates if this type has upper and lower bounds.
-
isDefined(Object)
-
-
isEnumerated()
- Indiquates if this type is defined by extension.
-
isFloat()
-
-
isFloatDefined(float)
- throws OperationNotSupportedException.
-
isFloatUnknown(float)
- throws OperationNotSupportedException.
-
isInt()
-
-
isIntDefined(int)
-
-
isIntUnknown(int)
-
-
isObject()
-
-
isOrdered()
-
-
isUnknown(Object)
-
-
isValidFloatValue(float)
- throws OperationNotSupportedException.
-
isValidIntValue(int)
- Indiquates if a int value is an element of this type.
-
isValidValue(Object)
- Indiquates if a value is an element of this type.
AbstractIntType
protected AbstractIntType(int unknown,
int undef)
AbstractIntType
protected AbstractIntType(boolean isPrimitive)
AbstractIntType
protected AbstractIntType()
isValidFloatValue
public boolean isValidFloatValue(float f)
- throws OperationNotSupportedException.
getMinFloatValue
public float getMinFloatValue()
- throws OperationNotSupportedException.
getMaxFloatValue
public float getMaxFloatValue()
- throws OperationNotSupportedException.
floatEnum
public float[] floatEnum()
- throws OperationNotSupportedException.
isFloatDefined
public boolean isFloatDefined(float f)
- throws OperationNotSupportedException.
getUndefFloatValue
public float getUndefFloatValue()
- throws OperationNotSupportedException.
getUnknownFloatValue
public float getUnknownFloatValue()
- throws OperationNotSupportedException.
isFloatUnknown
public boolean isFloatUnknown(float f)
- throws OperationNotSupportedException.
isOrdered
public boolean isOrdered()
greatherThan
public boolean greatherThan(Object o1,
Object o2)
getUnknownValue
public Object getUnknownValue()
getUnknownIntValue
public int getUnknownIntValue()
isUnknown
public boolean isUnknown(Object value)
isIntUnknown
public boolean isIntUnknown(int i)
getUndefValue
public Object getUndefValue()
getUndefIntValue
public int getUndefIntValue()
isDefined
public boolean isDefined(Object v)
isIntDefined
public boolean isIntDefined(int v)
isObject
public boolean isObject()
isFloat
public boolean isFloat()
isInt
public boolean isInt()
All Packages Class Hierarchy This Package Previous Next Index