Lines Matching refs:value
31 private float value;
36 value = aValue;
41 return (value == ((FloatValue)obj).value()) &&
56 float other = floatVal.value();
57 if (value() < other) {
59 } else if (value() == other) {
70 public float value() {
71 return value;
75 return(value == 0.0)?false:true;
79 return(byte)value;
83 return(char)value;
87 return(short)value;
91 return(int)value;
95 return(long)value;
99 return(float)value;
103 return(double)value;
107 if ((value > Byte.MAX_VALUE) || (value < Byte.MIN_VALUE)) {
108 throw new InvalidTypeException("Can't convert " + value + " to byte");
115 if ((value > Character.MAX_VALUE) || (value < Character.MIN_VALUE)) {
116 throw new InvalidTypeException("Can't convert " + value + " to char");
123 if ((value > Short.MAX_VALUE) || (value < Short.MIN_VALUE)) {
124 throw new InvalidTypeException("Can't convert " + value + " to short");
131 int intValue = (int)value;
132 if (intValue != value) {
133 throw new InvalidTypeException("Can't convert " + value + " to int");
140 long longValue = (long)value;
141 if (longValue != value) {
142 throw new InvalidTypeException("Can't convert " + value + " to long");
149 return "" + value;