Class SeedConverterComposer<IN,TRANS,OUT>
- java.lang.Object
-
- org.apache.commons.rng.simple.internal.SeedConverterComposer<IN,TRANS,OUT>
-
- Type Parameters:
IN
- Input seed type.TRANS
- Transitional seed type.OUT
- Output seed type.
- All Implemented Interfaces:
SeedConverter<IN,OUT>
public class SeedConverterComposer<IN,TRANS,OUT> extends Object implements SeedConverter<IN,OUT>
Composes twoconverters
.- Since:
- 1.0
-
-
Constructor Summary
Constructors Constructor Description SeedConverterComposer(SeedConverter<IN,TRANS> first, SeedConverter<TRANS,OUT> second)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OUT
convert(IN seed)
Converts seed from input type to output type.
-
-
-
Constructor Detail
-
SeedConverterComposer
public SeedConverterComposer(SeedConverter<IN,TRANS> first, SeedConverter<TRANS,OUT> second)
- Parameters:
first
- First conversion.second
- second conversion.
-
-