Searched refs:other (Results 1 - 25 of 193) sorted by relevance

12345678

/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/ojluni/src/main/java/java/nio/file/
H A DFileSystemException.java43 private final String other; field in class:FileSystemException
56 this.other = null;
66 * @param other
67 * a string identifying the other file or {@code null} if there
72 public FileSystemException(String file, String other, String reason) { argument
75 this.other = other;
88 * Returns the other file used to create this exception.
90 * @return the other file (can be {@code null})
93 return other;
[all...]
H A DPath.java42 * The other name elements are directory names. A {@code Path} can represent a
56 * Paths can be {@link #compareTo compared}, and tested against each other using
69 * directories, and other types of files. For example, suppose we want a {@link
81 * with the {@link java.io.File java.io.File} class. Paths created by other
112 * with other path information in order to locate a file.
234 * @param other
240 boolean startsWith(Path other); argument
249 * @param other
258 boolean startsWith(String other); argument
279 * @param other
285 endsWith(Path other) argument
306 endsWith(String other) argument
358 resolve(Path other) argument
378 resolve(String other) argument
399 resolveSibling(Path other) argument
416 resolveSibling(String other) argument
458 relativize(Path other) argument
751 compareTo(Path other) argument
775 equals(Object other) argument
[all...]
H A DAccessDeniedException.java30 * due to a file permission or other access check.
60 * @param other
61 * a string identifying the other file or {@code null} if not known
65 public AccessDeniedException(String file, String other, String reason) { argument
66 super(file, other, reason);
H A DFileAlreadyExistsException.java55 * @param other
56 * a string identifying the other file or {@code null} if not known
60 public FileAlreadyExistsException(String file, String other, String reason) { argument
61 super(file, other, reason);
H A DNoSuchFileException.java55 * @param other
56 * a string identifying the other file or {@code null} if not known.
60 public NoSuchFileException(String file, String other, String reason) { argument
61 super(file, other, reason);
H A DNotLinkException.java55 * @param other
56 * a string identifying the other file or {@code null} if not known
60 public NotLinkException(String file, String other, String reason) { argument
61 super(file, other, reason);
/libcore/ojluni/src/main/java/sun/nio/fs/
H A DAbstractPath.java42 public final boolean startsWith(String other) { argument
43 return startsWith(getFileSystem().getPath(other));
47 public final boolean endsWith(String other) { argument
48 return endsWith(getFileSystem().getPath(other));
52 public final Path resolve(String other) { argument
53 return resolve(getFileSystem().getPath(other));
57 public final Path resolveSibling(Path other) { argument
58 if (other == null)
61 return (parent == null) ? other : parent.resolve(other);
65 resolveSibling(String other) argument
[all...]
H A DUnixFileKey.java53 UnixFileKey other = (UnixFileKey)obj;
54 return (this.st_dev == other.st_dev) && (this.st_ino == other.st_ino);
/libcore/ojluni/src/main/java/java/util/
H A DOptionalDouble.java142 * Return the value if present, otherwise return {@code other}.
144 * @param other the value to be returned if there is no value present
145 * @return the value, if present, otherwise {@code other}
147 public double orElse(double other) { argument
148 return isPresent ? value : other;
152 * Return the value if present, otherwise invoke {@code other} and return
155 * @param other a {@code DoubleSupplier} whose result is returned if no value
157 * @return the value if present otherwise the result of {@code other.getAsDouble()}
158 * @throws NullPointerException if value is not present and {@code other} is
161 public double orElseGet(DoubleSupplier other) { argument
[all...]
H A DOptionalInt.java143 * Return the value if present, otherwise return {@code other}.
145 * @param other the value to be returned if there is no value present
146 * @return the value, if present, otherwise {@code other}
148 public int orElse(int other) { argument
149 return isPresent ? value : other;
153 * Return the value if present, otherwise invoke {@code other} and return
156 * @param other a {@code IntSupplier} whose result is returned if no value
158 * @return the value if present otherwise the result of {@code other.getAsInt()}
159 * @throws NullPointerException if value is not present and {@code other} is
162 public int orElseGet(IntSupplier other) { argument
[all...]
H A DOptionalLong.java142 * Return the value if present, otherwise return {@code other}.
144 * @param other the value to be returned if there is no value present
145 * @return the value, if present, otherwise {@code other}
147 public long orElse(long other) { argument
148 return isPresent ? value : other;
152 * Return the value if present, otherwise invoke {@code other} and return
155 * @param other a {@code LongSupplier} whose result is returned if no value
157 * @return the value if present otherwise the result of {@code other.getAsLong()}
158 * @throws NullPointerException if value is not present and {@code other} is
161 public long orElseGet(LongSupplier other) { argument
[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);
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...]
/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/support/src/test/java/tests/support/
H A DSupport_GetPutFields.java71 SimpleClass other = (SimpleClass) obj;
72 return (a == other.getA() && b.equals(other.getB()));
93 Support_GetPutFields other = (Support_GetPutFields) obj;
94 return (booleanValue == other.booleanValue &&
95 byteValue == other.byteValue &&
96 charValue == other.charValue &&
97 doubleValue == other.doubleValue &&
98 floatValue == other.floatValue &&
99 longValue == other
[all...]
H A DSupport_GetPutFieldsDefaulted.java82 SimpleClass other = (SimpleClass) obj;
83 return (a == other.getA() && b.equals(other.getB()));
104 Support_GetPutFieldsDefaulted other = (Support_GetPutFieldsDefaulted) obj;
105 return (booleanValue == other.booleanValue &&
106 byteValue == other.byteValue &&
107 charValue == other.charValue &&
108 doubleValue == other.doubleValue &&
109 floatValue == other.floatValue &&
110 longValue == other
[all...]
H A DSupport_GetPutFieldsDeprecated.java73 SimpleClass other = (SimpleClass) obj;
74 return (a == other.getA() && b.equals(other.getB()));
95 Support_GetPutFields other = (Support_GetPutFields) obj;
96 return (booleanValue == other.booleanValue &&
97 byteValue == other.byteValue &&
98 charValue == other.charValue &&
99 doubleValue == other.doubleValue &&
100 floatValue == other.floatValue &&
101 longValue == other
[all...]
/libcore/ojluni/src/main/java/java/text/
H A DParsePosition.java129 ParsePosition other = (ParsePosition) obj;
130 return (index == other.index && errorIndex == other.errorIndex);
/libcore/ojluni/src/main/java/sun/nio/ch/
H A DFileKey.java61 FileKey other = (FileKey)obj;
62 if ((this.st_dev != other.st_dev) ||
63 (this.st_ino != other.st_ino)) {
/libcore/ojluni/src/main/java/sun/security/x509/
H A DCertificatePolicyId.java94 public boolean equals(Object other) { argument
95 if (other instanceof CertificatePolicyId)
97 ((CertificatePolicyId) other).getIdentifier());

Completed in 333 milliseconds

12345678