Method that fetches next token (as if calling {@link #nextToken}) and if it is {@link JsonToken#VALUE_NUMBER_INT} returns 64-bit long value;otherwise returns specified default value It is functionally equivalent to:
return (nextToken() == JsonToken.VALUE_NUMBER_INT) ? getLongValue() : defaultValue;
but may be faster for parser to process, and can therefore be used if caller expects to get a String value next from input.