| Access | Constructor and Description |
|---|---|
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| private void | |
| public void | |
| public void | fromRaw(byte[]
the raw byte buffer to read from. At least 20 bytes must be
available within this byte array. bs)Convert an ObjectId from raw binary representation. |
| public void | fromRaw(byte[]
the raw byte buffer to read from. At least 20 bytes after p
must be available within this byte array. bs, int position to read the first byte of data from. p)Convert an ObjectId from raw binary representation. |
| public void | fromRaw(int[]
the raw int buffer to read from. At least 5 integers must be
available within this integers array. ints)Convert an ObjectId from binary representation expressed in integers. |
| public void | fromRaw(int[]
the raw int buffer to read from. At least 5 integers after p
must be available within this integers array. ints, int position to read the first integer of data from. p)Convert an ObjectId from binary representation expressed in integers. |
| public void | fromString(byte[]
the US-ASCII buffer to read from. At least 40 bytes after
offset must be available within this byte array. buf, int position to read the first character from. offset)Convert an ObjectId from hex characters (US-ASCII). |
| public void | fromString(String
the string to read from. Must be 40 characters long. str)Convert an ObjectId from hex characters. |
| private static int | |
| public void | set(int
an int. a, int an int. b, int an int. c, int an int. d, int an int. e)Convert an ObjectId from binary representation expressed in integers. |
| public void | setByte(int
index of the byte to set in the raw form of the ObjectId. Must
be in range [0,
index, int org.).the value of the specified byte at value)index. Values are
unsigned and thus are in the range [0,255] rather than the
signed byte range of [-128, 127].Set any byte in the id. |
| public ObjectId | toObjectId()
Implements abstract org. Obtain an immutable copy of this current object name value. |
| MutableObjectId | back to summary |
|---|---|
| public MutableObjectId() Empty constructor. Initialize object with default (zeros) value. | |
| MutableObjectId | back to summary |
|---|---|
| pack-priv MutableObjectId(MutableObjectId src) Copying constructor.
| |
| clear | back to summary |
|---|---|
| public void clear() Make this id match | |
| fromHexString | back to summary |
|---|---|
| private void fromHexString(byte[] bs, int p) | |
| fromObjectId | back to summary |
|---|---|
| public void fromObjectId(AnyObjectId src) Copy an ObjectId into this mutable buffer.
| |
| fromRaw | back to summary |
|---|---|
| public void fromRaw(byte[] bs) Convert an ObjectId from raw binary representation.
| |
| fromRaw | back to summary |
|---|---|
| public void fromRaw(byte[] bs, int p) Convert an ObjectId from raw binary representation.
| |
| fromRaw | back to summary |
|---|---|
| public void fromRaw(int[] ints) Convert an ObjectId from binary representation expressed in integers.
| |
| fromRaw | back to summary |
|---|---|
| public void fromRaw(int[] ints, int p) Convert an ObjectId from binary representation expressed in integers.
| |
| fromString | back to summary |
|---|---|
| public void fromString(byte[] buf, int offset) Convert an ObjectId from hex characters (US-ASCII).
| |
| fromString | back to summary |
|---|---|
| public void fromString(String str) Convert an ObjectId from hex characters.
| |
| set | back to summary |
|---|---|
| private static int set(int w, int index, int value) | |
| set | back to summary |
|---|---|
| public void set(int a, int b, int c, int d, int e) Convert an ObjectId from binary representation expressed in integers.
| |
| setByte | back to summary |
|---|---|
| public void setByte(int index, int value) Set any byte in the id.
| |
| toObjectId | back to summary |
|---|---|
| public ObjectId toObjectId() Implements abstract org. Doc from org. Obtain an immutable copy of this current object name value.
See | |