|Modifier and Type||Method and Description|
Checks if the supplied long would fit in an unsigned 32 bit integer.
Returns the int as an unsigned long (no sign extension).
public static long toUnsignedLong(int intValue)
intValue- Integer value
intValueas an unsiged long.
public static boolean fitsUnsigned32BitInteger(long longValue)
In essence this checks if
longValue >= 0 && longValue <= 0xffffffffL
longValue- Long value to check
trueif the long value fits as an unsigned 32 bit value
Copyright © 2001-2015 Jaybird (Firebird JDBC/JCA) team. All rights reserved.