Searched refs:other (Results 101 - 125 of 193) sorted by relevance

12345678

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/
H A DReadOnlyShortBufferTest.java126 ShortBuffer other = ShortBuffer.allocate(1);
128 buf.put(other);
H A DWrappedCharBufferTest2.java109 CharBuffer other = CharBuffer.allocate(1);
111 buf.put(other);
/libcore/luni/src/main/java/org/w3c/dom/
H A DNode.java424 * clone or not. Cloning any other type of node simply returns a copy of
481 * <br>For nodes of any type other than <code>ELEMENT_NODE</code> and
508 * <br>For nodes of any type other than <code>ELEMENT_NODE</code> and
530 * <br>For nodes of any type other than <code>ELEMENT_NODE</code> and
555 * <br>For nodes of any type other than <code>ELEMENT_NODE</code> and
619 * @param other The node to compare against the reference node.
628 public short compareDocumentPosition(Node other) argument
737 * @param other The node to test against.
742 public boolean isSameNode(Node other); argument
803 * the other ma
[all...]
/libcore/ojluni/src/main/java/java/text/
H A DStringCharacterIterator.java108 * method is used by other java.text classes that want to avoid allocating
272 StringCharacterIterator other
274 return other;
H A DMessageFormat.java64 * <code>MessageFormat</code> differs from the other <code>Format</code>
223 * In real internationalized programs, the message format pattern and other
482 // throw away other segments
499 // fall through, so we keep quotes in other parts
1087 MessageFormat other = (MessageFormat) super.clone();
1090 other.formats = formats.clone(); // shallow clone
1093 other.formats[i] = (Format)formats[i].clone();
1096 other.offsets = offsets.clone();
1097 other.argumentNumbers = argumentNumbers.clone();
1099 return other;
[all...]
/libcore/ojluni/src/main/java/sun/nio/fs/
H A DUtil.java110 static <E> Set<E> newSet(Set<E> other, E... elements) { argument
111 HashSet<E> set = new HashSet<>(other);
/libcore/ojluni/src/main/java/sun/security/util/
H A DDerInputBuffer.java97 public boolean equals(Object other) { argument
98 if (other instanceof DerInputBuffer)
99 return equals((DerInputBuffer)other);
104 boolean equals(DerInputBuffer other) { argument
105 if (this == other)
109 if (other.available() != max)
112 if (this.buf[this.pos + i] != other.buf[other.pos + i]) {
H A DDerValue.java167 * These values are the high order bits for the other kinds of tags.
762 * Returns true iff the other object is a DER value which
765 * @param other the object being compared with this one
767 public boolean equals(Object other) { argument
768 if (other instanceof DerValue)
769 return equals((DerValue)other);
779 * @param other the object being compared with this one
781 public boolean equals(DerValue other) { argument
782 if (this == other) {
785 if (tag != other
[all...]
/libcore/ojluni/src/main/java/java/time/
H A DOffsetDateTime.java44 * and/or other materials provided with the distribution.
164 * @param datetime2 the other date-time to compare to, not null
280 * Non test-code will typically use other methods to create an offset time.
467 * All other {@code ChronoField} instances will return false.
508 * All other {@code ChronoUnit} instances will return false.
533 * or for some other reason, an exception is thrown.
538 * All other {@code ChronoField} instances will throw an {@code UnsupportedTemporalTypeException}.
567 * or for some other reason, an exception is thrown.
574 * All other {@code ChronoField} instances will throw an {@code UnsupportedTemporalTypeException}.
608 * or for some other reaso
1796 compareTo(OffsetDateTime other) argument
1815 isAfter(OffsetDateTime other) argument
1832 isBefore(OffsetDateTime other) argument
1849 isEqual(OffsetDateTime other) argument
[all...]
H A DYearMonth.java44 * and/or other materials provided with the distribution.
337 * All other {@code ChronoField} instances will return false.
373 * All other {@code ChronoUnit} instances will return false.
398 * or for some other reason, an exception is thrown.
403 * All other {@code ChronoField} instances will throw an {@code UnsupportedTemporalTypeException}.
429 * or for some other reason, an exception is thrown.
435 * All other {@code ChronoField} instances will throw an {@code UnsupportedTemporalTypeException}.
460 * or for some other reason, an exception is thrown.
465 * All other {@code ChronoField} instances will throw an {@code UnsupportedTemporalTypeException}.
634 * some other reaso
1121 compareTo(YearMonth other) argument
1135 isAfter(YearMonth other) argument
1145 isBefore(YearMonth other) argument
[all...]
H A DLocalDateTime.java44 * and/or other materials provided with the distribution.
557 * All other {@code ChronoField} instances will return false.
602 * All other {@code ChronoUnit} instances will return false.
624 * or for some other reason, an exception is thrown.
629 * All other {@code ChronoField} instances will throw an {@code UnsupportedTemporalTypeException}.
656 * or for some other reason, an exception is thrown.
663 * All other {@code ChronoField} instances will throw an {@code UnsupportedTemporalTypeException}.
692 * or for some other reason, an exception is thrown.
697 * All other {@code ChronoField} instances will throw an {@code UnsupportedTemporalTypeException}.
930 * some other reaso
1813 compareTo(ChronoLocalDateTime<?> other) argument
1820 compareTo0(LocalDateTime other) argument
1850 isAfter(ChronoLocalDateTime<?> other) argument
1879 isBefore(ChronoLocalDateTime<?> other) argument
1908 isEqual(ChronoLocalDateTime<?> other) argument
[all...]
H A DLocalTime.java44 * and/or other materials provided with the distribution.
500 * All other {@code ChronoField} instances will return false.
536 * All other {@code ChronoUnit} instances will return false.
561 * or for some other reason, an exception is thrown.
566 * All other {@code ChronoField} instances will throw an {@code UnsupportedTemporalTypeException}.
589 * or for some other reason, an exception is thrown.
595 * All other {@code ChronoField} instances will throw an {@code UnsupportedTemporalTypeException}.
623 * or for some other reason, an exception is thrown.
628 * All other {@code ChronoField} instances will throw an {@code UnsupportedTemporalTypeException}.
751 * some other reaso
1477 compareTo(LocalTime other) argument
1500 isAfter(LocalTime other) argument
1513 isBefore(LocalTime other) argument
[all...]
/libcore/ojluni/src/main/java/java/nio/file/attribute/
H A DFileTime.java328 * @param other
329 * the other {@code FileTime} to be compared
331 * @return {@code 0} if this {@code FileTime} is equal to {@code other}, a
333 * that is before {@code other}, and a value greater than 0 if this
334 * {@code FileTime} represents a time that is after {@code other}
337 public int compareTo(FileTime other) { argument
339 if (unit != null && unit == other.unit) {
340 return Long.compare(value, other.value);
344 long secsOther = other.toInstant().getEpochSecond();
349 cmp = Long.compare(toInstant().getNano(), other
[all...]
H A DAclEntry.java347 AclEntry other = (AclEntry)ob;
348 if (this.type != other.type)
350 if (!this.who.equals(other.who))
352 if (!this.perms.equals(other.perms))
354 if (!this.flags.equals(other.flags))
/libcore/luni/src/test/java/libcore/java/text/
H A DCollatorTest.java101 RuleBasedCollator other = new RuleBasedCollator(rule);
102 assertTrue(coll.equals(other));
105 assertFalse(coll.equals(other));
109 other.setDecomposition(Collator.NO_DECOMPOSITION); // See comment above.
110 assertFalse(coll.equals(other));
/libcore/ojluni/src/main/java/sun/misc/
H A DFDBigInteger.java935 * >0: this > other
936 * 0: this == other
937 * <0: this < other
940 * @param other The <code>FDBigInteger</code> to compare.
945 @ ensures \result == (this.value() < other.value() ? -1 : this.value() > other.value() ? +1 : 0);
947 public /*@ pure @*/ int cmp(FDBigInteger other) { argument
949 int bSize = other.nWords + other.offset;
956 int bLen = other
1153 mult(FDBigInteger other) argument
1181 add(FDBigInteger other) argument
[all...]
/libcore/ojluni/src/main/java/sun/security/x509/
H A DCertificateExtensions.java292 * object. If the <code>other</code> object is an
296 * @param other the object to test for equality with this
301 public boolean equals(Object other) { argument
302 if (this == other)
304 if (!(other instanceof CertificateExtensions))
307 ((CertificateExtensions)other).getAllExtensions();
329 ((CertificateExtensions)other).getUnparseableExtensions());
H A DDistributionPoint.java334 DistributionPoint other = (DistributionPoint)obj;
336 boolean equal = Objects.equals(this.fullName, other.fullName)
337 && Objects.equals(this.relativeName, other.relativeName)
338 && Objects.equals(this.crlIssuer, other.crlIssuer)
339 && Arrays.equals(this.reasonFlags, other.reasonFlags);
H A DPolicyInformation.java125 * @param other object to be compared with this
128 public boolean equals(Object other) { argument
129 if (!(other instanceof PolicyInformation))
131 PolicyInformation piOther = (PolicyInformation)other;
H A DIPAddressName.java320 byte[] other = ((IPAddressName)obj).getBytes();
322 if (other.length != address.length)
333 maskedOther[i] = (byte)(other[i] & other[i+maskLen]);
340 if (address[i] != other[i])
346 return Arrays.equals(other, address);
410 // See if one address fully encloses the other address
448 // Mask this address by other address mask and compare to other address
449 // If all match, then this address is in other addres
[all...]
/libcore/ojluni/src/main/java/java/io/
H A DObjectStreamField.java254 ObjectStreamField other = (ObjectStreamField) obj;
256 if (isPrim != other.isPrimitive()) {
259 return name.compareTo(other.name);
/libcore/ojluni/src/main/java/java/lang/reflect/
H A DParameter.java81 Parameter other = (Parameter)obj;
82 return (other.executable.equals(executable) &&
83 other.index == index);
302 // Only annotations on classes are inherited, for all other
313 // Only annotations on classes are inherited, for all other
/libcore/ojluni/src/main/java/java/util/
H A DComparator.java153 * Indicates whether some other object is &quot;equal to&quot; this
191 * {@code compare(a, b) == 0}, {@code other} is used to determine the order.
206 * @param other the other comparator to be used when this comparator
209 * other comparator
213 default Comparator<T> thenComparing(Comparator<? super T> other) { argument
214 Objects.requireNonNull(other);
217 return (res != 0) ? res : other.compare(c1, c2);
/libcore/ojluni/src/main/java/sun/security/jca/
H A DProviderConfig.java146 ProviderConfig other = (ProviderConfig)obj;
147 return this.className.equals(other.className)
148 && this.argument.equals(other.argument);
203 * throws a ProviderException. All other Exceptions are ignored.
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
H A DStringReaderTest.java156 Thread other = new Thread(new Runnable() {
166 other.start();

Completed in 6464 milliseconds

12345678