类 Bits.Encoder
- java.lang.Object
-
- com.github.myibu.algorithm.data.Bits.Encoder
-
- 封闭类:
- Bits
public static class Bits.Encoder extends java.lang.Object
-
-
构造器概要
构造器 构造器 说明 Encoder()
-
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 static BitsencodeDecimalValue(double value)static BitsencodeDoubleValue(double value)static BitsencodeFloatValue(float value)static BitsencodeIntValue(int value)static BitsencodeLongValue(long value)static BitsencodeStringValue(java.lang.String value)static intencodeZigzagValue(int value)static longencodeZigzagValue(long value)
-
-
-
方法详细资料
-
encodeZigzagValue
public static int encodeZigzagValue(int value)
-
encodeZigzagValue
public static long encodeZigzagValue(long value)
-
encodeIntValue
public static Bits encodeIntValue(int value)
-
encodeLongValue
public static Bits encodeLongValue(long value)
-
encodeDecimalValue
public static Bits encodeDecimalValue(double value)
-
encodeFloatValue
public static Bits encodeFloatValue(float value)
-
encodeDoubleValue
public static Bits encodeDoubleValue(double value)
-
encodeStringValue
public static Bits encodeStringValue(java.lang.String value)
-
-