Searched defs:other (Results 1 - 25 of 84) sorted by relevance

1234

/libcore/ojluni/src/main/java/java/util/function/
H A DDoublePredicate.java55 * predicate, if this predicate is {@code false}, then the {@code other}
60 * {@code other} predicate will not be evaluated.
62 * @param other a predicate that will be logically-ANDed with this
65 * AND of this predicate and the {@code other} predicate
66 * @throws NullPointerException if other is null
68 default DoublePredicate and(DoublePredicate other) { argument
69 Objects.requireNonNull(other);
70 return (value) -> test(value) && other.test(value);
87 * predicate, if this predicate is {@code true}, then the {@code other}
92 * {@code other} predicat
100 or(DoublePredicate other) argument
[all...]
H A DIntPredicate.java55 * predicate, if this predicate is {@code false}, then the {@code other}
60 * {@code other} predicate will not be evaluated.
62 * @param other a predicate that will be logically-ANDed with this
65 * AND of this predicate and the {@code other} predicate
66 * @throws NullPointerException if other is null
68 default IntPredicate and(IntPredicate other) { argument
69 Objects.requireNonNull(other);
70 return (value) -> test(value) && other.test(value);
87 * predicate, if this predicate is {@code true}, then the {@code other}
92 * {@code other} predicat
100 or(IntPredicate other) argument
[all...]
H A DLongPredicate.java55 * predicate, if this predicate is {@code false}, then the {@code other}
60 * {@code other} predicate will not be evaluated.
62 * @param other a predicate that will be logically-ANDed with this
65 * AND of this predicate and the {@code other} predicate
66 * @throws NullPointerException if other is null
68 default LongPredicate and(LongPredicate other) { argument
69 Objects.requireNonNull(other);
70 return (value) -> test(value) && other.test(value);
87 * predicate, if this predicate is {@code true}, then the {@code other}
92 * {@code other} predicat
100 or(LongPredicate other) argument
[all...]
H A DBiPredicate.java58 * predicate, if this predicate is {@code false}, then the {@code other}
63 * {@code other} predicate will not be evaluated.
65 * @param other a predicate that will be logically-ANDed with this
68 * AND of this predicate and the {@code other} predicate
69 * @throws NullPointerException if other is null
71 default BiPredicate<T, U> and(BiPredicate<? super T, ? super U> other) { argument
72 Objects.requireNonNull(other);
73 return (T t, U u) -> test(t, u) && other.test(t, u);
90 * predicate, if this predicate is {@code true}, then the {@code other}
95 * {@code other} predicat
103 or(BiPredicate<? super T, ? super U> other) argument
[all...]
H A DPredicate.java54 * predicate, if this predicate is {@code false}, then the {@code other}
59 * {@code other} predicate will not be evaluated.
61 * @param other a predicate that will be logically-ANDed with this
64 * AND of this predicate and the {@code other} predicate
65 * @throws NullPointerException if other is null
67 default Predicate<T> and(Predicate<? super T> other) { argument
68 Objects.requireNonNull(other);
69 return (t) -> test(t) && other.test(t);
86 * predicate, if this predicate is {@code true}, then the {@code other}
91 * {@code other} predicat
99 or(Predicate<? super T> other) argument
[all...]
/libcore/dex/src/main/java/com/android/dex/
H A DAnnotation.java54 @Override public int compareTo(Annotation other) { argument
55 return encodedAnnotation.compareTo(other.encodedAnnotation);
H A DEncodedValue.java44 @Override public int compareTo(EncodedValue other) { argument
45 int size = Math.min(data.length, other.data.length);
47 if (data[i] != other.data[i]) {
48 return (data[i] & 0xff) - (other.data[i] & 0xff);
51 return data.length - other.data.length;
H A DFieldId.java46 public int compareTo(FieldId other) { argument
47 if (declaringClassIndex != other.declaringClassIndex) {
48 return Unsigned.compare(declaringClassIndex, other.declaringClassIndex);
50 if (nameIndex != other.nameIndex) {
51 return Unsigned.compare(nameIndex, other.nameIndex);
53 return Unsigned.compare(typeIndex, other.typeIndex); // should always be 0
H A DMethodId.java46 public int compareTo(MethodId other) { argument
47 if (declaringClassIndex != other.declaringClassIndex) {
48 return Unsigned.compare(declaringClassIndex, other.declaringClassIndex);
50 if (nameIndex != other.nameIndex) {
51 return Unsigned.compare(nameIndex, other.nameIndex);
53 return Unsigned.compare(protoIndex, other.protoIndex);
H A DProtoId.java34 public int compareTo(ProtoId other) { argument
35 if (returnTypeIndex != other.returnTypeIndex) {
36 return Unsigned.compare(returnTypeIndex, other.returnTypeIndex);
38 return Unsigned.compare(parametersOffset, other.parametersOffset);
H A DTypeList.java37 @Override public int compareTo(TypeList other) { argument
38 for (int i = 0; i < types.length && i < other.types.length; i++) {
39 if (types[i] != other.types[i]) {
40 return Unsigned.compare(types[i], other.types[i]);
43 return Unsigned.compare(types.length, other.types.length);
/libcore/luni/src/main/java/libcore/icu/
H A DCollationKeyICU.java30 public int compareTo(CollationKey other) { argument
32 if (other instanceof CollationKeyICU) {
33 otherKey = ((CollationKeyICU) other).key;
35 otherKey = new android.icu.text.CollationKey(other.getSourceString(),
36 other.toByteArray());
/libcore/ojluni/src/main/java/java/security/cert/
H A DX509CRLEntry.java71 * object. If the <code>other</code> object is an
76 * @param other the object to test for equality with this CRL entry.
80 public boolean equals(Object other) { argument
81 if (this == other)
83 if (!(other instanceof X509CRLEntry))
87 byte[] otherCRLEntry = ((X509CRLEntry)other).getEncoded();
H A DCertPath.java61 * transmission to other parties. Preferably, these encodings should be
74 * <code>CertificateFactory</code> or they can be returned by other classes,
98 * other encodings are supported.
174 * @param other the object to test for equality with this certification path
178 public boolean equals(Object other) { argument
179 if (this == other)
182 if (! (other instanceof CertPath))
185 CertPath otherCP = (CertPath) other;
H A DCertificate.java92 * object. If the <code>other</code> object is an
97 * @param other the object to test for equality with this certificate.
101 public boolean equals(Object other) { argument
102 if (this == other) {
105 if (!(other instanceof Certificate)) {
110 byte[] otherCert = X509CertImpl.getEncodedInternal((Certificate)other);
/libcore/ojluni/src/main/java/java/util/
H A DStringJoiner.java82 * other value including the empty String.
198 * <p>If the other {@code StringJoiner} is using a different delimiter,
199 * then elements from the other {@code StringJoiner} are concatenated with
203 * @param other The {@code StringJoiner} whose contents should be merged
205 * @throws NullPointerException if the other {@code StringJoiner} is null
208 public StringJoiner merge(StringJoiner other) { argument
209 Objects.requireNonNull(other);
210 if (other.value != null) {
211 final int length = other.value.length();
216 builder.append(other
[all...]
H A DComparators.java88 public Comparator<T> thenComparing(Comparator<? super T> other) { argument
89 Objects.requireNonNull(other);
90 return new NullComparator<>(nullFirst, real == null ? other : real.thenComparing(other));
H A DDoubleSummaryStatistics.java95 * @param other another {@code DoubleSummaryStatistics}
96 * @throws NullPointerException if {@code other} is null
98 public void combine(DoubleSummaryStatistics other) { argument
99 count += other.count;
100 simpleSum += other.simpleSum;
101 sumWithCompensation(other.sum);
102 sumWithCompensation(other.sumCompensation);
103 min = Math.min(min, other.min);
104 max = Math.max(max, other.max);
141 * summation or other techniqu
[all...]
H A DIntSummaryStatistics.java93 * @param other another {@code IntSummaryStatistics}
94 * @throws NullPointerException if {@code other} is null
96 public void combine(IntSummaryStatistics other) { argument
97 count += other.count;
98 sum += other.sum;
99 min = Math.min(min, other.min);
100 max = Math.max(max, other.max);
/libcore/ojluni/src/main/java/javax/crypto/
H A DCryptoPermissions.java55 CryptoPermissions getMinimum(CryptoPermissions other) { return null; } argument
/libcore/ojluni/src/main/java/javax/net/ssl/
H A DSNIServerName.java111 * Indicates whether some other object is "equal to" this server name.
113 * @return true if, and only if, {@code other} is of the same class
118 public boolean equals(Object other) { argument
119 if (this == other) {
123 if (this.getClass() != other.getClass()) {
127 SNIServerName that = (SNIServerName)other;
/libcore/ojluni/src/main/java/javax/security/cert/
H A DCertificate.java67 * object. If the <code>other</code> object is an
72 * @param other the object to test for equality with this certificate.
76 public boolean equals(Object other) { argument
77 if (this == other)
79 if (!(other instanceof Certificate))
83 byte[] otherCert = ((Certificate)other).getEncoded();
/libcore/ojluni/src/main/java/sun/security/x509/
H A DCertificatePolicyId.java94 public boolean equals(Object other) { argument
95 if (other instanceof CertificatePolicyId)
96 return id.equals(((CertificatePolicyId) other).getIdentifier());
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 DKeyIdentifier.java144 * Indicates whether some other object is "equal to" this one.
146 public boolean equals(Object other) { argument
147 if (this == other)
149 if (!(other instanceof KeyIdentifier))
152 ((KeyIdentifier)other).getIdentifier());

Completed in 1136 milliseconds

1234