Class Int2Long

java.lang.Object
org.apache.commons.rng.simple.internal.Int2Long
All Implemented Interfaces:
SeedConverter<Integer,Long>

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

    • Int2Long

      public Int2Long()
      Create an instance.
  • Method Details

    • convert

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