Searched defs:rhs (Results 1 - 9 of 9) sorted by relevance
/libcore/luni/src/main/java/java/util/ |
H A D | Comparator.java | 35 * {@code (lhs, rhs)} should form an <i>equivalence relation</i>. 48 * @param rhs 50 * @return an integer < 0 if {@code lhs} is less than {@code rhs}, 0 if they are 51 * equal, and > 0 if {@code lhs} is greater than {@code rhs}. 55 public int compare(T lhs, T rhs); argument
|
/libcore/luni/src/main/java/java/lang/ |
H A D | Boolean.java | 129 * @return 0 if lhs = rhs, less than 0 if lhs < rhs, and greater than 0 if lhs > rhs. 133 public static int compare(boolean lhs, boolean rhs) { argument 134 return lhs == rhs ? 0 : lhs ? 1 : -1;
|
H A D | Byte.java | 114 * @return 0 if lhs = rhs, less than 0 if lhs < rhs, and greater than 0 if lhs > rhs. 117 public static int compare(byte lhs, byte rhs) { argument 118 return lhs > rhs ? 1 : (lhs < rhs ? -1 : 0);
|
H A D | Short.java | 113 * @return 0 if lhs = rhs, less than 0 if lhs < rhs, and greater than 0 if lhs > rhs. 116 public static int compare(short lhs, short rhs) { argument 117 return lhs > rhs ? 1 : (lhs < rhs ? -1 : 0);
|
H A D | Integer.java | 129 * @return 0 if lhs = rhs, less than 0 if lhs < rhs, and greater than 0 130 * if lhs > rhs. 133 public static int compare(int lhs, int rhs) { argument 134 return lhs < rhs ? -1 : (lhs == rhs ? 0 : 1);
|
H A D | Long.java | 116 * @return 0 if lhs = rhs, less than 0 if lhs < rhs, and greater than 0 if lhs > rhs. 119 public static int compare(long lhs, long rhs) { argument 120 return lhs < rhs ? -1 : (lhs == rhs ? 0 : 1);
|
H A D | Character.java | 1580 * @return 0 if lhs = rhs, less than 0 if lhs < rhs, and greater than 0 if lhs > rhs. 1583 public static int compare(char lhs, char rhs) { argument 1584 return lhs - rhs;
|
/libcore/luni/src/main/java/javax/xml/datatype/ |
H A D | Duration.java | 438 * <p>Computes a new duration whose value is <code>this+rhs</code>.</p> 468 * Note that <code>lhs.add(rhs)</code> will be always successful if 469 * <code>lhs.signum()*rhs.signum()!=-1</code> or both of them are 472 * @param rhs <code>Duration</code> to add to this <code>Duration</code> 478 * If the rhs parameter is null. 487 public abstract Duration add(final Duration rhs); argument 565 * <p>Computes a new duration whose value is <code>this-rhs</code>.</p> 599 * @param rhs <code>Duration</code> to subtract from this <code>Duration</code>. 601 * @return New <code>Duration</code> created from subtracting <code>rhs</code> from this <code>Duration</code>. 609 * If the rhs paramete 613 subtract(final Duration rhs) argument [all...] |
/libcore/luni/src/main/java/java/text/ |
H A D | DateFormatSymbols.java | 195 DateFormatSymbols rhs = (DateFormatSymbols) object; 196 return localPatternChars.equals(rhs.localPatternChars) && 197 Arrays.equals(ampms, rhs.ampms) && 198 Arrays.equals(eras, rhs.eras) && 199 Arrays.equals(months, rhs.months) && 200 Arrays.equals(shortMonths, rhs.shortMonths) && 201 Arrays.equals(shortWeekdays, rhs.shortWeekdays) && 202 Arrays.equals(weekdays, rhs.weekdays) && 203 timeZoneStringsEqual(this, rhs); 206 private static boolean timeZoneStringsEqual(DateFormatSymbols lhs, DateFormatSymbols rhs) { argument [all...] |
Completed in 131 milliseconds