HomeSort by relevance Sort by last modified time
    Searched defs:Shorts (Results 1 - 10 of 10) sorted by null

  /external/guava/guava-tests/test/com/google/common/primitives/
ShortsTest.java 35 * Unit test for {@link Shorts}.
55 assertEquals(((Short) value).hashCode(), Shorts.hashCode(value));
61 assertEquals(value, Shorts.checkedCast((long) value));
71 assertEquals(value, Shorts.saturatedCast((long) value));
73 assertEquals(GREATEST, Shorts.saturatedCast(GREATEST + 1L));
74 assertEquals(LEAST, Shorts.saturatedCast(LEAST - 1L));
75 assertEquals(GREATEST, Shorts.saturatedCast(Long.MAX_VALUE));
76 assertEquals(LEAST, Shorts.saturatedCast(Long.MIN_VALUE));
81 Shorts.checkedCast(value);
94 int actual = Shorts.compare(x, y)
    [all...]
  /external/guava/guava/src/com/google/common/hash/
MessageDigestHashFunction.java 23 import com.google.common.primitives.Shorts;
94 digest.update(scratch.array(), 0, Shorts.BYTES);
  /external/guava/guava/src/com/google/common/primitives/
Shorts.java 44 public final class Shorts {
45 private Shorts() {}
314 * bytes, in big-endian order; equivalent to {@code Shorts.fromByteArray(new
407 int result = Shorts.compare(left[i], right[i]);
499 && Shorts.indexOf(array, (Short) target, start, end) != -1;
505 int i = Shorts.indexOf(array, (Short) target, start, end);
516 int i = Shorts.lastIndexOf(array, (Short) target, start, end);
563 result = 31 * result + Shorts.hashCode(array[i]);
  /external/guava/guava-gwt/src-super/com/google/common/primitives/super/com/google/common/primitives/
Shorts.java 42 public final class Shorts {
43 private Shorts() {}
355 int result = Shorts.compare(left[i], right[i]);
447 && Shorts.indexOf(array, (Short) target, start, end) != -1;
453 int i = Shorts.indexOf(array, (Short) target, start, end);
464 int i = Shorts.lastIndexOf(array, (Short) target, start, end);
511 result = 31 * result + Shorts.hashCode(array[i]);
  /prebuilts/sdk/tools/lib/
guava-10.0.1.jar 
lint.jar 
lint_api.jar 
lint_checks.jar 
  /prebuilts/misc/common/tradefed/
tradefed-prebuilt.jar 
  /prebuilts/tools/common/guava-tools/
guava-13.0.1.jar 

Completed in 137 milliseconds