Interface SeedConverter<T,R>

Type Parameters:
T - Input seed type.
R - Output seed type.
All Known Subinterfaces:
Seed2ArrayConverter<T,R>
All Known Implementing Classes:
ByteArray2IntArray, ByteArray2LongArray, Int2Long, IntArray2Int, IntArray2LongArray, Long2Int, Long2IntArray, Long2LongArray, LongArray2IntArray, LongArray2Long, NoOpConverter, SeedConverterComposer
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface SeedConverter<T,R>
Seed converter.
Since:
1.0
  • Method Summary

    Modifier and Type
    Method
    Description
    convert(T seed)
    Converts seed from input type to output type.
  • Method Details

    • convert

      R convert(T seed)
      Converts seed from input type to output type.
      Parameters:
      seed - Original seed value.
      Returns:
      the converted seed value.