@Immutable @SerializeWith(value=ObjectId.Externalizer.class) public final class ObjectId extends Object
ObjectId
value for use within a BSON object
, and are 12-byte binary values
designed to have a reasonably high probability of being unique when allocated.Modifier and Type | Class and Description |
---|---|
static class |
ObjectId.Externalizer |
Constructor and Description |
---|
ObjectId(int time,
int machine,
int process,
int inc) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
byte[] |
getBytes() |
String |
getBytesInBase16() |
String |
getBytesInBase64() |
int |
getInc() |
int |
getMachine() |
int |
getProcess() |
int |
getTime() |
int |
hashCode() |
String |
toString() |
Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.