Lines Matching refs:value
32 private float value;
37 value = aValue;
42 return (value == ((FloatValue)obj).value()) &&
57 float other = obj.value();
58 if (value() < other) {
60 } else if (value() == other) {
71 public float value() {
72 return value;
76 return(value == 0.0)?false:true;
80 return(byte)value;
84 return(char)value;
88 return(short)value;
92 return(int)value;
96 return(long)value;
100 return value;
104 return(double)value;
108 if ((value > Byte.MAX_VALUE) || (value < Byte.MIN_VALUE)) {
109 throw new InvalidTypeException("Can't convert " + value + " to byte");
116 if ((value > Character.MAX_VALUE) || (value < Character.MIN_VALUE)) {
117 throw new InvalidTypeException("Can't convert " + value + " to char");
124 if ((value > Short.MAX_VALUE) || (value < Short.MIN_VALUE)) {
125 throw new InvalidTypeException("Can't convert " + value + " to short");
132 int intValue = (int)value;
133 if (intValue != value) {
134 throw new InvalidTypeException("Can't convert " + value + " to int");
141 long longValue = (long)value;
142 if (longValue != value) {
143 throw new InvalidTypeException("Can't convert " + value + " to long");
150 return "" + value;