Lines Matching refs:Short

40  * already found in either {@link Short} or {@link Arrays}.
57 public static final int BYTES = Short.SIZE / Byte.SIZE;
64 public static final short MAX_POWER_OF_TWO = 1 << (Short.SIZE - 2);
68 * {@code ((Short) value).hashCode()}.
84 * Short#MAX_VALUE} or less than {@link Short#MIN_VALUE}
100 * {@code short} type, {@link Short#MAX_VALUE} if it is too large,
101 * or {@link Short#MIN_VALUE} if it is too small
104 if (value > Short.MAX_VALUE) {
105 return Short.MAX_VALUE;
107 if (value < Short.MIN_VALUE) {
108 return Short.MIN_VALUE;
115 * returned is the same as that of {@code ((Short) a).compareTo(b)}.
118 * {@link Short#compare} method instead.
337 extends Converter<String, Short> implements Serializable {
341 protected Short doForward(String value) {
342 return Short.decode(value);
346 protected String doBackward(Short value) {
363 * shorts using {@link Short#decode} and {@link Short#toString()}.
368 public static Converter<String, Short> stringConverter() {
477 * @since 1.0 (parameter was {@code Collection<Short>} before 12.0)
501 * {@code Short} objects written to or read from it. For example, whether
508 public static List<Short> asList(short... backingArray) {
516 private static class ShortArrayAsList extends AbstractList<Short>
540 @Override public Short get(int index) {
547 return (target instanceof Short)
548 && Shorts.indexOf(array, (Short) target, start, end) != -1;
553 if (target instanceof Short) {
554 int i = Shorts.indexOf(array, (Short) target, start, end);
564 if (target instanceof Short) {
565 int i = Shorts.lastIndexOf(array, (Short) target, start, end);
573 @Override public Short set(int index, Short element) {
581 @Override public List<Short> subList(int fromIndex, int toIndex) {