Lines Matching refs:Short
44 private static final short LEAST = Short.MIN_VALUE;
45 private static final short GREATEST = Short.MAX_VALUE;
52 assertEquals(((Short) value).hashCode(), Shorts.hashCode(value));
90 int expected = Short.valueOf(x).compareTo(y);
273 List<Short> none = Arrays.<Short>asList();
276 List<Short> one = Arrays.asList((short) 1);
281 List<Short> three = Arrays.asList((short) 0, (short) 1, (short) 3);
290 List<Short> list = Shorts.asList(VALUES).subList(0, i);
291 Collection<Short> misleadingSize =
304 List<Short> list = Arrays.asList((short) 0, (short) 1, null);
316 List<Short> shorts = Arrays.asList((short) 0, (short) 1, (short) 2);
332 List<Short> list = Shorts.asList(array);
341 List<Short> list = Shorts.asList(array);
355 List<Short> list = Shorts.asList(array);
367 Converter<String, Short> converter = Shorts.stringConverter();
368 assertEquals((Short) (short) 1, converter.convert("1"));
369 assertEquals((Short) (short) 0, converter.convert("0"));
370 assertEquals((Short) (short) (-1), converter.convert("-1"));
371 assertEquals((Short) (short) 255, converter.convert("0xff"));
372 assertEquals((Short) (short) 255, converter.convert("0xFF"));
373 assertEquals((Short) (short) (-255), converter.convert("-0xFF"));
374 assertEquals((Short) (short) 255, converter.convert("#0000FF"));
375 assertEquals((Short) (short) 438, converter.convert("0666"));
392 Converter<String, Short> converter = Shorts.stringConverter();