| Modifier and Type | Field and Description |
|---|---|
| private long | |
| private int | |
| private long |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public UUID | Returns: a copy of this UUIDImplements org. Clone this UUID. |
| public boolean | equals(Object
the reference object with which to compare. otherObject)Overrides java. Implement value equality. |
| public int | getTypeFormatId()
Implements org. Return my format identifier. |
| public int | hashCode()
Overrides java. Provide a hashCode which is compatible with the equals() method. |
| public void | readExternal(ObjectInput
the stream to read data from in order to restore the object in)Implements java. Read this in |
| private static long | readMSB(StringReader sr)
Read a long value, msb first, from its character representation in the string reader, using '-' or end of string to delimit. |
| public String | Returns: string representation of UUID.Character to separate number blocks.
Null means do not include a separator. separator)Private workhorse of the string making routines. |
| public String | toANSIidentifier()
Implements org. Produce a string representation of this UUID which is suitable for use as a unique ANSI identifier. |
| public String | toString()
Overrides java. Produce a string representation of this UUID which can be passed to UUIDFactory.recreateUUID later on to reconstruct it. |
| public void | writeExternal(ObjectOutput
the stream to write the object to out)Implements java. Write this out. |
| private static void |
| majorId | back to summary |
|---|---|
| private long majorId | |
| sequence | back to summary |
|---|---|
| private int sequence | |
| timemillis | back to summary |
|---|---|
| private long timemillis | |
| BasicUUID | back to summary |
|---|---|
| public BasicUUID(long majorId, long timemillis, int sequence) Constructor only called by BasicUUIDFactory. | |
| BasicUUID | back to summary |
|---|---|
| public BasicUUID(String uuidstring) Constructor only called by BasicUUIDFactory. Constructs a UUID from the string representation produced by toString.
| |
| BasicUUID | back to summary |
|---|---|
| public BasicUUID() | |
| cloneMe | back to summary |
|---|---|
| public UUID cloneMe() Implements org. Clone this UUID.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object otherObject) Overrides java. Implement value equality.
| |
| getTypeFormatId | back to summary |
|---|---|
| public int getTypeFormatId() Implements org. Return my format identifier.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Provide a hashCode which is compatible with the equals() method.
| |
| readExternal | back to summary |
|---|---|
| public void readExternal(ObjectInput in) throws IOException Implements java. Read this in
| |
| readMSB | back to summary |
|---|---|
| private static long readMSB(StringReader sr) Read a long value, msb first, from its character representation in the string reader, using '-' or end of string to delimit. | |
| stringWorkhorse | back to summary |
|---|---|
| public String stringWorkhorse(char separator) Private workhorse of the string making routines.
| |
| toANSIidentifier | back to summary |
|---|---|
| public String toANSIidentifier() Implements org. Produce a string representation of this UUID which is suitable for use as a unique ANSI identifier.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Produce a string representation of this UUID which can be passed to UUIDFactory.recreateUUID later on to reconstruct it. The funny representation is designed to (sort of) match the format of Microsoft's UUIDGEN utility.
| |
| writeExternal | back to summary |
|---|---|
| public void writeExternal(ObjectOutput out) throws IOException Implements java. Write this out.
| |
| writeMSB | back to summary |
|---|---|
| private static void writeMSB(char[] data, int offset, long value, int nbytes) | |