Home
last modified time | relevance | path

Searched refs:lhs (Results 1 – 8 of 8) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DLinkedHashSetTest.java237 LinkedHashSet<Integer> lhs = new LinkedHashSet<Integer>(); in test_retainAllLjava_util_Collection() local
240 lhs.add(new Integer(1)); in test_retainAllLjava_util_Collection()
241 assertEquals(1, lhs.size()); in test_retainAllLjava_util_Collection()
242 lhs.retainAll(v); in test_retainAllLjava_util_Collection()
243 assertEquals(0, lhs.size()); in test_retainAllLjava_util_Collection()
251 lhs.add(new Integer(1)); in test_retainAllLjava_util_Collection()
252 lhs.add(new Integer(6)); in test_retainAllLjava_util_Collection()
253 lhs.add(new Integer(7)); in test_retainAllLjava_util_Collection()
254 lhs.add(new Integer(8)); in test_retainAllLjava_util_Collection()
255 lhs.add(new Integer(9)); in test_retainAllLjava_util_Collection()
[all …]
/libcore/luni/src/test/java/libcore/util/
DHexEncodingTest.java71 private static void assertArraysEqual(char[] lhs, char[] rhs) { in assertArraysEqual() argument
72 assertEquals(new String(lhs), new String(rhs)); in assertArraysEqual()
75 private static void assertArraysEqual(byte[] lhs, byte[] rhs) { in assertArraysEqual() argument
76 assertEquals(Arrays.toString(lhs), Arrays.toString(rhs)); in assertArraysEqual()
/libcore/luni/src/main/java/java/net/
DAddressCache.java59 AddressCacheKey lhs = (AddressCacheKey) o; in equals() local
60 return mHostname.equals(lhs.mHostname) && mNetId == lhs.mNetId; in equals()
/libcore/benchmarks/src/benchmarks/regression/
DCollectionsBenchmark.java33 public int compare(Integer lhs, Integer rhs) {
34 int lhsAsInt = lhs.intValue();
/libcore/luni/src/main/java/libcore/icu/
DTimeZoneNames.java104 public int compare(String[] lhs, String[] rhs) {
105 return lhs[OLSON_NAME].compareTo(rhs[OLSON_NAME]);
/libcore/luni/src/main/java/java/math/
DBigInteger.java417 BigInt lhs = getBigInt(); in add() local
422 if (lhs.sign() == 0) { in add()
425 return new BigInteger(BigInt.addition(lhs, rhs)); in add()
432 BigInt lhs = getBigInt(); in subtract() local
437 return new BigInteger(BigInt.subtraction(lhs, rhs)); in subtract()
/libcore/luni/src/test/java/libcore/javax/crypto/
DECDHKeyAgreementTest.java447 public int compare(Provider lhs, Provider rhs) { in sortByName()
448 return lhs.getName().compareTo(rhs.getName()); in sortByName()
/libcore/luni/src/test/java/libcore/java/util/
DCollectionsTest.java174 public int compare(Integer lhs, Integer rhs) { in testBinarySearch_comparatorThatReturnsMinAndMaxValue()
175 final int compare = lhs.compareTo(rhs); in testBinarySearch_comparatorThatReturnsMinAndMaxValue()