Searched refs:SMALL_VALUES (Results 1 - 5 of 5) sorted by relevance

/libcore/luni/src/main/java/java/lang/
H A DShort.java307 return s < -128 || s >= 128 ? new Short(s) : SMALL_VALUES[s + 128];
313 private static final Short[] SMALL_VALUES = new Short[256]; field in class:Short
317 SMALL_VALUES[i + 128] = new Short((short) i);
H A DInteger.java706 return i >= 128 || i < -128 ? new Integer(i) : SMALL_VALUES[i + 128];
712 private static final Integer[] SMALL_VALUES = new Integer[256]; field in class:Integer
716 SMALL_VALUES[i + 128] = new Integer(i);
H A DLong.java727 return v >= 128 || v < -128 ? new Long(v) : SMALL_VALUES[((int) v) + 128];
733 private static final Long[] SMALL_VALUES = new Long[256]; field in class:Long
737 SMALL_VALUES[i + 128] = new Long(i);
H A DCharacter.java1595 return c < 128 ? SMALL_VALUES[c] : new Character(c);
1601 private static final Character[] SMALL_VALUES = new Character[128]; field in class:Character
1605 SMALL_VALUES[i] = new Character((char) i);
/libcore/luni/src/main/java/java/math/
H A DBigInteger.java78 static final BigInteger[] SMALL_VALUES = { ZERO, ONE, new BigInteger(1, 2), field in class:BigInteger
370 } else if (value < SMALL_VALUES.length) {
371 return SMALL_VALUES[(int) value];

Completed in 72 milliseconds