Class ToInt
- java.lang.Object
-
- io.virtdata.conversions.from_long.ToInt
-
- All Implemented Interfaces:
java.util.function.LongToIntFunction
public class ToInt extends java.lang.Object implements java.util.function.LongToIntFunctionConvert the input value to an int with long modulus remainder. If the scale is chosen, then the value is wrapped at this value. Otherwise,Integer.MAX_VALUEis used.
-
-
Method Summary
Modifier and Type Method Description intapplyAsInt(long input)
-