Lines Matching refs:value
32 private int value;
37 value = aValue;
42 return (value == ((IntegerValue)obj).value()) &&
57 int other = obj.value();
58 return (value()<other ? -1 : (value()==other ? 0 : 1));
65 public int value() {
66 return value;
70 return(value == 0)?false:true;
74 return(byte)value;
78 return(char)value;
82 return(short)value;
86 return(int)value;
90 return(long)value;
94 return(float)value;
98 return(double)value;
102 if ((value > Byte.MAX_VALUE) || (value < Byte.MIN_VALUE)) {
103 throw new InvalidTypeException("Can't convert " + value + " to byte");
110 if ((value > Character.MAX_VALUE) || (value < Character.MIN_VALUE)) {
111 throw new InvalidTypeException("Can't convert " + value + " to char");
118 if ((value > Short.MAX_VALUE) || (value < Short.MIN_VALUE)) {
119 throw new InvalidTypeException("Can't convert " + value + " to short");
126 return "" + value;