类 FP63
- java.lang.Object
-
- xin.manong.weapon.base.util.FP63
-
public class FP63 extends Object
将任意字符串映射为long值类型,保证很小的重复率- 作者:
- frankcl
-
-
构造器概要
构造器 构造器 说明 FP63()
-
-
-
方法详细资料
-
newFP63
public static long newFP63(String inputStr)
将字符串转换为long类型- 参数:
inputStr- 需要转换的字符串- 返回:
- long
-
newFP63
public static long newFP63(byte[] byteArray, int pos, int length)将字节数组转换为long类型,转换范围为[pos, pos+length)- 参数:
byteArray- 需要转换的字节数组pos- 起始下标length- 转换字节数- 返回:
- long
-
-