/libcore/luni/src/main/java/libcore/reflect/ |
H A D | AnnotationFactory.java | 187 AnnotationFactory other = (AnnotationFactory) handler; 188 if (elements.length != other.elements.length) { 192 for (AnnotationMember el2 : other.elements) {
|
/libcore/ojluni/src/main/java/java/sql/ |
H A D | DriverManager.java | 610 public boolean equals(Object other) { argument 611 return (other instanceof DriverInfo) 612 && this.driver == ((DriverInfo) other).driver;
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
H A D | UnixFileStore.java | 187 UnixFileStore other = (UnixFileStore)ob; 188 return (this.dev == other.dev) && 189 Arrays.equals(this.entry.dir(), other.entry.dir());
|
/libcore/ojluni/src/main/java/java/text/ |
H A D | DecimalFormat.java | 73 * <code>NumberFormat</code> factory methods may return subclasses other than 138 * minimal digits, and other characteristics are all the same as the positive 165 * other hand, stand for other characters, strings, or classes of characters. 1191 DecimalFormat other = (DecimalFormat) super.clone(); 1192 other.icuDecimalFormat = (android.icu.text.DecimalFormat_ICU58_Android) icuDecimalFormat.clone(); 1193 other.symbols = (DecimalFormatSymbols) symbols.clone(); 1194 return other; 1217 DecimalFormat other = (DecimalFormat) obj; 1218 return icuDecimalFormat.equals(other 1222 compareIcuRoundingIncrement(android.icu.text.DecimalFormat_ICU58_Android other) argument [all...] |
H A D | DateFormatSymbols.java | 217 * All other entries are localized names. 606 * All other entries are localized names. If a zone does not implement 642 * All other entries are localized names. 725 DateFormatSymbols other = (DateFormatSymbols)super.clone(); 726 copyMembers(this, other); 727 return other;
|
H A D | AttributedString.java | 805 AttributedStringIterator other = (AttributedStringIterator) super.clone(); 806 return other; 1109 AttributeEntry other = (AttributeEntry) o; 1110 return other.key.equals(key) && 1111 (value == null ? other.value == null : other.value.equals(value));
|
/libcore/ojluni/src/main/java/java/time/zone/ |
H A D | ZoneRules.java | 44 * and/or other materials provided with the distribution. 985 * @param otherRules the other rules, null returns false 994 ZoneRules other = (ZoneRules) otherRules; 995 return Arrays.equals(standardTransitions, other.standardTransitions) && 996 Arrays.equals(standardOffsets, other.standardOffsets) && 997 Arrays.equals(savingsInstantTransitions, other.savingsInstantTransitions) && 998 Arrays.equals(wallOffsets, other.wallOffsets) && 999 Arrays.equals(lastRules, other.lastRules);
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
H A D | RDN.java | 300 RDN other = (RDN)obj; 301 if (this.assertion.length != other.assertion.length) { 305 String otherCanon = other.toRFC2253String(true);
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
H A D | DelayQueueTest.java | 69 public int compareTo(PDelay other) { argument 71 int b = other.pseudodelay; 77 public boolean equals(Object other) { argument 78 return (other instanceof PDelay) && 79 this.pseudodelay == ((PDelay)other).pseudodelay; 111 public boolean equals(Object other) { argument 112 return equals((NanoDelay)other); 114 public boolean equals(NanoDelay other) { argument 115 return other.trigger == trigger;
|
/libcore/ojluni/src/main/java/java/time/ |
H A D | Period.java | 44 * and/or other materials provided with the distribution. 245 * If any other units are found then an exception is thrown. 301 * The leading plus/minus sign, and negative values for other units are 418 * All other units throw an exception. 979 * @return true if this is equal to the other period 987 Period other = (Period) obj; 988 return years == other.years && 989 months == other.months && 990 days == other.days;
|
H A D | ZoneId.java | 44 * and/or other materials provided with the distribution. 110 * The distinction has other effects. Serializing the {@code ZoneId} will only send 142 * TZDB IDs take precedence over other groups. 145 * groups other than TZDB to avoid conflicts. For example, IATA airline time-zone 148 * The recommended format for region IDs from groups other than TZDB is 'group~region'. 167 * One implementation models region-based IDs, the other is {@code ZoneOffset} modelling 338 * <li>All other IDs are parsed as region-based zone IDs. Region IDs must 590 * @return true if this is equal to the other time-zone ID 598 ZoneId other = (ZoneId) obj; 599 return getId().equals(other [all...] |
H A D | Instant.java | 44 * and/or other materials provided with the distribution. 140 * introduce other changes. 440 * All other {@code ChronoField} instances will return false. 477 * All other {@code ChronoUnit} instances will return false. 502 * or for some other reason, an exception is thrown. 507 * All other {@code ChronoField} instances will throw an {@code UnsupportedTemporalTypeException}. 530 * or for some other reason, an exception is thrown. 536 * All other {@code ChronoField} instances will throw an {@code UnsupportedTemporalTypeException}. 570 * or for some other reason, an exception is thrown. 575 * All other { [all...] |
H A D | ZoneOffset.java | 44 * and/or other materials provided with the distribution. 111 * standard ISO definitions of those fields. This class may be used with other 512 * All other {@code ChronoField} instances will return false. 536 * or for some other reason, an exception is thrown. 541 * All other {@code ChronoField} instances will throw an {@code UnsupportedTemporalTypeException}. 564 * or for some other reason, an exception is thrown. 568 * All other {@code ChronoField} instances will throw an {@code UnsupportedTemporalTypeException}. 598 * or for some other reason, an exception is thrown. 602 * All other {@code ChronoField} instances will throw an {@code UnsupportedTemporalTypeException}. 692 * @param other th 697 compareTo(ZoneOffset other) argument [all...] |
/libcore/ojluni/src/main/java/java/time/chrono/ |
H A D | ChronoLocalDateTimeImpl.java | 44 * and/or other materials provided with the distribution. 87 * viewed as year-month-day-hour-minute-second. This object can also access other 188 ChronoLocalDateTimeImpl<R> other = (ChronoLocalDateTimeImpl<R>) temporal; 189 if (chrono.equals(other.getChronology()) == false) { 191 + ", actual: " + other.getChronology().getId()); 193 return other;
|
/libcore/ojluni/src/main/java/java/util/ |
H A D | Calendar.java | 72 * Like other locale-sensitive classes, <code>Calendar</code> provides a 215 * <code>set()</code>, other calendar fields may also change, depending on the 246 * <code>f</code> is changed or other constraints, such as time zone 320 // uses that to compute any other information as needed. 966 // as well as compatible values for other fields. This is a 983 * as well as compatible values for other fields. This is a 1025 * href="Calendar.html#Epoch">Epoch</a>. The other is to set individual 1877 * Previous values of other calendar fields are retained. If this is not desired, 1899 * Previous values of other fields are retained. If this is not desired, 1925 * Previous values of other field [all...] |
H A D | Locale.java | 173 * <code>SUBTAG = [0-9a-zA-Z]{1,8}</code> and for other keys 415 * these) cause a constructor to generate an extension, all other values behave 714 * old codes ("iw", "ji", and "in") and the new codes ("he", "yi", and "id"), but all other 748 * old codes ("iw", "ji", and "in") and the new codes ("he", "yi", and "id"), but all other 773 * old codes ("iw", "ji", and "in") and the new codes ("he", "yi", and "id"), but all other 870 LocaleKey other = (LocaleKey)obj; 871 if (hash != other.hash || !base.equals(other.base)) { 875 return other.exts == null; 877 return exts.equals(other [all...] |
H A D | SimpleTimeZone.java | 585 * not use the result of this method with a calendar other than a 699 // may be in the other calendar system. 706 // may be in the other calendar system. 908 * @param other the TimeZone object to be compared with 913 public boolean hasSameRules(TimeZone other) { argument 914 if (this == other) { 917 if (!(other instanceof SimpleTimeZone)) { 920 SimpleTimeZone that = (SimpleTimeZone) other; 1111 * saving time. If this value is false, several other fields are ignored. 1470 * day-of-week-in-month rules, we must modify other mode [all...] |
/libcore/ojluni/src/main/java/sun/security/util/ |
H A D | ObjectIdentifier.java | 45 * hierarchy, and other organizations can easily acquire the ability 83 * (ignoring the other 2 fields) and inits correctly. 331 public boolean equals(ObjectIdentifier other) { argument 332 return equals((Object)other); 348 ObjectIdentifier other = (ObjectIdentifier)obj; 349 return Arrays.equals(encoding, other.encoding); 490 * The first 2 bits of the output bytes are unused bits. The other bits 527 & ((1 << (count))-1)) // zero out all other bits
|
H A D | Cache.java | 192 EqualByteArray other = (EqualByteArray)obj; 193 return Arrays.equals(this.b, other.b);
|
/libcore/luni/src/test/java/libcore/java/lang/ |
H A D | ThreadTest.java | 135 Thread other = new Thread(); 136 assertSame(Thread.currentThread().getContextClassLoader(), other.getContextClassLoader());
|
/libcore/luni/src/test/java/libcore/java/math/ |
H A D | BigDecimalTest.java | 120 BigDecimal other = valueOf(999999998000000001.00); 121 other = other.setScale(2, RoundingMode.HALF_EVEN); 123 assertFalse(zero.equals(other)); 124 assertFalse(other.equals(zero));
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
H A D | ScheduledThreadPoolExecutor.java | 244 public int compareTo(Delayed other) { argument 245 if (other == this) // compare zero if same object 247 if (other instanceof ScheduledFutureTask) { 248 ScheduledFutureTask<?> x = (ScheduledFutureTask<?>)other; 259 long diff = getDelay(NANOSECONDS) - other.getDelay(NANOSECONDS); 437 * CPU. But on the other hand, if we set the value too high, and 534 * Long.MAX_VALUE of each other, to avoid overflow in compareTo. 536 * not yet been, while some other task is added with a delay of 871 * other kinds of tasks or work queues), so are uniquely 887 * other thread [all...] |
/libcore/ojluni/src/main/java/java/net/ |
H A D | HttpCookie.java | 741 * @return {@code true} if two HTTP cookies equal to each other; 750 HttpCookie other = (HttpCookie)obj; 756 return equalsIgnoreCase(getName(), other.getName()) && 757 equalsIgnoreCase(getDomain(), other.getDomain()) && 758 Objects.equals(getPath(), other.getPath());
|
/libcore/ojluni/src/main/java/java/lang/ |
H A D | String.java | 78 * other objects to strings. String concatenation is implemented 165 * the same sequence of characters as the argument; in other words, the 817 * getChars without bounds checks, for use by other classes 1149 * other string. In this case, {@code compareTo} returns the 1249 * of the argument other. The result is true if these substrings 1252 * and has length {@code len}. The substring of other to be compared 1260 * <li>{@code ooffset+len} is greater than the length of the other 1264 * {@code this.charAt(toffset + }<i>k</i>{@code ) != other.charAt(ooffset + } 1269 * @param other the string argument. 1277 public boolean regionMatches(int toffset, String other, in argument 1345 regionMatches(boolean ignoreCase, int toffset, String other, int ooffset, int len) argument [all...] |
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/ |
H A D | NodeImpl.java | 39 * <p>Some fields have package visibility so other classes can access them while 388 public short compareDocumentPosition(Node other) argument 440 public boolean isSameNode(Node other) { argument 441 return this == other;
|