Class Long2Int

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

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

      Constructors 
      Constructor Description
      Long2Int()  
    • Method Summary

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

      • Long2Int

        public Long2Int()
    • Method Detail

      • convert

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