public class Guid extends Object implements Comparable<Guid>
Modifier and Type | Field and Description |
---|---|
static Guid |
GUID_UNKNOWN |
Constructor and Description |
---|
Guid(byte[] bytes) |
Guid(GuidPrefix prefix,
EntityId entityId) |
Guid(RTPSByteBuffer bb) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Guid o) |
boolean |
equals(Object other) |
byte[] |
getBytes()
Gets this GUID as a byte array.
|
EntityId |
getEntityId()
Gets the EntityId.
|
GuidPrefix |
getPrefix()
Gets the GuidPrefix.
|
int |
hashCode() |
String |
toString() |
void |
writeTo(RTPSByteBuffer buffer) |
public static final Guid GUID_UNKNOWN
public Guid(GuidPrefix prefix, EntityId entityId)
public Guid(RTPSByteBuffer bb)
public Guid(byte[] bytes)
public void writeTo(RTPSByteBuffer buffer)
public byte[] getBytes()
public GuidPrefix getPrefix()
public EntityId getEntityId()
public int compareTo(Guid o)
compareTo
in interface Comparable<Guid>
Copyright © 2016. All rights reserved.