Class ByteArray2LongArray

  • All Implemented Interfaces:
    SeedConverter<byte[],​long[]>

    public class ByteArray2LongArray
    extends java.lang.Object
    implements SeedConverter<byte[],​long[]>
    Creates a long[] from a byte[].
    Since:
    1.0
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long[] convert​(byte[] seed)
      Converts seed from input type to output type.
      • Methods inherited from class java.lang.Object

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

      • ByteArray2LongArray

        public ByteArray2LongArray()
    • Method Detail

      • convert

        public long[] convert​(byte[] seed)
        Converts seed from input type to output type.
        Specified by:
        convert in interface SeedConverter<byte[],​long[]>
        Parameters:
        seed - Original seed value.
        Returns:
        the converted seed value.