Exemple #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;
 }
 /**
  * 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;
   }
 }