18#ifndef _DECAF_UTIL_UUID_H_
19#define _DECAF_UTIL_UUID_H_
129 UUID(
long long mostSigBits,
long long leastSigBits);
This interface imposes a total ordering on the objects of each class that implements it.
Definition Comparable.h:33
UUID(long long mostSigBits, long long leastSigBits)
Constructs a new UUID using the specified data.
int hashCode() const
Returns a Hash Code value for this UUID.
static UUID randomUUID()
Static factory to retrieve a type 4 (pseudo randomly generated) UUID.
virtual int compareTo(const UUID &value) const
Compare the given UUID to this one.
long long getLeastSignificantBits() const
virtual bool operator==(const UUID &value) const
Compares equality between this object and the one passed.
int variant()
The variant number associated with this UUID.
long long getMostSignificantBits() const
int clockSequence()
The clock sequence value associated with this UUID.
virtual bool equals(const UUID &value) const
Compares this UUID to the one given, returns true if they are equal.
static UUID nameUUIDFromBytes(const char *name, int size)
Static factory to retrieve a type 3 (name based) UUID based on the specified byte array.
static UUID fromString(const std::string &name)
Creates a UUID from the string standard representation as described in the toString() method.
virtual bool operator<(const UUID &value) const
Compares this object to another and returns true if this object is considered to be less than the one...
long long timestamp()
The timestamp value associated with this UUID.
std::string toString() const
Returns a String object representing this UUID.
UUID(const UUID &source)
Create a copy of the source UUID.
int version()
The version number associated with this UUID.
static UUID nameUUIDFromBytes(const std::vector< char > &name)
Static factory to retrieve a type 3 (name based) UUID based on the specified byte array.
long long node()
The node value associated with this UUID.
#define DECAF_API
Definition Config.h:29
Definition AbstractCollection.h:33
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
Definition AprPool.h:25