Class ToHashedUUID

  • All Implemented Interfaces:
    java.util.function.LongFunction<java.util.UUID>

    public class ToHashedUUID
    extends java.lang.Object
    implements java.util.function.LongFunction<java.util.UUID>
    This function provides a stable hashing of the input value to a version 4 (Random) UUID.
    • Constructor Summary

      Constructors 
      Constructor Description
      ToHashedUUID()  
    • Method Summary

      Modifier and Type Method Description
      java.util.UUID apply​(long value)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ToHashedUUID

        public ToHashedUUID()
    • Method Detail

      • apply

        public java.util.UUID apply​(long value)
        Specified by:
        apply in interface java.util.function.LongFunction<java.util.UUID>