gnu.prolog.vm.buildins.uuid
Class Predicate_uuid
java.lang.Object
gnu.prolog.vm.ExecuteOnlyCode
gnu.prolog.vm.buildins.uuid.Predicate_uuid
- All Implemented Interfaces:
- Installable, PrologCode
- Direct Known Subclasses:
- Predicate_uuid_compare, Predicate_uuid_variant, Predicate_uuid_version, Predicate_uuid3, Predicate_uuid4
public abstract class Predicate_uuid
- extends ExecuteOnlyCode
- Author:
- Michiel Hendriks
Method Summary |
static UUID |
getUUID(Term value)
Get the UUID from an atom term. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UUID_ATOM
public static final AtomTerm UUID_ATOM
Predicate_uuid
public Predicate_uuid()
getUUID
public static final UUID getUUID(Term value)
throws PrologException
- Get the UUID from an atom term. Returns null in case of an invalid UUID.
- Parameters:
value
-
- Returns:
-
- Throws:
PrologException