public final class UuidAccess extends Object
UuidFactory
used to create instances of UUID
and
allowing to exchange the default implementation.Modifier and Type | Field and Description |
---|---|
private static UuidFactory |
factory |
Modifier | Constructor and Description |
---|---|
private |
UuidAccess()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
static UuidFactory |
getFactory()
This method gets the
UuidFactory used to create UUID s. |
static void |
setFactory(UuidFactory factory)
This method sets (overrides) the
UuidFactory . |
private static UuidFactory factory
public static UuidFactory getFactory()
UuidFactory
used to create UUID
s.UuidFactory
to use.public static void setFactory(UuidFactory factory)
UuidFactory
. This allows to exchange the UuidFactory
and thereby
the type of the created UUID
s. factory
- is the factory to set.Copyright © 2001–2016 mmm-Team. All rights reserved.