Provides support for converting longs to Strings, and back again. The strings
/// are structured so that lexicographic sorting order is preserved.
///
///
/// That is, if l1 is less than l2 for any two longs l1 and l2, then
/// NumberTools.longToString(l1) is lexicographically less than
/// NumberTools.longToString(l2). (Similarly for "greater than" and "equals".)
///
///
/// This class handles all long values (unlike
/// {@link Lucene.Net.Documents.DateField}).
///
///
///
public class NumberTools
{
private const int RADIX = 36;
private const char NEGATIVE_PREFIX = '-';
// NB: NEGATIVE_PREFIX must be < POSITIVE_PREFIX
private const char POSITIVE_PREFIX = '0';
// NB: this must be less than
///