org.eclipse.jgit.lib.ObjectId
| Modifier and Type | Field and Description |
|---|---|
| private static final long | |
| private static final LongObjectId | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| protected | LongObjectId(AnyLongObjectId
another already parsed LongObjectId to copy the value out of. src)Initialize this instance by copying another existing LongObjectId. |
| Modifier and Type | Method and Description |
|---|---|
| public static boolean | Returns: true if the two identifiers are the same.the first buffer to compare against. Must have at least 32
bytes from position fi through the end of the buffer. firstBuffer, final int first offset within firstBuffer to begin testing. fi, final byte[] the second buffer to compare against. Must have at least 32
bytes from position si through the end of the buffer. secondBuffer, final int first offset within secondBuffer to begin testing. si)Compare two object identifier byte sequences for equality. |
| private static final LongObjectId | |
| public static final LongObjectId | Returns: the converted object id.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 static final LongObjectId | Returns: the converted object id.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 static final LongObjectId | Returns: the converted object id.the raw long buffer to read from. At least 4 longs must be
available within this long array. is)Convert a LongObjectId from raw binary representation. |
| public static final LongObjectId | Returns: the converted object id.the raw long buffer to read from. At least 4 longs after p
must be available within this long array. is, int position to read the first long of data from. p)Convert a LongObjectId from raw binary representation. |
| public static final LongObjectId | Returns: the converted object id.the US-ASCII buffer to read from. At least 64 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 static LongObjectId | Returns: the converted object id.the string to read from. Must be 64 characters long. str)Convert a LongObjectId from hex characters. |
| public static final boolean | |
| private void | |
| public LongObjectId | toObjectId()
Implements abstract org. Obtain an immutable copy of this current object. |
| public static final String | Returns: the hex string conversion of this id's content.the id to convert. May be null. i)Convert a LongObjectId into a hex string representation. |
| private void | |
| public static final LongObjectId | Returns: the all-zero LongObjectId, often used to stand-in for no object.Get the special all-zero LongObjectId. |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| ZEROID | back to summary |
|---|---|
| private static final LongObjectId ZEROID | |
| ZEROID_STR | back to summary |
|---|---|
| private static final String ZEROID_STR | |
| LongObjectId | back to summary |
|---|---|
| pack-priv LongObjectId(final long new_1, final long new_2, final long new_3, final long new_4) | |
| LongObjectId | back to summary |
|---|---|
| protected LongObjectId(AnyLongObjectId src) Initialize this instance by copying another existing LongObjectId. This constructor is mostly useful for subclasses which want to extend a LongObjectId with more properties, but initialize from an existing LongObjectId instance acquired by other means.
| |
| equals | back to summary |
|---|---|
| public static boolean equals(final byte[] firstBuffer, final int fi, final byte[] secondBuffer, final int si) Compare two object identifier byte sequences for equality.
| |
| fromHexString | back to summary |
|---|---|
| private static final LongObjectId fromHexString(byte[] bs, int p) | |
| fromRaw | back to summary |
|---|---|
| public static final LongObjectId fromRaw(byte[] bs) Convert a LongObjectId from raw binary representation.
| |
| fromRaw | back to summary |
|---|---|
| public static final LongObjectId fromRaw(byte[] bs, int p) Convert a LongObjectId from raw binary representation.
| |
| fromRaw | back to summary |
|---|---|
| public static final LongObjectId fromRaw(long[] is) Convert a LongObjectId from raw binary representation.
| |
| fromRaw | back to summary |
|---|---|
| public static final LongObjectId fromRaw(long[] is, int p) Convert a LongObjectId from raw binary representation.
| |
| fromString | back to summary |
|---|---|
| public static final LongObjectId fromString(byte[] buf, int offset) Convert a LongObjectId from hex characters (US-ASCII).
| |
| fromString | back to summary |
|---|---|
| public static LongObjectId fromString(String str) Convert a LongObjectId from hex characters.
| |
| isId | back to summary |
|---|---|
| public static final boolean isId(String id) Test a string of characters to verify that it can be interpreted as LongObjectId.
If true the string can be parsed with
| |
| readObject | back to summary |
|---|---|
| private void readObject(ObjectInputStream ois) throws IOException | |
| toObjectId | back to summary |
|---|---|
| public LongObjectId toObjectId() Implements abstract org. Doc from org. Obtain an immutable copy of this current object.
See
| |
| toString | back to summary |
|---|---|
| public static final String toString(LongObjectId i) Convert a LongObjectId into a hex string representation.
| |
| writeObject | back to summary |
|---|---|
| private void writeObject(ObjectOutputStream os) throws IOException | |
| zeroId | back to summary |
|---|---|
| public static final LongObjectId zeroId() Get the special all-zero LongObjectId.
| |