Class Int2Long

  • All Implemented Interfaces:
    SeedConverter<java.lang.Integer,​java.lang.Long>

    public class Int2Long
    extends java.lang.Object
    implements SeedConverter<java.lang.Integer,​java.lang.Long>
    Converts a Integer to an Long.
    Since:
    1.0
    • Constructor Summary

      Constructors 
      Constructor Description
      Int2Long()
      Create an instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Long convert​(java.lang.Integer 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

      • Int2Long

        public Int2Long()
        Create an instance.
    • Method Detail

      • convert

        public java.lang.Long convert​(java.lang.Integer seed)
        Converts seed from input type to output type.
        Specified by:
        convert in interface SeedConverter<java.lang.Integer,​java.lang.Long>
        Parameters:
        seed - Original seed value.
        Returns:
        the converted seed value.