Lines Matching refs:Short

38  * already found in either {@link Short} or {@link Arrays}.
55 public static final int BYTES = Short.SIZE / Byte.SIZE;
62 public static final short MAX_POWER_OF_TWO = 1 << (Short.SIZE - 2);
66 * {@code ((Short) value).hashCode()}.
82 * Short#MAX_VALUE} or less than {@link Short#MIN_VALUE}
98 * {@code short} type, {@link Short#MAX_VALUE} if it is too large,
99 * or {@link Short#MIN_VALUE} if it is too small
102 if (value > Short.MAX_VALUE) {
103 return Short.MAX_VALUE;
105 if (value < Short.MIN_VALUE) {
106 return Short.MIN_VALUE;
113 * returned is the same as that of {@code ((Short) a).compareTo(b)}.
116 * {@link Short#compare} method instead.
285 extends Converter<String, Short> implements Serializable {
289 protected Short doForward(String value) {
290 return Short.decode(value);
294 protected String doBackward(Short value) {
311 * shorts using {@link Short#decode} and {@link Short#toString()}.
316 public static Converter<String, Short> stringConverter() {
425 * @since 1.0 (parameter was {@code Collection<Short>} before 12.0)
449 * {@code Short} objects written to or read from it. For example, whether
456 public static List<Short> asList(short... backingArray) {
464 private static class ShortArrayAsList extends AbstractList<Short>
488 @Override public Short get(int index) {
495 return (target instanceof Short)
496 && Shorts.indexOf(array, (Short) target, start, end) != -1;
501 if (target instanceof Short) {
502 int i = Shorts.indexOf(array, (Short) target, start, end);
512 if (target instanceof Short) {
513 int i = Shorts.lastIndexOf(array, (Short) target, start, end);
521 @Override public Short set(int index, Short element) {
529 @Override public List<Short> subList(int fromIndex, int toIndex) {