Top Description Constructors Methods
org.jparsec

pack-priv final Class NumberLiteralsTranslator

extends Object
Class Inheritance

Transforms the recognized character range to an integer within 64 bits. For bigger integer, use TokenizerMaps#DECIMAL_FRAGMENT instead.
Author
Ben Yu

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
private static int
toDecDigit(char c)

private static int
toHexDigit(char c)

pack-priv static long
pack-priv static long
pack-priv static long
private static int
toOctDigit(char c)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

NumberLiteralsTranslatorback to summary
pack-priv NumberLiteralsTranslator()

Method Detail

toDecDigitback to summary
private static int toDecDigit(char c)
toHexDigitback to summary
private static int toHexDigit(char c)
tokenizeDecimalAsLongback to summary
pack-priv static long tokenizeDecimalAsLong(String text)
tokenizeHexAsLongback to summary
pack-priv static long tokenizeHexAsLong(String text)
tokenizeOctalAsLongback to summary
pack-priv static long tokenizeOctalAsLong(String text)
toOctDigitback to summary
private static int toOctDigit(char c)