Searched refs:other (Results 76 - 100 of 192) sorted by relevance

12345678

/libcore/ojluni/src/main/java/sun/security/x509/
H A DOIDName.java121 OIDName other = (OIDName)obj;
123 return oid.equals((Object)other.oid);
H A DGeneralSubtree.java144 * @param other GeneralSubtree to compare to this
147 public boolean equals(Object other) { argument
148 if (!(other instanceof GeneralSubtree))
150 GeneralSubtree otherGS = (GeneralSubtree)other;
H A DExtension.java254 * object. If the <code>other</code> object is an
259 * @param other the object to test for equality with this Extension.
260 * @return true iff the other object is of type Extension, and the
264 public boolean equals(Object other) { argument
265 if (this == other)
267 if (!(other instanceof Extension))
269 Extension otherExt = (Extension) other;
H A DGeneralName.java195 * @param other GeneralName to compare to this
198 public boolean equals(Object other) { argument
199 if (this == other) {
202 if (!(other instanceof GeneralName))
204 GeneralNameInterface otherGNI = ((GeneralName)other).name;
H A DOtherName.java171 public boolean equals(Object other) { argument
172 if (this == other) {
175 if (!(other instanceof OtherName)) {
178 OtherName otherOther = (OtherName)other;
/libcore/ojluni/src/main/java/java/time/
H A DOffsetTime.java44 * and/or other materials provided with the distribution.
216 * Non test-code will typically use other methods to create an offset time.
378 * All other {@code ChronoField} instances will return false.
414 * All other {@code ChronoUnit} instances will return false.
439 * or for some other reason, an exception is thrown.
444 * All other {@code ChronoField} instances will throw an {@code UnsupportedTemporalTypeException}.
473 * or for some other reason, an exception is thrown.
479 * All other {@code ChronoField} instances will throw an {@code UnsupportedTemporalTypeException}.
504 * or for some other reason, an exception is thrown.
509 * All other {
1258 compareTo(OffsetTime other) argument
1281 isAfter(OffsetTime other) argument
1296 isBefore(OffsetTime other) argument
1311 isEqual(OffsetTime other) argument
[all...]
/libcore/ojluni/src/main/java/java/lang/reflect/
H A DMethod.java243 Method other = (Method)obj;
244 if ((getDeclaringClass() == other.getDeclaringClass())
245 && (getName() == other.getName())) {
247 if (!getReturnType().equals(other.getReturnType()))
250 return equalParamTypes(getParameterTypes(), other.getParameterTypes());
283 * and then other modifiers in the following order:
334 * and then other modifiers in the following order:
385 * other words, an array of primitive type is returned. If the
519 * one method's return types is assignable to the other.
H A DConstructor.java195 Constructor<?> other = (Constructor<?>)obj;
196 if (getDeclaringClass() == other.getDeclaringClass()) {
198 return equalParamTypes(getParameterTypes(), other.getParameterTypes());
/libcore/ojluni/src/main/java/java/time/format/
H A DDecimalStyle.java44 * and/or other materials provided with the distribution.
345 * @return true if this is equal to the other date
353 DecimalStyle other = (DecimalStyle) obj;
354 return (zeroDigit == other.zeroDigit && positiveSign == other.positiveSign &&
355 negativeSign == other.negativeSign && decimalSeparator == other.decimalSeparator);
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
H A DCertId.java198 * @param other the object to test for equality with this object.
201 @Override public boolean equals(Object other) { argument
202 if (this == other) {
205 if (other == null || (!(other instanceof CertId))) {
209 CertId that = (CertId) other;
/libcore/dalvik/src/main/java/dalvik/system/
H A DEmulatedStackFrame.java209 * EmulatedStackFrame {@code other}, with references starting at {@code referencesStart}
212 public void copyRangeTo(EmulatedStackFrame other, Range fromRange, int referencesStart, argument
216 other.references, referencesStart, fromRange.numReferences);
221 other.stackFrame, primitivesStart, fromRange.numBytes);
226 * Copies the return value from this stack frame to {@code other}.
228 public void copyReturnValueTo(EmulatedStackFrame other) { argument
231 other.references[other.references.length - 1] = references[references.length - 1];
234 other.stackFrame, other
[all...]
/libcore/ojluni/src/main/java/java/time/zone/
H A DZoneOffsetTransitionRule.java44 * and/or other materials provided with the distribution.
509 * @param otherRule the other object to compare to, null returns false
518 ZoneOffsetTransitionRule other = (ZoneOffsetTransitionRule) otherRule;
519 return month == other.month && dom == other.dom && dow == other.dow &&
520 timeDefinition == other.timeDefinition &&
521 time.equals(other.time) &&
522 timeEndOfDay == other.timeEndOfDay &&
523 standardOffset.equals(other
[all...]
H A DZoneOffsetTransition.java44 * and/or other materials provided with the distribution.
409 * @param other the other object to compare to, null returns false
413 public boolean equals(Object other) { argument
414 if (other == this) {
417 if (other instanceof ZoneOffsetTransition) {
418 ZoneOffsetTransition d = (ZoneOffsetTransition) other;
/libcore/ojluni/src/main/java/java/text/
H A DChoiceFormat.java63 * <code>ChoiceFormat</code> differs from the other <code>Format</code>
476 ChoiceFormat other = (ChoiceFormat) super.clone();
478 other.choiceLimits = choiceLimits.clone();
479 other.choiceFormats = choiceFormats.clone();
480 return other;
504 ChoiceFormat other = (ChoiceFormat) obj;
505 return (Arrays.equals(choiceLimits, other.choiceLimits)
506 && Arrays.equals(choiceFormats, other.choiceFormats));
H A DNumberFormat.java146 * <li> align the decimal point and other areas
213 * and {@link java.lang.Number#doubleValue()} for all other types. It
590 NumberFormat other = (NumberFormat) obj;
591 return (maximumIntegerDigits == other.maximumIntegerDigits
592 && minimumIntegerDigits == other.minimumIntegerDigits
593 && maximumFractionDigits == other.maximumFractionDigits
594 && minimumFractionDigits == other.minimumFractionDigits
595 && groupingUsed == other.groupingUsed
596 && parseIntegerOnly == other.parseIntegerOnly);
604 NumberFormat other
[all...]
H A DCollator.java59 * Like other locale-sensitive classes, you can use the static
108 * against other <code>CollationKey</code>s. A <code>CollationKey</code> is
282 * to other CollationKeys. CollationKeys provide better performance than
467 Collator other = (Collator) that;
469 return icuColl == null ? other.icuColl == null : icuColl.equals(other.icuColl);
H A DDecimalFormatSymbols.java586 // other fields are bit-copied
600 DecimalFormatSymbols other = (DecimalFormatSymbols) obj;
601 return (zeroDigit == other.zeroDigit &&
602 groupingSeparator == other.groupingSeparator &&
603 decimalSeparator == other.decimalSeparator &&
604 percent == other.percent &&
605 perMill == other.perMill &&
606 digit == other.digit &&
607 minusSign == other.minusSign &&
608 patternSeparator == other
[all...]
/libcore/ojluni/src/main/java/java/util/
H A DTimeZone.java121 * For compatibility with JDK 1.1.x, some other three-letter time zone IDs
293 * Sets the time zone ID. This does not change any other data in
752 * if the other zone is null.
753 * @param other the <code>TimeZone</code> object to be compared with
754 * @return true if the other zone is not null and is the same as this one,
758 public boolean hasSameRules(TimeZone other) { argument
759 return other != null && getRawOffset() == other.getRawOffset() &&
760 useDaylightTime() == other.useDaylightTime();
771 TimeZone other
[all...]
/libcore/ojluni/src/main/java/sun/nio/ch/
H A DSocketOptionRegistry.java50 RegistryKey other = (RegistryKey)ob;
51 if (this.name != other.name) return false;
52 if (this.family != other.family) return false;
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/
H A DCharBufferTest.java194 CharBuffer other = CharBuffer.allocate(buf.capacity());
195 other.put(buf);
196 other.clear();
198 assertEquals(0, buf.compareTo(other));
199 assertEquals(0, other.compareTo(buf));
201 assertTrue(buf.compareTo(other) > 0);
202 assertTrue(other.compareTo(buf) < 0);
203 other.position(2);
204 assertTrue(buf.compareTo(other) < 0);
205 assertTrue(other
841 assertContentEquals(CharBuffer buf, CharBuffer other) argument
[all...]
H A DReadOnlyDoubleBufferTest.java125 DoubleBuffer other = DoubleBuffer.allocate(1);
127 buf.put(other);
H A DReadOnlyFloatBufferTest.java126 FloatBuffer other = FloatBuffer.allocate(1);
128 buf.put(other);
H A DReadOnlyIntBufferTest.java126 IntBuffer other = IntBuffer.allocate(1);
128 buf.put(other);
H A DReadOnlyLongBufferTest.java126 LongBuffer other = LongBuffer.allocate(1);
128 buf.put(other);
H A DReadOnlyShortBufferTest.java126 ShortBuffer other = ShortBuffer.allocate(1);
128 buf.put(other);

Completed in 299 milliseconds

12345678