/** * Get the value of a long without checking the value. */ private static UInteger valueOfUnchecked(long value) { UInteger cached; if ((cached = getCached(value)) != null) return cached; return new UInteger(value, true); }
/** * Get the value of a long without checking the value. */ private static UInteger valueOfUnchecked(long value) { UInteger cached; if ((cached = getCached(value)) != null) return cached; return new UInteger(value, true); }
/** * Generate a cached value for initial unsigned integer values. * * @return Array of cached values for UInteger */ private static final UInteger[] mkValues() { int precacheSize = getPrecacheSize(); UInteger[] ret; if (precacheSize <= 0) return null; ret = new UInteger[precacheSize]; for (int i = 0; i < precacheSize; i++) ret[i] = new UInteger(i); return ret; }
/** * Generate a cached value for initial unsigned integer values. * * @return Array of cached values for UInteger */ private static final UInteger[] mkValues() { int precacheSize = getPrecacheSize(); UInteger[] ret; if (precacheSize <= 0) return null; ret = new UInteger[precacheSize]; for (int i = 0; i < precacheSize; i++) ret[i] = new UInteger(i); return ret; }