Esempio n. 1
0
 /// <summary>
 /// Returns a String object representing this Long's value.
 /// </summary>
 /// <returns>a string representation of the value of this object in base 10.
 /// </returns>
 public override String toString()
 {
     return(Long.toString(v));
 }
Esempio n. 2
0
 /// <summary>
 /// Scans the next token of the input as a long.
 /// </summary>
 /// <returns>the long scanned from the input
 /// </returns>
 public long nextLong()
 {
     return(Long.parseLong(getNextToken()));
 }