SeedConverter<java.lang.Long,java.lang.Integer>
public class Long2Int extends java.lang.Object implements SeedConverter<java.lang.Long,java.lang.Integer>
Long
to an Integer
.Constructor | Description |
---|---|
Long2Int() |
Modifier and Type | Method | Description |
---|---|---|
java.lang.Integer |
convert(java.lang.Long seed) |
Converts seed from input type to output type.
|
public Long2Int()
public java.lang.Integer convert(java.lang.Long seed)
convert
in interface SeedConverter<java.lang.Long,java.lang.Integer>
seed
- Original seed value.Copyright © 2016–2018 The Apache Software Foundation. All rights reserved.