public final class NumericHelper
extends java.lang.Object
| Modifier and Type | Method and Description | 
|---|---|
| static boolean | fitsUnsigned32BitInteger(long longValue)Checks if the supplied long would fit in an unsigned 32 bit integer. | 
| static long | toUnsignedLong(int intValue)Returns the int as an unsigned long (no sign extension). | 
public static long toUnsignedLong(int intValue)
intValue - Integer valueintValue as an unsiged long.public static boolean fitsUnsigned32BitInteger(long longValue)
 In essence this checks if longValue >= 0 && longValue <= 0xffffffffL
 
longValue - Long value to checktrue if the long value fits as an unsigned 32 bit valueCopyright © 2001-2022 Jaybird (Firebird JDBC/JCA) team. All rights reserved.