Class Int2Long

java.lang.Object
org.apache.commons.rng.simple.internal.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()  
  • Method Summary

    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 Details

  • Method Details

    • 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.