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

12345

/libcore/ojluni/src/main/java/java/nio/file/
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);
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...]
/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/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/luni/src/test/java/libcore/java/security/
H A DPrincipalTest.java68 public boolean equals(Object other) { argument
69 if (!(other instanceof PrincipalWithEqualityByName)) {
72 return this.name.equals(((PrincipalWithEqualityByName) other).getName());
/libcore/ojluni/src/main/java/java/security/cert/
H A DX509CRLEntry.java71 * object. If the {@code other} 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} 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;
/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));
/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} 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/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 DUnixException.java77 private IOException translateToIOException(String file, String other) { argument
84 return new AccessDeniedException(file, other, null);
86 return new NoSuchFileException(file, other, null);
88 return new FileAlreadyExistsException(file, other, null);
91 return new FileSystemException(file, other, errorString());
99 void rethrowAsIOException(UnixPath file, UnixPath other) throws IOException { argument
101 String b = (other == null) ? null : other.getPathForExceptionMessage();
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/x509/
H A DCertificatePolicyId.java94 public boolean equals(Object other) { argument
95 if (other instanceof CertificatePolicyId)
97 ((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 896 milliseconds

12345