类 ByteArray
- java.lang.Object
-
- com.moilioncircle.redis.replicator.util.ByteArray
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 protected classByteArray.Iter
-
字段概要
字段 修饰符和类型 字段 说明 protected static intBITSprotected intcapprotected byte[][]largeBytesprotected longlengthprotected static intMAGICprotected static intMASKstatic longMAX_VALUEstatic longMIN_VALUEprotected byte[]smallBytes
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 static voidarraycopy(ByteArray src, long srcPos, ByteArray dest, long destPos, long length)byte[]first()byteget(long idx)Iterator<byte[]>iterator()longlength()voidset(long idx, byte value)-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 java.lang.Iterable
forEach, spliterator
-
-
-
-
字段详细资料
-
BITS
protected static final int BITS
- 另请参阅:
- 常量字段值
-
MAGIC
protected static final int MAGIC
- 另请参阅:
- 常量字段值
-
MASK
protected static final int MASK
- 另请参阅:
- 常量字段值
-
MIN_VALUE
public static final long MIN_VALUE
- 另请参阅:
- 常量字段值
-
MAX_VALUE
public static final long MAX_VALUE
- 另请参阅:
- 常量字段值
-
cap
protected final int cap
-
length
protected final long length
-
smallBytes
protected byte[] smallBytes
-
largeBytes
protected byte[][] largeBytes
-
-