public class NumberUtils extends Object
Constructor and Description |
---|
NumberUtils() |
public static String readableSize(long size)
public static String int2sortableStr(int val)
public static String long2sortableStr(long val)
public static String float2sortableStr(float val)
public static float SortableStr2float(String val)
public static float SortableStr2float(BytesRef val)
public static String double2sortableStr(double val)
public static double SortableStr2double(String val)
public static double SortableStr2double(BytesRef val)
public static int int2sortableStr(int val, char[] out, int offset)
public static int SortableStr2int(String sval, int offset, int len)
public static int SortableStr2int(BytesRef sval, int offset, int len)
public static int long2sortableStr(long val, char[] out, int offset)
public static long SortableStr2long(String sval, int offset, int len)
public static long SortableStr2long(BytesRef sval, int offset, int len)
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.