Searched refs:other (Results 126 - 150 of 193) sorted by relevance

12345678

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/
H A DReadOnlyCharBufferTest.java128 CharBuffer other = CharBuffer.allocate(1);
130 buf.put(other);
/libcore/ojluni/src/main/java/java/text/
H A DPatternEntry.java73 PatternEntry other = (PatternEntry) obj;
74 boolean result = chars.equals(other.chars);
/libcore/ojluni/src/main/java/sun/security/x509/
H A DDNSName.java149 DNSName other = (DNSName)obj;
153 return name.equalsIgnoreCase(other.name);
H A DRFC822Name.java143 RFC822Name other = (RFC822Name)obj;
147 return name.equalsIgnoreCase(other.name);
H A DX500Name.java43 * This class contains other useful methods for checking name constraints
89 * <li>attribute values in types other than PrintableString are case
399 X500Name other = (X500Name)obj;
401 if ((this.canonicalDn != null) && (other.canonicalDn != null)) {
402 return this.canonicalDn.equals(other.canonicalDn);
406 if (n != other.names.length) {
411 RDN r2 = other.names[i];
418 String otherCanonical = other.getRFC2253CanonicalName();
1237 * OIDs from other sources which show up in X.500 names we
1303 * it is within the subtree of the other
1308 isWithinSubtree(X500Name other) argument
1350 commonAncestor(X500Name other) argument
[all...]
H A DCRLExtensions.java241 * object. If the <code>other</code> object is an
245 * @param other the object to test for equality with this CRLExtensions.
249 public boolean equals(Object other) { argument
250 if (this == other)
252 if (!(other instanceof CRLExtensions))
255 ((CRLExtensions)other).getAllExtensions();
H A DAlgorithmId.java40 * algorithm type, and may also be used in other cases. Equivalence is
84 * @deprecated use one of the other constructors.
228 * be comprehensible on other systems. For example, this might
276 public boolean equals(AlgorithmId other) { argument
278 (params == null ? other.params == null : params.equals(other.params));
279 return (algid.equals((Object)other.algid) && paramsEqual);
287 * @param other preferably an AlgorithmId, else an ObjectIdentifier
289 public boolean equals(Object other) { argument
290 if (this == other) {
[all...]
H A DURIName.java48 * case-sensitive, but other components of the scheme-specific-part may
227 URIName other = (URIName) obj;
229 return uri.equals(other.getURI());
357 // If one is a domain and the other isn't,
H A DX509CertInfo.java56 * certificate revocation and other applications.
178 * @exception IOException on other errors.
242 * @param other the object being compared with this one
245 public boolean equals(Object other) { argument
246 if (other instanceof X509CertInfo) {
247 return equals((X509CertInfo) other);
257 * @param other the object being compared with this one
260 public boolean equals(X509CertInfo other) { argument
261 if (this == other) {
263 } else if (rawCertInfo == null || other
[all...]
/libcore/luni/src/main/java/libcore/util/
H A DZoneInfo.java258 // for en_US, we wouldn't be able to provide correct abbreviations for other locales,
310 // Convert the current time in millis into seconds. Unlike other places that convert
621 ZoneInfo other = (ZoneInfo) timeZone;
622 if (mUseDst != other.mUseDst) {
626 return mRawOffset == other.mRawOffset;
628 return mRawOffset == other.mRawOffset
630 && Arrays.equals(mOffsets, other.mOffsets)
631 && Arrays.equals(mIsDsts, other.mIsDsts)
632 && Arrays.equals(mTypes, other.mTypes)
633 && Arrays.equals(mTransitions, other
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
H A DRuleBasedCollatorTest.java65 RuleBasedCollator other = new RuleBasedCollator(rule);
66 assertTrue(coll.equals(other));
69 assertFalse(coll.equals(other));
73 assertFalse(coll.equals(other));
/libcore/luni/src/test/java/libcore/java/util/
H A DComparatorTest.java189 public int compareTo(Item other) { argument
190 return primaryOrder - other.getOrderAsInt() != 0 ?
191 primaryOrder - other.getOrderAsInt() :
192 secondaryOrder - other.getSecondaryOrderAsInt();
/libcore/ojluni/src/main/java/java/lang/reflect/
H A DField.java200 Field other = (Field)obj;
201 return (getDeclaringClass() == other.getDeclaringClass())
202 && (getName() == other.getName())
203 && (getType() == other.getType());
231 * {@code protected} or {@code private} first, and then other
256 * {@code protected} or {@code private} first, and then other
573 * made available for access by other parts of a program. Use in
574 * any other context may have unpredictable effects, including cases
575 * in which other parts of a program continue to use the original
/libcore/ojluni/src/main/java/java/time/
H A DLocalDate.java44 * and/or other materials provided with the distribution.
494 * All other {@code ChronoField} instances will return false.
528 * All other {@code ChronoUnit} instances will return false.
550 * or for some other reason, an exception is thrown.
555 * All other {@code ChronoField} instances will throw an {@code UnsupportedTemporalTypeException}.
592 * or for some other reason, an exception is thrown.
598 * All other {@code ChronoField} instances will throw an {@code UnsupportedTemporalTypeException}.
626 * or for some other reason, an exception is thrown.
631 * All other {@code ChronoField} instances will throw an {@code UnsupportedTemporalTypeException}.
916 * some other reaso
1859 compareTo(ChronoLocalDate other) argument
1899 isAfter(ChronoLocalDate other) argument
1928 isBefore(ChronoLocalDate other) argument
1957 isEqual(ChronoLocalDate other) argument
[all...]
H A DYear.java44 * and/or other materials provided with the distribution.
351 * All other {@code ChronoField} instances will return false.
385 * All other {@code ChronoUnit} instances will return false.
410 * or for some other reason, an exception is thrown.
415 * All other {@code ChronoField} instances will throw an {@code UnsupportedTemporalTypeException}.
441 * or for some other reason, an exception is thrown.
446 * All other {@code ChronoField} instances will throw an {@code UnsupportedTemporalTypeException}.
471 * or for some other reason, an exception is thrown.
476 * All other {@code ChronoField} instances will throw an {@code UnsupportedTemporalTypeException}.
577 * some other reaso
1017 compareTo(Year other) argument
1027 isAfter(Year other) argument
1037 isBefore(Year other) argument
[all...]
/libcore/ojluni/src/main/java/java/time/chrono/
H A DChronoLocalDateImpl.java39 * and/or other materials provided with the distribution.
136 * This abstract class must be implemented with care to ensure other classes operate correctly.
162 D other = (D) temporal;
163 if (chrono.equals(other.getChronology()) == false) {
164 throw new ClassCastException("Chronology mismatch, expected: " + chrono.getId() + ", actual: " + other.getChronology().getId());
166 return other;
234 * If this occurs, then other fields, typically the day-of-month, will be adjusted to ensure
250 * If this occurs, then other fields, typically the day-of-month, will be adjusted to ensure
266 * If this occurs, then other fields will be adjusted to ensure that the result is valid.
299 * If this occurs, then other field
[all...]
H A DChronoPeriodImpl.java39 * and/or other materials provided with the distribution.
325 ChronoPeriodImpl other = (ChronoPeriodImpl) obj;
326 return years == other.years && months == other.months &&
327 days == other.days && chrono.equals(other.chrono);
H A DChronoZonedDateTimeImpl.java44 * and/or other materials provided with the distribution.
202 ChronoZonedDateTimeImpl<R> other = (ChronoZonedDateTimeImpl<R>) temporal;
203 if (chrono.equals(other.getChronology()) == false) {
205 + ", actual: " + other.getChronology().getId());
207 return other;
/libcore/ojluni/src/main/java/sun/util/locale/
H A DLocaleExtensions.java233 public boolean equals(Object other) { argument
234 if (this == other) {
237 if (!(other instanceof LocaleExtensions)) {
240 return id.equals(((LocaleExtensions)other).id);
/libcore/tzdata/testing/
H A DAndroid.mk17 # Library of test-support classes for tzdata updates. Shared between CTS and other tests.
28 # Library of test-support classes for tzdata updates. Shared between CTS and other tests.
/libcore/ojluni/src/main/java/java/util/concurrent/
H A DCompletableFuture.java63 * completes the current CompletableFuture, or by any other caller of
80 * other public methods, so the behavior of one method is not impacted
107 * null, but passing a null value for any other parameter will result
216 * volatile because they are only visible to other threads upon
2049 CompletionStage<? extends U> other,
2051 return biApplyStage(null, other, fn);
2055 CompletionStage<? extends U> other,
2057 return biApplyStage(defaultExecutor(), other, fn);
2061 CompletionStage<? extends U> other,
2063 return biApplyStage(screenExecutor(executor), other, f
2048 thenCombine( CompletionStage<? extends U> other, BiFunction<? super T,? super U,? extends V> fn) argument
2054 thenCombineAsync( CompletionStage<? extends U> other, BiFunction<? super T,? super U,? extends V> fn) argument
2060 thenCombineAsync( CompletionStage<? extends U> other, BiFunction<? super T,? super U,? extends V> fn, Executor executor) argument
2066 thenAcceptBoth( CompletionStage<? extends U> other, BiConsumer<? super T, ? super U> action) argument
2072 thenAcceptBothAsync( CompletionStage<? extends U> other, BiConsumer<? super T, ? super U> action) argument
2078 thenAcceptBothAsync( CompletionStage<? extends U> other, BiConsumer<? super T, ? super U> action, Executor executor) argument
2084 runAfterBoth(CompletionStage<?> other, Runnable action) argument
2089 runAfterBothAsync(CompletionStage<?> other, Runnable action) argument
2094 runAfterBothAsync(CompletionStage<?> other, Runnable action, Executor executor) argument
2100 applyToEither( CompletionStage<? extends T> other, Function<? super T, U> fn) argument
2105 applyToEitherAsync( CompletionStage<? extends T> other, Function<? super T, U> fn) argument
2110 applyToEitherAsync( CompletionStage<? extends T> other, Function<? super T, U> fn, Executor executor) argument
2116 acceptEither( CompletionStage<? extends T> other, Consumer<? super T> action) argument
2121 acceptEitherAsync( CompletionStage<? extends T> other, Consumer<? super T> action) argument
2126 acceptEitherAsync( CompletionStage<? extends T> other, Consumer<? super T> action, Executor executor) argument
2132 runAfterEither(CompletionStage<?> other, Runnable action) argument
2137 runAfterEitherAsync(CompletionStage<?> other, Runnable action) argument
2142 runAfterEitherAsync(CompletionStage<?> other, Runnable action, Executor executor) argument
[all...]
/libcore/jsr166-tests/src/test/java/jsr166/
H A DConcurrentHashMapTest.java61 public int compareTo(BI other) { argument
62 return compare(value, other.value);
75 public int compareTo(BS other) { argument
76 return value.compareTo(other.value);
88 public int compareTo(LexicographicList<E> other) { argument
89 int common = Math.min(size(), other.size());
92 if ((r = get(i).compareTo(other.get(i))) != 0)
96 r = compare(size(), other.size());
/libcore/luni/src/test/java/libcore/java/lang/invoke/
H A DCallSitesTest.java119 final MethodHandle other = MethodHandles.lookup().findStatic(
123 site.setTarget(other);
/libcore/ojluni/src/main/java/javax/security/auth/x500/
H A DX500Principal.java112 * Any other attribute type must be specified as an OID.
303 * Any other attribute type is emitted as an OID.
308 * Any other attribute type is emitted as an OID.
324 * other than PrintableString and UTF8String
388 * by other implementations; therefore do not use this method if
389 * you are unsure if these keywords will be recognized by other
474 X500Principal other = (X500Principal)o;
475 return this.thisX500Name.equals(other.thisX500Name);
/libcore/ojluni/src/main/java/java/util/logging/
H A DLevel.java604 Level other = level.mirroredLevel;
606 if (l.value == other.value &&
607 (l.resourceBundleName == other.resourceBundleName ||
609 l.resourceBundleName.equals(other.resourceBundleName)))) {

Completed in 4017 milliseconds

12345678