Exemplo n.º 1
0
 /**
  * Set the value of this object as a Number.
  *
  * @return True if the value was set.
  */
 public boolean setCurrentAccessibleValue(Number n) {
   // TIGER - 4422535
   if (n == null) {
     return false;
   }
   setValue(n.intValue());
   return true;
 }
Exemplo n.º 2
0
 /**
  * Set the value of this object as a Number.
  *
  * @return True if the value was set.
  */
 public boolean setCurrentAccessibleValue(Number n) {
   if (n instanceof Integer) {
     setValue(n.intValue());
     return true;
   } else {
     return false;
   }
 }