sealed classGuid[+A] extends Ordered[Guid[_]] with Serializable
Tries to be a space/cpu efficient and type safe replacement for
java's UUID.
Tries to be a space/cpu efficient and type safe replacement for
java's UUID.
This class takes a single (although unused) type parameter.
This is to implemnet compile-time checks while still keeping the
json integration simple (only need to define (de)serialization
in one place)
E.g.
val orderGuid: Guid[Order] = ...
val userGuid: Guid[User] = ...
Annotations
@SerialVersionUID()
case classGuidSet[A] extends Set[Guid[A]] with Product with Serializable
A Set implementation for Guids, which stores the data in a memory efficient way that is optimized for fast look-ups
Tries to be a space/cpu efficient and type safe replacement for java's UUID.
This class takes a single (although unused) type parameter. This is to implemnet compile-time checks while still keeping the json integration simple (only need to define (de)serialization in one place)
E.g.