Code example for LazilyParsedNumber

0
   * @return get this element as a Number. 
   * @throws NumberFormatException if the value contained is not a valid Number. 
   */ 
  @Override 
  public Number getAsNumber() {
    return value instanceof String ? new LazilyParsedNumber((String) value) : (Number) value;
  } 
 
  /** 
   * Check whether this primitive contains a String value. 
   * 
   * @return true if this primitive contains a String value, false otherwise. 
   */ 
  public boolean isString() { 
    return value instanceof String;
  } 
 
  /** 
   * convenience method to get this element as a String. 
   * 
Connect your IDE to all the code out there  Get Codota for Java