org.eclipse.jgit.lib.MutableObjectId
| Access | Constructor and Description |
|---|---|
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| private void | |
| public void | fromObjectId(AnyLongObjectId
the source id to copy from. src)Copy a LongObjectId into this mutable buffer. |
| public void | fromRaw(byte[]
the raw byte buffer to read from. At least 32 bytes must be
available within this byte array. bs)Convert a LongObjectId from raw binary representation. |
| public void | fromRaw(byte[]
the raw byte buffer to read from. At least 32 bytes after p
must be available within this byte array. bs, int position to read the first byte of data from. p)Convert a LongObjectId from raw binary representation. |
| public void | fromRaw(long[]
the raw long buffer to read from. At least 4 longs must be
available within this longs array. longs)Convert a LongObjectId from binary representation expressed in integers. |
| public void | fromRaw(long[]
the raw int buffer to read from. At least 4 longs after p must
be available within this longs array. longs, int position to read the first integer of data from. p)Convert a LongObjectId from binary representation expressed in longs. |
| public void | fromString(byte[]
the US-ASCII buffer to read from. At least 32 bytes after
offset must be available within this byte array. buf, int position to read the first character from. offset)Convert a LongObjectId from hex characters (US-ASCII). |
| public void | fromString(String
the string to read from. Must be 64 characters long. str)Convert a LongObjectId from hex characters. |
| private static long | |
| 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 LongObjectId | toObjectId()
Implements abstract org. Obtain an immutable copy of this current object. |
| MutableLongObjectId | back to summary |
|---|---|
| public MutableLongObjectId() Empty constructor. Initialize object with default (zeros) value. | |
| MutableLongObjectId | back to summary |
|---|---|
| pack-priv MutableLongObjectId(MutableLongObjectId 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(AnyLongObjectId src) Copy a LongObjectId into this mutable buffer.
| |
| fromRaw | back to summary |
|---|---|
| public void fromRaw(byte[] bs) Convert a LongObjectId from raw binary representation.
| |
| fromRaw | back to summary |
|---|---|
| public void fromRaw(byte[] bs, int p) Convert a LongObjectId from raw binary representation.
| |
| fromRaw | back to summary |
|---|---|
| public void fromRaw(long[] longs) Convert a LongObjectId from binary representation expressed in integers.
| |
| fromRaw | back to summary |
|---|---|
| public void fromRaw(long[] longs, int p) Convert a LongObjectId from binary representation expressed in longs.
| |
| fromString | back to summary |
|---|---|
| public void fromString(byte[] buf, int offset) Convert a LongObjectId from hex characters (US-ASCII).
| |
| fromString | back to summary |
|---|---|
| public void fromString(String str) Convert a LongObjectId from hex characters.
| |
| set | back to summary |
|---|---|
| private static long set(long w, int index, long value) | |
| setByte | back to summary |
|---|---|
| public void setByte(int index, int value) Set any byte in the id.
| |
| toObjectId | back to summary |
|---|---|
| public LongObjectId toObjectId() Implements abstract org. Doc from org. Obtain an immutable copy of this current object.
See
| |