1// Signature format: 2.0 2package android.crypto.hpke { 3 4 @FlaggedApi("com.android.libcore.hpke_v_apis") public interface HpkeSpi { 5 method @FlaggedApi("com.android.libcore.hpke_v_apis") @NonNull public byte[] engineExport(int, @Nullable byte[]); 6 method @FlaggedApi("com.android.libcore.hpke_v_apis") public void engineInitRecipient(@NonNull byte[], @NonNull java.security.PrivateKey, @Nullable byte[], @Nullable java.security.PublicKey, @Nullable byte[], @Nullable byte[]) throws java.security.InvalidKeyException; 7 method @FlaggedApi("com.android.libcore.hpke_v_apis") public void engineInitSender(@NonNull java.security.PublicKey, @Nullable byte[], @Nullable java.security.PrivateKey, @Nullable byte[], @Nullable byte[]) throws java.security.InvalidKeyException; 8 method @FlaggedApi("com.android.libcore.hpke_v_apis") public void engineInitSenderWithSeed(@NonNull java.security.PublicKey, @Nullable byte[], @Nullable java.security.PrivateKey, @Nullable byte[], @Nullable byte[], @NonNull byte[]) throws java.security.InvalidKeyException; 9 method @FlaggedApi("com.android.libcore.hpke_v_apis") @NonNull public byte[] engineOpen(@NonNull byte[], @Nullable byte[]) throws java.security.GeneralSecurityException; 10 method @FlaggedApi("com.android.libcore.hpke_v_apis") @NonNull public byte[] engineSeal(@NonNull byte[], @Nullable byte[]); 11 method @FlaggedApi("com.android.libcore.hpke_v_apis") @NonNull public byte[] getEncapsulated(); 12 } 13 14 @FlaggedApi("com.android.libcore.hpke_v_apis") public final class XdhKeySpec extends java.security.spec.EncodedKeySpec { 15 ctor @FlaggedApi("com.android.libcore.hpke_v_apis") public XdhKeySpec(@NonNull byte[]); 16 method @FlaggedApi("com.android.libcore.hpke_v_apis") @NonNull public String getFormat(); 17 method @FlaggedApi("com.android.libcore.hpke_v_apis") @NonNull public byte[] getKey(); 18 } 19 20} 21 22package android.system { 23 24 public final class ErrnoException extends java.lang.Exception { 25 ctor public ErrnoException(String, int); 26 ctor public ErrnoException(String, int, Throwable); 27 method @NonNull public java.io.IOException rethrowAsIOException() throws java.io.IOException; 28 method @NonNull public java.net.SocketException rethrowAsSocketException() throws java.net.SocketException; 29 field public final int errno; 30 } 31 32 public class Int64Ref { 33 ctor public Int64Ref(long); 34 field public long value; 35 } 36 37 public final class Os { 38 method public static java.io.FileDescriptor accept(java.io.FileDescriptor, java.net.InetSocketAddress) throws android.system.ErrnoException, java.net.SocketException; 39 method public static boolean access(String, int) throws android.system.ErrnoException; 40 method public static void bind(java.io.FileDescriptor, java.net.InetAddress, int) throws android.system.ErrnoException, java.net.SocketException; 41 method public static void bind(@NonNull java.io.FileDescriptor, @NonNull java.net.SocketAddress) throws android.system.ErrnoException, java.net.SocketException; 42 method public static void chmod(String, int) throws android.system.ErrnoException; 43 method public static void chown(String, int, int) throws android.system.ErrnoException; 44 method public static void close(java.io.FileDescriptor) throws android.system.ErrnoException; 45 method public static void connect(java.io.FileDescriptor, java.net.InetAddress, int) throws android.system.ErrnoException, java.net.SocketException; 46 method public static void connect(@NonNull java.io.FileDescriptor, @NonNull java.net.SocketAddress) throws android.system.ErrnoException, java.net.SocketException; 47 method public static java.io.FileDescriptor dup(java.io.FileDescriptor) throws android.system.ErrnoException; 48 method public static java.io.FileDescriptor dup2(java.io.FileDescriptor, int) throws android.system.ErrnoException; 49 method public static String[] environ(); 50 method public static void execv(String, String[]) throws android.system.ErrnoException; 51 method public static void execve(String, String[], String[]) throws android.system.ErrnoException; 52 method public static void fchmod(java.io.FileDescriptor, int) throws android.system.ErrnoException; 53 method public static void fchown(java.io.FileDescriptor, int, int) throws android.system.ErrnoException; 54 method public static int fcntlInt(@NonNull java.io.FileDescriptor, int, int) throws android.system.ErrnoException; 55 method public static void fdatasync(java.io.FileDescriptor) throws android.system.ErrnoException; 56 method public static android.system.StructStat fstat(java.io.FileDescriptor) throws android.system.ErrnoException; 57 method public static android.system.StructStatVfs fstatvfs(java.io.FileDescriptor) throws android.system.ErrnoException; 58 method public static void fsync(java.io.FileDescriptor) throws android.system.ErrnoException; 59 method public static void ftruncate(java.io.FileDescriptor, long) throws android.system.ErrnoException; 60 method public static String gai_strerror(int); 61 method public static int getegid(); 62 method public static String getenv(String); 63 method public static int geteuid(); 64 method public static int getgid(); 65 method public static java.net.SocketAddress getpeername(java.io.FileDescriptor) throws android.system.ErrnoException; 66 method public static int getpid(); 67 method public static int getppid(); 68 method public static java.net.SocketAddress getsockname(java.io.FileDescriptor) throws android.system.ErrnoException; 69 method @NonNull public static android.system.StructTimeval getsockoptTimeval(@NonNull java.io.FileDescriptor, int, int) throws android.system.ErrnoException; 70 method public static int gettid(); 71 method public static int getuid(); 72 method public static byte[] getxattr(String, String) throws android.system.ErrnoException; 73 method public static String if_indextoname(int); 74 method public static int if_nametoindex(String); 75 method public static java.net.InetAddress inet_pton(int, String); 76 method public static boolean isatty(java.io.FileDescriptor); 77 method public static void kill(int, int) throws android.system.ErrnoException; 78 method public static void lchown(String, int, int) throws android.system.ErrnoException; 79 method public static void link(String, String) throws android.system.ErrnoException; 80 method public static void listen(java.io.FileDescriptor, int) throws android.system.ErrnoException; 81 method public static String[] listxattr(String) throws android.system.ErrnoException; 82 method public static long lseek(java.io.FileDescriptor, long, int) throws android.system.ErrnoException; 83 method public static android.system.StructStat lstat(String) throws android.system.ErrnoException; 84 method @NonNull public static java.io.FileDescriptor memfd_create(@NonNull String, int) throws android.system.ErrnoException; 85 method public static void mincore(long, long, byte[]) throws android.system.ErrnoException; 86 method public static void mkdir(String, int) throws android.system.ErrnoException; 87 method public static void mkfifo(String, int) throws android.system.ErrnoException; 88 method public static void mlock(long, long) throws android.system.ErrnoException; 89 method public static long mmap(long, long, int, int, java.io.FileDescriptor, long) throws android.system.ErrnoException; 90 method public static void msync(long, long, int) throws android.system.ErrnoException; 91 method public static void munlock(long, long) throws android.system.ErrnoException; 92 method public static void munmap(long, long) throws android.system.ErrnoException; 93 method public static java.io.FileDescriptor open(String, int, int) throws android.system.ErrnoException; 94 method public static java.io.FileDescriptor[] pipe() throws android.system.ErrnoException; 95 method public static int poll(android.system.StructPollfd[], int) throws android.system.ErrnoException; 96 method public static void posix_fallocate(java.io.FileDescriptor, long, long) throws android.system.ErrnoException; 97 method public static int prctl(int, long, long, long, long) throws android.system.ErrnoException; 98 method public static int pread(java.io.FileDescriptor, java.nio.ByteBuffer, long) throws android.system.ErrnoException, java.io.InterruptedIOException; 99 method public static int pread(java.io.FileDescriptor, byte[], int, int, long) throws android.system.ErrnoException, java.io.InterruptedIOException; 100 method public static int pwrite(java.io.FileDescriptor, java.nio.ByteBuffer, long) throws android.system.ErrnoException, java.io.InterruptedIOException; 101 method public static int pwrite(java.io.FileDescriptor, byte[], int, int, long) throws android.system.ErrnoException, java.io.InterruptedIOException; 102 method public static int read(java.io.FileDescriptor, java.nio.ByteBuffer) throws android.system.ErrnoException, java.io.InterruptedIOException; 103 method public static int read(java.io.FileDescriptor, byte[], int, int) throws android.system.ErrnoException, java.io.InterruptedIOException; 104 method public static String readlink(String) throws android.system.ErrnoException; 105 method public static int readv(java.io.FileDescriptor, Object[], int[], int[]) throws android.system.ErrnoException, java.io.InterruptedIOException; 106 method public static int recvfrom(java.io.FileDescriptor, java.nio.ByteBuffer, int, java.net.InetSocketAddress) throws android.system.ErrnoException, java.net.SocketException; 107 method public static int recvfrom(java.io.FileDescriptor, byte[], int, int, int, java.net.InetSocketAddress) throws android.system.ErrnoException, java.net.SocketException; 108 method public static int recvmsg(@NonNull java.io.FileDescriptor, @NonNull android.system.StructMsghdr, int) throws android.system.ErrnoException, java.net.SocketException; 109 method public static void remove(String) throws android.system.ErrnoException; 110 method public static void removexattr(String, String) throws android.system.ErrnoException; 111 method public static void rename(String, String) throws android.system.ErrnoException; 112 method public static long sendfile(java.io.FileDescriptor, java.io.FileDescriptor, android.system.Int64Ref, long) throws android.system.ErrnoException; 113 method public static int sendmsg(@NonNull java.io.FileDescriptor, @NonNull android.system.StructMsghdr, int) throws android.system.ErrnoException, java.net.SocketException; 114 method public static int sendto(java.io.FileDescriptor, java.nio.ByteBuffer, int, java.net.InetAddress, int) throws android.system.ErrnoException, java.net.SocketException; 115 method public static int sendto(java.io.FileDescriptor, byte[], int, int, int, java.net.InetAddress, int) throws android.system.ErrnoException, java.net.SocketException; 116 method public static int sendto(@NonNull java.io.FileDescriptor, @NonNull byte[], int, int, int, @Nullable java.net.SocketAddress) throws android.system.ErrnoException, java.net.SocketException; 117 method @Deprecated public static void setegid(int) throws android.system.ErrnoException; 118 method public static void setenv(String, String, boolean) throws android.system.ErrnoException; 119 method @Deprecated public static void seteuid(int) throws android.system.ErrnoException; 120 method @Deprecated public static void setgid(int) throws android.system.ErrnoException; 121 method public static int setsid() throws android.system.ErrnoException; 122 method public static void setsockoptInt(java.io.FileDescriptor, int, int, int) throws android.system.ErrnoException; 123 method public static void setsockoptTimeval(@NonNull java.io.FileDescriptor, int, int, @NonNull android.system.StructTimeval) throws android.system.ErrnoException; 124 method @Deprecated public static void setuid(int) throws android.system.ErrnoException; 125 method public static void setxattr(String, String, byte[], int) throws android.system.ErrnoException; 126 method public static void shutdown(java.io.FileDescriptor, int) throws android.system.ErrnoException; 127 method public static java.io.FileDescriptor socket(int, int, int) throws android.system.ErrnoException; 128 method public static void socketpair(int, int, int, java.io.FileDescriptor, java.io.FileDescriptor) throws android.system.ErrnoException; 129 method public static android.system.StructStat stat(String) throws android.system.ErrnoException; 130 method public static android.system.StructStatVfs statvfs(String) throws android.system.ErrnoException; 131 method public static String strerror(int); 132 method public static String strsignal(int); 133 method public static void symlink(String, String) throws android.system.ErrnoException; 134 method public static long sysconf(int); 135 method public static void tcdrain(java.io.FileDescriptor) throws android.system.ErrnoException; 136 method public static void tcsendbreak(java.io.FileDescriptor, int) throws android.system.ErrnoException; 137 method public static int umask(int); 138 method public static android.system.StructUtsname uname(); 139 method public static void unsetenv(String) throws android.system.ErrnoException; 140 method public static int write(java.io.FileDescriptor, java.nio.ByteBuffer) throws android.system.ErrnoException, java.io.InterruptedIOException; 141 method public static int write(java.io.FileDescriptor, byte[], int, int) throws android.system.ErrnoException, java.io.InterruptedIOException; 142 method public static int writev(java.io.FileDescriptor, Object[], int[], int[]) throws android.system.ErrnoException, java.io.InterruptedIOException; 143 } 144 145 public final class OsConstants { 146 method public static boolean S_ISBLK(int); 147 method public static boolean S_ISCHR(int); 148 method public static boolean S_ISDIR(int); 149 method public static boolean S_ISFIFO(int); 150 method public static boolean S_ISLNK(int); 151 method public static boolean S_ISREG(int); 152 method public static boolean S_ISSOCK(int); 153 method public static boolean WCOREDUMP(int); 154 method public static int WEXITSTATUS(int); 155 method public static boolean WIFEXITED(int); 156 method public static boolean WIFSIGNALED(int); 157 method public static boolean WIFSTOPPED(int); 158 method public static int WSTOPSIG(int); 159 method public static int WTERMSIG(int); 160 method public static String errnoName(int); 161 method public static String gaiName(int); 162 field public static final int AF_INET; 163 field public static final int AF_INET6; 164 field public static final int AF_NETLINK; 165 field public static final int AF_PACKET; 166 field public static final int AF_UNIX; 167 field public static final int AF_UNSPEC; 168 field public static final int AF_VSOCK; 169 field public static final int AI_ADDRCONFIG; 170 field public static final int AI_ALL; 171 field public static final int AI_CANONNAME; 172 field public static final int AI_NUMERICHOST; 173 field public static final int AI_NUMERICSERV; 174 field public static final int AI_PASSIVE; 175 field public static final int AI_V4MAPPED; 176 field public static final int ARPHRD_ETHER; 177 field public static final int CAP_AUDIT_CONTROL; 178 field public static final int CAP_AUDIT_WRITE; 179 field public static final int CAP_BLOCK_SUSPEND; 180 field public static final int CAP_CHOWN; 181 field public static final int CAP_DAC_OVERRIDE; 182 field public static final int CAP_DAC_READ_SEARCH; 183 field public static final int CAP_FOWNER; 184 field public static final int CAP_FSETID; 185 field public static final int CAP_IPC_LOCK; 186 field public static final int CAP_IPC_OWNER; 187 field public static final int CAP_KILL; 188 field public static final int CAP_LAST_CAP; 189 field public static final int CAP_LEASE; 190 field public static final int CAP_LINUX_IMMUTABLE; 191 field public static final int CAP_MAC_ADMIN; 192 field public static final int CAP_MAC_OVERRIDE; 193 field public static final int CAP_MKNOD; 194 field public static final int CAP_NET_ADMIN; 195 field public static final int CAP_NET_BIND_SERVICE; 196 field public static final int CAP_NET_BROADCAST; 197 field public static final int CAP_NET_RAW; 198 field public static final int CAP_SETFCAP; 199 field public static final int CAP_SETGID; 200 field public static final int CAP_SETPCAP; 201 field public static final int CAP_SETUID; 202 field public static final int CAP_SYSLOG; 203 field public static final int CAP_SYS_ADMIN; 204 field public static final int CAP_SYS_BOOT; 205 field public static final int CAP_SYS_CHROOT; 206 field public static final int CAP_SYS_MODULE; 207 field public static final int CAP_SYS_NICE; 208 field public static final int CAP_SYS_PACCT; 209 field public static final int CAP_SYS_PTRACE; 210 field public static final int CAP_SYS_RAWIO; 211 field public static final int CAP_SYS_RESOURCE; 212 field public static final int CAP_SYS_TIME; 213 field public static final int CAP_SYS_TTY_CONFIG; 214 field public static final int CAP_WAKE_ALARM; 215 field public static final int E2BIG; 216 field public static final int EACCES; 217 field public static final int EADDRINUSE; 218 field public static final int EADDRNOTAVAIL; 219 field public static final int EAFNOSUPPORT; 220 field public static final int EAGAIN; 221 field public static final int EAI_AGAIN; 222 field public static final int EAI_BADFLAGS; 223 field public static final int EAI_FAIL; 224 field public static final int EAI_FAMILY; 225 field public static final int EAI_MEMORY; 226 field public static final int EAI_NODATA; 227 field public static final int EAI_NONAME; 228 field public static final int EAI_OVERFLOW; 229 field public static final int EAI_SERVICE; 230 field public static final int EAI_SOCKTYPE; 231 field public static final int EAI_SYSTEM; 232 field public static final int EALREADY; 233 field public static final int EBADF; 234 field public static final int EBADMSG; 235 field public static final int EBUSY; 236 field public static final int ECANCELED; 237 field public static final int ECHILD; 238 field public static final int ECONNABORTED; 239 field public static final int ECONNREFUSED; 240 field public static final int ECONNRESET; 241 field public static final int EDEADLK; 242 field public static final int EDESTADDRREQ; 243 field public static final int EDOM; 244 field public static final int EDQUOT; 245 field public static final int EEXIST; 246 field public static final int EFAULT; 247 field public static final int EFBIG; 248 field public static final int EHOSTUNREACH; 249 field public static final int EIDRM; 250 field public static final int EILSEQ; 251 field public static final int EINPROGRESS; 252 field public static final int EINTR; 253 field public static final int EINVAL; 254 field public static final int EIO; 255 field public static final int EISCONN; 256 field public static final int EISDIR; 257 field public static final int ELOOP; 258 field public static final int EMFILE; 259 field public static final int EMLINK; 260 field public static final int EMSGSIZE; 261 field public static final int EMULTIHOP; 262 field public static final int ENAMETOOLONG; 263 field public static final int ENETDOWN; 264 field public static final int ENETRESET; 265 field public static final int ENETUNREACH; 266 field public static final int ENFILE; 267 field public static final int ENOBUFS; 268 field public static final int ENODATA; 269 field public static final int ENODEV; 270 field public static final int ENOENT; 271 field public static final int ENOEXEC; 272 field public static final int ENOLCK; 273 field public static final int ENOLINK; 274 field public static final int ENOMEM; 275 field public static final int ENOMSG; 276 field public static final int ENONET; 277 field public static final int ENOPROTOOPT; 278 field public static final int ENOSPC; 279 field public static final int ENOSR; 280 field public static final int ENOSTR; 281 field public static final int ENOSYS; 282 field public static final int ENOTCONN; 283 field public static final int ENOTDIR; 284 field public static final int ENOTEMPTY; 285 field public static final int ENOTSOCK; 286 field public static final int ENOTSUP; 287 field public static final int ENOTTY; 288 field public static final int ENXIO; 289 field public static final int EOPNOTSUPP; 290 field public static final int EOVERFLOW; 291 field public static final int EPERM; 292 field public static final int EPIPE; 293 field public static final int EPROTO; 294 field public static final int EPROTONOSUPPORT; 295 field public static final int EPROTOTYPE; 296 field public static final int ERANGE; 297 field public static final int EROFS; 298 field public static final int ESPIPE; 299 field public static final int ESRCH; 300 field public static final int ESTALE; 301 field public static final int ETH_P_ALL; 302 field public static final int ETH_P_ARP; 303 field public static final int ETH_P_IP; 304 field public static final int ETH_P_IPV6; 305 field public static final int ETIME; 306 field public static final int ETIMEDOUT; 307 field public static final int ETXTBSY; 308 field public static final int EXDEV; 309 field public static final int EXIT_FAILURE; 310 field public static final int EXIT_SUCCESS; 311 field public static final int FD_CLOEXEC; 312 field public static final int FIONREAD; 313 field public static final int F_DUPFD; 314 field public static final int F_DUPFD_CLOEXEC; 315 field public static final int F_GETFD; 316 field public static final int F_GETFL; 317 field public static final int F_GETLK; 318 field public static final int F_GETLK64; 319 field public static final int F_GETOWN; 320 field public static final int F_OK; 321 field public static final int F_RDLCK; 322 field public static final int F_SETFD; 323 field public static final int F_SETFL; 324 field public static final int F_SETLK; 325 field public static final int F_SETLK64; 326 field public static final int F_SETLKW; 327 field public static final int F_SETLKW64; 328 field public static final int F_SETOWN; 329 field public static final int F_UNLCK; 330 field public static final int F_WRLCK; 331 field public static final int ICMP6_ECHO_REPLY; 332 field public static final int ICMP6_ECHO_REQUEST; 333 field public static final int ICMP_ECHO; 334 field public static final int ICMP_ECHOREPLY; 335 field public static final int IFA_F_DADFAILED; 336 field public static final int IFA_F_DEPRECATED; 337 field public static final int IFA_F_HOMEADDRESS; 338 field public static final int IFA_F_MANAGETEMPADDR; 339 field public static final int IFA_F_NODAD; 340 field public static final int IFA_F_NOPREFIXROUTE; 341 field public static final int IFA_F_OPTIMISTIC; 342 field public static final int IFA_F_PERMANENT; 343 field public static final int IFA_F_SECONDARY; 344 field public static final int IFA_F_TEMPORARY; 345 field public static final int IFA_F_TENTATIVE; 346 field public static final int IFF_ALLMULTI; 347 field public static final int IFF_AUTOMEDIA; 348 field public static final int IFF_BROADCAST; 349 field public static final int IFF_DEBUG; 350 field public static final int IFF_DYNAMIC; 351 field public static final int IFF_LOOPBACK; 352 field public static final int IFF_MASTER; 353 field public static final int IFF_MULTICAST; 354 field public static final int IFF_NOARP; 355 field public static final int IFF_NOTRAILERS; 356 field public static final int IFF_POINTOPOINT; 357 field public static final int IFF_PORTSEL; 358 field public static final int IFF_PROMISC; 359 field public static final int IFF_RUNNING; 360 field public static final int IFF_SLAVE; 361 field public static final int IFF_UP; 362 field @FlaggedApi("com.android.libcore.v_apis") public static final int IPPROTO_ESP; 363 field public static final int IPPROTO_ICMP; 364 field public static final int IPPROTO_ICMPV6; 365 field public static final int IPPROTO_IP; 366 field public static final int IPPROTO_IPV6; 367 field public static final int IPPROTO_RAW; 368 field public static final int IPPROTO_TCP; 369 field public static final int IPPROTO_UDP; 370 field public static final int IPV6_CHECKSUM; 371 field public static final int IPV6_MULTICAST_HOPS; 372 field public static final int IPV6_MULTICAST_IF; 373 field public static final int IPV6_MULTICAST_LOOP; 374 field @FlaggedApi("com.android.libcore.v_apis") public static final int IPV6_PKTINFO; 375 field public static final int IPV6_RECVDSTOPTS; 376 field public static final int IPV6_RECVHOPLIMIT; 377 field public static final int IPV6_RECVHOPOPTS; 378 field public static final int IPV6_RECVPKTINFO; 379 field public static final int IPV6_RECVRTHDR; 380 field public static final int IPV6_RECVTCLASS; 381 field public static final int IPV6_TCLASS; 382 field public static final int IPV6_UNICAST_HOPS; 383 field public static final int IPV6_V6ONLY; 384 field public static final int IP_MULTICAST_IF; 385 field public static final int IP_MULTICAST_LOOP; 386 field public static final int IP_MULTICAST_TTL; 387 field public static final int IP_TOS; 388 field public static final int IP_TTL; 389 field public static final int MAP_ANONYMOUS; 390 field public static final int MAP_FIXED; 391 field public static final int MAP_PRIVATE; 392 field public static final int MAP_SHARED; 393 field public static final int MCAST_BLOCK_SOURCE; 394 field public static final int MCAST_JOIN_GROUP; 395 field public static final int MCAST_JOIN_SOURCE_GROUP; 396 field public static final int MCAST_LEAVE_GROUP; 397 field public static final int MCAST_LEAVE_SOURCE_GROUP; 398 field public static final int MCAST_UNBLOCK_SOURCE; 399 field public static final int MCL_CURRENT; 400 field public static final int MCL_FUTURE; 401 field public static final int MFD_CLOEXEC; 402 field public static final int MSG_CTRUNC; 403 field public static final int MSG_DONTROUTE; 404 field public static final int MSG_EOR; 405 field public static final int MSG_OOB; 406 field public static final int MSG_PEEK; 407 field public static final int MSG_TRUNC; 408 field public static final int MSG_WAITALL; 409 field public static final int MS_ASYNC; 410 field public static final int MS_INVALIDATE; 411 field public static final int MS_SYNC; 412 field public static final int NETLINK_INET_DIAG; 413 field public static final int NETLINK_NETFILTER; 414 field public static final int NETLINK_ROUTE; 415 field @FlaggedApi("com.android.libcore.v_apis") public static final int NETLINK_XFRM; 416 field public static final int NI_DGRAM; 417 field public static final int NI_NAMEREQD; 418 field public static final int NI_NOFQDN; 419 field public static final int NI_NUMERICHOST; 420 field public static final int NI_NUMERICSERV; 421 field public static final int O_ACCMODE; 422 field public static final int O_APPEND; 423 field public static final int O_CLOEXEC; 424 field public static final int O_CREAT; 425 field public static final int O_DSYNC; 426 field public static final int O_EXCL; 427 field public static final int O_NOCTTY; 428 field public static final int O_NOFOLLOW; 429 field public static final int O_NONBLOCK; 430 field public static final int O_RDONLY; 431 field public static final int O_RDWR; 432 field public static final int O_SYNC; 433 field public static final int O_TRUNC; 434 field public static final int O_WRONLY; 435 field @FlaggedApi("com.android.libcore.v_apis") public static final int PACKET_IGNORE_OUTGOING; 436 field public static final int POLLERR; 437 field public static final int POLLHUP; 438 field public static final int POLLIN; 439 field public static final int POLLNVAL; 440 field public static final int POLLOUT; 441 field public static final int POLLPRI; 442 field public static final int POLLRDBAND; 443 field public static final int POLLRDNORM; 444 field public static final int POLLWRBAND; 445 field public static final int POLLWRNORM; 446 field public static final int PROT_EXEC; 447 field public static final int PROT_NONE; 448 field public static final int PROT_READ; 449 field public static final int PROT_WRITE; 450 field public static final int PR_GET_DUMPABLE; 451 field public static final int PR_SET_DUMPABLE; 452 field public static final int PR_SET_NO_NEW_PRIVS; 453 field public static final int RTMGRP_NEIGH; 454 field public static final int RT_SCOPE_HOST; 455 field public static final int RT_SCOPE_LINK; 456 field public static final int RT_SCOPE_NOWHERE; 457 field public static final int RT_SCOPE_SITE; 458 field public static final int RT_SCOPE_UNIVERSE; 459 field public static final int R_OK; 460 field public static final int SEEK_CUR; 461 field public static final int SEEK_END; 462 field public static final int SEEK_SET; 463 field public static final int SHUT_RD; 464 field public static final int SHUT_RDWR; 465 field public static final int SHUT_WR; 466 field public static final int SIGABRT; 467 field public static final int SIGALRM; 468 field public static final int SIGBUS; 469 field public static final int SIGCHLD; 470 field public static final int SIGCONT; 471 field public static final int SIGFPE; 472 field public static final int SIGHUP; 473 field public static final int SIGILL; 474 field public static final int SIGINT; 475 field public static final int SIGIO; 476 field public static final int SIGKILL; 477 field public static final int SIGPIPE; 478 field public static final int SIGPROF; 479 field public static final int SIGPWR; 480 field public static final int SIGQUIT; 481 field public static final int SIGRTMAX; 482 field public static final int SIGRTMIN; 483 field public static final int SIGSEGV; 484 field public static final int SIGSTKFLT; 485 field public static final int SIGSTOP; 486 field public static final int SIGSYS; 487 field public static final int SIGTERM; 488 field public static final int SIGTRAP; 489 field public static final int SIGTSTP; 490 field public static final int SIGTTIN; 491 field public static final int SIGTTOU; 492 field public static final int SIGURG; 493 field public static final int SIGUSR1; 494 field public static final int SIGUSR2; 495 field public static final int SIGVTALRM; 496 field public static final int SIGWINCH; 497 field public static final int SIGXCPU; 498 field public static final int SIGXFSZ; 499 field public static final int SIOCGIFADDR; 500 field public static final int SIOCGIFBRDADDR; 501 field public static final int SIOCGIFDSTADDR; 502 field public static final int SIOCGIFNETMASK; 503 field public static final int SOCK_CLOEXEC; 504 field public static final int SOCK_DGRAM; 505 field public static final int SOCK_NONBLOCK; 506 field public static final int SOCK_RAW; 507 field public static final int SOCK_SEQPACKET; 508 field public static final int SOCK_STREAM; 509 field @FlaggedApi("com.android.libcore.v_apis") public static final int SOL_PACKET; 510 field public static final int SOL_SOCKET; 511 field public static final int SOL_UDP; 512 field public static final int SO_BINDTODEVICE; 513 field public static final int SO_BROADCAST; 514 field public static final int SO_DEBUG; 515 field public static final int SO_DONTROUTE; 516 field public static final int SO_ERROR; 517 field public static final int SO_KEEPALIVE; 518 field public static final int SO_LINGER; 519 field public static final int SO_OOBINLINE; 520 field public static final int SO_PASSCRED; 521 field public static final int SO_PEERCRED; 522 field public static final int SO_RCVBUF; 523 field public static final int SO_RCVLOWAT; 524 field public static final int SO_RCVTIMEO; 525 field public static final int SO_REUSEADDR; 526 field public static final int SO_SNDBUF; 527 field public static final int SO_SNDLOWAT; 528 field public static final int SO_SNDTIMEO; 529 field public static final int SO_TYPE; 530 field public static final int STDERR_FILENO; 531 field public static final int STDIN_FILENO; 532 field public static final int STDOUT_FILENO; 533 field public static final int ST_MANDLOCK; 534 field public static final int ST_NOATIME; 535 field public static final int ST_NODEV; 536 field public static final int ST_NODIRATIME; 537 field public static final int ST_NOEXEC; 538 field public static final int ST_NOSUID; 539 field public static final int ST_RDONLY; 540 field public static final int ST_RELATIME; 541 field public static final int ST_SYNCHRONOUS; 542 field public static final int S_IFBLK; 543 field public static final int S_IFCHR; 544 field public static final int S_IFDIR; 545 field public static final int S_IFIFO; 546 field public static final int S_IFLNK; 547 field public static final int S_IFMT; 548 field public static final int S_IFREG; 549 field public static final int S_IFSOCK; 550 field public static final int S_IRGRP; 551 field public static final int S_IROTH; 552 field public static final int S_IRUSR; 553 field public static final int S_IRWXG; 554 field public static final int S_IRWXO; 555 field public static final int S_IRWXU; 556 field public static final int S_ISGID; 557 field public static final int S_ISUID; 558 field public static final int S_ISVTX; 559 field public static final int S_IWGRP; 560 field public static final int S_IWOTH; 561 field public static final int S_IWUSR; 562 field public static final int S_IXGRP; 563 field public static final int S_IXOTH; 564 field public static final int S_IXUSR; 565 field public static final int TCP_NODELAY; 566 field public static final int TCP_USER_TIMEOUT; 567 field public static final int UDP_GRO; 568 field public static final int UDP_SEGMENT; 569 field public static final int VMADDR_CID_ANY; 570 field public static final int VMADDR_CID_HOST; 571 field public static final int VMADDR_CID_LOCAL; 572 field public static final int VMADDR_PORT_ANY; 573 field public static final int WCONTINUED; 574 field public static final int WEXITED; 575 field public static final int WNOHANG; 576 field public static final int WNOWAIT; 577 field public static final int WSTOPPED; 578 field public static final int WUNTRACED; 579 field public static final int W_OK; 580 field public static final int X_OK; 581 field public static final int _SC_2_CHAR_TERM; 582 field public static final int _SC_2_C_BIND; 583 field public static final int _SC_2_C_DEV; 584 field public static final int _SC_2_C_VERSION; 585 field public static final int _SC_2_FORT_DEV; 586 field public static final int _SC_2_FORT_RUN; 587 field public static final int _SC_2_LOCALEDEF; 588 field public static final int _SC_2_SW_DEV; 589 field public static final int _SC_2_UPE; 590 field public static final int _SC_2_VERSION; 591 field public static final int _SC_AIO_LISTIO_MAX; 592 field public static final int _SC_AIO_MAX; 593 field public static final int _SC_AIO_PRIO_DELTA_MAX; 594 field public static final int _SC_ARG_MAX; 595 field public static final int _SC_ASYNCHRONOUS_IO; 596 field public static final int _SC_ATEXIT_MAX; 597 field public static final int _SC_AVPHYS_PAGES; 598 field public static final int _SC_BC_BASE_MAX; 599 field public static final int _SC_BC_DIM_MAX; 600 field public static final int _SC_BC_SCALE_MAX; 601 field public static final int _SC_BC_STRING_MAX; 602 field public static final int _SC_CHILD_MAX; 603 field public static final int _SC_CLK_TCK; 604 field public static final int _SC_COLL_WEIGHTS_MAX; 605 field public static final int _SC_DELAYTIMER_MAX; 606 field public static final int _SC_EXPR_NEST_MAX; 607 field public static final int _SC_FSYNC; 608 field public static final int _SC_GETGR_R_SIZE_MAX; 609 field public static final int _SC_GETPW_R_SIZE_MAX; 610 field public static final int _SC_IOV_MAX; 611 field public static final int _SC_JOB_CONTROL; 612 field public static final int _SC_LINE_MAX; 613 field public static final int _SC_LOGIN_NAME_MAX; 614 field public static final int _SC_MAPPED_FILES; 615 field public static final int _SC_MEMLOCK; 616 field public static final int _SC_MEMLOCK_RANGE; 617 field public static final int _SC_MEMORY_PROTECTION; 618 field public static final int _SC_MESSAGE_PASSING; 619 field public static final int _SC_MQ_OPEN_MAX; 620 field public static final int _SC_MQ_PRIO_MAX; 621 field public static final int _SC_NGROUPS_MAX; 622 field public static final int _SC_NPROCESSORS_CONF; 623 field public static final int _SC_NPROCESSORS_ONLN; 624 field public static final int _SC_OPEN_MAX; 625 field public static final int _SC_PAGESIZE; 626 field public static final int _SC_PAGE_SIZE; 627 field public static final int _SC_PASS_MAX; 628 field public static final int _SC_PHYS_PAGES; 629 field public static final int _SC_PRIORITIZED_IO; 630 field public static final int _SC_PRIORITY_SCHEDULING; 631 field public static final int _SC_REALTIME_SIGNALS; 632 field public static final int _SC_RE_DUP_MAX; 633 field public static final int _SC_RTSIG_MAX; 634 field public static final int _SC_SAVED_IDS; 635 field public static final int _SC_SEMAPHORES; 636 field public static final int _SC_SEM_NSEMS_MAX; 637 field public static final int _SC_SEM_VALUE_MAX; 638 field public static final int _SC_SHARED_MEMORY_OBJECTS; 639 field public static final int _SC_SIGQUEUE_MAX; 640 field public static final int _SC_STREAM_MAX; 641 field public static final int _SC_SYNCHRONIZED_IO; 642 field public static final int _SC_THREADS; 643 field public static final int _SC_THREAD_ATTR_STACKADDR; 644 field public static final int _SC_THREAD_ATTR_STACKSIZE; 645 field public static final int _SC_THREAD_DESTRUCTOR_ITERATIONS; 646 field public static final int _SC_THREAD_KEYS_MAX; 647 field public static final int _SC_THREAD_PRIORITY_SCHEDULING; 648 field public static final int _SC_THREAD_PRIO_INHERIT; 649 field public static final int _SC_THREAD_PRIO_PROTECT; 650 field public static final int _SC_THREAD_SAFE_FUNCTIONS; 651 field public static final int _SC_THREAD_STACK_MIN; 652 field public static final int _SC_THREAD_THREADS_MAX; 653 field public static final int _SC_TIMERS; 654 field public static final int _SC_TIMER_MAX; 655 field public static final int _SC_TTY_NAME_MAX; 656 field public static final int _SC_TZNAME_MAX; 657 field public static final int _SC_VERSION; 658 field public static final int _SC_XBS5_ILP32_OFF32; 659 field public static final int _SC_XBS5_ILP32_OFFBIG; 660 field public static final int _SC_XBS5_LP64_OFF64; 661 field public static final int _SC_XBS5_LPBIG_OFFBIG; 662 field public static final int _SC_XOPEN_CRYPT; 663 field public static final int _SC_XOPEN_ENH_I18N; 664 field public static final int _SC_XOPEN_LEGACY; 665 field public static final int _SC_XOPEN_REALTIME; 666 field public static final int _SC_XOPEN_REALTIME_THREADS; 667 field public static final int _SC_XOPEN_SHM; 668 field public static final int _SC_XOPEN_UNIX; 669 field public static final int _SC_XOPEN_VERSION; 670 field public static final int _SC_XOPEN_XCU_VERSION; 671 } 672 673 public final class StructCmsghdr { 674 ctor public StructCmsghdr(int, int, short); 675 ctor public StructCmsghdr(int, int, @NonNull byte[]); 676 field @NonNull public final byte[] cmsg_data; 677 field public final int cmsg_level; 678 field public final int cmsg_type; 679 } 680 681 public final class StructMsghdr { 682 ctor public StructMsghdr(@Nullable java.net.SocketAddress, @NonNull java.nio.ByteBuffer[], @Nullable android.system.StructCmsghdr[], int); 683 field @Nullable public android.system.StructCmsghdr[] msg_control; 684 field public int msg_flags; 685 field @NonNull public final java.nio.ByteBuffer[] msg_iov; 686 field @Nullable public java.net.SocketAddress msg_name; 687 } 688 689 public final class StructPollfd { 690 ctor public StructPollfd(); 691 field public short events; 692 field public java.io.FileDescriptor fd; 693 field public short revents; 694 field public Object userData; 695 } 696 697 public final class StructStat { 698 ctor public StructStat(long, long, int, long, int, int, long, long, long, long, long, long, long); 699 ctor public StructStat(long, long, int, long, int, int, long, long, android.system.StructTimespec, android.system.StructTimespec, android.system.StructTimespec, long, long); 700 field public final android.system.StructTimespec st_atim; 701 field public final long st_atime; 702 field public final long st_blksize; 703 field public final long st_blocks; 704 field public final android.system.StructTimespec st_ctim; 705 field public final long st_ctime; 706 field public final long st_dev; 707 field public final int st_gid; 708 field public final long st_ino; 709 field public final int st_mode; 710 field public final android.system.StructTimespec st_mtim; 711 field public final long st_mtime; 712 field public final long st_nlink; 713 field public final long st_rdev; 714 field public final long st_size; 715 field public final int st_uid; 716 } 717 718 public final class StructStatVfs { 719 ctor public StructStatVfs(long, long, long, long, long, long, long, long, long, long, long); 720 field public final long f_bavail; 721 field public final long f_bfree; 722 field public final long f_blocks; 723 field public final long f_bsize; 724 field public final long f_favail; 725 field public final long f_ffree; 726 field public final long f_files; 727 field public final long f_flag; 728 field public final long f_frsize; 729 field public final long f_fsid; 730 field public final long f_namemax; 731 } 732 733 public final class StructTimespec implements java.lang.Comparable<android.system.StructTimespec> { 734 ctor public StructTimespec(long, long); 735 method public int compareTo(android.system.StructTimespec); 736 field public final long tv_nsec; 737 field public final long tv_sec; 738 } 739 740 public final class StructTimeval { 741 method @NonNull public static android.system.StructTimeval fromMillis(long); 742 method public long toMillis(); 743 field public final long tv_sec; 744 field public final long tv_usec; 745 } 746 747 public final class StructUtsname { 748 ctor public StructUtsname(String, String, String, String, String); 749 field public final String machine; 750 field public final String nodename; 751 field public final String release; 752 field public final String sysname; 753 field public final String version; 754 } 755 756 public final class SystemCleaner { 757 method @NonNull public static java.lang.ref.Cleaner cleaner(); 758 } 759 760 public final class VmSocketAddress extends java.net.SocketAddress { 761 ctor public VmSocketAddress(int, int); 762 method public int getSvmCid(); 763 method public int getSvmPort(); 764 } 765 766} 767 768package dalvik.annotation { 769 770 @Deprecated @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.RUNTIME) @java.lang.annotation.Target({java.lang.annotation.ElementType.ANNOTATION_TYPE}) public @interface TestTarget { 771 method @Deprecated public abstract String conceptName() default ""; 772 method @Deprecated public abstract Class<?>[] methodArgs() default {}; 773 method @Deprecated public abstract String methodName() default ""; 774 } 775 776 @Deprecated @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.RUNTIME) @java.lang.annotation.Target({java.lang.annotation.ElementType.TYPE}) public @interface TestTargetClass { 777 method @Deprecated public abstract Class<?> value(); 778 } 779 780} 781 782package dalvik.annotation.optimization { 783 784 @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.CLASS) @java.lang.annotation.Target(java.lang.annotation.ElementType.METHOD) public @interface CriticalNative { 785 } 786 787 @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.CLASS) @java.lang.annotation.Target(java.lang.annotation.ElementType.METHOD) public @interface FastNative { 788 } 789 790} 791 792package dalvik.bytecode { 793 794 public final class OpcodeInfo { 795 field public static final int MAXIMUM_PACKED_VALUE; 796 field public static final int MAXIMUM_VALUE; 797 } 798 799 public interface Opcodes { 800 field public static final int OP_ADD_DOUBLE = 171; // 0xab 801 field public static final int OP_ADD_DOUBLE_2ADDR = 203; // 0xcb 802 field public static final int OP_ADD_FLOAT = 166; // 0xa6 803 field public static final int OP_ADD_FLOAT_2ADDR = 198; // 0xc6 804 field public static final int OP_ADD_INT = 144; // 0x90 805 field public static final int OP_ADD_INT_2ADDR = 176; // 0xb0 806 field public static final int OP_ADD_INT_LIT16 = 208; // 0xd0 807 field public static final int OP_ADD_INT_LIT8 = 216; // 0xd8 808 field public static final int OP_ADD_LONG = 155; // 0x9b 809 field public static final int OP_ADD_LONG_2ADDR = 187; // 0xbb 810 field public static final int OP_AGET = 68; // 0x44 811 field public static final int OP_AGET_BOOLEAN = 71; // 0x47 812 field public static final int OP_AGET_BYTE = 72; // 0x48 813 field public static final int OP_AGET_CHAR = 73; // 0x49 814 field public static final int OP_AGET_OBJECT = 70; // 0x46 815 field public static final int OP_AGET_SHORT = 74; // 0x4a 816 field public static final int OP_AGET_WIDE = 69; // 0x45 817 field public static final int OP_AND_INT = 149; // 0x95 818 field public static final int OP_AND_INT_2ADDR = 181; // 0xb5 819 field public static final int OP_AND_INT_LIT16 = 213; // 0xd5 820 field public static final int OP_AND_INT_LIT8 = 221; // 0xdd 821 field public static final int OP_AND_LONG = 160; // 0xa0 822 field public static final int OP_AND_LONG_2ADDR = 192; // 0xc0 823 field public static final int OP_APUT = 75; // 0x4b 824 field public static final int OP_APUT_BOOLEAN = 78; // 0x4e 825 field public static final int OP_APUT_BYTE = 79; // 0x4f 826 field public static final int OP_APUT_CHAR = 80; // 0x50 827 field public static final int OP_APUT_OBJECT = 77; // 0x4d 828 field public static final int OP_APUT_SHORT = 81; // 0x51 829 field public static final int OP_APUT_WIDE = 76; // 0x4c 830 field public static final int OP_ARRAY_LENGTH = 33; // 0x21 831 field @Deprecated public static final int OP_BREAKPOINT = 236; // 0xec 832 field public static final int OP_CHECK_CAST = 31; // 0x1f 833 field public static final int OP_CHECK_CAST_JUMBO = 511; // 0x1ff 834 field public static final int OP_CMPG_DOUBLE = 48; // 0x30 835 field public static final int OP_CMPG_FLOAT = 46; // 0x2e 836 field public static final int OP_CMPL_DOUBLE = 47; // 0x2f 837 field public static final int OP_CMPL_FLOAT = 45; // 0x2d 838 field public static final int OP_CMP_LONG = 49; // 0x31 839 field public static final int OP_CONST = 20; // 0x14 840 field public static final int OP_CONST_16 = 19; // 0x13 841 field public static final int OP_CONST_4 = 18; // 0x12 842 field public static final int OP_CONST_CLASS = 28; // 0x1c 843 field public static final int OP_CONST_CLASS_JUMBO = 255; // 0xff 844 field public static final int OP_CONST_HIGH16 = 21; // 0x15 845 field public static final int OP_CONST_METHOD_HANDLE = 254; // 0xfe 846 field public static final int OP_CONST_METHOD_TYPE = 255; // 0xff 847 field public static final int OP_CONST_STRING = 26; // 0x1a 848 field public static final int OP_CONST_STRING_JUMBO = 27; // 0x1b 849 field public static final int OP_CONST_WIDE = 24; // 0x18 850 field public static final int OP_CONST_WIDE_16 = 22; // 0x16 851 field public static final int OP_CONST_WIDE_32 = 23; // 0x17 852 field public static final int OP_CONST_WIDE_HIGH16 = 25; // 0x19 853 field public static final int OP_DIV_DOUBLE = 174; // 0xae 854 field public static final int OP_DIV_DOUBLE_2ADDR = 206; // 0xce 855 field public static final int OP_DIV_FLOAT = 169; // 0xa9 856 field public static final int OP_DIV_FLOAT_2ADDR = 201; // 0xc9 857 field public static final int OP_DIV_INT = 147; // 0x93 858 field public static final int OP_DIV_INT_2ADDR = 179; // 0xb3 859 field public static final int OP_DIV_INT_LIT16 = 211; // 0xd3 860 field public static final int OP_DIV_INT_LIT8 = 219; // 0xdb 861 field public static final int OP_DIV_LONG = 158; // 0x9e 862 field public static final int OP_DIV_LONG_2ADDR = 190; // 0xbe 863 field public static final int OP_DOUBLE_TO_FLOAT = 140; // 0x8c 864 field public static final int OP_DOUBLE_TO_INT = 138; // 0x8a 865 field public static final int OP_DOUBLE_TO_LONG = 139; // 0x8b 866 field @Deprecated public static final int OP_EXECUTE_INLINE = 238; // 0xee 867 field @Deprecated public static final int OP_EXECUTE_INLINE_RANGE = 239; // 0xef 868 field public static final int OP_FILLED_NEW_ARRAY = 36; // 0x24 869 field public static final int OP_FILLED_NEW_ARRAY_JUMBO = 1535; // 0x5ff 870 field public static final int OP_FILLED_NEW_ARRAY_RANGE = 37; // 0x25 871 field public static final int OP_FILL_ARRAY_DATA = 38; // 0x26 872 field public static final int OP_FLOAT_TO_DOUBLE = 137; // 0x89 873 field public static final int OP_FLOAT_TO_INT = 135; // 0x87 874 field public static final int OP_FLOAT_TO_LONG = 136; // 0x88 875 field public static final int OP_GOTO = 40; // 0x28 876 field public static final int OP_GOTO_16 = 41; // 0x29 877 field public static final int OP_GOTO_32 = 42; // 0x2a 878 field public static final int OP_IF_EQ = 50; // 0x32 879 field public static final int OP_IF_EQZ = 56; // 0x38 880 field public static final int OP_IF_GE = 53; // 0x35 881 field public static final int OP_IF_GEZ = 59; // 0x3b 882 field public static final int OP_IF_GT = 54; // 0x36 883 field public static final int OP_IF_GTZ = 60; // 0x3c 884 field public static final int OP_IF_LE = 55; // 0x37 885 field public static final int OP_IF_LEZ = 61; // 0x3d 886 field public static final int OP_IF_LT = 52; // 0x34 887 field public static final int OP_IF_LTZ = 58; // 0x3a 888 field public static final int OP_IF_NE = 51; // 0x33 889 field public static final int OP_IF_NEZ = 57; // 0x39 890 field public static final int OP_IGET = 82; // 0x52 891 field public static final int OP_IGET_BOOLEAN = 85; // 0x55 892 field public static final int OP_IGET_BOOLEAN_JUMBO = 2559; // 0x9ff 893 field public static final int OP_IGET_BYTE = 86; // 0x56 894 field public static final int OP_IGET_BYTE_JUMBO = 2815; // 0xaff 895 field public static final int OP_IGET_CHAR = 87; // 0x57 896 field public static final int OP_IGET_CHAR_JUMBO = 3071; // 0xbff 897 field public static final int OP_IGET_JUMBO = 1791; // 0x6ff 898 field public static final int OP_IGET_OBJECT = 84; // 0x54 899 field public static final int OP_IGET_OBJECT_JUMBO = 2303; // 0x8ff 900 field @Deprecated public static final int OP_IGET_OBJECT_QUICK = 244; // 0xf4 901 field @Deprecated public static final int OP_IGET_QUICK = 242; // 0xf2 902 field public static final int OP_IGET_SHORT = 88; // 0x58 903 field public static final int OP_IGET_SHORT_JUMBO = 3327; // 0xcff 904 field public static final int OP_IGET_WIDE = 83; // 0x53 905 field public static final int OP_IGET_WIDE_JUMBO = 2047; // 0x7ff 906 field @Deprecated public static final int OP_IGET_WIDE_QUICK = 243; // 0xf3 907 field @Deprecated public static final int OP_IGET_WIDE_VOLATILE = 232; // 0xe8 908 field public static final int OP_INSTANCE_OF = 32; // 0x20 909 field public static final int OP_INSTANCE_OF_JUMBO = 767; // 0x2ff 910 field public static final int OP_INT_TO_BYTE = 141; // 0x8d 911 field public static final int OP_INT_TO_CHAR = 142; // 0x8e 912 field public static final int OP_INT_TO_DOUBLE = 131; // 0x83 913 field public static final int OP_INT_TO_FLOAT = 130; // 0x82 914 field public static final int OP_INT_TO_LONG = 129; // 0x81 915 field public static final int OP_INT_TO_SHORT = 143; // 0x8f 916 field public static final int OP_INVOKE_CUSTOM = 252; // 0xfc 917 field public static final int OP_INVOKE_CUSTOM_RANGE = 253; // 0xfd 918 field public static final int OP_INVOKE_DIRECT = 112; // 0x70 919 field @Deprecated public static final int OP_INVOKE_DIRECT_EMPTY = 240; // 0xf0 920 field public static final int OP_INVOKE_DIRECT_JUMBO = 9471; // 0x24ff 921 field public static final int OP_INVOKE_DIRECT_RANGE = 118; // 0x76 922 field public static final int OP_INVOKE_INTERFACE = 114; // 0x72 923 field public static final int OP_INVOKE_INTERFACE_JUMBO = 9983; // 0x26ff 924 field public static final int OP_INVOKE_INTERFACE_RANGE = 120; // 0x78 925 field public static final int OP_INVOKE_POLYMORPHIC = 250; // 0xfa 926 field public static final int OP_INVOKE_POLYMORPHIC_RANGE = 251; // 0xfb 927 field public static final int OP_INVOKE_STATIC = 113; // 0x71 928 field public static final int OP_INVOKE_STATIC_JUMBO = 9727; // 0x25ff 929 field public static final int OP_INVOKE_STATIC_RANGE = 119; // 0x77 930 field public static final int OP_INVOKE_SUPER = 111; // 0x6f 931 field public static final int OP_INVOKE_SUPER_JUMBO = 9215; // 0x23ff 932 field @Deprecated public static final int OP_INVOKE_SUPER_QUICK = 250; // 0xfa 933 field @Deprecated public static final int OP_INVOKE_SUPER_QUICK_RANGE = 251; // 0xfb 934 field public static final int OP_INVOKE_SUPER_RANGE = 117; // 0x75 935 field public static final int OP_INVOKE_VIRTUAL = 110; // 0x6e 936 field public static final int OP_INVOKE_VIRTUAL_JUMBO = 8959; // 0x22ff 937 field @Deprecated public static final int OP_INVOKE_VIRTUAL_QUICK = 248; // 0xf8 938 field @Deprecated public static final int OP_INVOKE_VIRTUAL_QUICK_RANGE = 249; // 0xf9 939 field public static final int OP_INVOKE_VIRTUAL_RANGE = 116; // 0x74 940 field public static final int OP_IPUT = 89; // 0x59 941 field public static final int OP_IPUT_BOOLEAN = 92; // 0x5c 942 field public static final int OP_IPUT_BOOLEAN_JUMBO = 4351; // 0x10ff 943 field public static final int OP_IPUT_BYTE = 93; // 0x5d 944 field public static final int OP_IPUT_BYTE_JUMBO = 4607; // 0x11ff 945 field public static final int OP_IPUT_CHAR = 94; // 0x5e 946 field public static final int OP_IPUT_CHAR_JUMBO = 4863; // 0x12ff 947 field public static final int OP_IPUT_JUMBO = 3583; // 0xdff 948 field public static final int OP_IPUT_OBJECT = 91; // 0x5b 949 field public static final int OP_IPUT_OBJECT_JUMBO = 4095; // 0xfff 950 field @Deprecated public static final int OP_IPUT_OBJECT_QUICK = 247; // 0xf7 951 field @Deprecated public static final int OP_IPUT_QUICK = 245; // 0xf5 952 field public static final int OP_IPUT_SHORT = 95; // 0x5f 953 field public static final int OP_IPUT_SHORT_JUMBO = 5119; // 0x13ff 954 field public static final int OP_IPUT_WIDE = 90; // 0x5a 955 field public static final int OP_IPUT_WIDE_JUMBO = 3839; // 0xeff 956 field @Deprecated public static final int OP_IPUT_WIDE_QUICK = 246; // 0xf6 957 field @Deprecated public static final int OP_IPUT_WIDE_VOLATILE = 233; // 0xe9 958 field public static final int OP_LONG_TO_DOUBLE = 134; // 0x86 959 field public static final int OP_LONG_TO_FLOAT = 133; // 0x85 960 field public static final int OP_LONG_TO_INT = 132; // 0x84 961 field public static final int OP_MONITOR_ENTER = 29; // 0x1d 962 field public static final int OP_MONITOR_EXIT = 30; // 0x1e 963 field public static final int OP_MOVE = 1; // 0x1 964 field public static final int OP_MOVE_16 = 3; // 0x3 965 field public static final int OP_MOVE_EXCEPTION = 13; // 0xd 966 field public static final int OP_MOVE_FROM16 = 2; // 0x2 967 field public static final int OP_MOVE_OBJECT = 7; // 0x7 968 field public static final int OP_MOVE_OBJECT_16 = 9; // 0x9 969 field public static final int OP_MOVE_OBJECT_FROM16 = 8; // 0x8 970 field public static final int OP_MOVE_RESULT = 10; // 0xa 971 field public static final int OP_MOVE_RESULT_OBJECT = 12; // 0xc 972 field public static final int OP_MOVE_RESULT_WIDE = 11; // 0xb 973 field public static final int OP_MOVE_WIDE = 4; // 0x4 974 field public static final int OP_MOVE_WIDE_16 = 6; // 0x6 975 field public static final int OP_MOVE_WIDE_FROM16 = 5; // 0x5 976 field public static final int OP_MUL_DOUBLE = 173; // 0xad 977 field public static final int OP_MUL_DOUBLE_2ADDR = 205; // 0xcd 978 field public static final int OP_MUL_FLOAT = 168; // 0xa8 979 field public static final int OP_MUL_FLOAT_2ADDR = 200; // 0xc8 980 field public static final int OP_MUL_INT = 146; // 0x92 981 field public static final int OP_MUL_INT_2ADDR = 178; // 0xb2 982 field public static final int OP_MUL_INT_LIT16 = 210; // 0xd2 983 field public static final int OP_MUL_INT_LIT8 = 218; // 0xda 984 field public static final int OP_MUL_LONG = 157; // 0x9d 985 field public static final int OP_MUL_LONG_2ADDR = 189; // 0xbd 986 field public static final int OP_NEG_DOUBLE = 128; // 0x80 987 field public static final int OP_NEG_FLOAT = 127; // 0x7f 988 field public static final int OP_NEG_INT = 123; // 0x7b 989 field public static final int OP_NEG_LONG = 125; // 0x7d 990 field public static final int OP_NEW_ARRAY = 35; // 0x23 991 field public static final int OP_NEW_ARRAY_JUMBO = 1279; // 0x4ff 992 field public static final int OP_NEW_INSTANCE = 34; // 0x22 993 field public static final int OP_NEW_INSTANCE_JUMBO = 1023; // 0x3ff 994 field public static final int OP_NOP = 0; // 0x0 995 field public static final int OP_NOT_INT = 124; // 0x7c 996 field public static final int OP_NOT_LONG = 126; // 0x7e 997 field public static final int OP_OR_INT = 150; // 0x96 998 field public static final int OP_OR_INT_2ADDR = 182; // 0xb6 999 field public static final int OP_OR_INT_LIT16 = 214; // 0xd6 1000 field public static final int OP_OR_INT_LIT8 = 222; // 0xde 1001 field public static final int OP_OR_LONG = 161; // 0xa1 1002 field public static final int OP_OR_LONG_2ADDR = 193; // 0xc1 1003 field public static final int OP_PACKED_SWITCH = 43; // 0x2b 1004 field public static final int OP_REM_DOUBLE = 175; // 0xaf 1005 field public static final int OP_REM_DOUBLE_2ADDR = 207; // 0xcf 1006 field public static final int OP_REM_FLOAT = 170; // 0xaa 1007 field public static final int OP_REM_FLOAT_2ADDR = 202; // 0xca 1008 field public static final int OP_REM_INT = 148; // 0x94 1009 field public static final int OP_REM_INT_2ADDR = 180; // 0xb4 1010 field public static final int OP_REM_INT_LIT16 = 212; // 0xd4 1011 field public static final int OP_REM_INT_LIT8 = 220; // 0xdc 1012 field public static final int OP_REM_LONG = 159; // 0x9f 1013 field public static final int OP_REM_LONG_2ADDR = 191; // 0xbf 1014 field public static final int OP_RETURN = 15; // 0xf 1015 field public static final int OP_RETURN_OBJECT = 17; // 0x11 1016 field public static final int OP_RETURN_VOID = 14; // 0xe 1017 field public static final int OP_RETURN_WIDE = 16; // 0x10 1018 field public static final int OP_RSUB_INT = 209; // 0xd1 1019 field public static final int OP_RSUB_INT_LIT8 = 217; // 0xd9 1020 field public static final int OP_SGET = 96; // 0x60 1021 field public static final int OP_SGET_BOOLEAN = 99; // 0x63 1022 field public static final int OP_SGET_BOOLEAN_JUMBO = 6143; // 0x17ff 1023 field public static final int OP_SGET_BYTE = 100; // 0x64 1024 field public static final int OP_SGET_BYTE_JUMBO = 6399; // 0x18ff 1025 field public static final int OP_SGET_CHAR = 101; // 0x65 1026 field public static final int OP_SGET_CHAR_JUMBO = 6655; // 0x19ff 1027 field public static final int OP_SGET_JUMBO = 5375; // 0x14ff 1028 field public static final int OP_SGET_OBJECT = 98; // 0x62 1029 field public static final int OP_SGET_OBJECT_JUMBO = 5887; // 0x16ff 1030 field public static final int OP_SGET_SHORT = 102; // 0x66 1031 field public static final int OP_SGET_SHORT_JUMBO = 6911; // 0x1aff 1032 field public static final int OP_SGET_WIDE = 97; // 0x61 1033 field public static final int OP_SGET_WIDE_JUMBO = 5631; // 0x15ff 1034 field @Deprecated public static final int OP_SGET_WIDE_VOLATILE = 234; // 0xea 1035 field public static final int OP_SHL_INT = 152; // 0x98 1036 field public static final int OP_SHL_INT_2ADDR = 184; // 0xb8 1037 field public static final int OP_SHL_INT_LIT8 = 224; // 0xe0 1038 field public static final int OP_SHL_LONG = 163; // 0xa3 1039 field public static final int OP_SHL_LONG_2ADDR = 195; // 0xc3 1040 field public static final int OP_SHR_INT = 153; // 0x99 1041 field public static final int OP_SHR_INT_2ADDR = 185; // 0xb9 1042 field public static final int OP_SHR_INT_LIT8 = 225; // 0xe1 1043 field public static final int OP_SHR_LONG = 164; // 0xa4 1044 field public static final int OP_SHR_LONG_2ADDR = 196; // 0xc4 1045 field public static final int OP_SPARSE_SWITCH = 44; // 0x2c 1046 field public static final int OP_SPUT = 103; // 0x67 1047 field public static final int OP_SPUT_BOOLEAN = 106; // 0x6a 1048 field public static final int OP_SPUT_BOOLEAN_JUMBO = 7935; // 0x1eff 1049 field public static final int OP_SPUT_BYTE = 107; // 0x6b 1050 field public static final int OP_SPUT_BYTE_JUMBO = 8191; // 0x1fff 1051 field public static final int OP_SPUT_CHAR = 108; // 0x6c 1052 field public static final int OP_SPUT_CHAR_JUMBO = 8447; // 0x20ff 1053 field public static final int OP_SPUT_JUMBO = 7167; // 0x1bff 1054 field public static final int OP_SPUT_OBJECT = 105; // 0x69 1055 field public static final int OP_SPUT_OBJECT_JUMBO = 7679; // 0x1dff 1056 field public static final int OP_SPUT_SHORT = 109; // 0x6d 1057 field public static final int OP_SPUT_SHORT_JUMBO = 8703; // 0x21ff 1058 field public static final int OP_SPUT_WIDE = 104; // 0x68 1059 field public static final int OP_SPUT_WIDE_JUMBO = 7423; // 0x1cff 1060 field @Deprecated public static final int OP_SPUT_WIDE_VOLATILE = 235; // 0xeb 1061 field public static final int OP_SUB_DOUBLE = 172; // 0xac 1062 field public static final int OP_SUB_DOUBLE_2ADDR = 204; // 0xcc 1063 field public static final int OP_SUB_FLOAT = 167; // 0xa7 1064 field public static final int OP_SUB_FLOAT_2ADDR = 199; // 0xc7 1065 field public static final int OP_SUB_INT = 145; // 0x91 1066 field public static final int OP_SUB_INT_2ADDR = 177; // 0xb1 1067 field public static final int OP_SUB_LONG = 156; // 0x9c 1068 field public static final int OP_SUB_LONG_2ADDR = 188; // 0xbc 1069 field public static final int OP_THROW = 39; // 0x27 1070 field @Deprecated public static final int OP_THROW_VERIFICATION_ERROR = 237; // 0xed 1071 field public static final int OP_USHR_INT = 154; // 0x9a 1072 field public static final int OP_USHR_INT_2ADDR = 186; // 0xba 1073 field public static final int OP_USHR_INT_LIT8 = 226; // 0xe2 1074 field public static final int OP_USHR_LONG = 165; // 0xa5 1075 field public static final int OP_USHR_LONG_2ADDR = 197; // 0xc5 1076 field public static final int OP_XOR_INT = 151; // 0x97 1077 field public static final int OP_XOR_INT_2ADDR = 183; // 0xb7 1078 field public static final int OP_XOR_INT_LIT16 = 215; // 0xd7 1079 field public static final int OP_XOR_INT_LIT8 = 223; // 0xdf 1080 field public static final int OP_XOR_LONG = 162; // 0xa2 1081 field public static final int OP_XOR_LONG_2ADDR = 194; // 0xc2 1082 } 1083 1084} 1085 1086package dalvik.system { 1087 1088 public final class ApplicationRuntime { 1089 method @NonNull public static dalvik.system.DexFile.OptimizationInfo getBaseApkOptimizationInfo(); 1090 } 1091 1092 public class BaseDexClassLoader extends java.lang.ClassLoader { 1093 ctor public BaseDexClassLoader(String, java.io.File, String, ClassLoader); 1094 method public String findLibrary(String); 1095 method protected java.util.Enumeration<java.net.URL> findResources(String); 1096 } 1097 1098 public final class DelegateLastClassLoader extends dalvik.system.PathClassLoader { 1099 ctor public DelegateLastClassLoader(String, ClassLoader); 1100 ctor public DelegateLastClassLoader(String, String, ClassLoader); 1101 ctor public DelegateLastClassLoader(@NonNull String, @Nullable String, @Nullable ClassLoader, boolean); 1102 } 1103 1104 public class DexClassLoader extends dalvik.system.BaseDexClassLoader { 1105 ctor public DexClassLoader(String, String, String, ClassLoader); 1106 } 1107 1108 public final class DexFile { 1109 ctor @Deprecated public DexFile(java.io.File) throws java.io.IOException; 1110 ctor @Deprecated public DexFile(String) throws java.io.IOException; 1111 method @Deprecated public void close() throws java.io.IOException; 1112 method @Deprecated public java.util.Enumeration<java.lang.String> entries(); 1113 method @Deprecated public String getName(); 1114 method @Deprecated public static boolean isDexOptNeeded(String) throws java.io.FileNotFoundException, java.io.IOException; 1115 method @Deprecated public Class loadClass(String, ClassLoader); 1116 method @Deprecated public static dalvik.system.DexFile loadDex(String, String, int) throws java.io.IOException; 1117 } 1118 1119 public static final class DexFile.OptimizationInfo { 1120 method public boolean isFullyCompiled(); 1121 method public boolean isOptimized(); 1122 method public boolean isVerified(); 1123 } 1124 1125 public final class InMemoryDexClassLoader extends dalvik.system.BaseDexClassLoader { 1126 ctor public InMemoryDexClassLoader(@NonNull java.nio.ByteBuffer[], @Nullable String, @Nullable ClassLoader); 1127 ctor public InMemoryDexClassLoader(@NonNull java.nio.ByteBuffer[], @Nullable ClassLoader); 1128 ctor public InMemoryDexClassLoader(@NonNull java.nio.ByteBuffer, @Nullable ClassLoader); 1129 } 1130 1131 public class PathClassLoader extends dalvik.system.BaseDexClassLoader { 1132 ctor public PathClassLoader(String, ClassLoader); 1133 ctor public PathClassLoader(String, String, ClassLoader); 1134 } 1135 1136 public final class ZipPathValidator { 1137 method public static void clearCallback(); 1138 method public static void setCallback(@NonNull dalvik.system.ZipPathValidator.Callback); 1139 } 1140 1141 public static interface ZipPathValidator.Callback { 1142 method public default void onZipEntryAccess(@NonNull String) throws java.util.zip.ZipException; 1143 } 1144 1145} 1146 1147package java.awt.font { 1148 1149 public final class NumericShaper implements java.io.Serializable { 1150 method public static java.awt.font.NumericShaper getContextualShaper(int); 1151 method public static java.awt.font.NumericShaper getContextualShaper(java.util.Set<java.awt.font.NumericShaper.Range>); 1152 method public static java.awt.font.NumericShaper getContextualShaper(int, int); 1153 method public static java.awt.font.NumericShaper getContextualShaper(java.util.Set<java.awt.font.NumericShaper.Range>, java.awt.font.NumericShaper.Range); 1154 method public java.util.Set<java.awt.font.NumericShaper.Range> getRangeSet(); 1155 method public int getRanges(); 1156 method public static java.awt.font.NumericShaper getShaper(int); 1157 method public static java.awt.font.NumericShaper getShaper(java.awt.font.NumericShaper.Range); 1158 method public boolean isContextual(); 1159 method public void shape(char[], int, int); 1160 method public void shape(char[], int, int, int); 1161 method public void shape(char[], int, int, java.awt.font.NumericShaper.Range); 1162 field public static final int ALL_RANGES = 524287; // 0x7ffff 1163 field public static final int ARABIC = 2; // 0x2 1164 field public static final int BENGALI = 16; // 0x10 1165 field public static final int DEVANAGARI = 8; // 0x8 1166 field public static final int EASTERN_ARABIC = 4; // 0x4 1167 field public static final int ETHIOPIC = 65536; // 0x10000 1168 field public static final int EUROPEAN = 1; // 0x1 1169 field public static final int GUJARATI = 64; // 0x40 1170 field public static final int GURMUKHI = 32; // 0x20 1171 field public static final int KANNADA = 1024; // 0x400 1172 field public static final int KHMER = 131072; // 0x20000 1173 field public static final int LAO = 8192; // 0x2000 1174 field public static final int MALAYALAM = 2048; // 0x800 1175 field public static final int MONGOLIAN = 262144; // 0x40000 1176 field public static final int MYANMAR = 32768; // 0x8000 1177 field public static final int ORIYA = 128; // 0x80 1178 field public static final int TAMIL = 256; // 0x100 1179 field public static final int TELUGU = 512; // 0x200 1180 field public static final int THAI = 4096; // 0x1000 1181 field public static final int TIBETAN = 16384; // 0x4000 1182 } 1183 1184 public enum NumericShaper.Range { 1185 enum_constant public static final java.awt.font.NumericShaper.Range ARABIC; 1186 enum_constant public static final java.awt.font.NumericShaper.Range BALINESE; 1187 enum_constant public static final java.awt.font.NumericShaper.Range BENGALI; 1188 enum_constant public static final java.awt.font.NumericShaper.Range CHAM; 1189 enum_constant public static final java.awt.font.NumericShaper.Range DEVANAGARI; 1190 enum_constant public static final java.awt.font.NumericShaper.Range EASTERN_ARABIC; 1191 enum_constant public static final java.awt.font.NumericShaper.Range ETHIOPIC; 1192 enum_constant public static final java.awt.font.NumericShaper.Range EUROPEAN; 1193 enum_constant public static final java.awt.font.NumericShaper.Range GUJARATI; 1194 enum_constant public static final java.awt.font.NumericShaper.Range GURMUKHI; 1195 enum_constant public static final java.awt.font.NumericShaper.Range JAVANESE; 1196 enum_constant public static final java.awt.font.NumericShaper.Range KANNADA; 1197 enum_constant public static final java.awt.font.NumericShaper.Range KAYAH_LI; 1198 enum_constant public static final java.awt.font.NumericShaper.Range KHMER; 1199 enum_constant public static final java.awt.font.NumericShaper.Range LAO; 1200 enum_constant public static final java.awt.font.NumericShaper.Range LEPCHA; 1201 enum_constant public static final java.awt.font.NumericShaper.Range LIMBU; 1202 enum_constant public static final java.awt.font.NumericShaper.Range MALAYALAM; 1203 enum_constant public static final java.awt.font.NumericShaper.Range MEETEI_MAYEK; 1204 enum_constant public static final java.awt.font.NumericShaper.Range MONGOLIAN; 1205 enum_constant public static final java.awt.font.NumericShaper.Range MYANMAR; 1206 enum_constant public static final java.awt.font.NumericShaper.Range MYANMAR_SHAN; 1207 enum_constant public static final java.awt.font.NumericShaper.Range NEW_TAI_LUE; 1208 enum_constant public static final java.awt.font.NumericShaper.Range NKO; 1209 enum_constant public static final java.awt.font.NumericShaper.Range OL_CHIKI; 1210 enum_constant public static final java.awt.font.NumericShaper.Range ORIYA; 1211 enum_constant public static final java.awt.font.NumericShaper.Range SAURASHTRA; 1212 enum_constant public static final java.awt.font.NumericShaper.Range SUNDANESE; 1213 enum_constant public static final java.awt.font.NumericShaper.Range TAI_THAM_HORA; 1214 enum_constant public static final java.awt.font.NumericShaper.Range TAI_THAM_THAM; 1215 enum_constant public static final java.awt.font.NumericShaper.Range TAMIL; 1216 enum_constant public static final java.awt.font.NumericShaper.Range TELUGU; 1217 enum_constant public static final java.awt.font.NumericShaper.Range THAI; 1218 enum_constant public static final java.awt.font.NumericShaper.Range TIBETAN; 1219 enum_constant public static final java.awt.font.NumericShaper.Range VAI; 1220 } 1221 1222 public final class TextAttribute extends java.text.AttributedCharacterIterator.Attribute { 1223 ctor protected TextAttribute(String); 1224 field public static final java.awt.font.TextAttribute BACKGROUND; 1225 field public static final java.awt.font.TextAttribute BIDI_EMBEDDING; 1226 field public static final java.awt.font.TextAttribute CHAR_REPLACEMENT; 1227 field public static final java.awt.font.TextAttribute FAMILY; 1228 field public static final java.awt.font.TextAttribute FONT; 1229 field public static final java.awt.font.TextAttribute FOREGROUND; 1230 field public static final java.awt.font.TextAttribute INPUT_METHOD_HIGHLIGHT; 1231 field public static final java.awt.font.TextAttribute INPUT_METHOD_UNDERLINE; 1232 field public static final java.awt.font.TextAttribute JUSTIFICATION; 1233 field public static final Float JUSTIFICATION_FULL; 1234 field public static final Float JUSTIFICATION_NONE; 1235 field public static final java.awt.font.TextAttribute KERNING; 1236 field public static final Integer KERNING_ON; 1237 field public static final java.awt.font.TextAttribute LIGATURES; 1238 field public static final Integer LIGATURES_ON; 1239 field public static final java.awt.font.TextAttribute NUMERIC_SHAPING; 1240 field public static final java.awt.font.TextAttribute POSTURE; 1241 field public static final Float POSTURE_OBLIQUE; 1242 field public static final Float POSTURE_REGULAR; 1243 field public static final java.awt.font.TextAttribute RUN_DIRECTION; 1244 field public static final Boolean RUN_DIRECTION_LTR; 1245 field public static final Boolean RUN_DIRECTION_RTL; 1246 field public static final java.awt.font.TextAttribute SIZE; 1247 field public static final java.awt.font.TextAttribute STRIKETHROUGH; 1248 field public static final Boolean STRIKETHROUGH_ON; 1249 field public static final java.awt.font.TextAttribute SUPERSCRIPT; 1250 field public static final Integer SUPERSCRIPT_SUB; 1251 field public static final Integer SUPERSCRIPT_SUPER; 1252 field public static final java.awt.font.TextAttribute SWAP_COLORS; 1253 field public static final Boolean SWAP_COLORS_ON; 1254 field public static final java.awt.font.TextAttribute TRACKING; 1255 field public static final Float TRACKING_LOOSE; 1256 field public static final Float TRACKING_TIGHT; 1257 field public static final java.awt.font.TextAttribute TRANSFORM; 1258 field public static final java.awt.font.TextAttribute UNDERLINE; 1259 field public static final Integer UNDERLINE_LOW_DASHED; 1260 field public static final Integer UNDERLINE_LOW_DOTTED; 1261 field public static final Integer UNDERLINE_LOW_GRAY; 1262 field public static final Integer UNDERLINE_LOW_ONE_PIXEL; 1263 field public static final Integer UNDERLINE_LOW_TWO_PIXEL; 1264 field public static final Integer UNDERLINE_ON; 1265 field public static final java.awt.font.TextAttribute WEIGHT; 1266 field public static final Float WEIGHT_BOLD; 1267 field public static final Float WEIGHT_DEMIBOLD; 1268 field public static final Float WEIGHT_DEMILIGHT; 1269 field public static final Float WEIGHT_EXTRABOLD; 1270 field public static final Float WEIGHT_EXTRA_LIGHT; 1271 field public static final Float WEIGHT_HEAVY; 1272 field public static final Float WEIGHT_LIGHT; 1273 field public static final Float WEIGHT_MEDIUM; 1274 field public static final Float WEIGHT_REGULAR; 1275 field public static final Float WEIGHT_SEMIBOLD; 1276 field public static final Float WEIGHT_ULTRABOLD; 1277 field public static final java.awt.font.TextAttribute WIDTH; 1278 field public static final Float WIDTH_CONDENSED; 1279 field public static final Float WIDTH_EXTENDED; 1280 field public static final Float WIDTH_REGULAR; 1281 field public static final Float WIDTH_SEMI_CONDENSED; 1282 field public static final Float WIDTH_SEMI_EXTENDED; 1283 } 1284 1285} 1286 1287package java.beans { 1288 1289 public class IndexedPropertyChangeEvent extends java.beans.PropertyChangeEvent { 1290 ctor public IndexedPropertyChangeEvent(Object, String, Object, Object, int); 1291 method public int getIndex(); 1292 } 1293 1294 public class PropertyChangeEvent extends java.util.EventObject { 1295 ctor public PropertyChangeEvent(Object, String, Object, Object); 1296 method public Object getNewValue(); 1297 method public Object getOldValue(); 1298 method public Object getPropagationId(); 1299 method public String getPropertyName(); 1300 method public void setPropagationId(Object); 1301 } 1302 1303 public interface PropertyChangeListener extends java.util.EventListener { 1304 method public void propertyChange(java.beans.PropertyChangeEvent); 1305 } 1306 1307 public class PropertyChangeListenerProxy extends java.util.EventListenerProxy<java.beans.PropertyChangeListener> implements java.beans.PropertyChangeListener { 1308 ctor public PropertyChangeListenerProxy(String, java.beans.PropertyChangeListener); 1309 method public String getPropertyName(); 1310 method public void propertyChange(java.beans.PropertyChangeEvent); 1311 } 1312 1313 public class PropertyChangeSupport implements java.io.Serializable { 1314 ctor public PropertyChangeSupport(Object); 1315 method public void addPropertyChangeListener(java.beans.PropertyChangeListener); 1316 method public void addPropertyChangeListener(String, java.beans.PropertyChangeListener); 1317 method public void fireIndexedPropertyChange(String, int, Object, Object); 1318 method public void fireIndexedPropertyChange(String, int, int, int); 1319 method public void fireIndexedPropertyChange(String, int, boolean, boolean); 1320 method public void firePropertyChange(String, Object, Object); 1321 method public void firePropertyChange(String, int, int); 1322 method public void firePropertyChange(String, boolean, boolean); 1323 method public void firePropertyChange(java.beans.PropertyChangeEvent); 1324 method public java.beans.PropertyChangeListener[] getPropertyChangeListeners(); 1325 method public java.beans.PropertyChangeListener[] getPropertyChangeListeners(String); 1326 method public boolean hasListeners(String); 1327 method public void removePropertyChangeListener(java.beans.PropertyChangeListener); 1328 method public void removePropertyChangeListener(String, java.beans.PropertyChangeListener); 1329 } 1330 1331} 1332 1333package java.io { 1334 1335 public class BufferedInputStream extends java.io.FilterInputStream { 1336 ctor public BufferedInputStream(java.io.InputStream); 1337 ctor public BufferedInputStream(java.io.InputStream, int); 1338 field protected volatile byte[] buf; 1339 field protected int count; 1340 field protected int marklimit; 1341 field protected int markpos; 1342 field protected int pos; 1343 } 1344 1345 public class BufferedOutputStream extends java.io.FilterOutputStream { 1346 ctor public BufferedOutputStream(java.io.OutputStream); 1347 ctor public BufferedOutputStream(java.io.OutputStream, int); 1348 field protected byte[] buf; 1349 field protected int count; 1350 } 1351 1352 public class BufferedReader extends java.io.Reader { 1353 ctor public BufferedReader(java.io.Reader, int); 1354 ctor public BufferedReader(java.io.Reader); 1355 method public void close() throws java.io.IOException; 1356 method public java.util.stream.Stream<java.lang.String> lines(); 1357 method public int read(char[], int, int) throws java.io.IOException; 1358 method public String readLine() throws java.io.IOException; 1359 } 1360 1361 public class BufferedWriter extends java.io.Writer { 1362 ctor public BufferedWriter(java.io.Writer); 1363 ctor public BufferedWriter(java.io.Writer, int); 1364 method public void close() throws java.io.IOException; 1365 method public void flush() throws java.io.IOException; 1366 method public void newLine() throws java.io.IOException; 1367 method public void write(char[], int, int) throws java.io.IOException; 1368 } 1369 1370 public class ByteArrayInputStream extends java.io.InputStream { 1371 ctor public ByteArrayInputStream(byte[]); 1372 ctor public ByteArrayInputStream(byte[], int, int); 1373 method public int available(); 1374 method public int read(); 1375 method public int read(byte[], int, int); 1376 method public byte[] readAllBytes(); 1377 method public int readNBytes(byte[], int, int); 1378 method public void reset(); 1379 method public long skip(long); 1380 field protected byte[] buf; 1381 field protected int count; 1382 field protected int mark; 1383 field protected int pos; 1384 } 1385 1386 public class ByteArrayOutputStream extends java.io.OutputStream { 1387 ctor public ByteArrayOutputStream(); 1388 ctor public ByteArrayOutputStream(int); 1389 method public void reset(); 1390 method public int size(); 1391 method @NonNull public byte[] toByteArray(); 1392 method @NonNull public String toString(@NonNull String) throws java.io.UnsupportedEncodingException; 1393 method @NonNull public String toString(@NonNull java.nio.charset.Charset); 1394 method @Deprecated @NonNull public String toString(int); 1395 method public void write(int); 1396 method public void write(@NonNull byte[], int, int); 1397 method public void writeBytes(byte[]); 1398 method public void writeTo(@NonNull java.io.OutputStream) throws java.io.IOException; 1399 field @NonNull protected byte[] buf; 1400 field protected int count; 1401 } 1402 1403 public class CharArrayReader extends java.io.Reader { 1404 ctor public CharArrayReader(char[]); 1405 ctor public CharArrayReader(char[], int, int); 1406 method public void close(); 1407 method public int read(char[], int, int) throws java.io.IOException; 1408 field protected char[] buf; 1409 field protected int count; 1410 field protected int markedPos; 1411 field protected int pos; 1412 } 1413 1414 public class CharArrayWriter extends java.io.Writer { 1415 ctor public CharArrayWriter(); 1416 ctor public CharArrayWriter(int); 1417 method public java.io.CharArrayWriter append(CharSequence); 1418 method public java.io.CharArrayWriter append(CharSequence, int, int); 1419 method public java.io.CharArrayWriter append(char); 1420 method public void close(); 1421 method public void flush(); 1422 method public void reset(); 1423 method public int size(); 1424 method public char[] toCharArray(); 1425 method public void write(int); 1426 method public void write(char[], int, int); 1427 method public void write(String, int, int); 1428 method public void writeTo(java.io.Writer) throws java.io.IOException; 1429 field protected char[] buf; 1430 field protected int count; 1431 } 1432 1433 public class CharConversionException extends java.io.IOException { 1434 ctor public CharConversionException(); 1435 ctor public CharConversionException(String); 1436 } 1437 1438 public interface Closeable extends java.lang.AutoCloseable { 1439 method public void close() throws java.io.IOException; 1440 } 1441 1442 public final class Console implements java.io.Flushable { 1443 method @FlaggedApi("com.android.libcore.v_apis") public java.nio.charset.Charset charset(); 1444 method public void flush(); 1445 method public java.io.Console format(String, java.lang.Object...); 1446 method public java.io.Console printf(String, java.lang.Object...); 1447 method public String readLine(String, java.lang.Object...); 1448 method public String readLine(); 1449 method public char[] readPassword(String, java.lang.Object...); 1450 method public char[] readPassword(); 1451 method public java.io.Reader reader(); 1452 method public java.io.PrintWriter writer(); 1453 } 1454 1455 public interface DataInput { 1456 method public boolean readBoolean() throws java.io.IOException; 1457 method public byte readByte() throws java.io.IOException; 1458 method public char readChar() throws java.io.IOException; 1459 method public double readDouble() throws java.io.IOException; 1460 method public float readFloat() throws java.io.IOException; 1461 method public void readFully(byte[]) throws java.io.IOException; 1462 method public void readFully(byte[], int, int) throws java.io.IOException; 1463 method public int readInt() throws java.io.IOException; 1464 method public String readLine() throws java.io.IOException; 1465 method public long readLong() throws java.io.IOException; 1466 method public short readShort() throws java.io.IOException; 1467 method public String readUTF() throws java.io.IOException; 1468 method public int readUnsignedByte() throws java.io.IOException; 1469 method public int readUnsignedShort() throws java.io.IOException; 1470 method public int skipBytes(int) throws java.io.IOException; 1471 } 1472 1473 public class DataInputStream extends java.io.FilterInputStream implements java.io.DataInput { 1474 ctor public DataInputStream(java.io.InputStream); 1475 method public final int read(byte[]) throws java.io.IOException; 1476 method public final int read(byte[], int, int) throws java.io.IOException; 1477 method public final boolean readBoolean() throws java.io.IOException; 1478 method public final byte readByte() throws java.io.IOException; 1479 method public final char readChar() throws java.io.IOException; 1480 method public final double readDouble() throws java.io.IOException; 1481 method public final float readFloat() throws java.io.IOException; 1482 method public final void readFully(byte[]) throws java.io.IOException; 1483 method public final void readFully(byte[], int, int) throws java.io.IOException; 1484 method public final int readInt() throws java.io.IOException; 1485 method @Deprecated public final String readLine() throws java.io.IOException; 1486 method public final long readLong() throws java.io.IOException; 1487 method public final short readShort() throws java.io.IOException; 1488 method public final String readUTF() throws java.io.IOException; 1489 method public static final String readUTF(java.io.DataInput) throws java.io.IOException; 1490 method public final int readUnsignedByte() throws java.io.IOException; 1491 method public final int readUnsignedShort() throws java.io.IOException; 1492 method public final int skipBytes(int) throws java.io.IOException; 1493 } 1494 1495 public interface DataOutput { 1496 method public void write(int) throws java.io.IOException; 1497 method public void write(byte[]) throws java.io.IOException; 1498 method public void write(byte[], int, int) throws java.io.IOException; 1499 method public void writeBoolean(boolean) throws java.io.IOException; 1500 method public void writeByte(int) throws java.io.IOException; 1501 method public void writeBytes(String) throws java.io.IOException; 1502 method public void writeChar(int) throws java.io.IOException; 1503 method public void writeChars(String) throws java.io.IOException; 1504 method public void writeDouble(double) throws java.io.IOException; 1505 method public void writeFloat(float) throws java.io.IOException; 1506 method public void writeInt(int) throws java.io.IOException; 1507 method public void writeLong(long) throws java.io.IOException; 1508 method public void writeShort(int) throws java.io.IOException; 1509 method public void writeUTF(String) throws java.io.IOException; 1510 } 1511 1512 public class DataOutputStream extends java.io.FilterOutputStream implements java.io.DataOutput { 1513 ctor public DataOutputStream(java.io.OutputStream); 1514 method public final int size(); 1515 method public final void writeBoolean(boolean) throws java.io.IOException; 1516 method public final void writeByte(int) throws java.io.IOException; 1517 method public final void writeBytes(String) throws java.io.IOException; 1518 method public final void writeChar(int) throws java.io.IOException; 1519 method public final void writeChars(String) throws java.io.IOException; 1520 method public final void writeDouble(double) throws java.io.IOException; 1521 method public final void writeFloat(float) throws java.io.IOException; 1522 method public final void writeInt(int) throws java.io.IOException; 1523 method public final void writeLong(long) throws java.io.IOException; 1524 method public final void writeShort(int) throws java.io.IOException; 1525 method public final void writeUTF(String) throws java.io.IOException; 1526 field protected int written; 1527 } 1528 1529 public class EOFException extends java.io.IOException { 1530 ctor public EOFException(); 1531 ctor public EOFException(String); 1532 } 1533 1534 public interface Externalizable extends java.io.Serializable { 1535 method public void readExternal(java.io.ObjectInput) throws java.lang.ClassNotFoundException, java.io.IOException; 1536 method public void writeExternal(java.io.ObjectOutput) throws java.io.IOException; 1537 } 1538 1539 public class File implements java.lang.Comparable<java.io.File> java.io.Serializable { 1540 ctor public File(@NonNull String); 1541 ctor public File(@Nullable String, @NonNull String); 1542 ctor public File(@Nullable java.io.File, @NonNull String); 1543 ctor public File(@NonNull java.net.URI); 1544 method public boolean canExecute(); 1545 method public boolean canRead(); 1546 method public boolean canWrite(); 1547 method public int compareTo(@NonNull java.io.File); 1548 method public boolean createNewFile() throws java.io.IOException; 1549 method @NonNull public static java.io.File createTempFile(@NonNull String, @Nullable String, @Nullable java.io.File) throws java.io.IOException; 1550 method @NonNull public static java.io.File createTempFile(@NonNull String, @Nullable String) throws java.io.IOException; 1551 method public boolean delete(); 1552 method public void deleteOnExit(); 1553 method public boolean exists(); 1554 method @NonNull public java.io.File getAbsoluteFile(); 1555 method @NonNull public String getAbsolutePath(); 1556 method @NonNull public java.io.File getCanonicalFile() throws java.io.IOException; 1557 method @NonNull public String getCanonicalPath() throws java.io.IOException; 1558 method public long getFreeSpace(); 1559 method @NonNull public String getName(); 1560 method @Nullable public String getParent(); 1561 method @Nullable public java.io.File getParentFile(); 1562 method @NonNull public String getPath(); 1563 method public long getTotalSpace(); 1564 method public long getUsableSpace(); 1565 method public boolean isAbsolute(); 1566 method public boolean isDirectory(); 1567 method public boolean isFile(); 1568 method public boolean isHidden(); 1569 method public long lastModified(); 1570 method public long length(); 1571 method @Nullable public String[] list(); 1572 method @Nullable public String[] list(@Nullable java.io.FilenameFilter); 1573 method @Nullable public java.io.File[] listFiles(); 1574 method @Nullable public java.io.File[] listFiles(@Nullable java.io.FilenameFilter); 1575 method @Nullable public java.io.File[] listFiles(@Nullable java.io.FileFilter); 1576 method @NonNull public static java.io.File[] listRoots(); 1577 method public boolean mkdir(); 1578 method public boolean mkdirs(); 1579 method public boolean renameTo(@NonNull java.io.File); 1580 method public boolean setExecutable(boolean, boolean); 1581 method public boolean setExecutable(boolean); 1582 method public boolean setLastModified(long); 1583 method public boolean setReadOnly(); 1584 method public boolean setReadable(boolean, boolean); 1585 method public boolean setReadable(boolean); 1586 method public boolean setWritable(boolean, boolean); 1587 method public boolean setWritable(boolean); 1588 method @NonNull public java.nio.file.Path toPath(); 1589 method @NonNull public java.net.URI toURI(); 1590 method @Deprecated @NonNull public java.net.URL toURL() throws java.net.MalformedURLException; 1591 field @NonNull public static final String pathSeparator; 1592 field public static final char pathSeparatorChar; 1593 field @NonNull public static final String separator; 1594 field public static final char separatorChar; 1595 } 1596 1597 public final class FileDescriptor { 1598 ctor public FileDescriptor(); 1599 method public void sync() throws java.io.SyncFailedException; 1600 method public boolean valid(); 1601 field public static final java.io.FileDescriptor err; 1602 field public static final java.io.FileDescriptor in; 1603 field public static final java.io.FileDescriptor out; 1604 } 1605 1606 @java.lang.FunctionalInterface public interface FileFilter { 1607 method public boolean accept(java.io.File); 1608 } 1609 1610 public class FileInputStream extends java.io.InputStream { 1611 ctor public FileInputStream(String) throws java.io.FileNotFoundException; 1612 ctor public FileInputStream(java.io.File) throws java.io.FileNotFoundException; 1613 ctor public FileInputStream(java.io.FileDescriptor); 1614 method protected void finalize() throws java.io.IOException; 1615 method public java.nio.channels.FileChannel getChannel(); 1616 method public final java.io.FileDescriptor getFD() throws java.io.IOException; 1617 method public int read() throws java.io.IOException; 1618 } 1619 1620 public class FileNotFoundException extends java.io.IOException { 1621 ctor public FileNotFoundException(); 1622 ctor public FileNotFoundException(String); 1623 } 1624 1625 public class FileOutputStream extends java.io.OutputStream { 1626 ctor public FileOutputStream(String) throws java.io.FileNotFoundException; 1627 ctor public FileOutputStream(String, boolean) throws java.io.FileNotFoundException; 1628 ctor public FileOutputStream(java.io.File) throws java.io.FileNotFoundException; 1629 ctor public FileOutputStream(java.io.File, boolean) throws java.io.FileNotFoundException; 1630 ctor public FileOutputStream(java.io.FileDescriptor); 1631 method protected void finalize() throws java.io.IOException; 1632 method public java.nio.channels.FileChannel getChannel(); 1633 method public final java.io.FileDescriptor getFD() throws java.io.IOException; 1634 method public void write(int) throws java.io.IOException; 1635 } 1636 1637 public final class FilePermission extends java.security.Permission implements java.io.Serializable { 1638 ctor public FilePermission(String, String); 1639 method public String getActions(); 1640 method public boolean implies(java.security.Permission); 1641 } 1642 1643 public class FileReader extends java.io.InputStreamReader { 1644 ctor public FileReader(String) throws java.io.FileNotFoundException; 1645 ctor public FileReader(java.io.File) throws java.io.FileNotFoundException; 1646 ctor public FileReader(java.io.FileDescriptor); 1647 ctor public FileReader(String, java.nio.charset.Charset) throws java.io.IOException; 1648 ctor public FileReader(java.io.File, java.nio.charset.Charset) throws java.io.IOException; 1649 } 1650 1651 public class FileWriter extends java.io.OutputStreamWriter { 1652 ctor public FileWriter(String) throws java.io.IOException; 1653 ctor public FileWriter(String, boolean) throws java.io.IOException; 1654 ctor public FileWriter(java.io.File) throws java.io.IOException; 1655 ctor public FileWriter(java.io.File, boolean) throws java.io.IOException; 1656 ctor public FileWriter(java.io.FileDescriptor); 1657 ctor public FileWriter(String, java.nio.charset.Charset) throws java.io.IOException; 1658 ctor public FileWriter(String, java.nio.charset.Charset, boolean) throws java.io.IOException; 1659 ctor public FileWriter(java.io.File, java.nio.charset.Charset) throws java.io.IOException; 1660 ctor public FileWriter(java.io.File, java.nio.charset.Charset, boolean) throws java.io.IOException; 1661 } 1662 1663 @java.lang.FunctionalInterface public interface FilenameFilter { 1664 method public boolean accept(java.io.File, String); 1665 } 1666 1667 public class FilterInputStream extends java.io.InputStream { 1668 ctor protected FilterInputStream(java.io.InputStream); 1669 method public int read() throws java.io.IOException; 1670 field protected volatile java.io.InputStream in; 1671 } 1672 1673 public class FilterOutputStream extends java.io.OutputStream { 1674 ctor public FilterOutputStream(java.io.OutputStream); 1675 method public void write(int) throws java.io.IOException; 1676 field protected java.io.OutputStream out; 1677 } 1678 1679 public abstract class FilterReader extends java.io.Reader { 1680 ctor protected FilterReader(java.io.Reader); 1681 method public void close() throws java.io.IOException; 1682 method public int read(char[], int, int) throws java.io.IOException; 1683 field protected java.io.Reader in; 1684 } 1685 1686 public abstract class FilterWriter extends java.io.Writer { 1687 ctor protected FilterWriter(java.io.Writer); 1688 method public void close() throws java.io.IOException; 1689 method public void flush() throws java.io.IOException; 1690 method public void write(char[], int, int) throws java.io.IOException; 1691 field protected java.io.Writer out; 1692 } 1693 1694 public interface Flushable { 1695 method public void flush() throws java.io.IOException; 1696 } 1697 1698 public class IOError extends java.lang.Error { 1699 ctor public IOError(Throwable); 1700 } 1701 1702 public class IOException extends java.lang.Exception { 1703 ctor public IOException(); 1704 ctor public IOException(String); 1705 ctor public IOException(String, Throwable); 1706 ctor public IOException(Throwable); 1707 } 1708 1709 public abstract class InputStream implements java.io.Closeable { 1710 ctor public InputStream(); 1711 method public int available() throws java.io.IOException; 1712 method public void close() throws java.io.IOException; 1713 method public void mark(int); 1714 method public boolean markSupported(); 1715 method public static java.io.InputStream nullInputStream(); 1716 method public abstract int read() throws java.io.IOException; 1717 method public int read(byte[]) throws java.io.IOException; 1718 method public int read(byte[], int, int) throws java.io.IOException; 1719 method public byte[] readAllBytes() throws java.io.IOException; 1720 method public byte[] readNBytes(int) throws java.io.IOException; 1721 method public int readNBytes(byte[], int, int) throws java.io.IOException; 1722 method public void reset() throws java.io.IOException; 1723 method public long skip(long) throws java.io.IOException; 1724 method public void skipNBytes(long) throws java.io.IOException; 1725 method public long transferTo(java.io.OutputStream) throws java.io.IOException; 1726 } 1727 1728 public class InputStreamReader extends java.io.Reader { 1729 ctor public InputStreamReader(java.io.InputStream); 1730 ctor public InputStreamReader(java.io.InputStream, String) throws java.io.UnsupportedEncodingException; 1731 ctor public InputStreamReader(java.io.InputStream, java.nio.charset.Charset); 1732 ctor public InputStreamReader(java.io.InputStream, java.nio.charset.CharsetDecoder); 1733 method public void close() throws java.io.IOException; 1734 method public String getEncoding(); 1735 method public int read(char[], int, int) throws java.io.IOException; 1736 } 1737 1738 public class InterruptedIOException extends java.io.IOException { 1739 ctor public InterruptedIOException(); 1740 ctor public InterruptedIOException(String); 1741 field public int bytesTransferred; 1742 } 1743 1744 public class InvalidClassException extends java.io.ObjectStreamException { 1745 ctor public InvalidClassException(String); 1746 ctor public InvalidClassException(String, String); 1747 field public String classname; 1748 } 1749 1750 public class InvalidObjectException extends java.io.ObjectStreamException { 1751 ctor public InvalidObjectException(String); 1752 } 1753 1754 @Deprecated public class LineNumberInputStream extends java.io.FilterInputStream { 1755 ctor @Deprecated public LineNumberInputStream(java.io.InputStream); 1756 method @Deprecated public int getLineNumber(); 1757 method @Deprecated public void setLineNumber(int); 1758 } 1759 1760 public class LineNumberReader extends java.io.BufferedReader { 1761 ctor public LineNumberReader(java.io.Reader); 1762 ctor public LineNumberReader(java.io.Reader, int); 1763 method public int getLineNumber(); 1764 method public void setLineNumber(int); 1765 } 1766 1767 public class NotActiveException extends java.io.ObjectStreamException { 1768 ctor public NotActiveException(String); 1769 ctor public NotActiveException(); 1770 } 1771 1772 public class NotSerializableException extends java.io.ObjectStreamException { 1773 ctor public NotSerializableException(String); 1774 ctor public NotSerializableException(); 1775 } 1776 1777 public interface ObjectInput extends java.io.DataInput java.lang.AutoCloseable { 1778 method public int available() throws java.io.IOException; 1779 method public void close() throws java.io.IOException; 1780 method public int read() throws java.io.IOException; 1781 method public int read(byte[]) throws java.io.IOException; 1782 method public int read(byte[], int, int) throws java.io.IOException; 1783 method public Object readObject() throws java.lang.ClassNotFoundException, java.io.IOException; 1784 method public long skip(long) throws java.io.IOException; 1785 } 1786 1787 public class ObjectInputStream extends java.io.InputStream implements java.io.ObjectInput java.io.ObjectStreamConstants { 1788 ctor public ObjectInputStream(java.io.InputStream) throws java.io.IOException; 1789 ctor protected ObjectInputStream() throws java.io.IOException, java.lang.SecurityException; 1790 method public void defaultReadObject() throws java.lang.ClassNotFoundException, java.io.IOException; 1791 method protected boolean enableResolveObject(boolean) throws java.lang.SecurityException; 1792 method public int read() throws java.io.IOException; 1793 method public boolean readBoolean() throws java.io.IOException; 1794 method public byte readByte() throws java.io.IOException; 1795 method public char readChar() throws java.io.IOException; 1796 method protected java.io.ObjectStreamClass readClassDescriptor() throws java.lang.ClassNotFoundException, java.io.IOException; 1797 method public double readDouble() throws java.io.IOException; 1798 method public java.io.ObjectInputStream.GetField readFields() throws java.lang.ClassNotFoundException, java.io.IOException; 1799 method public float readFloat() throws java.io.IOException; 1800 method public void readFully(byte[]) throws java.io.IOException; 1801 method public void readFully(byte[], int, int) throws java.io.IOException; 1802 method public int readInt() throws java.io.IOException; 1803 method @Deprecated public String readLine() throws java.io.IOException; 1804 method public long readLong() throws java.io.IOException; 1805 method public final Object readObject() throws java.lang.ClassNotFoundException, java.io.IOException; 1806 method protected Object readObjectOverride() throws java.lang.ClassNotFoundException, java.io.IOException; 1807 method public short readShort() throws java.io.IOException; 1808 method protected void readStreamHeader() throws java.io.IOException, java.io.StreamCorruptedException; 1809 method public String readUTF() throws java.io.IOException; 1810 method public Object readUnshared() throws java.lang.ClassNotFoundException, java.io.IOException; 1811 method public int readUnsignedByte() throws java.io.IOException; 1812 method public int readUnsignedShort() throws java.io.IOException; 1813 method public void registerValidation(java.io.ObjectInputValidation, int) throws java.io.InvalidObjectException, java.io.NotActiveException; 1814 method protected Class<?> resolveClass(java.io.ObjectStreamClass) throws java.lang.ClassNotFoundException, java.io.IOException; 1815 method protected Object resolveObject(Object) throws java.io.IOException; 1816 method protected Class<?> resolveProxyClass(String[]) throws java.lang.ClassNotFoundException, java.io.IOException; 1817 method public int skipBytes(int) throws java.io.IOException; 1818 } 1819 1820 public abstract static class ObjectInputStream.GetField { 1821 ctor public ObjectInputStream.GetField(); 1822 method public abstract boolean defaulted(String) throws java.io.IOException; 1823 method public abstract boolean get(String, boolean) throws java.io.IOException; 1824 method public abstract byte get(String, byte) throws java.io.IOException; 1825 method public abstract char get(String, char) throws java.io.IOException; 1826 method public abstract short get(String, short) throws java.io.IOException; 1827 method public abstract int get(String, int) throws java.io.IOException; 1828 method public abstract long get(String, long) throws java.io.IOException; 1829 method public abstract float get(String, float) throws java.io.IOException; 1830 method public abstract double get(String, double) throws java.io.IOException; 1831 method public abstract Object get(String, Object) throws java.io.IOException; 1832 method public abstract java.io.ObjectStreamClass getObjectStreamClass(); 1833 } 1834 1835 public interface ObjectInputValidation { 1836 method public void validateObject() throws java.io.InvalidObjectException; 1837 } 1838 1839 public interface ObjectOutput extends java.io.DataOutput java.lang.AutoCloseable { 1840 method public void close() throws java.io.IOException; 1841 method public void flush() throws java.io.IOException; 1842 method public void writeObject(Object) throws java.io.IOException; 1843 } 1844 1845 public class ObjectOutputStream extends java.io.OutputStream implements java.io.ObjectOutput java.io.ObjectStreamConstants { 1846 ctor public ObjectOutputStream(java.io.OutputStream) throws java.io.IOException; 1847 ctor protected ObjectOutputStream() throws java.io.IOException, java.lang.SecurityException; 1848 method protected void annotateClass(Class<?>) throws java.io.IOException; 1849 method protected void annotateProxyClass(Class<?>) throws java.io.IOException; 1850 method public void defaultWriteObject() throws java.io.IOException; 1851 method protected void drain() throws java.io.IOException; 1852 method protected boolean enableReplaceObject(boolean) throws java.lang.SecurityException; 1853 method public java.io.ObjectOutputStream.PutField putFields() throws java.io.IOException; 1854 method protected Object replaceObject(Object) throws java.io.IOException; 1855 method public void reset() throws java.io.IOException; 1856 method public void useProtocolVersion(int) throws java.io.IOException; 1857 method public void write(int) throws java.io.IOException; 1858 method public void writeBoolean(boolean) throws java.io.IOException; 1859 method public void writeByte(int) throws java.io.IOException; 1860 method public void writeBytes(String) throws java.io.IOException; 1861 method public void writeChar(int) throws java.io.IOException; 1862 method public void writeChars(String) throws java.io.IOException; 1863 method protected void writeClassDescriptor(java.io.ObjectStreamClass) throws java.io.IOException; 1864 method public void writeDouble(double) throws java.io.IOException; 1865 method public void writeFields() throws java.io.IOException; 1866 method public void writeFloat(float) throws java.io.IOException; 1867 method public void writeInt(int) throws java.io.IOException; 1868 method public void writeLong(long) throws java.io.IOException; 1869 method public final void writeObject(Object) throws java.io.IOException; 1870 method protected void writeObjectOverride(Object) throws java.io.IOException; 1871 method public void writeShort(int) throws java.io.IOException; 1872 method protected void writeStreamHeader() throws java.io.IOException; 1873 method public void writeUTF(String) throws java.io.IOException; 1874 method public void writeUnshared(Object) throws java.io.IOException; 1875 } 1876 1877 public abstract static class ObjectOutputStream.PutField { 1878 ctor public ObjectOutputStream.PutField(); 1879 method public abstract void put(String, boolean); 1880 method public abstract void put(String, byte); 1881 method public abstract void put(String, char); 1882 method public abstract void put(String, short); 1883 method public abstract void put(String, int); 1884 method public abstract void put(String, long); 1885 method public abstract void put(String, float); 1886 method public abstract void put(String, double); 1887 method public abstract void put(String, Object); 1888 method @Deprecated public abstract void write(java.io.ObjectOutput) throws java.io.IOException; 1889 } 1890 1891 public class ObjectStreamClass implements java.io.Serializable { 1892 method public Class<?> forClass(); 1893 method public java.io.ObjectStreamField getField(String); 1894 method public java.io.ObjectStreamField[] getFields(); 1895 method public String getName(); 1896 method public long getSerialVersionUID(); 1897 method public static java.io.ObjectStreamClass lookup(Class<?>); 1898 method public static java.io.ObjectStreamClass lookupAny(Class<?>); 1899 field public static final java.io.ObjectStreamField[] NO_FIELDS; 1900 } 1901 1902 public interface ObjectStreamConstants { 1903 field public static final int PROTOCOL_VERSION_1 = 1; // 0x1 1904 field public static final int PROTOCOL_VERSION_2 = 2; // 0x2 1905 field public static final byte SC_BLOCK_DATA = 8; // 0x8 1906 field public static final byte SC_ENUM = 16; // 0x10 1907 field public static final byte SC_EXTERNALIZABLE = 4; // 0x4 1908 field public static final byte SC_SERIALIZABLE = 2; // 0x2 1909 field public static final byte SC_WRITE_METHOD = 1; // 0x1 1910 field public static final short STREAM_MAGIC = -21267; // 0xffffaced 1911 field public static final short STREAM_VERSION = 5; // 0x5 1912 field public static final java.io.SerializablePermission SUBCLASS_IMPLEMENTATION_PERMISSION; 1913 field public static final java.io.SerializablePermission SUBSTITUTION_PERMISSION; 1914 field public static final byte TC_ARRAY = 117; // 0x75 1915 field public static final byte TC_BASE = 112; // 0x70 1916 field public static final byte TC_BLOCKDATA = 119; // 0x77 1917 field public static final byte TC_BLOCKDATALONG = 122; // 0x7a 1918 field public static final byte TC_CLASS = 118; // 0x76 1919 field public static final byte TC_CLASSDESC = 114; // 0x72 1920 field public static final byte TC_ENDBLOCKDATA = 120; // 0x78 1921 field public static final byte TC_ENUM = 126; // 0x7e 1922 field public static final byte TC_EXCEPTION = 123; // 0x7b 1923 field public static final byte TC_LONGSTRING = 124; // 0x7c 1924 field public static final byte TC_MAX = 126; // 0x7e 1925 field public static final byte TC_NULL = 112; // 0x70 1926 field public static final byte TC_OBJECT = 115; // 0x73 1927 field public static final byte TC_PROXYCLASSDESC = 125; // 0x7d 1928 field public static final byte TC_REFERENCE = 113; // 0x71 1929 field public static final byte TC_RESET = 121; // 0x79 1930 field public static final byte TC_STRING = 116; // 0x74 1931 field public static final int baseWireHandle = 8257536; // 0x7e0000 1932 } 1933 1934 public abstract class ObjectStreamException extends java.io.IOException { 1935 ctor protected ObjectStreamException(String); 1936 ctor protected ObjectStreamException(); 1937 } 1938 1939 public class ObjectStreamField implements java.lang.Comparable<java.lang.Object> { 1940 ctor public ObjectStreamField(String, Class<?>); 1941 ctor public ObjectStreamField(String, Class<?>, boolean); 1942 method public int compareTo(Object); 1943 method public String getName(); 1944 method public int getOffset(); 1945 method public Class<?> getType(); 1946 method public char getTypeCode(); 1947 method public String getTypeString(); 1948 method public boolean isPrimitive(); 1949 method public boolean isUnshared(); 1950 method protected void setOffset(int); 1951 } 1952 1953 public class OptionalDataException extends java.io.ObjectStreamException { 1954 field public boolean eof; 1955 field public int length; 1956 } 1957 1958 public abstract class OutputStream implements java.io.Closeable java.io.Flushable { 1959 ctor public OutputStream(); 1960 method public void close() throws java.io.IOException; 1961 method public void flush() throws java.io.IOException; 1962 method public static java.io.OutputStream nullOutputStream(); 1963 method public abstract void write(int) throws java.io.IOException; 1964 method public void write(byte[]) throws java.io.IOException; 1965 method public void write(byte[], int, int) throws java.io.IOException; 1966 } 1967 1968 public class OutputStreamWriter extends java.io.Writer { 1969 ctor public OutputStreamWriter(java.io.OutputStream, String) throws java.io.UnsupportedEncodingException; 1970 ctor public OutputStreamWriter(java.io.OutputStream); 1971 ctor public OutputStreamWriter(java.io.OutputStream, java.nio.charset.Charset); 1972 ctor public OutputStreamWriter(java.io.OutputStream, java.nio.charset.CharsetEncoder); 1973 method public void close() throws java.io.IOException; 1974 method public void flush() throws java.io.IOException; 1975 method public String getEncoding(); 1976 method public void write(char[], int, int) throws java.io.IOException; 1977 } 1978 1979 public class PipedInputStream extends java.io.InputStream { 1980 ctor public PipedInputStream(java.io.PipedOutputStream) throws java.io.IOException; 1981 ctor public PipedInputStream(java.io.PipedOutputStream, int) throws java.io.IOException; 1982 ctor public PipedInputStream(); 1983 ctor public PipedInputStream(int); 1984 method public void connect(java.io.PipedOutputStream) throws java.io.IOException; 1985 method public int read() throws java.io.IOException; 1986 method protected void receive(int) throws java.io.IOException; 1987 field protected static final int PIPE_SIZE = 1024; // 0x400 1988 field protected byte[] buffer; 1989 field protected int in; 1990 field protected int out; 1991 } 1992 1993 public class PipedOutputStream extends java.io.OutputStream { 1994 ctor public PipedOutputStream(java.io.PipedInputStream) throws java.io.IOException; 1995 ctor public PipedOutputStream(); 1996 method public void connect(java.io.PipedInputStream) throws java.io.IOException; 1997 method public void write(int) throws java.io.IOException; 1998 } 1999 2000 public class PipedReader extends java.io.Reader { 2001 ctor public PipedReader(java.io.PipedWriter) throws java.io.IOException; 2002 ctor public PipedReader(java.io.PipedWriter, int) throws java.io.IOException; 2003 ctor public PipedReader(); 2004 ctor public PipedReader(int); 2005 method public void close() throws java.io.IOException; 2006 method public void connect(java.io.PipedWriter) throws java.io.IOException; 2007 method public int read(char[], int, int) throws java.io.IOException; 2008 } 2009 2010 public class PipedWriter extends java.io.Writer { 2011 ctor public PipedWriter(java.io.PipedReader) throws java.io.IOException; 2012 ctor public PipedWriter(); 2013 method public void close() throws java.io.IOException; 2014 method public void connect(java.io.PipedReader) throws java.io.IOException; 2015 method public void flush() throws java.io.IOException; 2016 method public void write(char[], int, int) throws java.io.IOException; 2017 } 2018 2019 public class PrintStream extends java.io.FilterOutputStream implements java.lang.Appendable java.io.Closeable { 2020 ctor public PrintStream(java.io.OutputStream); 2021 ctor public PrintStream(java.io.OutputStream, boolean); 2022 ctor public PrintStream(java.io.OutputStream, boolean, String) throws java.io.UnsupportedEncodingException; 2023 ctor public PrintStream(java.io.OutputStream, boolean, java.nio.charset.Charset); 2024 ctor public PrintStream(String) throws java.io.FileNotFoundException; 2025 ctor public PrintStream(String, String) throws java.io.FileNotFoundException, java.io.UnsupportedEncodingException; 2026 ctor public PrintStream(String, java.nio.charset.Charset) throws java.io.IOException; 2027 ctor public PrintStream(java.io.File) throws java.io.FileNotFoundException; 2028 ctor public PrintStream(java.io.File, String) throws java.io.FileNotFoundException, java.io.UnsupportedEncodingException; 2029 ctor public PrintStream(java.io.File, java.nio.charset.Charset) throws java.io.IOException; 2030 method public java.io.PrintStream append(CharSequence); 2031 method public java.io.PrintStream append(CharSequence, int, int); 2032 method public java.io.PrintStream append(char); 2033 method public boolean checkError(); 2034 method protected void clearError(); 2035 method public void close(); 2036 method public void flush(); 2037 method public java.io.PrintStream format(String, java.lang.Object...); 2038 method public java.io.PrintStream format(java.util.Locale, String, java.lang.Object...); 2039 method public void print(boolean); 2040 method public void print(char); 2041 method public void print(int); 2042 method public void print(long); 2043 method public void print(float); 2044 method public void print(double); 2045 method public void print(char[]); 2046 method public void print(String); 2047 method public void print(Object); 2048 method public java.io.PrintStream printf(String, java.lang.Object...); 2049 method public java.io.PrintStream printf(java.util.Locale, String, java.lang.Object...); 2050 method public void println(); 2051 method public void println(boolean); 2052 method public void println(char); 2053 method public void println(int); 2054 method public void println(long); 2055 method public void println(float); 2056 method public void println(double); 2057 method public void println(char[]); 2058 method public void println(String); 2059 method public void println(Object); 2060 method protected void setError(); 2061 method public void write(int); 2062 method public void write(byte[], int, int); 2063 method public void writeBytes(byte[]); 2064 } 2065 2066 public class PrintWriter extends java.io.Writer { 2067 ctor public PrintWriter(@NonNull java.io.Writer); 2068 ctor public PrintWriter(@NonNull java.io.Writer, boolean); 2069 ctor public PrintWriter(@NonNull java.io.OutputStream); 2070 ctor public PrintWriter(@NonNull java.io.OutputStream, boolean); 2071 ctor public PrintWriter(@NonNull java.io.OutputStream, boolean, @NonNull java.nio.charset.Charset); 2072 ctor public PrintWriter(@NonNull String) throws java.io.FileNotFoundException; 2073 ctor public PrintWriter(@NonNull String, @NonNull String) throws java.io.FileNotFoundException, java.io.UnsupportedEncodingException; 2074 ctor public PrintWriter(@NonNull String, @NonNull java.nio.charset.Charset) throws java.io.IOException; 2075 ctor public PrintWriter(@NonNull java.io.File) throws java.io.FileNotFoundException; 2076 ctor public PrintWriter(@NonNull java.io.File, @NonNull String) throws java.io.FileNotFoundException, java.io.UnsupportedEncodingException; 2077 ctor public PrintWriter(@NonNull java.io.File, @NonNull java.nio.charset.Charset) throws java.io.IOException; 2078 method @NonNull public java.io.PrintWriter append(@Nullable CharSequence); 2079 method @NonNull public java.io.PrintWriter append(@Nullable CharSequence, int, int); 2080 method @NonNull public java.io.PrintWriter append(char); 2081 method public boolean checkError(); 2082 method protected void clearError(); 2083 method public void close(); 2084 method public void flush(); 2085 method @NonNull public java.io.PrintWriter format(@NonNull String, @NonNull java.lang.Object...); 2086 method @NonNull public java.io.PrintWriter format(@Nullable java.util.Locale, @NonNull String, @NonNull java.lang.Object...); 2087 method public void print(boolean); 2088 method public void print(char); 2089 method public void print(int); 2090 method public void print(long); 2091 method public void print(float); 2092 method public void print(double); 2093 method public void print(char[]); 2094 method public void print(@Nullable String); 2095 method public void print(@Nullable Object); 2096 method @NonNull public java.io.PrintWriter printf(@NonNull String, @NonNull java.lang.Object...); 2097 method @NonNull public java.io.PrintWriter printf(@Nullable java.util.Locale, @NonNull String, @NonNull java.lang.Object...); 2098 method public void println(); 2099 method public void println(boolean); 2100 method public void println(char); 2101 method public void println(int); 2102 method public void println(long); 2103 method public void println(float); 2104 method public void println(double); 2105 method public void println(char[]); 2106 method public void println(@Nullable String); 2107 method public void println(@Nullable Object); 2108 method protected void setError(); 2109 method public void write(int); 2110 method public void write(char[], int, int); 2111 method public void write(char[]); 2112 method public void write(@NonNull String, int, int); 2113 method public void write(@NonNull String); 2114 field protected java.io.Writer out; 2115 } 2116 2117 public class PushbackInputStream extends java.io.FilterInputStream { 2118 ctor public PushbackInputStream(java.io.InputStream, int); 2119 ctor public PushbackInputStream(java.io.InputStream); 2120 method public void unread(int) throws java.io.IOException; 2121 method public void unread(byte[], int, int) throws java.io.IOException; 2122 method public void unread(byte[]) throws java.io.IOException; 2123 field protected byte[] buf; 2124 field protected int pos; 2125 } 2126 2127 public class PushbackReader extends java.io.FilterReader { 2128 ctor public PushbackReader(java.io.Reader, int); 2129 ctor public PushbackReader(java.io.Reader); 2130 method public void unread(int) throws java.io.IOException; 2131 method public void unread(char[], int, int) throws java.io.IOException; 2132 method public void unread(char[]) throws java.io.IOException; 2133 } 2134 2135 public class RandomAccessFile implements java.io.Closeable java.io.DataInput java.io.DataOutput { 2136 ctor public RandomAccessFile(String, String) throws java.io.FileNotFoundException; 2137 ctor public RandomAccessFile(java.io.File, String) throws java.io.FileNotFoundException; 2138 method public void close() throws java.io.IOException; 2139 method public final java.nio.channels.FileChannel getChannel(); 2140 method public final java.io.FileDescriptor getFD() throws java.io.IOException; 2141 method public long getFilePointer() throws java.io.IOException; 2142 method public long length() throws java.io.IOException; 2143 method public int read() throws java.io.IOException; 2144 method public int read(byte[], int, int) throws java.io.IOException; 2145 method public int read(byte[]) throws java.io.IOException; 2146 method public final boolean readBoolean() throws java.io.IOException; 2147 method public final byte readByte() throws java.io.IOException; 2148 method public final char readChar() throws java.io.IOException; 2149 method public final double readDouble() throws java.io.IOException; 2150 method public final float readFloat() throws java.io.IOException; 2151 method public final void readFully(byte[]) throws java.io.IOException; 2152 method public final void readFully(byte[], int, int) throws java.io.IOException; 2153 method public final int readInt() throws java.io.IOException; 2154 method public final String readLine() throws java.io.IOException; 2155 method public final long readLong() throws java.io.IOException; 2156 method public final short readShort() throws java.io.IOException; 2157 method public final String readUTF() throws java.io.IOException; 2158 method public final int readUnsignedByte() throws java.io.IOException; 2159 method public final int readUnsignedShort() throws java.io.IOException; 2160 method public void seek(long) throws java.io.IOException; 2161 method public void setLength(long) throws java.io.IOException; 2162 method public int skipBytes(int) throws java.io.IOException; 2163 method public void write(int) throws java.io.IOException; 2164 method public void write(byte[]) throws java.io.IOException; 2165 method public void write(byte[], int, int) throws java.io.IOException; 2166 method public final void writeBoolean(boolean) throws java.io.IOException; 2167 method public final void writeByte(int) throws java.io.IOException; 2168 method public final void writeBytes(String) throws java.io.IOException; 2169 method public final void writeChar(int) throws java.io.IOException; 2170 method public final void writeChars(String) throws java.io.IOException; 2171 method public final void writeDouble(double) throws java.io.IOException; 2172 method public final void writeFloat(float) throws java.io.IOException; 2173 method public final void writeInt(int) throws java.io.IOException; 2174 method public final void writeLong(long) throws java.io.IOException; 2175 method public final void writeShort(int) throws java.io.IOException; 2176 method public final void writeUTF(String) throws java.io.IOException; 2177 } 2178 2179 public abstract class Reader implements java.io.Closeable java.lang.Readable { 2180 ctor protected Reader(); 2181 ctor protected Reader(Object); 2182 method public void mark(int) throws java.io.IOException; 2183 method public boolean markSupported(); 2184 method public static java.io.Reader nullReader(); 2185 method public int read(java.nio.CharBuffer) throws java.io.IOException; 2186 method public int read() throws java.io.IOException; 2187 method public int read(char[]) throws java.io.IOException; 2188 method public abstract int read(char[], int, int) throws java.io.IOException; 2189 method public boolean ready() throws java.io.IOException; 2190 method public void reset() throws java.io.IOException; 2191 method public long skip(long) throws java.io.IOException; 2192 method public long transferTo(java.io.Writer) throws java.io.IOException; 2193 field protected Object lock; 2194 } 2195 2196 public class SequenceInputStream extends java.io.InputStream { 2197 ctor public SequenceInputStream(java.util.Enumeration<? extends java.io.InputStream>); 2198 ctor public SequenceInputStream(java.io.InputStream, java.io.InputStream); 2199 method public int read() throws java.io.IOException; 2200 } 2201 2202 @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) @java.lang.annotation.Target({java.lang.annotation.ElementType.METHOD, java.lang.annotation.ElementType.FIELD}) public @interface Serial { 2203 } 2204 2205 public interface Serializable { 2206 } 2207 2208 public final class SerializablePermission extends java.security.BasicPermission { 2209 ctor public SerializablePermission(String); 2210 ctor public SerializablePermission(String, String); 2211 } 2212 2213 public class StreamCorruptedException extends java.io.ObjectStreamException { 2214 ctor public StreamCorruptedException(String); 2215 ctor public StreamCorruptedException(); 2216 } 2217 2218 public class StreamTokenizer { 2219 ctor @Deprecated public StreamTokenizer(java.io.InputStream); 2220 ctor public StreamTokenizer(java.io.Reader); 2221 method public void commentChar(int); 2222 method public void eolIsSignificant(boolean); 2223 method public int lineno(); 2224 method public void lowerCaseMode(boolean); 2225 method public int nextToken() throws java.io.IOException; 2226 method public void ordinaryChar(int); 2227 method public void ordinaryChars(int, int); 2228 method public void parseNumbers(); 2229 method public void pushBack(); 2230 method public void quoteChar(int); 2231 method public void resetSyntax(); 2232 method public void slashSlashComments(boolean); 2233 method public void slashStarComments(boolean); 2234 method public void whitespaceChars(int, int); 2235 method public void wordChars(int, int); 2236 field public static final int TT_EOF = -1; // 0xffffffff 2237 field public static final int TT_EOL = 10; // 0xa 2238 field public static final int TT_NUMBER = -2; // 0xfffffffe 2239 field public static final int TT_WORD = -3; // 0xfffffffd 2240 field public double nval; 2241 field public String sval; 2242 field public int ttype; 2243 } 2244 2245 @Deprecated public class StringBufferInputStream extends java.io.InputStream { 2246 ctor @Deprecated public StringBufferInputStream(String); 2247 method @Deprecated public int available(); 2248 method @Deprecated public int read(); 2249 method @Deprecated public int read(byte[], int, int); 2250 method @Deprecated public void reset(); 2251 method @Deprecated public long skip(long); 2252 field @Deprecated protected String buffer; 2253 field @Deprecated protected int count; 2254 field @Deprecated protected int pos; 2255 } 2256 2257 public class StringReader extends java.io.Reader { 2258 ctor public StringReader(String); 2259 method public void close(); 2260 method public int read(char[], int, int) throws java.io.IOException; 2261 } 2262 2263 public class StringWriter extends java.io.Writer { 2264 ctor public StringWriter(); 2265 ctor public StringWriter(int); 2266 method public java.io.StringWriter append(CharSequence); 2267 method public java.io.StringWriter append(CharSequence, int, int); 2268 method public java.io.StringWriter append(char); 2269 method public void close() throws java.io.IOException; 2270 method public void flush(); 2271 method public StringBuffer getBuffer(); 2272 method public void write(int); 2273 method public void write(char[], int, int); 2274 method public void write(String); 2275 method public void write(String, int, int); 2276 } 2277 2278 public class SyncFailedException extends java.io.IOException { 2279 ctor public SyncFailedException(String); 2280 } 2281 2282 public class UTFDataFormatException extends java.io.IOException { 2283 ctor public UTFDataFormatException(); 2284 ctor public UTFDataFormatException(String); 2285 } 2286 2287 public class UncheckedIOException extends java.lang.RuntimeException { 2288 ctor public UncheckedIOException(String, java.io.IOException); 2289 ctor public UncheckedIOException(java.io.IOException); 2290 method public java.io.IOException getCause(); 2291 } 2292 2293 public class UnsupportedEncodingException extends java.io.IOException { 2294 ctor public UnsupportedEncodingException(); 2295 ctor public UnsupportedEncodingException(String); 2296 } 2297 2298 public class WriteAbortedException extends java.io.ObjectStreamException { 2299 ctor public WriteAbortedException(String, Exception); 2300 field @Deprecated public Exception detail; 2301 } 2302 2303 public abstract class Writer implements java.lang.Appendable java.io.Closeable java.io.Flushable { 2304 ctor protected Writer(); 2305 ctor protected Writer(Object); 2306 method public java.io.Writer append(CharSequence) throws java.io.IOException; 2307 method public java.io.Writer append(CharSequence, int, int) throws java.io.IOException; 2308 method public java.io.Writer append(char) throws java.io.IOException; 2309 method public static java.io.Writer nullWriter(); 2310 method public void write(int) throws java.io.IOException; 2311 method public void write(char[]) throws java.io.IOException; 2312 method public abstract void write(char[], int, int) throws java.io.IOException; 2313 method public void write(String) throws java.io.IOException; 2314 method public void write(String, int, int) throws java.io.IOException; 2315 field protected Object lock; 2316 } 2317 2318} 2319 2320package java.lang { 2321 2322 public class AbstractMethodError extends java.lang.IncompatibleClassChangeError { 2323 ctor public AbstractMethodError(); 2324 ctor public AbstractMethodError(String); 2325 } 2326 2327 public interface Appendable { 2328 method @NonNull public Appendable append(@Nullable CharSequence) throws java.io.IOException; 2329 method @NonNull public Appendable append(@Nullable CharSequence, int, int) throws java.io.IOException; 2330 method @NonNull public Appendable append(char) throws java.io.IOException; 2331 } 2332 2333 public class ArithmeticException extends java.lang.RuntimeException { 2334 ctor public ArithmeticException(); 2335 ctor public ArithmeticException(String); 2336 } 2337 2338 public class ArrayIndexOutOfBoundsException extends java.lang.IndexOutOfBoundsException { 2339 ctor public ArrayIndexOutOfBoundsException(); 2340 ctor public ArrayIndexOutOfBoundsException(String); 2341 ctor public ArrayIndexOutOfBoundsException(int); 2342 } 2343 2344 public class ArrayStoreException extends java.lang.RuntimeException { 2345 ctor public ArrayStoreException(); 2346 ctor public ArrayStoreException(String); 2347 } 2348 2349 public class AssertionError extends java.lang.Error { 2350 ctor public AssertionError(); 2351 ctor public AssertionError(Object); 2352 ctor public AssertionError(boolean); 2353 ctor public AssertionError(char); 2354 ctor public AssertionError(int); 2355 ctor public AssertionError(long); 2356 ctor public AssertionError(float); 2357 ctor public AssertionError(double); 2358 ctor public AssertionError(String, Throwable); 2359 } 2360 2361 public interface AutoCloseable { 2362 method public void close() throws java.lang.Exception; 2363 } 2364 2365 public final class Boolean implements java.lang.Comparable<java.lang.Boolean> java.io.Serializable { 2366 ctor @Deprecated public Boolean(boolean); 2367 ctor @Deprecated public Boolean(@Nullable String); 2368 method public boolean booleanValue(); 2369 method public static int compare(boolean, boolean); 2370 method public int compareTo(@NonNull Boolean); 2371 method public static boolean getBoolean(@NonNull String); 2372 method public static int hashCode(boolean); 2373 method public static boolean logicalAnd(boolean, boolean); 2374 method public static boolean logicalOr(boolean, boolean); 2375 method public static boolean logicalXor(boolean, boolean); 2376 method public static boolean parseBoolean(@Nullable String); 2377 method @NonNull public static String toString(boolean); 2378 method @NonNull public static Boolean valueOf(boolean); 2379 method @NonNull public static Boolean valueOf(@Nullable String); 2380 field public static final Boolean FALSE; 2381 field public static final Boolean TRUE; 2382 field public static final Class<java.lang.Boolean> TYPE; 2383 } 2384 2385 public class BootstrapMethodError extends java.lang.LinkageError { 2386 ctor public BootstrapMethodError(); 2387 ctor public BootstrapMethodError(String); 2388 ctor public BootstrapMethodError(String, Throwable); 2389 ctor public BootstrapMethodError(Throwable); 2390 } 2391 2392 public final class Byte extends java.lang.Number implements java.lang.Comparable<java.lang.Byte> { 2393 ctor @Deprecated public Byte(byte); 2394 ctor @Deprecated public Byte(@NonNull String) throws java.lang.NumberFormatException; 2395 method public static int compare(byte, byte); 2396 method public int compareTo(@NonNull Byte); 2397 method public static int compareUnsigned(byte, byte); 2398 method @NonNull public static Byte decode(@NonNull String) throws java.lang.NumberFormatException; 2399 method public double doubleValue(); 2400 method public float floatValue(); 2401 method public static int hashCode(byte); 2402 method public int intValue(); 2403 method public long longValue(); 2404 method public static byte parseByte(@NonNull String, int) throws java.lang.NumberFormatException; 2405 method public static byte parseByte(@NonNull String) throws java.lang.NumberFormatException; 2406 method @NonNull public static String toString(byte); 2407 method public static int toUnsignedInt(byte); 2408 method public static long toUnsignedLong(byte); 2409 method @NonNull public static Byte valueOf(byte); 2410 method @NonNull public static Byte valueOf(@NonNull String, int) throws java.lang.NumberFormatException; 2411 method @NonNull public static Byte valueOf(@NonNull String) throws java.lang.NumberFormatException; 2412 field public static final int BYTES = 1; // 0x1 2413 field public static final byte MAX_VALUE = 127; // 0x7f 2414 field public static final byte MIN_VALUE = -128; // 0xffffff80 2415 field public static final int SIZE = 8; // 0x8 2416 field public static final Class<java.lang.Byte> TYPE; 2417 } 2418 2419 public interface CharSequence { 2420 method public char charAt(int); 2421 method @NonNull public default java.util.stream.IntStream chars(); 2422 method @NonNull public default java.util.stream.IntStream codePoints(); 2423 method public static int compare(@NonNull CharSequence, @NonNull CharSequence); 2424 method @FlaggedApi("com.android.libcore.v_apis") public default boolean isEmpty(); 2425 method public int length(); 2426 method @NonNull public CharSequence subSequence(int, int); 2427 method @NonNull public String toString(); 2428 } 2429 2430 public final class Character implements java.lang.Comparable<java.lang.Character> java.io.Serializable { 2431 ctor @Deprecated public Character(char); 2432 method public static int charCount(int); 2433 method public char charValue(); 2434 method public static int codePointAt(@NonNull CharSequence, int); 2435 method public static int codePointAt(char[], int); 2436 method public static int codePointAt(char[], int, int); 2437 method public static int codePointBefore(@NonNull CharSequence, int); 2438 method public static int codePointBefore(char[], int); 2439 method public static int codePointBefore(char[], int, int); 2440 method public static int codePointCount(@NonNull CharSequence, int, int); 2441 method public static int codePointCount(char[], int, int); 2442 method @FlaggedApi("com.android.libcore.v_apis") public static int codePointOf(@NonNull String); 2443 method public static int compare(char, char); 2444 method public int compareTo(@NonNull Character); 2445 method public static int digit(char, int); 2446 method public static int digit(int, int); 2447 method public static char forDigit(int, int); 2448 method public static byte getDirectionality(char); 2449 method public static byte getDirectionality(int); 2450 method @Nullable public static String getName(int); 2451 method public static int getNumericValue(char); 2452 method public static int getNumericValue(int); 2453 method public static int getType(char); 2454 method public static int getType(int); 2455 method public static int hashCode(char); 2456 method public static char highSurrogate(int); 2457 method public static boolean isAlphabetic(int); 2458 method public static boolean isBmpCodePoint(int); 2459 method public static boolean isDefined(char); 2460 method public static boolean isDefined(int); 2461 method public static boolean isDigit(char); 2462 method public static boolean isDigit(int); 2463 method public static boolean isHighSurrogate(char); 2464 method public static boolean isISOControl(char); 2465 method public static boolean isISOControl(int); 2466 method public static boolean isIdentifierIgnorable(char); 2467 method public static boolean isIdentifierIgnorable(int); 2468 method public static boolean isIdeographic(int); 2469 method public static boolean isJavaIdentifierPart(char); 2470 method public static boolean isJavaIdentifierPart(int); 2471 method public static boolean isJavaIdentifierStart(char); 2472 method public static boolean isJavaIdentifierStart(int); 2473 method @Deprecated public static boolean isJavaLetter(char); 2474 method @Deprecated public static boolean isJavaLetterOrDigit(char); 2475 method public static boolean isLetter(char); 2476 method public static boolean isLetter(int); 2477 method public static boolean isLetterOrDigit(char); 2478 method public static boolean isLetterOrDigit(int); 2479 method public static boolean isLowSurrogate(char); 2480 method public static boolean isLowerCase(char); 2481 method public static boolean isLowerCase(int); 2482 method public static boolean isMirrored(char); 2483 method public static boolean isMirrored(int); 2484 method @Deprecated public static boolean isSpace(char); 2485 method public static boolean isSpaceChar(char); 2486 method public static boolean isSpaceChar(int); 2487 method public static boolean isSupplementaryCodePoint(int); 2488 method public static boolean isSurrogate(char); 2489 method public static boolean isSurrogatePair(char, char); 2490 method public static boolean isTitleCase(char); 2491 method public static boolean isTitleCase(int); 2492 method public static boolean isUnicodeIdentifierPart(char); 2493 method public static boolean isUnicodeIdentifierPart(int); 2494 method public static boolean isUnicodeIdentifierStart(char); 2495 method public static boolean isUnicodeIdentifierStart(int); 2496 method public static boolean isUpperCase(char); 2497 method public static boolean isUpperCase(int); 2498 method public static boolean isValidCodePoint(int); 2499 method public static boolean isWhitespace(char); 2500 method public static boolean isWhitespace(int); 2501 method public static char lowSurrogate(int); 2502 method public static int offsetByCodePoints(@NonNull CharSequence, int, int); 2503 method public static int offsetByCodePoints(char[], int, int, int, int); 2504 method public static char reverseBytes(char); 2505 method public static int toChars(int, char[], int); 2506 method public static char[] toChars(int); 2507 method public static int toCodePoint(char, char); 2508 method public static char toLowerCase(char); 2509 method public static int toLowerCase(int); 2510 method @NonNull public static String toString(char); 2511 method @FlaggedApi("com.android.libcore.v_apis") @NonNull public static String toString(int); 2512 method public static char toTitleCase(char); 2513 method public static int toTitleCase(int); 2514 method public static char toUpperCase(char); 2515 method public static int toUpperCase(int); 2516 method @NonNull public static Character valueOf(char); 2517 field public static final int BYTES = 2; // 0x2 2518 field public static final byte COMBINING_SPACING_MARK = 8; // 0x8 2519 field public static final byte CONNECTOR_PUNCTUATION = 23; // 0x17 2520 field public static final byte CONTROL = 15; // 0xf 2521 field public static final byte CURRENCY_SYMBOL = 26; // 0x1a 2522 field public static final byte DASH_PUNCTUATION = 20; // 0x14 2523 field public static final byte DECIMAL_DIGIT_NUMBER = 9; // 0x9 2524 field public static final byte DIRECTIONALITY_ARABIC_NUMBER = 6; // 0x6 2525 field public static final byte DIRECTIONALITY_BOUNDARY_NEUTRAL = 9; // 0x9 2526 field public static final byte DIRECTIONALITY_COMMON_NUMBER_SEPARATOR = 7; // 0x7 2527 field public static final byte DIRECTIONALITY_EUROPEAN_NUMBER = 3; // 0x3 2528 field public static final byte DIRECTIONALITY_EUROPEAN_NUMBER_SEPARATOR = 4; // 0x4 2529 field public static final byte DIRECTIONALITY_EUROPEAN_NUMBER_TERMINATOR = 5; // 0x5 2530 field public static final byte DIRECTIONALITY_FIRST_STRONG_ISOLATE = 21; // 0x15 2531 field public static final byte DIRECTIONALITY_LEFT_TO_RIGHT = 0; // 0x0 2532 field public static final byte DIRECTIONALITY_LEFT_TO_RIGHT_EMBEDDING = 14; // 0xe 2533 field public static final byte DIRECTIONALITY_LEFT_TO_RIGHT_ISOLATE = 19; // 0x13 2534 field public static final byte DIRECTIONALITY_LEFT_TO_RIGHT_OVERRIDE = 15; // 0xf 2535 field public static final byte DIRECTIONALITY_NONSPACING_MARK = 8; // 0x8 2536 field public static final byte DIRECTIONALITY_OTHER_NEUTRALS = 13; // 0xd 2537 field public static final byte DIRECTIONALITY_PARAGRAPH_SEPARATOR = 10; // 0xa 2538 field public static final byte DIRECTIONALITY_POP_DIRECTIONAL_FORMAT = 18; // 0x12 2539 field public static final byte DIRECTIONALITY_POP_DIRECTIONAL_ISOLATE = 22; // 0x16 2540 field public static final byte DIRECTIONALITY_RIGHT_TO_LEFT = 1; // 0x1 2541 field public static final byte DIRECTIONALITY_RIGHT_TO_LEFT_ARABIC = 2; // 0x2 2542 field public static final byte DIRECTIONALITY_RIGHT_TO_LEFT_EMBEDDING = 16; // 0x10 2543 field public static final byte DIRECTIONALITY_RIGHT_TO_LEFT_ISOLATE = 20; // 0x14 2544 field public static final byte DIRECTIONALITY_RIGHT_TO_LEFT_OVERRIDE = 17; // 0x11 2545 field public static final byte DIRECTIONALITY_SEGMENT_SEPARATOR = 11; // 0xb 2546 field public static final byte DIRECTIONALITY_UNDEFINED = -1; // 0xffffffff 2547 field public static final byte DIRECTIONALITY_WHITESPACE = 12; // 0xc 2548 field public static final byte ENCLOSING_MARK = 7; // 0x7 2549 field public static final byte END_PUNCTUATION = 22; // 0x16 2550 field public static final byte FINAL_QUOTE_PUNCTUATION = 30; // 0x1e 2551 field public static final byte FORMAT = 16; // 0x10 2552 field public static final byte INITIAL_QUOTE_PUNCTUATION = 29; // 0x1d 2553 field public static final byte LETTER_NUMBER = 10; // 0xa 2554 field public static final byte LINE_SEPARATOR = 13; // 0xd 2555 field public static final byte LOWERCASE_LETTER = 2; // 0x2 2556 field public static final byte MATH_SYMBOL = 25; // 0x19 2557 field public static final int MAX_CODE_POINT = 1114111; // 0x10ffff 2558 field public static final char MAX_HIGH_SURROGATE = 56319; // 0xdbff '\udbff' 2559 field public static final char MAX_LOW_SURROGATE = 57343; // 0xdfff '\udfff' 2560 field public static final int MAX_RADIX = 36; // 0x24 2561 field public static final char MAX_SURROGATE = 57343; // 0xdfff '\udfff' 2562 field public static final char MAX_VALUE = 65535; // 0xffff '\uffff' 2563 field public static final int MIN_CODE_POINT = 0; // 0x0 2564 field public static final char MIN_HIGH_SURROGATE = 55296; // 0xd800 '\ud800' 2565 field public static final char MIN_LOW_SURROGATE = 56320; // 0xdc00 '\udc00' 2566 field public static final int MIN_RADIX = 2; // 0x2 2567 field public static final int MIN_SUPPLEMENTARY_CODE_POINT = 65536; // 0x10000 2568 field public static final char MIN_SURROGATE = 55296; // 0xd800 '\ud800' 2569 field public static final char MIN_VALUE = 0; // 0x0000 '\u0000' 2570 field public static final byte MODIFIER_LETTER = 4; // 0x4 2571 field public static final byte MODIFIER_SYMBOL = 27; // 0x1b 2572 field public static final byte NON_SPACING_MARK = 6; // 0x6 2573 field public static final byte OTHER_LETTER = 5; // 0x5 2574 field public static final byte OTHER_NUMBER = 11; // 0xb 2575 field public static final byte OTHER_PUNCTUATION = 24; // 0x18 2576 field public static final byte OTHER_SYMBOL = 28; // 0x1c 2577 field public static final byte PARAGRAPH_SEPARATOR = 14; // 0xe 2578 field public static final byte PRIVATE_USE = 18; // 0x12 2579 field public static final int SIZE = 16; // 0x10 2580 field public static final byte SPACE_SEPARATOR = 12; // 0xc 2581 field public static final byte START_PUNCTUATION = 21; // 0x15 2582 field public static final byte SURROGATE = 19; // 0x13 2583 field public static final byte TITLECASE_LETTER = 3; // 0x3 2584 field public static final Class<java.lang.Character> TYPE; 2585 field public static final byte UNASSIGNED = 0; // 0x0 2586 field public static final byte UPPERCASE_LETTER = 1; // 0x1 2587 } 2588 2589 public static class Character.Subset { 2590 ctor protected Character.Subset(@NonNull String); 2591 method public final boolean equals(@Nullable Object); 2592 method public final int hashCode(); 2593 method @NonNull public final String toString(); 2594 } 2595 2596 public static final class Character.UnicodeBlock extends java.lang.Character.Subset { 2597 method @NonNull public static java.lang.Character.UnicodeBlock forName(@NonNull String); 2598 method @Nullable public static java.lang.Character.UnicodeBlock of(char); 2599 method @Nullable public static java.lang.Character.UnicodeBlock of(int); 2600 field public static final java.lang.Character.UnicodeBlock ADLAM; 2601 field public static final java.lang.Character.UnicodeBlock AEGEAN_NUMBERS; 2602 field public static final java.lang.Character.UnicodeBlock AHOM; 2603 field public static final java.lang.Character.UnicodeBlock ALCHEMICAL_SYMBOLS; 2604 field public static final java.lang.Character.UnicodeBlock ALPHABETIC_PRESENTATION_FORMS; 2605 field public static final java.lang.Character.UnicodeBlock ANATOLIAN_HIEROGLYPHS; 2606 field public static final java.lang.Character.UnicodeBlock ANCIENT_GREEK_MUSICAL_NOTATION; 2607 field public static final java.lang.Character.UnicodeBlock ANCIENT_GREEK_NUMBERS; 2608 field public static final java.lang.Character.UnicodeBlock ANCIENT_SYMBOLS; 2609 field public static final java.lang.Character.UnicodeBlock ARABIC; 2610 field public static final java.lang.Character.UnicodeBlock ARABIC_EXTENDED_A; 2611 field public static final java.lang.Character.UnicodeBlock ARABIC_MATHEMATICAL_ALPHABETIC_SYMBOLS; 2612 field public static final java.lang.Character.UnicodeBlock ARABIC_PRESENTATION_FORMS_A; 2613 field public static final java.lang.Character.UnicodeBlock ARABIC_PRESENTATION_FORMS_B; 2614 field public static final java.lang.Character.UnicodeBlock ARABIC_SUPPLEMENT; 2615 field public static final java.lang.Character.UnicodeBlock ARMENIAN; 2616 field public static final java.lang.Character.UnicodeBlock ARROWS; 2617 field public static final java.lang.Character.UnicodeBlock AVESTAN; 2618 field public static final java.lang.Character.UnicodeBlock BALINESE; 2619 field public static final java.lang.Character.UnicodeBlock BAMUM; 2620 field public static final java.lang.Character.UnicodeBlock BAMUM_SUPPLEMENT; 2621 field public static final java.lang.Character.UnicodeBlock BASIC_LATIN; 2622 field public static final java.lang.Character.UnicodeBlock BASSA_VAH; 2623 field public static final java.lang.Character.UnicodeBlock BATAK; 2624 field public static final java.lang.Character.UnicodeBlock BENGALI; 2625 field public static final java.lang.Character.UnicodeBlock BHAIKSUKI; 2626 field public static final java.lang.Character.UnicodeBlock BLOCK_ELEMENTS; 2627 field public static final java.lang.Character.UnicodeBlock BOPOMOFO; 2628 field public static final java.lang.Character.UnicodeBlock BOPOMOFO_EXTENDED; 2629 field public static final java.lang.Character.UnicodeBlock BOX_DRAWING; 2630 field public static final java.lang.Character.UnicodeBlock BRAHMI; 2631 field public static final java.lang.Character.UnicodeBlock BRAILLE_PATTERNS; 2632 field public static final java.lang.Character.UnicodeBlock BUGINESE; 2633 field public static final java.lang.Character.UnicodeBlock BUHID; 2634 field public static final java.lang.Character.UnicodeBlock BYZANTINE_MUSICAL_SYMBOLS; 2635 field public static final java.lang.Character.UnicodeBlock CARIAN; 2636 field public static final java.lang.Character.UnicodeBlock CAUCASIAN_ALBANIAN; 2637 field public static final java.lang.Character.UnicodeBlock CHAKMA; 2638 field public static final java.lang.Character.UnicodeBlock CHAM; 2639 field public static final java.lang.Character.UnicodeBlock CHEROKEE; 2640 field public static final java.lang.Character.UnicodeBlock CHEROKEE_SUPPLEMENT; 2641 field public static final java.lang.Character.UnicodeBlock CHESS_SYMBOLS; 2642 field public static final java.lang.Character.UnicodeBlock CHORASMIAN; 2643 field public static final java.lang.Character.UnicodeBlock CJK_COMPATIBILITY; 2644 field public static final java.lang.Character.UnicodeBlock CJK_COMPATIBILITY_FORMS; 2645 field public static final java.lang.Character.UnicodeBlock CJK_COMPATIBILITY_IDEOGRAPHS; 2646 field public static final java.lang.Character.UnicodeBlock CJK_COMPATIBILITY_IDEOGRAPHS_SUPPLEMENT; 2647 field public static final java.lang.Character.UnicodeBlock CJK_RADICALS_SUPPLEMENT; 2648 field public static final java.lang.Character.UnicodeBlock CJK_STROKES; 2649 field public static final java.lang.Character.UnicodeBlock CJK_SYMBOLS_AND_PUNCTUATION; 2650 field public static final java.lang.Character.UnicodeBlock CJK_UNIFIED_IDEOGRAPHS; 2651 field public static final java.lang.Character.UnicodeBlock CJK_UNIFIED_IDEOGRAPHS_EXTENSION_A; 2652 field public static final java.lang.Character.UnicodeBlock CJK_UNIFIED_IDEOGRAPHS_EXTENSION_B; 2653 field public static final java.lang.Character.UnicodeBlock CJK_UNIFIED_IDEOGRAPHS_EXTENSION_C; 2654 field public static final java.lang.Character.UnicodeBlock CJK_UNIFIED_IDEOGRAPHS_EXTENSION_D; 2655 field public static final java.lang.Character.UnicodeBlock CJK_UNIFIED_IDEOGRAPHS_EXTENSION_E; 2656 field public static final java.lang.Character.UnicodeBlock CJK_UNIFIED_IDEOGRAPHS_EXTENSION_F; 2657 field public static final java.lang.Character.UnicodeBlock CJK_UNIFIED_IDEOGRAPHS_EXTENSION_G; 2658 field public static final java.lang.Character.UnicodeBlock COMBINING_DIACRITICAL_MARKS; 2659 field public static final java.lang.Character.UnicodeBlock COMBINING_DIACRITICAL_MARKS_EXTENDED; 2660 field public static final java.lang.Character.UnicodeBlock COMBINING_DIACRITICAL_MARKS_SUPPLEMENT; 2661 field public static final java.lang.Character.UnicodeBlock COMBINING_HALF_MARKS; 2662 field public static final java.lang.Character.UnicodeBlock COMBINING_MARKS_FOR_SYMBOLS; 2663 field public static final java.lang.Character.UnicodeBlock COMMON_INDIC_NUMBER_FORMS; 2664 field public static final java.lang.Character.UnicodeBlock CONTROL_PICTURES; 2665 field public static final java.lang.Character.UnicodeBlock COPTIC; 2666 field public static final java.lang.Character.UnicodeBlock COPTIC_EPACT_NUMBERS; 2667 field public static final java.lang.Character.UnicodeBlock COUNTING_ROD_NUMERALS; 2668 field public static final java.lang.Character.UnicodeBlock CUNEIFORM; 2669 field public static final java.lang.Character.UnicodeBlock CUNEIFORM_NUMBERS_AND_PUNCTUATION; 2670 field public static final java.lang.Character.UnicodeBlock CURRENCY_SYMBOLS; 2671 field public static final java.lang.Character.UnicodeBlock CYPRIOT_SYLLABARY; 2672 field public static final java.lang.Character.UnicodeBlock CYRILLIC; 2673 field public static final java.lang.Character.UnicodeBlock CYRILLIC_EXTENDED_A; 2674 field public static final java.lang.Character.UnicodeBlock CYRILLIC_EXTENDED_B; 2675 field public static final java.lang.Character.UnicodeBlock CYRILLIC_EXTENDED_C; 2676 field public static final java.lang.Character.UnicodeBlock CYRILLIC_SUPPLEMENTARY; 2677 field public static final java.lang.Character.UnicodeBlock DESERET; 2678 field public static final java.lang.Character.UnicodeBlock DEVANAGARI; 2679 field public static final java.lang.Character.UnicodeBlock DEVANAGARI_EXTENDED; 2680 field public static final java.lang.Character.UnicodeBlock DINGBATS; 2681 field public static final java.lang.Character.UnicodeBlock DIVES_AKURU; 2682 field public static final java.lang.Character.UnicodeBlock DOGRA; 2683 field public static final java.lang.Character.UnicodeBlock DOMINO_TILES; 2684 field public static final java.lang.Character.UnicodeBlock DUPLOYAN; 2685 field public static final java.lang.Character.UnicodeBlock EARLY_DYNASTIC_CUNEIFORM; 2686 field public static final java.lang.Character.UnicodeBlock EGYPTIAN_HIEROGLYPHS; 2687 field public static final java.lang.Character.UnicodeBlock EGYPTIAN_HIEROGLYPH_FORMAT_CONTROLS; 2688 field public static final java.lang.Character.UnicodeBlock ELBASAN; 2689 field public static final java.lang.Character.UnicodeBlock ELYMAIC; 2690 field public static final java.lang.Character.UnicodeBlock EMOTICONS; 2691 field public static final java.lang.Character.UnicodeBlock ENCLOSED_ALPHANUMERICS; 2692 field public static final java.lang.Character.UnicodeBlock ENCLOSED_ALPHANUMERIC_SUPPLEMENT; 2693 field public static final java.lang.Character.UnicodeBlock ENCLOSED_CJK_LETTERS_AND_MONTHS; 2694 field public static final java.lang.Character.UnicodeBlock ENCLOSED_IDEOGRAPHIC_SUPPLEMENT; 2695 field public static final java.lang.Character.UnicodeBlock ETHIOPIC; 2696 field public static final java.lang.Character.UnicodeBlock ETHIOPIC_EXTENDED; 2697 field public static final java.lang.Character.UnicodeBlock ETHIOPIC_EXTENDED_A; 2698 field public static final java.lang.Character.UnicodeBlock ETHIOPIC_SUPPLEMENT; 2699 field public static final java.lang.Character.UnicodeBlock GENERAL_PUNCTUATION; 2700 field public static final java.lang.Character.UnicodeBlock GEOMETRIC_SHAPES; 2701 field public static final java.lang.Character.UnicodeBlock GEOMETRIC_SHAPES_EXTENDED; 2702 field public static final java.lang.Character.UnicodeBlock GEORGIAN; 2703 field public static final java.lang.Character.UnicodeBlock GEORGIAN_EXTENDED; 2704 field public static final java.lang.Character.UnicodeBlock GEORGIAN_SUPPLEMENT; 2705 field public static final java.lang.Character.UnicodeBlock GLAGOLITIC; 2706 field public static final java.lang.Character.UnicodeBlock GLAGOLITIC_SUPPLEMENT; 2707 field public static final java.lang.Character.UnicodeBlock GOTHIC; 2708 field public static final java.lang.Character.UnicodeBlock GRANTHA; 2709 field public static final java.lang.Character.UnicodeBlock GREEK; 2710 field public static final java.lang.Character.UnicodeBlock GREEK_EXTENDED; 2711 field public static final java.lang.Character.UnicodeBlock GUJARATI; 2712 field public static final java.lang.Character.UnicodeBlock GUNJALA_GONDI; 2713 field public static final java.lang.Character.UnicodeBlock GURMUKHI; 2714 field public static final java.lang.Character.UnicodeBlock HALFWIDTH_AND_FULLWIDTH_FORMS; 2715 field public static final java.lang.Character.UnicodeBlock HANGUL_COMPATIBILITY_JAMO; 2716 field public static final java.lang.Character.UnicodeBlock HANGUL_JAMO; 2717 field public static final java.lang.Character.UnicodeBlock HANGUL_JAMO_EXTENDED_A; 2718 field public static final java.lang.Character.UnicodeBlock HANGUL_JAMO_EXTENDED_B; 2719 field public static final java.lang.Character.UnicodeBlock HANGUL_SYLLABLES; 2720 field public static final java.lang.Character.UnicodeBlock HANIFI_ROHINGYA; 2721 field public static final java.lang.Character.UnicodeBlock HANUNOO; 2722 field public static final java.lang.Character.UnicodeBlock HATRAN; 2723 field public static final java.lang.Character.UnicodeBlock HEBREW; 2724 field public static final java.lang.Character.UnicodeBlock HIGH_PRIVATE_USE_SURROGATES; 2725 field public static final java.lang.Character.UnicodeBlock HIGH_SURROGATES; 2726 field public static final java.lang.Character.UnicodeBlock HIRAGANA; 2727 field public static final java.lang.Character.UnicodeBlock IDEOGRAPHIC_DESCRIPTION_CHARACTERS; 2728 field public static final java.lang.Character.UnicodeBlock IDEOGRAPHIC_SYMBOLS_AND_PUNCTUATION; 2729 field public static final java.lang.Character.UnicodeBlock IMPERIAL_ARAMAIC; 2730 field public static final java.lang.Character.UnicodeBlock INDIC_SIYAQ_NUMBERS; 2731 field public static final java.lang.Character.UnicodeBlock INSCRIPTIONAL_PAHLAVI; 2732 field public static final java.lang.Character.UnicodeBlock INSCRIPTIONAL_PARTHIAN; 2733 field public static final java.lang.Character.UnicodeBlock IPA_EXTENSIONS; 2734 field public static final java.lang.Character.UnicodeBlock JAVANESE; 2735 field public static final java.lang.Character.UnicodeBlock KAITHI; 2736 field public static final java.lang.Character.UnicodeBlock KANA_EXTENDED_A; 2737 field public static final java.lang.Character.UnicodeBlock KANA_SUPPLEMENT; 2738 field public static final java.lang.Character.UnicodeBlock KANBUN; 2739 field public static final java.lang.Character.UnicodeBlock KANGXI_RADICALS; 2740 field public static final java.lang.Character.UnicodeBlock KANNADA; 2741 field public static final java.lang.Character.UnicodeBlock KATAKANA; 2742 field public static final java.lang.Character.UnicodeBlock KATAKANA_PHONETIC_EXTENSIONS; 2743 field public static final java.lang.Character.UnicodeBlock KAYAH_LI; 2744 field public static final java.lang.Character.UnicodeBlock KHAROSHTHI; 2745 field public static final java.lang.Character.UnicodeBlock KHITAN_SMALL_SCRIPT; 2746 field public static final java.lang.Character.UnicodeBlock KHMER; 2747 field public static final java.lang.Character.UnicodeBlock KHMER_SYMBOLS; 2748 field public static final java.lang.Character.UnicodeBlock KHOJKI; 2749 field public static final java.lang.Character.UnicodeBlock KHUDAWADI; 2750 field public static final java.lang.Character.UnicodeBlock LAO; 2751 field public static final java.lang.Character.UnicodeBlock LATIN_1_SUPPLEMENT; 2752 field public static final java.lang.Character.UnicodeBlock LATIN_EXTENDED_A; 2753 field public static final java.lang.Character.UnicodeBlock LATIN_EXTENDED_ADDITIONAL; 2754 field public static final java.lang.Character.UnicodeBlock LATIN_EXTENDED_B; 2755 field public static final java.lang.Character.UnicodeBlock LATIN_EXTENDED_C; 2756 field public static final java.lang.Character.UnicodeBlock LATIN_EXTENDED_D; 2757 field public static final java.lang.Character.UnicodeBlock LATIN_EXTENDED_E; 2758 field public static final java.lang.Character.UnicodeBlock LEPCHA; 2759 field public static final java.lang.Character.UnicodeBlock LETTERLIKE_SYMBOLS; 2760 field public static final java.lang.Character.UnicodeBlock LIMBU; 2761 field public static final java.lang.Character.UnicodeBlock LINEAR_A; 2762 field public static final java.lang.Character.UnicodeBlock LINEAR_B_IDEOGRAMS; 2763 field public static final java.lang.Character.UnicodeBlock LINEAR_B_SYLLABARY; 2764 field public static final java.lang.Character.UnicodeBlock LISU; 2765 field public static final java.lang.Character.UnicodeBlock LISU_SUPPLEMENT; 2766 field public static final java.lang.Character.UnicodeBlock LOW_SURROGATES; 2767 field public static final java.lang.Character.UnicodeBlock LYCIAN; 2768 field public static final java.lang.Character.UnicodeBlock LYDIAN; 2769 field public static final java.lang.Character.UnicodeBlock MAHAJANI; 2770 field public static final java.lang.Character.UnicodeBlock MAHJONG_TILES; 2771 field public static final java.lang.Character.UnicodeBlock MAKASAR; 2772 field public static final java.lang.Character.UnicodeBlock MALAYALAM; 2773 field public static final java.lang.Character.UnicodeBlock MANDAIC; 2774 field public static final java.lang.Character.UnicodeBlock MANICHAEAN; 2775 field public static final java.lang.Character.UnicodeBlock MARCHEN; 2776 field public static final java.lang.Character.UnicodeBlock MASARAM_GONDI; 2777 field public static final java.lang.Character.UnicodeBlock MATHEMATICAL_ALPHANUMERIC_SYMBOLS; 2778 field public static final java.lang.Character.UnicodeBlock MATHEMATICAL_OPERATORS; 2779 field public static final java.lang.Character.UnicodeBlock MAYAN_NUMERALS; 2780 field public static final java.lang.Character.UnicodeBlock MEDEFAIDRIN; 2781 field public static final java.lang.Character.UnicodeBlock MEETEI_MAYEK; 2782 field public static final java.lang.Character.UnicodeBlock MEETEI_MAYEK_EXTENSIONS; 2783 field public static final java.lang.Character.UnicodeBlock MENDE_KIKAKUI; 2784 field public static final java.lang.Character.UnicodeBlock MEROITIC_CURSIVE; 2785 field public static final java.lang.Character.UnicodeBlock MEROITIC_HIEROGLYPHS; 2786 field public static final java.lang.Character.UnicodeBlock MIAO; 2787 field public static final java.lang.Character.UnicodeBlock MISCELLANEOUS_MATHEMATICAL_SYMBOLS_A; 2788 field public static final java.lang.Character.UnicodeBlock MISCELLANEOUS_MATHEMATICAL_SYMBOLS_B; 2789 field public static final java.lang.Character.UnicodeBlock MISCELLANEOUS_SYMBOLS; 2790 field public static final java.lang.Character.UnicodeBlock MISCELLANEOUS_SYMBOLS_AND_ARROWS; 2791 field public static final java.lang.Character.UnicodeBlock MISCELLANEOUS_SYMBOLS_AND_PICTOGRAPHS; 2792 field public static final java.lang.Character.UnicodeBlock MISCELLANEOUS_TECHNICAL; 2793 field public static final java.lang.Character.UnicodeBlock MODI; 2794 field public static final java.lang.Character.UnicodeBlock MODIFIER_TONE_LETTERS; 2795 field public static final java.lang.Character.UnicodeBlock MONGOLIAN; 2796 field public static final java.lang.Character.UnicodeBlock MONGOLIAN_SUPPLEMENT; 2797 field public static final java.lang.Character.UnicodeBlock MRO; 2798 field public static final java.lang.Character.UnicodeBlock MULTANI; 2799 field public static final java.lang.Character.UnicodeBlock MUSICAL_SYMBOLS; 2800 field public static final java.lang.Character.UnicodeBlock MYANMAR; 2801 field public static final java.lang.Character.UnicodeBlock MYANMAR_EXTENDED_A; 2802 field public static final java.lang.Character.UnicodeBlock MYANMAR_EXTENDED_B; 2803 field public static final java.lang.Character.UnicodeBlock NABATAEAN; 2804 field public static final java.lang.Character.UnicodeBlock NANDINAGARI; 2805 field public static final java.lang.Character.UnicodeBlock NEWA; 2806 field public static final java.lang.Character.UnicodeBlock NEW_TAI_LUE; 2807 field public static final java.lang.Character.UnicodeBlock NKO; 2808 field public static final java.lang.Character.UnicodeBlock NUMBER_FORMS; 2809 field public static final java.lang.Character.UnicodeBlock NUSHU; 2810 field public static final java.lang.Character.UnicodeBlock NYIAKENG_PUACHUE_HMONG; 2811 field public static final java.lang.Character.UnicodeBlock OGHAM; 2812 field public static final java.lang.Character.UnicodeBlock OLD_HUNGARIAN; 2813 field public static final java.lang.Character.UnicodeBlock OLD_ITALIC; 2814 field public static final java.lang.Character.UnicodeBlock OLD_NORTH_ARABIAN; 2815 field public static final java.lang.Character.UnicodeBlock OLD_PERMIC; 2816 field public static final java.lang.Character.UnicodeBlock OLD_PERSIAN; 2817 field public static final java.lang.Character.UnicodeBlock OLD_SOGDIAN; 2818 field public static final java.lang.Character.UnicodeBlock OLD_SOUTH_ARABIAN; 2819 field public static final java.lang.Character.UnicodeBlock OLD_TURKIC; 2820 field public static final java.lang.Character.UnicodeBlock OL_CHIKI; 2821 field public static final java.lang.Character.UnicodeBlock OPTICAL_CHARACTER_RECOGNITION; 2822 field public static final java.lang.Character.UnicodeBlock ORIYA; 2823 field public static final java.lang.Character.UnicodeBlock ORNAMENTAL_DINGBATS; 2824 field public static final java.lang.Character.UnicodeBlock OSAGE; 2825 field public static final java.lang.Character.UnicodeBlock OSMANYA; 2826 field public static final java.lang.Character.UnicodeBlock OTTOMAN_SIYAQ_NUMBERS; 2827 field public static final java.lang.Character.UnicodeBlock PAHAWH_HMONG; 2828 field public static final java.lang.Character.UnicodeBlock PALMYRENE; 2829 field public static final java.lang.Character.UnicodeBlock PAU_CIN_HAU; 2830 field public static final java.lang.Character.UnicodeBlock PHAGS_PA; 2831 field public static final java.lang.Character.UnicodeBlock PHAISTOS_DISC; 2832 field public static final java.lang.Character.UnicodeBlock PHOENICIAN; 2833 field public static final java.lang.Character.UnicodeBlock PHONETIC_EXTENSIONS; 2834 field public static final java.lang.Character.UnicodeBlock PHONETIC_EXTENSIONS_SUPPLEMENT; 2835 field public static final java.lang.Character.UnicodeBlock PLAYING_CARDS; 2836 field public static final java.lang.Character.UnicodeBlock PRIVATE_USE_AREA; 2837 field public static final java.lang.Character.UnicodeBlock PSALTER_PAHLAVI; 2838 field public static final java.lang.Character.UnicodeBlock REJANG; 2839 field public static final java.lang.Character.UnicodeBlock RUMI_NUMERAL_SYMBOLS; 2840 field public static final java.lang.Character.UnicodeBlock RUNIC; 2841 field public static final java.lang.Character.UnicodeBlock SAMARITAN; 2842 field public static final java.lang.Character.UnicodeBlock SAURASHTRA; 2843 field public static final java.lang.Character.UnicodeBlock SHARADA; 2844 field public static final java.lang.Character.UnicodeBlock SHAVIAN; 2845 field public static final java.lang.Character.UnicodeBlock SHORTHAND_FORMAT_CONTROLS; 2846 field public static final java.lang.Character.UnicodeBlock SIDDHAM; 2847 field public static final java.lang.Character.UnicodeBlock SINHALA; 2848 field public static final java.lang.Character.UnicodeBlock SINHALA_ARCHAIC_NUMBERS; 2849 field public static final java.lang.Character.UnicodeBlock SMALL_FORM_VARIANTS; 2850 field public static final java.lang.Character.UnicodeBlock SMALL_KANA_EXTENSION; 2851 field public static final java.lang.Character.UnicodeBlock SOGDIAN; 2852 field public static final java.lang.Character.UnicodeBlock SORA_SOMPENG; 2853 field public static final java.lang.Character.UnicodeBlock SOYOMBO; 2854 field public static final java.lang.Character.UnicodeBlock SPACING_MODIFIER_LETTERS; 2855 field public static final java.lang.Character.UnicodeBlock SPECIALS; 2856 field public static final java.lang.Character.UnicodeBlock SUNDANESE; 2857 field public static final java.lang.Character.UnicodeBlock SUNDANESE_SUPPLEMENT; 2858 field public static final java.lang.Character.UnicodeBlock SUPERSCRIPTS_AND_SUBSCRIPTS; 2859 field public static final java.lang.Character.UnicodeBlock SUPPLEMENTAL_ARROWS_A; 2860 field public static final java.lang.Character.UnicodeBlock SUPPLEMENTAL_ARROWS_B; 2861 field public static final java.lang.Character.UnicodeBlock SUPPLEMENTAL_ARROWS_C; 2862 field public static final java.lang.Character.UnicodeBlock SUPPLEMENTAL_MATHEMATICAL_OPERATORS; 2863 field public static final java.lang.Character.UnicodeBlock SUPPLEMENTAL_PUNCTUATION; 2864 field public static final java.lang.Character.UnicodeBlock SUPPLEMENTAL_SYMBOLS_AND_PICTOGRAPHS; 2865 field public static final java.lang.Character.UnicodeBlock SUPPLEMENTARY_PRIVATE_USE_AREA_A; 2866 field public static final java.lang.Character.UnicodeBlock SUPPLEMENTARY_PRIVATE_USE_AREA_B; 2867 field @Deprecated public static final java.lang.Character.UnicodeBlock SURROGATES_AREA; 2868 field public static final java.lang.Character.UnicodeBlock SUTTON_SIGNWRITING; 2869 field public static final java.lang.Character.UnicodeBlock SYLOTI_NAGRI; 2870 field public static final java.lang.Character.UnicodeBlock SYMBOLS_AND_PICTOGRAPHS_EXTENDED_A; 2871 field public static final java.lang.Character.UnicodeBlock SYMBOLS_FOR_LEGACY_COMPUTING; 2872 field public static final java.lang.Character.UnicodeBlock SYRIAC; 2873 field public static final java.lang.Character.UnicodeBlock SYRIAC_SUPPLEMENT; 2874 field public static final java.lang.Character.UnicodeBlock TAGALOG; 2875 field public static final java.lang.Character.UnicodeBlock TAGBANWA; 2876 field public static final java.lang.Character.UnicodeBlock TAGS; 2877 field public static final java.lang.Character.UnicodeBlock TAI_LE; 2878 field public static final java.lang.Character.UnicodeBlock TAI_THAM; 2879 field public static final java.lang.Character.UnicodeBlock TAI_VIET; 2880 field public static final java.lang.Character.UnicodeBlock TAI_XUAN_JING_SYMBOLS; 2881 field public static final java.lang.Character.UnicodeBlock TAKRI; 2882 field public static final java.lang.Character.UnicodeBlock TAMIL; 2883 field public static final java.lang.Character.UnicodeBlock TAMIL_SUPPLEMENT; 2884 field public static final java.lang.Character.UnicodeBlock TANGUT; 2885 field public static final java.lang.Character.UnicodeBlock TANGUT_COMPONENTS; 2886 field public static final java.lang.Character.UnicodeBlock TANGUT_SUPPLEMENT; 2887 field public static final java.lang.Character.UnicodeBlock TELUGU; 2888 field public static final java.lang.Character.UnicodeBlock THAANA; 2889 field public static final java.lang.Character.UnicodeBlock THAI; 2890 field public static final java.lang.Character.UnicodeBlock TIBETAN; 2891 field public static final java.lang.Character.UnicodeBlock TIFINAGH; 2892 field public static final java.lang.Character.UnicodeBlock TIRHUTA; 2893 field public static final java.lang.Character.UnicodeBlock TRANSPORT_AND_MAP_SYMBOLS; 2894 field public static final java.lang.Character.UnicodeBlock UGARITIC; 2895 field public static final java.lang.Character.UnicodeBlock UNIFIED_CANADIAN_ABORIGINAL_SYLLABICS; 2896 field public static final java.lang.Character.UnicodeBlock UNIFIED_CANADIAN_ABORIGINAL_SYLLABICS_EXTENDED; 2897 field public static final java.lang.Character.UnicodeBlock VAI; 2898 field public static final java.lang.Character.UnicodeBlock VARIATION_SELECTORS; 2899 field public static final java.lang.Character.UnicodeBlock VARIATION_SELECTORS_SUPPLEMENT; 2900 field public static final java.lang.Character.UnicodeBlock VEDIC_EXTENSIONS; 2901 field public static final java.lang.Character.UnicodeBlock VERTICAL_FORMS; 2902 field public static final java.lang.Character.UnicodeBlock WANCHO; 2903 field public static final java.lang.Character.UnicodeBlock WARANG_CITI; 2904 field public static final java.lang.Character.UnicodeBlock YEZIDI; 2905 field public static final java.lang.Character.UnicodeBlock YIJING_HEXAGRAM_SYMBOLS; 2906 field public static final java.lang.Character.UnicodeBlock YI_RADICALS; 2907 field public static final java.lang.Character.UnicodeBlock YI_SYLLABLES; 2908 field public static final java.lang.Character.UnicodeBlock ZANABAZAR_SQUARE; 2909 } 2910 2911 public enum Character.UnicodeScript { 2912 method @NonNull public static java.lang.Character.UnicodeScript forName(@NonNull String); 2913 method @NonNull public static java.lang.Character.UnicodeScript of(int); 2914 enum_constant public static final java.lang.Character.UnicodeScript ADLAM; 2915 enum_constant public static final java.lang.Character.UnicodeScript AHOM; 2916 enum_constant public static final java.lang.Character.UnicodeScript ANATOLIAN_HIEROGLYPHS; 2917 enum_constant public static final java.lang.Character.UnicodeScript ARABIC; 2918 enum_constant public static final java.lang.Character.UnicodeScript ARMENIAN; 2919 enum_constant public static final java.lang.Character.UnicodeScript AVESTAN; 2920 enum_constant public static final java.lang.Character.UnicodeScript BALINESE; 2921 enum_constant public static final java.lang.Character.UnicodeScript BAMUM; 2922 enum_constant public static final java.lang.Character.UnicodeScript BASSA_VAH; 2923 enum_constant public static final java.lang.Character.UnicodeScript BATAK; 2924 enum_constant public static final java.lang.Character.UnicodeScript BENGALI; 2925 enum_constant public static final java.lang.Character.UnicodeScript BHAIKSUKI; 2926 enum_constant public static final java.lang.Character.UnicodeScript BOPOMOFO; 2927 enum_constant public static final java.lang.Character.UnicodeScript BRAHMI; 2928 enum_constant public static final java.lang.Character.UnicodeScript BRAILLE; 2929 enum_constant public static final java.lang.Character.UnicodeScript BUGINESE; 2930 enum_constant public static final java.lang.Character.UnicodeScript BUHID; 2931 enum_constant public static final java.lang.Character.UnicodeScript CANADIAN_ABORIGINAL; 2932 enum_constant public static final java.lang.Character.UnicodeScript CARIAN; 2933 enum_constant public static final java.lang.Character.UnicodeScript CAUCASIAN_ALBANIAN; 2934 enum_constant public static final java.lang.Character.UnicodeScript CHAKMA; 2935 enum_constant public static final java.lang.Character.UnicodeScript CHAM; 2936 enum_constant public static final java.lang.Character.UnicodeScript CHEROKEE; 2937 enum_constant public static final java.lang.Character.UnicodeScript CHORASMIAN; 2938 enum_constant public static final java.lang.Character.UnicodeScript COMMON; 2939 enum_constant public static final java.lang.Character.UnicodeScript COPTIC; 2940 enum_constant public static final java.lang.Character.UnicodeScript CUNEIFORM; 2941 enum_constant public static final java.lang.Character.UnicodeScript CYPRIOT; 2942 enum_constant public static final java.lang.Character.UnicodeScript CYRILLIC; 2943 enum_constant public static final java.lang.Character.UnicodeScript DESERET; 2944 enum_constant public static final java.lang.Character.UnicodeScript DEVANAGARI; 2945 enum_constant public static final java.lang.Character.UnicodeScript DIVES_AKURU; 2946 enum_constant public static final java.lang.Character.UnicodeScript DOGRA; 2947 enum_constant public static final java.lang.Character.UnicodeScript DUPLOYAN; 2948 enum_constant public static final java.lang.Character.UnicodeScript EGYPTIAN_HIEROGLYPHS; 2949 enum_constant public static final java.lang.Character.UnicodeScript ELBASAN; 2950 enum_constant public static final java.lang.Character.UnicodeScript ELYMAIC; 2951 enum_constant public static final java.lang.Character.UnicodeScript ETHIOPIC; 2952 enum_constant public static final java.lang.Character.UnicodeScript GEORGIAN; 2953 enum_constant public static final java.lang.Character.UnicodeScript GLAGOLITIC; 2954 enum_constant public static final java.lang.Character.UnicodeScript GOTHIC; 2955 enum_constant public static final java.lang.Character.UnicodeScript GRANTHA; 2956 enum_constant public static final java.lang.Character.UnicodeScript GREEK; 2957 enum_constant public static final java.lang.Character.UnicodeScript GUJARATI; 2958 enum_constant public static final java.lang.Character.UnicodeScript GUNJALA_GONDI; 2959 enum_constant public static final java.lang.Character.UnicodeScript GURMUKHI; 2960 enum_constant public static final java.lang.Character.UnicodeScript HAN; 2961 enum_constant public static final java.lang.Character.UnicodeScript HANGUL; 2962 enum_constant public static final java.lang.Character.UnicodeScript HANIFI_ROHINGYA; 2963 enum_constant public static final java.lang.Character.UnicodeScript HANUNOO; 2964 enum_constant public static final java.lang.Character.UnicodeScript HATRAN; 2965 enum_constant public static final java.lang.Character.UnicodeScript HEBREW; 2966 enum_constant public static final java.lang.Character.UnicodeScript HIRAGANA; 2967 enum_constant public static final java.lang.Character.UnicodeScript IMPERIAL_ARAMAIC; 2968 enum_constant public static final java.lang.Character.UnicodeScript INHERITED; 2969 enum_constant public static final java.lang.Character.UnicodeScript INSCRIPTIONAL_PAHLAVI; 2970 enum_constant public static final java.lang.Character.UnicodeScript INSCRIPTIONAL_PARTHIAN; 2971 enum_constant public static final java.lang.Character.UnicodeScript JAVANESE; 2972 enum_constant public static final java.lang.Character.UnicodeScript KAITHI; 2973 enum_constant public static final java.lang.Character.UnicodeScript KANNADA; 2974 enum_constant public static final java.lang.Character.UnicodeScript KATAKANA; 2975 enum_constant public static final java.lang.Character.UnicodeScript KAYAH_LI; 2976 enum_constant public static final java.lang.Character.UnicodeScript KHAROSHTHI; 2977 enum_constant public static final java.lang.Character.UnicodeScript KHITAN_SMALL_SCRIPT; 2978 enum_constant public static final java.lang.Character.UnicodeScript KHMER; 2979 enum_constant public static final java.lang.Character.UnicodeScript KHOJKI; 2980 enum_constant public static final java.lang.Character.UnicodeScript KHUDAWADI; 2981 enum_constant public static final java.lang.Character.UnicodeScript LAO; 2982 enum_constant public static final java.lang.Character.UnicodeScript LATIN; 2983 enum_constant public static final java.lang.Character.UnicodeScript LEPCHA; 2984 enum_constant public static final java.lang.Character.UnicodeScript LIMBU; 2985 enum_constant public static final java.lang.Character.UnicodeScript LINEAR_A; 2986 enum_constant public static final java.lang.Character.UnicodeScript LINEAR_B; 2987 enum_constant public static final java.lang.Character.UnicodeScript LISU; 2988 enum_constant public static final java.lang.Character.UnicodeScript LYCIAN; 2989 enum_constant public static final java.lang.Character.UnicodeScript LYDIAN; 2990 enum_constant public static final java.lang.Character.UnicodeScript MAHAJANI; 2991 enum_constant public static final java.lang.Character.UnicodeScript MAKASAR; 2992 enum_constant public static final java.lang.Character.UnicodeScript MALAYALAM; 2993 enum_constant public static final java.lang.Character.UnicodeScript MANDAIC; 2994 enum_constant public static final java.lang.Character.UnicodeScript MANICHAEAN; 2995 enum_constant public static final java.lang.Character.UnicodeScript MARCHEN; 2996 enum_constant public static final java.lang.Character.UnicodeScript MASARAM_GONDI; 2997 enum_constant public static final java.lang.Character.UnicodeScript MEDEFAIDRIN; 2998 enum_constant public static final java.lang.Character.UnicodeScript MEETEI_MAYEK; 2999 enum_constant public static final java.lang.Character.UnicodeScript MENDE_KIKAKUI; 3000 enum_constant public static final java.lang.Character.UnicodeScript MEROITIC_CURSIVE; 3001 enum_constant public static final java.lang.Character.UnicodeScript MEROITIC_HIEROGLYPHS; 3002 enum_constant public static final java.lang.Character.UnicodeScript MIAO; 3003 enum_constant public static final java.lang.Character.UnicodeScript MODI; 3004 enum_constant public static final java.lang.Character.UnicodeScript MONGOLIAN; 3005 enum_constant public static final java.lang.Character.UnicodeScript MRO; 3006 enum_constant public static final java.lang.Character.UnicodeScript MULTANI; 3007 enum_constant public static final java.lang.Character.UnicodeScript MYANMAR; 3008 enum_constant public static final java.lang.Character.UnicodeScript NABATAEAN; 3009 enum_constant public static final java.lang.Character.UnicodeScript NANDINAGARI; 3010 enum_constant public static final java.lang.Character.UnicodeScript NEWA; 3011 enum_constant public static final java.lang.Character.UnicodeScript NEW_TAI_LUE; 3012 enum_constant public static final java.lang.Character.UnicodeScript NKO; 3013 enum_constant public static final java.lang.Character.UnicodeScript NUSHU; 3014 enum_constant public static final java.lang.Character.UnicodeScript NYIAKENG_PUACHUE_HMONG; 3015 enum_constant public static final java.lang.Character.UnicodeScript OGHAM; 3016 enum_constant public static final java.lang.Character.UnicodeScript OLD_HUNGARIAN; 3017 enum_constant public static final java.lang.Character.UnicodeScript OLD_ITALIC; 3018 enum_constant public static final java.lang.Character.UnicodeScript OLD_NORTH_ARABIAN; 3019 enum_constant public static final java.lang.Character.UnicodeScript OLD_PERMIC; 3020 enum_constant public static final java.lang.Character.UnicodeScript OLD_PERSIAN; 3021 enum_constant public static final java.lang.Character.UnicodeScript OLD_SOGDIAN; 3022 enum_constant public static final java.lang.Character.UnicodeScript OLD_SOUTH_ARABIAN; 3023 enum_constant public static final java.lang.Character.UnicodeScript OLD_TURKIC; 3024 enum_constant public static final java.lang.Character.UnicodeScript OL_CHIKI; 3025 enum_constant public static final java.lang.Character.UnicodeScript ORIYA; 3026 enum_constant public static final java.lang.Character.UnicodeScript OSAGE; 3027 enum_constant public static final java.lang.Character.UnicodeScript OSMANYA; 3028 enum_constant public static final java.lang.Character.UnicodeScript PAHAWH_HMONG; 3029 enum_constant public static final java.lang.Character.UnicodeScript PALMYRENE; 3030 enum_constant public static final java.lang.Character.UnicodeScript PAU_CIN_HAU; 3031 enum_constant public static final java.lang.Character.UnicodeScript PHAGS_PA; 3032 enum_constant public static final java.lang.Character.UnicodeScript PHOENICIAN; 3033 enum_constant public static final java.lang.Character.UnicodeScript PSALTER_PAHLAVI; 3034 enum_constant public static final java.lang.Character.UnicodeScript REJANG; 3035 enum_constant public static final java.lang.Character.UnicodeScript RUNIC; 3036 enum_constant public static final java.lang.Character.UnicodeScript SAMARITAN; 3037 enum_constant public static final java.lang.Character.UnicodeScript SAURASHTRA; 3038 enum_constant public static final java.lang.Character.UnicodeScript SHARADA; 3039 enum_constant public static final java.lang.Character.UnicodeScript SHAVIAN; 3040 enum_constant public static final java.lang.Character.UnicodeScript SIDDHAM; 3041 enum_constant public static final java.lang.Character.UnicodeScript SIGNWRITING; 3042 enum_constant public static final java.lang.Character.UnicodeScript SINHALA; 3043 enum_constant public static final java.lang.Character.UnicodeScript SOGDIAN; 3044 enum_constant public static final java.lang.Character.UnicodeScript SORA_SOMPENG; 3045 enum_constant public static final java.lang.Character.UnicodeScript SOYOMBO; 3046 enum_constant public static final java.lang.Character.UnicodeScript SUNDANESE; 3047 enum_constant public static final java.lang.Character.UnicodeScript SYLOTI_NAGRI; 3048 enum_constant public static final java.lang.Character.UnicodeScript SYRIAC; 3049 enum_constant public static final java.lang.Character.UnicodeScript TAGALOG; 3050 enum_constant public static final java.lang.Character.UnicodeScript TAGBANWA; 3051 enum_constant public static final java.lang.Character.UnicodeScript TAI_LE; 3052 enum_constant public static final java.lang.Character.UnicodeScript TAI_THAM; 3053 enum_constant public static final java.lang.Character.UnicodeScript TAI_VIET; 3054 enum_constant public static final java.lang.Character.UnicodeScript TAKRI; 3055 enum_constant public static final java.lang.Character.UnicodeScript TAMIL; 3056 enum_constant public static final java.lang.Character.UnicodeScript TANGUT; 3057 enum_constant public static final java.lang.Character.UnicodeScript TELUGU; 3058 enum_constant public static final java.lang.Character.UnicodeScript THAANA; 3059 enum_constant public static final java.lang.Character.UnicodeScript THAI; 3060 enum_constant public static final java.lang.Character.UnicodeScript TIBETAN; 3061 enum_constant public static final java.lang.Character.UnicodeScript TIFINAGH; 3062 enum_constant public static final java.lang.Character.UnicodeScript TIRHUTA; 3063 enum_constant public static final java.lang.Character.UnicodeScript UGARITIC; 3064 enum_constant public static final java.lang.Character.UnicodeScript UNKNOWN; 3065 enum_constant public static final java.lang.Character.UnicodeScript VAI; 3066 enum_constant public static final java.lang.Character.UnicodeScript WANCHO; 3067 enum_constant public static final java.lang.Character.UnicodeScript WARANG_CITI; 3068 enum_constant public static final java.lang.Character.UnicodeScript YEZIDI; 3069 enum_constant public static final java.lang.Character.UnicodeScript YI; 3070 enum_constant public static final java.lang.Character.UnicodeScript ZANABAZAR_SQUARE; 3071 } 3072 3073 public final class Class<T> implements java.lang.reflect.AnnotatedElement java.lang.reflect.GenericDeclaration java.io.Serializable java.lang.reflect.Type java.lang.invoke.TypeDescriptor.OfField<java.lang.Class<?>> { 3074 method @NonNull public Class<?> arrayType(); 3075 method @NonNull public <U> Class<? extends U> asSubclass(@NonNull Class<U>); 3076 method @Nullable public T cast(@Nullable Object); 3077 method @Nullable public Class<?> componentType(); 3078 method @NonNull public String descriptorString(); 3079 method public boolean desiredAssertionStatus(); 3080 method @NonNull public static Class<?> forName(@NonNull String) throws java.lang.ClassNotFoundException; 3081 method @NonNull public static Class<?> forName(@NonNull String, boolean, @Nullable ClassLoader) throws java.lang.ClassNotFoundException; 3082 method @Nullable public <A extends java.lang.annotation.Annotation> A getAnnotation(@NonNull Class<A>); 3083 method @NonNull public java.lang.annotation.Annotation[] getAnnotations(); 3084 method @NonNull public <A extends java.lang.annotation.Annotation> A[] getAnnotationsByType(@NonNull Class<A>); 3085 method @Nullable public String getCanonicalName(); 3086 method @Nullable public ClassLoader getClassLoader(); 3087 method @NonNull public Class<?>[] getClasses(); 3088 method @Nullable public Class<?> getComponentType(); 3089 method @NonNull public java.lang.reflect.Constructor<T> getConstructor(@Nullable Class<?>...) throws java.lang.NoSuchMethodException, java.lang.SecurityException; 3090 method @NonNull public java.lang.reflect.Constructor<?>[] getConstructors() throws java.lang.SecurityException; 3091 method @Nullable public <A extends java.lang.annotation.Annotation> A getDeclaredAnnotation(@NonNull Class<A>); 3092 method @NonNull public java.lang.annotation.Annotation[] getDeclaredAnnotations(); 3093 method @NonNull public <A extends java.lang.annotation.Annotation> A[] getDeclaredAnnotationsByType(@NonNull Class<A>); 3094 method @NonNull public Class<?>[] getDeclaredClasses(); 3095 method @NonNull public java.lang.reflect.Constructor<T> getDeclaredConstructor(@Nullable Class<?>...) throws java.lang.NoSuchMethodException, java.lang.SecurityException; 3096 method @NonNull public java.lang.reflect.Constructor<?>[] getDeclaredConstructors() throws java.lang.SecurityException; 3097 method @NonNull public java.lang.reflect.Field getDeclaredField(@NonNull String) throws java.lang.NoSuchFieldException; 3098 method @NonNull public java.lang.reflect.Field[] getDeclaredFields(); 3099 method @NonNull public java.lang.reflect.Method getDeclaredMethod(@NonNull String, @Nullable Class<?>...) throws java.lang.NoSuchMethodException, java.lang.SecurityException; 3100 method @NonNull public java.lang.reflect.Method[] getDeclaredMethods() throws java.lang.SecurityException; 3101 method @Nullable public Class<?> getDeclaringClass(); 3102 method @Nullable public Class<?> getEnclosingClass(); 3103 method @Nullable public java.lang.reflect.Constructor<?> getEnclosingConstructor(); 3104 method @Nullable public java.lang.reflect.Method getEnclosingMethod(); 3105 method @Nullable public T[] getEnumConstants(); 3106 method @NonNull public java.lang.reflect.Field getField(@NonNull String) throws java.lang.NoSuchFieldException; 3107 method @NonNull public java.lang.reflect.Field[] getFields() throws java.lang.SecurityException; 3108 method @NonNull public java.lang.reflect.Type[] getGenericInterfaces(); 3109 method @Nullable public java.lang.reflect.Type getGenericSuperclass(); 3110 method @NonNull public Class<?>[] getInterfaces(); 3111 method @NonNull public java.lang.reflect.Method getMethod(@NonNull String, @Nullable Class<?>...) throws java.lang.NoSuchMethodException, java.lang.SecurityException; 3112 method @NonNull public java.lang.reflect.Method[] getMethods() throws java.lang.SecurityException; 3113 method public int getModifiers(); 3114 method @NonNull public String getName(); 3115 method @NonNull public Class<?> getNestHost(); 3116 method @NonNull public Class<?>[] getNestMembers(); 3117 method @Nullable public Package getPackage(); 3118 method @NonNull public String getPackageName(); 3119 method @Nullable public Class<?>[] getPermittedSubclasses(); 3120 method @Nullable public java.security.ProtectionDomain getProtectionDomain(); 3121 method @Nullable public java.lang.reflect.RecordComponent[] getRecordComponents(); 3122 method @Nullable public java.net.URL getResource(@NonNull String); 3123 method @Nullable public java.io.InputStream getResourceAsStream(@NonNull String); 3124 method @Nullable public Object[] getSigners(); 3125 method @NonNull public String getSimpleName(); 3126 method @Nullable public Class<? super T> getSuperclass(); 3127 method @NonNull public String getTypeName(); 3128 method @NonNull public java.lang.reflect.TypeVariable<java.lang.Class<T>>[] getTypeParameters(); 3129 method public boolean isAnnotation(); 3130 method public boolean isAnnotationPresent(@NonNull Class<? extends java.lang.annotation.Annotation>); 3131 method public boolean isAnonymousClass(); 3132 method public boolean isArray(); 3133 method public boolean isAssignableFrom(@NonNull Class<?>); 3134 method public boolean isEnum(); 3135 method public boolean isInstance(@Nullable Object); 3136 method public boolean isInterface(); 3137 method public boolean isLocalClass(); 3138 method public boolean isMemberClass(); 3139 method public boolean isNestmateOf(@NonNull Class<?>); 3140 method public boolean isPrimitive(); 3141 method public boolean isRecord(); 3142 method public boolean isSealed(); 3143 method public boolean isSynthetic(); 3144 method @Deprecated @NonNull public T newInstance() throws java.lang.IllegalAccessException, java.lang.InstantiationException; 3145 method @NonNull public String toGenericString(); 3146 } 3147 3148 public class ClassCastException extends java.lang.RuntimeException { 3149 ctor public ClassCastException(); 3150 ctor public ClassCastException(String); 3151 } 3152 3153 public class ClassCircularityError extends java.lang.LinkageError { 3154 ctor public ClassCircularityError(); 3155 ctor public ClassCircularityError(String); 3156 } 3157 3158 public class ClassFormatError extends java.lang.LinkageError { 3159 ctor public ClassFormatError(); 3160 ctor public ClassFormatError(String); 3161 } 3162 3163 public abstract class ClassLoader { 3164 ctor protected ClassLoader(ClassLoader); 3165 ctor protected ClassLoader(); 3166 method public void clearAssertionStatus(); 3167 method @Deprecated protected final Class<?> defineClass(byte[], int, int) throws java.lang.ClassFormatError; 3168 method protected final Class<?> defineClass(String, byte[], int, int) throws java.lang.ClassFormatError; 3169 method protected final Class<?> defineClass(String, byte[], int, int, java.security.ProtectionDomain) throws java.lang.ClassFormatError; 3170 method protected final Class<?> defineClass(String, java.nio.ByteBuffer, java.security.ProtectionDomain) throws java.lang.ClassFormatError; 3171 method protected Package definePackage(String, String, String, String, String, String, String, java.net.URL) throws java.lang.IllegalArgumentException; 3172 method protected Class<?> findClass(String) throws java.lang.ClassNotFoundException; 3173 method protected String findLibrary(String); 3174 method protected final Class<?> findLoadedClass(String); 3175 method protected java.net.URL findResource(String); 3176 method protected java.util.Enumeration<java.net.URL> findResources(String) throws java.io.IOException; 3177 method protected final Class<?> findSystemClass(String) throws java.lang.ClassNotFoundException; 3178 method @Deprecated protected Package getPackage(String); 3179 method protected Package[] getPackages(); 3180 method public final ClassLoader getParent(); 3181 method public java.net.URL getResource(String); 3182 method public java.io.InputStream getResourceAsStream(String); 3183 method public java.util.Enumeration<java.net.URL> getResources(String) throws java.io.IOException; 3184 method public static ClassLoader getSystemClassLoader(); 3185 method public static java.net.URL getSystemResource(String); 3186 method public static java.io.InputStream getSystemResourceAsStream(String); 3187 method public static java.util.Enumeration<java.net.URL> getSystemResources(String) throws java.io.IOException; 3188 method public Class<?> loadClass(String) throws java.lang.ClassNotFoundException; 3189 method protected Class<?> loadClass(String, boolean) throws java.lang.ClassNotFoundException; 3190 method protected static boolean registerAsParallelCapable(); 3191 method protected final void resolveClass(Class<?>); 3192 method public void setClassAssertionStatus(String, boolean); 3193 method public void setDefaultAssertionStatus(boolean); 3194 method public void setPackageAssertionStatus(String, boolean); 3195 method protected final void setSigners(Class<?>, Object[]); 3196 } 3197 3198 public class ClassNotFoundException extends java.lang.ReflectiveOperationException { 3199 ctor public ClassNotFoundException(); 3200 ctor public ClassNotFoundException(String); 3201 ctor public ClassNotFoundException(String, Throwable); 3202 method public Throwable getException(); 3203 } 3204 3205 public abstract class ClassValue<T> { 3206 ctor protected ClassValue(); 3207 method protected abstract T computeValue(Class<?>); 3208 method public T get(Class<?>); 3209 method public void remove(Class<?>); 3210 } 3211 3212 public class CloneNotSupportedException extends java.lang.Exception { 3213 ctor public CloneNotSupportedException(); 3214 ctor public CloneNotSupportedException(String); 3215 } 3216 3217 public interface Cloneable { 3218 } 3219 3220 public interface Comparable<T> { 3221 method public int compareTo(T); 3222 } 3223 3224 public final class Compiler { 3225 method public static Object command(Object); 3226 method public static boolean compileClass(Class<?>); 3227 method public static boolean compileClasses(String); 3228 method public static void disable(); 3229 method public static void enable(); 3230 } 3231 3232 @java.lang.annotation.Documented @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.RUNTIME) @java.lang.annotation.Target({java.lang.annotation.ElementType.CONSTRUCTOR, java.lang.annotation.ElementType.FIELD, java.lang.annotation.ElementType.LOCAL_VARIABLE, java.lang.annotation.ElementType.METHOD, java.lang.annotation.ElementType.PACKAGE, java.lang.annotation.ElementType.MODULE, java.lang.annotation.ElementType.PARAMETER, java.lang.annotation.ElementType.TYPE}) public @interface Deprecated { 3233 method public abstract boolean forRemoval() default false; 3234 method public abstract String since() default ""; 3235 } 3236 3237 public final class Double extends java.lang.Number implements java.lang.Comparable<java.lang.Double> { 3238 ctor @Deprecated public Double(double); 3239 ctor @Deprecated public Double(@NonNull String) throws java.lang.NumberFormatException; 3240 method public static int compare(double, double); 3241 method public int compareTo(@NonNull Double); 3242 method public static long doubleToLongBits(double); 3243 method public static long doubleToRawLongBits(double); 3244 method public double doubleValue(); 3245 method public float floatValue(); 3246 method public static int hashCode(double); 3247 method public int intValue(); 3248 method public static boolean isFinite(double); 3249 method public static boolean isInfinite(double); 3250 method public boolean isInfinite(); 3251 method public static boolean isNaN(double); 3252 method public boolean isNaN(); 3253 method public static double longBitsToDouble(long); 3254 method public long longValue(); 3255 method public static double max(double, double); 3256 method public static double min(double, double); 3257 method public static double parseDouble(@NonNull String) throws java.lang.NumberFormatException; 3258 method public static double sum(double, double); 3259 method @NonNull public static String toHexString(double); 3260 method @NonNull public static String toString(double); 3261 method @NonNull public static Double valueOf(@NonNull String) throws java.lang.NumberFormatException; 3262 method @NonNull public static Double valueOf(double); 3263 field public static final int BYTES = 8; // 0x8 3264 field public static final int MAX_EXPONENT = 1023; // 0x3ff 3265 field public static final double MAX_VALUE = 1.7976931348623157E308; 3266 field public static final int MIN_EXPONENT = -1022; // 0xfffffc02 3267 field public static final double MIN_NORMAL = 2.2250738585072014E-308; 3268 field public static final double MIN_VALUE = 4.9E-324; 3269 field public static final double NEGATIVE_INFINITY = (-1.0/0.0); 3270 field public static final double NaN = (0.0/0.0); 3271 field public static final double POSITIVE_INFINITY = (1.0/0.0); 3272 field @FlaggedApi("com.android.libcore.v_apis") public static final int PRECISION = 53; // 0x35 3273 field public static final int SIZE = 64; // 0x40 3274 field public static final Class<java.lang.Double> TYPE; 3275 } 3276 3277 public abstract class Enum<E extends java.lang.Enum<E>> implements java.lang.Comparable<E> java.io.Serializable { 3278 ctor protected Enum(@NonNull String, int); 3279 method @NonNull protected final Object clone() throws java.lang.CloneNotSupportedException; 3280 method public final int compareTo(E); 3281 method public final boolean equals(@Nullable Object); 3282 method protected final void finalize(); 3283 method @NonNull public final Class<E> getDeclaringClass(); 3284 method public final int hashCode(); 3285 method @NonNull public final String name(); 3286 method public final int ordinal(); 3287 method @NonNull public static <T extends java.lang.Enum<T>> T valueOf(@NonNull Class<T>, @NonNull String); 3288 } 3289 3290 public class EnumConstantNotPresentException extends java.lang.RuntimeException { 3291 ctor public EnumConstantNotPresentException(Class<? extends java.lang.Enum>, String); 3292 method public String constantName(); 3293 method public Class<? extends java.lang.Enum> enumType(); 3294 } 3295 3296 public class Error extends java.lang.Throwable { 3297 ctor public Error(); 3298 ctor public Error(String); 3299 ctor public Error(String, Throwable); 3300 ctor public Error(Throwable); 3301 ctor protected Error(String, Throwable, boolean, boolean); 3302 } 3303 3304 public class Exception extends java.lang.Throwable { 3305 ctor public Exception(); 3306 ctor public Exception(String); 3307 ctor public Exception(String, Throwable); 3308 ctor public Exception(Throwable); 3309 ctor protected Exception(String, Throwable, boolean, boolean); 3310 } 3311 3312 public class ExceptionInInitializerError extends java.lang.LinkageError { 3313 ctor public ExceptionInInitializerError(); 3314 ctor public ExceptionInInitializerError(Throwable); 3315 ctor public ExceptionInInitializerError(String); 3316 method public Throwable getException(); 3317 } 3318 3319 public final class Float extends java.lang.Number implements java.lang.Comparable<java.lang.Float> { 3320 ctor @Deprecated public Float(float); 3321 ctor @Deprecated public Float(double); 3322 ctor @Deprecated public Float(@NonNull String) throws java.lang.NumberFormatException; 3323 method public static int compare(float, float); 3324 method public int compareTo(@NonNull Float); 3325 method public double doubleValue(); 3326 method public static int floatToIntBits(float); 3327 method public static int floatToRawIntBits(float); 3328 method public float floatValue(); 3329 method public static int hashCode(float); 3330 method public static float intBitsToFloat(int); 3331 method public int intValue(); 3332 method public static boolean isFinite(float); 3333 method public static boolean isInfinite(float); 3334 method public boolean isInfinite(); 3335 method public static boolean isNaN(float); 3336 method public boolean isNaN(); 3337 method public long longValue(); 3338 method public static float max(float, float); 3339 method public static float min(float, float); 3340 method public static float parseFloat(@NonNull String) throws java.lang.NumberFormatException; 3341 method public static float sum(float, float); 3342 method @NonNull public static String toHexString(float); 3343 method @NonNull public static String toString(float); 3344 method @NonNull public static Float valueOf(@NonNull String) throws java.lang.NumberFormatException; 3345 method @NonNull public static Float valueOf(float); 3346 field public static final int BYTES = 4; // 0x4 3347 field public static final int MAX_EXPONENT = 127; // 0x7f 3348 field public static final float MAX_VALUE = 3.4028235E38f; 3349 field public static final int MIN_EXPONENT = -126; // 0xffffff82 3350 field public static final float MIN_NORMAL = 1.17549435E-38f; 3351 field public static final float MIN_VALUE = 1.4E-45f; 3352 field public static final float NEGATIVE_INFINITY = (-1.0f/0.0f); 3353 field public static final float NaN = (0.0f/0.0f); 3354 field public static final float POSITIVE_INFINITY = (1.0f/0.0f); 3355 field @FlaggedApi("com.android.libcore.v_apis") public static final int PRECISION = 24; // 0x18 3356 field public static final int SIZE = 32; // 0x20 3357 field public static final Class<java.lang.Float> TYPE; 3358 } 3359 3360 @java.lang.annotation.Documented @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.RUNTIME) @java.lang.annotation.Target(java.lang.annotation.ElementType.TYPE) public @interface FunctionalInterface { 3361 } 3362 3363 public class IllegalAccessError extends java.lang.IncompatibleClassChangeError { 3364 ctor public IllegalAccessError(); 3365 ctor public IllegalAccessError(String); 3366 } 3367 3368 public class IllegalAccessException extends java.lang.ReflectiveOperationException { 3369 ctor public IllegalAccessException(); 3370 ctor public IllegalAccessException(String); 3371 } 3372 3373 public class IllegalArgumentException extends java.lang.RuntimeException { 3374 ctor public IllegalArgumentException(); 3375 ctor public IllegalArgumentException(String); 3376 ctor public IllegalArgumentException(String, Throwable); 3377 ctor public IllegalArgumentException(Throwable); 3378 } 3379 3380 public class IllegalMonitorStateException extends java.lang.RuntimeException { 3381 ctor public IllegalMonitorStateException(); 3382 ctor public IllegalMonitorStateException(String); 3383 } 3384 3385 public class IllegalStateException extends java.lang.RuntimeException { 3386 ctor public IllegalStateException(); 3387 ctor public IllegalStateException(String); 3388 ctor public IllegalStateException(String, Throwable); 3389 ctor public IllegalStateException(Throwable); 3390 } 3391 3392 public class IllegalThreadStateException extends java.lang.IllegalArgumentException { 3393 ctor public IllegalThreadStateException(); 3394 ctor public IllegalThreadStateException(String); 3395 } 3396 3397 public class IncompatibleClassChangeError extends java.lang.LinkageError { 3398 ctor public IncompatibleClassChangeError(); 3399 ctor public IncompatibleClassChangeError(String); 3400 } 3401 3402 public class IndexOutOfBoundsException extends java.lang.RuntimeException { 3403 ctor public IndexOutOfBoundsException(); 3404 ctor public IndexOutOfBoundsException(String); 3405 ctor public IndexOutOfBoundsException(int); 3406 ctor public IndexOutOfBoundsException(long); 3407 } 3408 3409 public class InheritableThreadLocal<T> extends java.lang.ThreadLocal<T> { 3410 ctor public InheritableThreadLocal(); 3411 method protected T childValue(T); 3412 } 3413 3414 public class InstantiationError extends java.lang.IncompatibleClassChangeError { 3415 ctor public InstantiationError(); 3416 ctor public InstantiationError(String); 3417 } 3418 3419 public class InstantiationException extends java.lang.ReflectiveOperationException { 3420 ctor public InstantiationException(); 3421 ctor public InstantiationException(String); 3422 } 3423 3424 public final class Integer extends java.lang.Number implements java.lang.Comparable<java.lang.Integer> { 3425 ctor @Deprecated public Integer(int); 3426 ctor @Deprecated public Integer(@NonNull String) throws java.lang.NumberFormatException; 3427 method public static int bitCount(int); 3428 method public static int compare(int, int); 3429 method public int compareTo(@NonNull Integer); 3430 method public static int compareUnsigned(int, int); 3431 method @NonNull public static Integer decode(@NonNull String) throws java.lang.NumberFormatException; 3432 method public static int divideUnsigned(int, int); 3433 method public double doubleValue(); 3434 method public float floatValue(); 3435 method @Nullable public static Integer getInteger(@NonNull String); 3436 method @Nullable public static Integer getInteger(@NonNull String, int); 3437 method @Nullable public static Integer getInteger(@NonNull String, @Nullable Integer); 3438 method public static int hashCode(int); 3439 method public static int highestOneBit(int); 3440 method public int intValue(); 3441 method public long longValue(); 3442 method public static int lowestOneBit(int); 3443 method public static int max(int, int); 3444 method public static int min(int, int); 3445 method public static int numberOfLeadingZeros(int); 3446 method public static int numberOfTrailingZeros(int); 3447 method public static int parseInt(@NonNull String, int) throws java.lang.NumberFormatException; 3448 method public static int parseInt(@NonNull CharSequence, int, int, int) throws java.lang.NumberFormatException; 3449 method public static int parseInt(@NonNull String) throws java.lang.NumberFormatException; 3450 method public static int parseUnsignedInt(@NonNull String, int) throws java.lang.NumberFormatException; 3451 method public static int parseUnsignedInt(@NonNull CharSequence, int, int, int) throws java.lang.NumberFormatException; 3452 method public static int parseUnsignedInt(@NonNull String) throws java.lang.NumberFormatException; 3453 method public static int remainderUnsigned(int, int); 3454 method public static int reverse(int); 3455 method public static int reverseBytes(int); 3456 method public static int rotateLeft(int, int); 3457 method public static int rotateRight(int, int); 3458 method public static int signum(int); 3459 method public static int sum(int, int); 3460 method @NonNull public static String toBinaryString(int); 3461 method @NonNull public static String toHexString(int); 3462 method @NonNull public static String toOctalString(int); 3463 method @NonNull public static String toString(int, int); 3464 method @NonNull public static String toString(int); 3465 method public static long toUnsignedLong(int); 3466 method @NonNull public static String toUnsignedString(int, int); 3467 method @NonNull public static String toUnsignedString(int); 3468 method @NonNull public static Integer valueOf(@NonNull String, int) throws java.lang.NumberFormatException; 3469 method @NonNull public static Integer valueOf(@NonNull String) throws java.lang.NumberFormatException; 3470 method @NonNull public static Integer valueOf(int); 3471 field public static final int BYTES = 4; // 0x4 3472 field public static final int MAX_VALUE = 2147483647; // 0x7fffffff 3473 field public static final int MIN_VALUE = -2147483648; // 0x80000000 3474 field public static final int SIZE = 32; // 0x20 3475 field public static final Class<java.lang.Integer> TYPE; 3476 } 3477 3478 public class InternalError extends java.lang.VirtualMachineError { 3479 ctor public InternalError(); 3480 ctor public InternalError(String); 3481 ctor public InternalError(String, Throwable); 3482 ctor public InternalError(Throwable); 3483 } 3484 3485 public class InterruptedException extends java.lang.Exception { 3486 ctor public InterruptedException(); 3487 ctor public InterruptedException(String); 3488 } 3489 3490 public interface Iterable<T> { 3491 method public default void forEach(@NonNull java.util.function.Consumer<? super T>); 3492 method @NonNull public java.util.Iterator<T> iterator(); 3493 method @NonNull public default java.util.Spliterator<T> spliterator(); 3494 } 3495 3496 public class LinkageError extends java.lang.Error { 3497 ctor public LinkageError(); 3498 ctor public LinkageError(String); 3499 ctor public LinkageError(String, Throwable); 3500 } 3501 3502 public final class Long extends java.lang.Number implements java.lang.Comparable<java.lang.Long> { 3503 ctor @Deprecated public Long(long); 3504 ctor @Deprecated public Long(@NonNull String) throws java.lang.NumberFormatException; 3505 method public static int bitCount(long); 3506 method public static int compare(long, long); 3507 method public int compareTo(@NonNull Long); 3508 method public static int compareUnsigned(long, long); 3509 method @NonNull public static Long decode(@NonNull String) throws java.lang.NumberFormatException; 3510 method public static long divideUnsigned(long, long); 3511 method public double doubleValue(); 3512 method public float floatValue(); 3513 method @Nullable public static Long getLong(@NonNull String); 3514 method @Nullable public static Long getLong(@NonNull String, long); 3515 method @Nullable public static Long getLong(@NonNull String, @Nullable Long); 3516 method public static int hashCode(long); 3517 method public static long highestOneBit(long); 3518 method public int intValue(); 3519 method public long longValue(); 3520 method public static long lowestOneBit(long); 3521 method public static long max(long, long); 3522 method public static long min(long, long); 3523 method public static int numberOfLeadingZeros(long); 3524 method public static int numberOfTrailingZeros(long); 3525 method public static long parseLong(@NonNull String, int) throws java.lang.NumberFormatException; 3526 method public static long parseLong(@NonNull CharSequence, int, int, int) throws java.lang.NumberFormatException; 3527 method public static long parseLong(@NonNull String) throws java.lang.NumberFormatException; 3528 method public static long parseUnsignedLong(@NonNull String, int) throws java.lang.NumberFormatException; 3529 method public static long parseUnsignedLong(@NonNull CharSequence, int, int, int) throws java.lang.NumberFormatException; 3530 method public static long parseUnsignedLong(@NonNull String) throws java.lang.NumberFormatException; 3531 method public static long remainderUnsigned(long, long); 3532 method public static long reverse(long); 3533 method public static long reverseBytes(long); 3534 method public static long rotateLeft(long, int); 3535 method public static long rotateRight(long, int); 3536 method public static int signum(long); 3537 method public static long sum(long, long); 3538 method @NonNull public static String toBinaryString(long); 3539 method @NonNull public static String toHexString(long); 3540 method @NonNull public static String toOctalString(long); 3541 method @NonNull public static String toString(long, int); 3542 method @NonNull public static String toString(long); 3543 method @NonNull public static String toUnsignedString(long, int); 3544 method @NonNull public static String toUnsignedString(long); 3545 method @NonNull public static Long valueOf(@NonNull String, int) throws java.lang.NumberFormatException; 3546 method @NonNull public static Long valueOf(@NonNull String) throws java.lang.NumberFormatException; 3547 method @NonNull public static Long valueOf(long); 3548 field public static final int BYTES = 8; // 0x8 3549 field public static final long MAX_VALUE = 9223372036854775807L; // 0x7fffffffffffffffL 3550 field public static final long MIN_VALUE = -9223372036854775808L; // 0x8000000000000000L 3551 field public static final int SIZE = 64; // 0x40 3552 field public static final Class<java.lang.Long> TYPE; 3553 } 3554 3555 public final class Math { 3556 method public static double IEEEremainder(double, double); 3557 method public static int abs(int); 3558 method public static long abs(long); 3559 method public static float abs(float); 3560 method public static double abs(double); 3561 method public static int absExact(int); 3562 method public static long absExact(long); 3563 method public static double acos(double); 3564 method public static int addExact(int, int); 3565 method public static long addExact(long, long); 3566 method public static double asin(double); 3567 method public static double atan(double); 3568 method public static double atan2(double, double); 3569 method public static double cbrt(double); 3570 method public static double ceil(double); 3571 method @FlaggedApi("com.android.libcore.v_apis") public static int ceilDiv(int, int); 3572 method @FlaggedApi("com.android.libcore.v_apis") public static long ceilDiv(long, int); 3573 method @FlaggedApi("com.android.libcore.v_apis") public static long ceilDiv(long, long); 3574 method @FlaggedApi("com.android.libcore.v_apis") public static int ceilDivExact(int, int); 3575 method @FlaggedApi("com.android.libcore.v_apis") public static long ceilDivExact(long, long); 3576 method @FlaggedApi("com.android.libcore.v_apis") public static int ceilMod(int, int); 3577 method @FlaggedApi("com.android.libcore.v_apis") public static int ceilMod(long, int); 3578 method @FlaggedApi("com.android.libcore.v_apis") public static long ceilMod(long, long); 3579 method @FlaggedApi("com.android.libcore.v_apis") public static int clamp(long, int, int); 3580 method @FlaggedApi("com.android.libcore.v_apis") public static long clamp(long, long, long); 3581 method @FlaggedApi("com.android.libcore.v_apis") public static double clamp(double, double, double); 3582 method @FlaggedApi("com.android.libcore.v_apis") public static float clamp(float, float, float); 3583 method public static double copySign(double, double); 3584 method public static float copySign(float, float); 3585 method public static double cos(double); 3586 method public static double cosh(double); 3587 method public static int decrementExact(int); 3588 method public static long decrementExact(long); 3589 method @FlaggedApi("com.android.libcore.v_apis") public static int divideExact(int, int); 3590 method @FlaggedApi("com.android.libcore.v_apis") public static long divideExact(long, long); 3591 method public static double exp(double); 3592 method public static double expm1(double); 3593 method public static double floor(double); 3594 method public static int floorDiv(int, int); 3595 method public static long floorDiv(long, int); 3596 method public static long floorDiv(long, long); 3597 method @FlaggedApi("com.android.libcore.v_apis") public static int floorDivExact(int, int); 3598 method @FlaggedApi("com.android.libcore.v_apis") public static long floorDivExact(long, long); 3599 method public static int floorMod(int, int); 3600 method public static int floorMod(long, int); 3601 method public static long floorMod(long, long); 3602 method public static double fma(double, double, double); 3603 method public static float fma(float, float, float); 3604 method public static int getExponent(float); 3605 method public static int getExponent(double); 3606 method public static double hypot(double, double); 3607 method public static int incrementExact(int); 3608 method public static long incrementExact(long); 3609 method public static double log(double); 3610 method public static double log10(double); 3611 method public static double log1p(double); 3612 method public static int max(int, int); 3613 method public static long max(long, long); 3614 method public static float max(float, float); 3615 method public static double max(double, double); 3616 method public static int min(int, int); 3617 method public static long min(long, long); 3618 method public static float min(float, float); 3619 method public static double min(double, double); 3620 method public static int multiplyExact(int, int); 3621 method public static long multiplyExact(long, int); 3622 method public static long multiplyExact(long, long); 3623 method public static long multiplyFull(int, int); 3624 method public static long multiplyHigh(long, long); 3625 method public static int negateExact(int); 3626 method public static long negateExact(long); 3627 method public static double nextAfter(double, double); 3628 method public static float nextAfter(float, double); 3629 method public static double nextDown(double); 3630 method public static float nextDown(float); 3631 method public static double nextUp(double); 3632 method public static float nextUp(float); 3633 method public static double pow(double, double); 3634 method public static double random(); 3635 method public static double rint(double); 3636 method public static int round(float); 3637 method public static long round(double); 3638 method public static double scalb(double, int); 3639 method public static float scalb(float, int); 3640 method public static double signum(double); 3641 method public static float signum(float); 3642 method public static double sin(double); 3643 method public static double sinh(double); 3644 method public static double sqrt(double); 3645 method public static int subtractExact(int, int); 3646 method public static long subtractExact(long, long); 3647 method public static double tan(double); 3648 method public static double tanh(double); 3649 method public static double toDegrees(double); 3650 method public static int toIntExact(long); 3651 method public static double toRadians(double); 3652 method public static double ulp(double); 3653 method public static float ulp(float); 3654 method @FlaggedApi("com.android.libcore.v_apis") public static long unsignedMultiplyHigh(long, long); 3655 field public static final double E = 2.718281828459045; 3656 field public static final double PI = 3.141592653589793; 3657 field @FlaggedApi("com.android.libcore.v_apis") public static final double TAU = 6.283185307179586; 3658 } 3659 3660 public class NegativeArraySizeException extends java.lang.RuntimeException { 3661 ctor public NegativeArraySizeException(); 3662 ctor public NegativeArraySizeException(String); 3663 } 3664 3665 public class NoClassDefFoundError extends java.lang.LinkageError { 3666 ctor public NoClassDefFoundError(); 3667 ctor public NoClassDefFoundError(String); 3668 } 3669 3670 public class NoSuchFieldError extends java.lang.IncompatibleClassChangeError { 3671 ctor public NoSuchFieldError(); 3672 ctor public NoSuchFieldError(String); 3673 } 3674 3675 public class NoSuchFieldException extends java.lang.ReflectiveOperationException { 3676 ctor public NoSuchFieldException(); 3677 ctor public NoSuchFieldException(String); 3678 } 3679 3680 public class NoSuchMethodError extends java.lang.IncompatibleClassChangeError { 3681 ctor public NoSuchMethodError(); 3682 ctor public NoSuchMethodError(String); 3683 } 3684 3685 public class NoSuchMethodException extends java.lang.ReflectiveOperationException { 3686 ctor public NoSuchMethodException(); 3687 ctor public NoSuchMethodException(String); 3688 } 3689 3690 public class NullPointerException extends java.lang.RuntimeException { 3691 ctor public NullPointerException(); 3692 ctor public NullPointerException(String); 3693 } 3694 3695 public abstract class Number implements java.io.Serializable { 3696 ctor public Number(); 3697 method public byte byteValue(); 3698 method public abstract double doubleValue(); 3699 method public abstract float floatValue(); 3700 method public abstract int intValue(); 3701 method public abstract long longValue(); 3702 method public short shortValue(); 3703 } 3704 3705 public class NumberFormatException extends java.lang.IllegalArgumentException { 3706 ctor public NumberFormatException(); 3707 ctor public NumberFormatException(String); 3708 } 3709 3710 public class Object { 3711 ctor public Object(); 3712 method @NonNull protected Object clone() throws java.lang.CloneNotSupportedException; 3713 method public boolean equals(@Nullable Object); 3714 method protected void finalize() throws java.lang.Throwable; 3715 method @NonNull public final Class<?> getClass(); 3716 method public int hashCode(); 3717 method public final void notify(); 3718 method public final void notifyAll(); 3719 method @NonNull public String toString(); 3720 method public final void wait(long) throws java.lang.InterruptedException; 3721 method public final void wait(long, int) throws java.lang.InterruptedException; 3722 method public final void wait() throws java.lang.InterruptedException; 3723 } 3724 3725 public class OutOfMemoryError extends java.lang.VirtualMachineError { 3726 ctor public OutOfMemoryError(); 3727 ctor public OutOfMemoryError(String); 3728 } 3729 3730 @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) @java.lang.annotation.Target(java.lang.annotation.ElementType.METHOD) public @interface Override { 3731 } 3732 3733 public class Package implements java.lang.reflect.AnnotatedElement { 3734 method public <A extends java.lang.annotation.Annotation> A getAnnotation(Class<A>); 3735 method public java.lang.annotation.Annotation[] getAnnotations(); 3736 method public <A extends java.lang.annotation.Annotation> A[] getAnnotationsByType(Class<A>); 3737 method public <A extends java.lang.annotation.Annotation> A getDeclaredAnnotation(Class<A>); 3738 method public java.lang.annotation.Annotation[] getDeclaredAnnotations(); 3739 method public <A extends java.lang.annotation.Annotation> A[] getDeclaredAnnotationsByType(Class<A>); 3740 method public String getImplementationTitle(); 3741 method public String getImplementationVendor(); 3742 method public String getImplementationVersion(); 3743 method public String getName(); 3744 method public static Package getPackage(String); 3745 method public static Package[] getPackages(); 3746 method public String getSpecificationTitle(); 3747 method public String getSpecificationVendor(); 3748 method public String getSpecificationVersion(); 3749 method public boolean isAnnotationPresent(Class<? extends java.lang.annotation.Annotation>); 3750 method public boolean isCompatibleWith(String) throws java.lang.NumberFormatException; 3751 method public boolean isSealed(); 3752 method public boolean isSealed(java.net.URL); 3753 } 3754 3755 public abstract class Process { 3756 ctor public Process(); 3757 method public abstract void destroy(); 3758 method public Process destroyForcibly(); 3759 method public abstract int exitValue(); 3760 method public abstract java.io.InputStream getErrorStream(); 3761 method public abstract java.io.InputStream getInputStream(); 3762 method public abstract java.io.OutputStream getOutputStream(); 3763 method public boolean isAlive(); 3764 method public abstract int waitFor() throws java.lang.InterruptedException; 3765 method public boolean waitFor(long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedException; 3766 } 3767 3768 public final class ProcessBuilder { 3769 ctor public ProcessBuilder(java.util.List<java.lang.String>); 3770 ctor public ProcessBuilder(java.lang.String...); 3771 method public ProcessBuilder command(java.util.List<java.lang.String>); 3772 method public ProcessBuilder command(java.lang.String...); 3773 method public java.util.List<java.lang.String> command(); 3774 method public java.io.File directory(); 3775 method public ProcessBuilder directory(java.io.File); 3776 method public java.util.Map<java.lang.String,java.lang.String> environment(); 3777 method public ProcessBuilder inheritIO(); 3778 method public ProcessBuilder redirectError(java.lang.ProcessBuilder.Redirect); 3779 method public ProcessBuilder redirectError(java.io.File); 3780 method public java.lang.ProcessBuilder.Redirect redirectError(); 3781 method public boolean redirectErrorStream(); 3782 method public ProcessBuilder redirectErrorStream(boolean); 3783 method public ProcessBuilder redirectInput(java.lang.ProcessBuilder.Redirect); 3784 method public ProcessBuilder redirectInput(java.io.File); 3785 method public java.lang.ProcessBuilder.Redirect redirectInput(); 3786 method public ProcessBuilder redirectOutput(java.lang.ProcessBuilder.Redirect); 3787 method public ProcessBuilder redirectOutput(java.io.File); 3788 method public java.lang.ProcessBuilder.Redirect redirectOutput(); 3789 method public Process start() throws java.io.IOException; 3790 } 3791 3792 public abstract static class ProcessBuilder.Redirect { 3793 method public static java.lang.ProcessBuilder.Redirect appendTo(java.io.File); 3794 method public java.io.File file(); 3795 method public static java.lang.ProcessBuilder.Redirect from(java.io.File); 3796 method public static java.lang.ProcessBuilder.Redirect to(java.io.File); 3797 method public abstract java.lang.ProcessBuilder.Redirect.Type type(); 3798 field public static final java.lang.ProcessBuilder.Redirect INHERIT; 3799 field public static final java.lang.ProcessBuilder.Redirect PIPE; 3800 } 3801 3802 public enum ProcessBuilder.Redirect.Type { 3803 enum_constant public static final java.lang.ProcessBuilder.Redirect.Type APPEND; 3804 enum_constant public static final java.lang.ProcessBuilder.Redirect.Type INHERIT; 3805 enum_constant public static final java.lang.ProcessBuilder.Redirect.Type PIPE; 3806 enum_constant public static final java.lang.ProcessBuilder.Redirect.Type READ; 3807 enum_constant public static final java.lang.ProcessBuilder.Redirect.Type WRITE; 3808 } 3809 3810 public interface Readable { 3811 method public int read(java.nio.CharBuffer) throws java.io.IOException; 3812 } 3813 3814 public abstract class Record { 3815 ctor protected Record(); 3816 method public abstract boolean equals(@Nullable Object); 3817 method public abstract int hashCode(); 3818 method @NonNull public abstract String toString(); 3819 } 3820 3821 public class ReflectiveOperationException extends java.lang.Exception { 3822 ctor public ReflectiveOperationException(); 3823 ctor public ReflectiveOperationException(String); 3824 ctor public ReflectiveOperationException(String, Throwable); 3825 ctor public ReflectiveOperationException(Throwable); 3826 } 3827 3828 @java.lang.FunctionalInterface public interface Runnable { 3829 method public void run(); 3830 } 3831 3832 public class Runtime { 3833 method public void addShutdownHook(Thread); 3834 method public int availableProcessors(); 3835 method public Process exec(String) throws java.io.IOException; 3836 method public Process exec(String, String[]) throws java.io.IOException; 3837 method public Process exec(String, String[], java.io.File) throws java.io.IOException; 3838 method public Process exec(String[]) throws java.io.IOException; 3839 method public Process exec(String[], String[]) throws java.io.IOException; 3840 method public Process exec(String[], String[], java.io.File) throws java.io.IOException; 3841 method public void exit(int); 3842 method public long freeMemory(); 3843 method public void gc(); 3844 method public static Runtime getRuntime(); 3845 method public void halt(int); 3846 method public void load(String); 3847 method public void loadLibrary(String); 3848 method public long maxMemory(); 3849 method public boolean removeShutdownHook(Thread); 3850 method public void runFinalization(); 3851 method @Deprecated public static void runFinalizersOnExit(boolean); 3852 method public long totalMemory(); 3853 method @Deprecated public void traceInstructions(boolean); 3854 method @Deprecated public void traceMethodCalls(boolean); 3855 } 3856 3857 public class RuntimeException extends java.lang.Exception { 3858 ctor public RuntimeException(); 3859 ctor public RuntimeException(String); 3860 ctor public RuntimeException(String, Throwable); 3861 ctor public RuntimeException(Throwable); 3862 ctor protected RuntimeException(String, Throwable, boolean, boolean); 3863 } 3864 3865 public final class RuntimePermission extends java.security.BasicPermission { 3866 ctor public RuntimePermission(String); 3867 ctor public RuntimePermission(String, String); 3868 } 3869 3870 @java.lang.annotation.Documented @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.RUNTIME) @java.lang.annotation.Target({java.lang.annotation.ElementType.CONSTRUCTOR, java.lang.annotation.ElementType.METHOD}) public @interface SafeVarargs { 3871 } 3872 3873 public class SecurityException extends java.lang.RuntimeException { 3874 ctor public SecurityException(); 3875 ctor public SecurityException(String); 3876 ctor public SecurityException(String, Throwable); 3877 ctor public SecurityException(Throwable); 3878 } 3879 3880 public class SecurityManager { 3881 ctor public SecurityManager(); 3882 method public void checkAccept(String, int); 3883 method public void checkAccess(Thread); 3884 method public void checkAccess(ThreadGroup); 3885 method public void checkAwtEventQueueAccess(); 3886 method public void checkConnect(String, int); 3887 method public void checkConnect(String, int, Object); 3888 method public void checkCreateClassLoader(); 3889 method public void checkDelete(String); 3890 method public void checkExec(String); 3891 method public void checkExit(int); 3892 method public void checkLink(String); 3893 method public void checkListen(int); 3894 method @Deprecated public void checkMemberAccess(Class<?>, int); 3895 method public void checkMulticast(java.net.InetAddress); 3896 method @Deprecated public void checkMulticast(java.net.InetAddress, byte); 3897 method public void checkPackageAccess(String); 3898 method public void checkPackageDefinition(String); 3899 method public void checkPermission(java.security.Permission); 3900 method public void checkPermission(java.security.Permission, Object); 3901 method public void checkPrintJobAccess(); 3902 method public void checkPropertiesAccess(); 3903 method public void checkPropertyAccess(String); 3904 method public void checkRead(java.io.FileDescriptor); 3905 method public void checkRead(String); 3906 method public void checkRead(String, Object); 3907 method public void checkSecurityAccess(String); 3908 method public void checkSetFactory(); 3909 method public void checkSystemClipboardAccess(); 3910 method @Deprecated public boolean checkTopLevelWindow(Object); 3911 method public void checkWrite(java.io.FileDescriptor); 3912 method public void checkWrite(String); 3913 method @Deprecated protected int classDepth(String); 3914 method @Deprecated protected int classLoaderDepth(); 3915 method @Deprecated protected ClassLoader currentClassLoader(); 3916 method @Deprecated protected Class<?> currentLoadedClass(); 3917 method protected Class[] getClassContext(); 3918 method @Deprecated public boolean getInCheck(); 3919 method public Object getSecurityContext(); 3920 method public ThreadGroup getThreadGroup(); 3921 method @Deprecated protected boolean inClass(String); 3922 method @Deprecated protected boolean inClassLoader(); 3923 field @Deprecated protected boolean inCheck; 3924 } 3925 3926 public final class Short extends java.lang.Number implements java.lang.Comparable<java.lang.Short> { 3927 ctor @Deprecated public Short(short); 3928 ctor @Deprecated public Short(String) throws java.lang.NumberFormatException; 3929 method public static int compare(short, short); 3930 method public int compareTo(Short); 3931 method public static int compareUnsigned(short, short); 3932 method public static Short decode(String) throws java.lang.NumberFormatException; 3933 method public double doubleValue(); 3934 method public float floatValue(); 3935 method public static int hashCode(short); 3936 method public int intValue(); 3937 method public long longValue(); 3938 method public static short parseShort(String, int) throws java.lang.NumberFormatException; 3939 method public static short parseShort(String) throws java.lang.NumberFormatException; 3940 method public static short reverseBytes(short); 3941 method public static String toString(short); 3942 method public static int toUnsignedInt(short); 3943 method public static long toUnsignedLong(short); 3944 method public static Short valueOf(String, int) throws java.lang.NumberFormatException; 3945 method public static Short valueOf(String) throws java.lang.NumberFormatException; 3946 method public static Short valueOf(short); 3947 field public static final int BYTES = 2; // 0x2 3948 field public static final short MAX_VALUE = 32767; // 0x7fff 3949 field public static final short MIN_VALUE = -32768; // 0xffff8000 3950 field public static final int SIZE = 16; // 0x10 3951 field public static final Class<java.lang.Short> TYPE; 3952 } 3953 3954 public class StackOverflowError extends java.lang.VirtualMachineError { 3955 ctor public StackOverflowError(); 3956 ctor public StackOverflowError(String); 3957 } 3958 3959 public final class StackTraceElement implements java.io.Serializable { 3960 ctor public StackTraceElement(String, String, String, int); 3961 method public String getClassName(); 3962 method public String getFileName(); 3963 method public int getLineNumber(); 3964 method public String getMethodName(); 3965 method public boolean isNativeMethod(); 3966 } 3967 3968 public final class StackWalker { 3969 method public void forEach(java.util.function.Consumer<? super java.lang.StackWalker.StackFrame>); 3970 method public Class<?> getCallerClass(); 3971 method public static StackWalker getInstance(); 3972 method public static StackWalker getInstance(java.lang.StackWalker.Option); 3973 method public static StackWalker getInstance(java.util.Set<java.lang.StackWalker.Option>); 3974 method public static StackWalker getInstance(java.util.Set<java.lang.StackWalker.Option>, int); 3975 method public <T> T walk(java.util.function.Function<? super java.util.stream.Stream<java.lang.StackWalker.StackFrame>,? extends T>); 3976 } 3977 3978 public enum StackWalker.Option { 3979 enum_constant public static final java.lang.StackWalker.Option RETAIN_CLASS_REFERENCE; 3980 enum_constant public static final java.lang.StackWalker.Option SHOW_HIDDEN_FRAMES; 3981 enum_constant public static final java.lang.StackWalker.Option SHOW_REFLECT_FRAMES; 3982 } 3983 3984 public static interface StackWalker.StackFrame { 3985 method public int getByteCodeIndex(); 3986 method public String getClassName(); 3987 method public Class<?> getDeclaringClass(); 3988 method public default String getDescriptor(); 3989 method public String getFileName(); 3990 method public int getLineNumber(); 3991 method public String getMethodName(); 3992 method public default java.lang.invoke.MethodType getMethodType(); 3993 method public boolean isNativeMethod(); 3994 method public StackTraceElement toStackTraceElement(); 3995 } 3996 3997 public final class StrictMath { 3998 method public static double IEEEremainder(double, double); 3999 method public static int abs(int); 4000 method public static long abs(long); 4001 method public static float abs(float); 4002 method public static double abs(double); 4003 method public static int absExact(int); 4004 method public static long absExact(long); 4005 method public static double acos(double); 4006 method public static int addExact(int, int); 4007 method public static long addExact(long, long); 4008 method public static double asin(double); 4009 method public static double atan(double); 4010 method public static double atan2(double, double); 4011 method public static double cbrt(double); 4012 method public static double ceil(double); 4013 method @FlaggedApi("com.android.libcore.v_apis") public static int ceilDiv(int, int); 4014 method @FlaggedApi("com.android.libcore.v_apis") public static long ceilDiv(long, int); 4015 method @FlaggedApi("com.android.libcore.v_apis") public static long ceilDiv(long, long); 4016 method @FlaggedApi("com.android.libcore.v_apis") public static int ceilDivExact(int, int); 4017 method @FlaggedApi("com.android.libcore.v_apis") public static long ceilDivExact(long, long); 4018 method @FlaggedApi("com.android.libcore.v_apis") public static int ceilMod(int, int); 4019 method @FlaggedApi("com.android.libcore.v_apis") public static int ceilMod(long, int); 4020 method @FlaggedApi("com.android.libcore.v_apis") public static long ceilMod(long, long); 4021 method @FlaggedApi("com.android.libcore.v_apis") public static int clamp(long, int, int); 4022 method @FlaggedApi("com.android.libcore.v_apis") public static long clamp(long, long, long); 4023 method @FlaggedApi("com.android.libcore.v_apis") public static double clamp(double, double, double); 4024 method @FlaggedApi("com.android.libcore.v_apis") public static float clamp(float, float, float); 4025 method public static double copySign(double, double); 4026 method public static float copySign(float, float); 4027 method public static double cos(double); 4028 method public static double cosh(double); 4029 method public static int decrementExact(int); 4030 method public static long decrementExact(long); 4031 method @FlaggedApi("com.android.libcore.v_apis") public static int divideExact(int, int); 4032 method @FlaggedApi("com.android.libcore.v_apis") public static long divideExact(long, long); 4033 method public static double exp(double); 4034 method public static double expm1(double); 4035 method public static double floor(double); 4036 method public static int floorDiv(int, int); 4037 method public static long floorDiv(long, int); 4038 method public static long floorDiv(long, long); 4039 method @FlaggedApi("com.android.libcore.v_apis") public static int floorDivExact(int, int); 4040 method @FlaggedApi("com.android.libcore.v_apis") public static long floorDivExact(long, long); 4041 method public static int floorMod(int, int); 4042 method public static int floorMod(long, int); 4043 method public static long floorMod(long, long); 4044 method public static double fma(double, double, double); 4045 method public static float fma(float, float, float); 4046 method public static int getExponent(float); 4047 method public static int getExponent(double); 4048 method public static double hypot(double, double); 4049 method public static int incrementExact(int); 4050 method public static long incrementExact(long); 4051 method public static double log(double); 4052 method public static double log10(double); 4053 method public static double log1p(double); 4054 method public static int max(int, int); 4055 method public static long max(long, long); 4056 method public static float max(float, float); 4057 method public static double max(double, double); 4058 method public static int min(int, int); 4059 method public static long min(long, long); 4060 method public static float min(float, float); 4061 method public static double min(double, double); 4062 method public static int multiplyExact(int, int); 4063 method public static long multiplyExact(long, int); 4064 method public static long multiplyExact(long, long); 4065 method public static long multiplyFull(int, int); 4066 method public static long multiplyHigh(long, long); 4067 method public static int negateExact(int); 4068 method public static long negateExact(long); 4069 method public static double nextAfter(double, double); 4070 method public static float nextAfter(float, double); 4071 method public static double nextDown(double); 4072 method public static float nextDown(float); 4073 method public static double nextUp(double); 4074 method public static float nextUp(float); 4075 method public static double pow(double, double); 4076 method public static double random(); 4077 method public static double rint(double); 4078 method public static int round(float); 4079 method public static long round(double); 4080 method public static double scalb(double, int); 4081 method public static float scalb(float, int); 4082 method public static double signum(double); 4083 method public static float signum(float); 4084 method public static double sin(double); 4085 method public static double sinh(double); 4086 method public static double sqrt(double); 4087 method public static int subtractExact(int, int); 4088 method public static long subtractExact(long, long); 4089 method public static double tan(double); 4090 method public static double tanh(double); 4091 method public static double toDegrees(double); 4092 method public static int toIntExact(long); 4093 method public static double toRadians(double); 4094 method public static double ulp(double); 4095 method public static float ulp(float); 4096 method @FlaggedApi("com.android.libcore.v_apis") public static long unsignedMultiplyHigh(long, long); 4097 field public static final double E = 2.718281828459045; 4098 field public static final double PI = 3.141592653589793; 4099 field @FlaggedApi("com.android.libcore.v_apis") public static final double TAU = 6.283185307179586; 4100 } 4101 4102 public final class String implements java.lang.CharSequence java.lang.Comparable<java.lang.String> java.io.Serializable { 4103 ctor public String(); 4104 ctor public String(@NonNull String); 4105 ctor public String(char[]); 4106 ctor public String(char[], int, int); 4107 ctor public String(int[], int, int); 4108 ctor @Deprecated public String(byte[], int, int, int); 4109 ctor @Deprecated public String(byte[], int); 4110 ctor public String(byte[], int, int, @NonNull String) throws java.io.UnsupportedEncodingException; 4111 ctor public String(byte[], int, int, @NonNull java.nio.charset.Charset); 4112 ctor public String(byte[], @NonNull String) throws java.io.UnsupportedEncodingException; 4113 ctor public String(byte[], @NonNull java.nio.charset.Charset); 4114 ctor public String(byte[], int, int); 4115 ctor public String(byte[]); 4116 ctor public String(@NonNull StringBuffer); 4117 ctor public String(@NonNull StringBuilder); 4118 method public char charAt(int); 4119 method @NonNull public java.util.stream.IntStream chars(); 4120 method public int codePointAt(int); 4121 method public int codePointBefore(int); 4122 method public int codePointCount(int, int); 4123 method @NonNull public java.util.stream.IntStream codePoints(); 4124 method public int compareTo(@NonNull String); 4125 method public int compareToIgnoreCase(@NonNull String); 4126 method @NonNull public String concat(@NonNull String); 4127 method public boolean contains(@NonNull CharSequence); 4128 method public boolean contentEquals(@NonNull StringBuffer); 4129 method public boolean contentEquals(@NonNull CharSequence); 4130 method @NonNull public static String copyValueOf(char[], int, int); 4131 method @NonNull public static String copyValueOf(char[]); 4132 method public boolean endsWith(@NonNull String); 4133 method public boolean equalsIgnoreCase(@Nullable String); 4134 method @NonNull public static String format(@NonNull String, @NonNull java.lang.Object...); 4135 method @NonNull public static String format(@NonNull java.util.Locale, @NonNull String, @NonNull java.lang.Object...); 4136 method @NonNull public String formatted(@NonNull java.lang.Object...); 4137 method @Deprecated public void getBytes(int, int, byte[], int); 4138 method public byte[] getBytes(@NonNull String) throws java.io.UnsupportedEncodingException; 4139 method public byte[] getBytes(@NonNull java.nio.charset.Charset); 4140 method public byte[] getBytes(); 4141 method public void getChars(int, int, char[], int); 4142 method @NonNull public String indent(int); 4143 method public int indexOf(int); 4144 method public int indexOf(int, int); 4145 method public int indexOf(@NonNull String); 4146 method public int indexOf(@NonNull String, int); 4147 method @NonNull public String intern(); 4148 method public boolean isBlank(); 4149 method public boolean isEmpty(); 4150 method @NonNull public static String join(@NonNull CharSequence, @Nullable java.lang.CharSequence...); 4151 method @NonNull public static String join(@NonNull CharSequence, @NonNull Iterable<? extends java.lang.CharSequence>); 4152 method public int lastIndexOf(int); 4153 method public int lastIndexOf(int, int); 4154 method public int lastIndexOf(@NonNull String); 4155 method public int lastIndexOf(@NonNull String, int); 4156 method public int length(); 4157 method @NonNull public java.util.stream.Stream<java.lang.String> lines(); 4158 method public boolean matches(@NonNull String); 4159 method public int offsetByCodePoints(int, int); 4160 method public boolean regionMatches(int, @NonNull String, int, int); 4161 method public boolean regionMatches(boolean, int, @NonNull String, int, int); 4162 method @NonNull public String repeat(int); 4163 method @NonNull public String replace(char, char); 4164 method @NonNull public String replace(@NonNull CharSequence, @NonNull CharSequence); 4165 method @NonNull public String replaceAll(@NonNull String, @NonNull String); 4166 method @NonNull public String replaceFirst(@NonNull String, @NonNull String); 4167 method @NonNull public String[] split(@NonNull String, int); 4168 method @NonNull public String[] split(@NonNull String); 4169 method public boolean startsWith(@NonNull String, int); 4170 method public boolean startsWith(@NonNull String); 4171 method @NonNull public String strip(); 4172 method @NonNull public String stripIndent(); 4173 method @NonNull public String stripLeading(); 4174 method @NonNull public String stripTrailing(); 4175 method @NonNull public CharSequence subSequence(int, int); 4176 method @NonNull public String substring(int); 4177 method @NonNull public String substring(int, int); 4178 method public char[] toCharArray(); 4179 method @NonNull public String toLowerCase(@NonNull java.util.Locale); 4180 method @NonNull public String toLowerCase(); 4181 method @NonNull public String toString(); 4182 method @NonNull public String toUpperCase(@NonNull java.util.Locale); 4183 method @NonNull public String toUpperCase(); 4184 method public <R> R transform(@NonNull java.util.function.Function<? super java.lang.String,? extends R>); 4185 method @NonNull public String translateEscapes(); 4186 method @NonNull public String trim(); 4187 method @NonNull public static String valueOf(@Nullable Object); 4188 method @NonNull public static String valueOf(char[]); 4189 method @NonNull public static String valueOf(char[], int, int); 4190 method @NonNull public static String valueOf(boolean); 4191 method @NonNull public static String valueOf(char); 4192 method @NonNull public static String valueOf(int); 4193 method @NonNull public static String valueOf(long); 4194 method @NonNull public static String valueOf(float); 4195 method @NonNull public static String valueOf(double); 4196 field public static final java.util.Comparator<java.lang.String> CASE_INSENSITIVE_ORDER; 4197 } 4198 4199 public final class StringBuffer implements java.lang.Appendable java.lang.CharSequence java.lang.Comparable<java.lang.StringBuffer> java.io.Serializable { 4200 ctor public StringBuffer(); 4201 ctor public StringBuffer(int); 4202 ctor public StringBuffer(@NonNull String); 4203 ctor public StringBuffer(@NonNull CharSequence); 4204 method @NonNull public StringBuffer append(@Nullable Object); 4205 method @NonNull public StringBuffer append(@Nullable String); 4206 method @NonNull public StringBuffer append(@Nullable StringBuffer); 4207 method @NonNull public StringBuffer append(@Nullable CharSequence); 4208 method @NonNull public StringBuffer append(@Nullable CharSequence, int, int); 4209 method @NonNull public StringBuffer append(char[]); 4210 method @NonNull public StringBuffer append(char[], int, int); 4211 method @NonNull public StringBuffer append(boolean); 4212 method @NonNull public StringBuffer append(char); 4213 method @NonNull public StringBuffer append(int); 4214 method @NonNull public StringBuffer append(long); 4215 method @NonNull public StringBuffer append(float); 4216 method @NonNull public StringBuffer append(double); 4217 method @NonNull public StringBuffer appendCodePoint(int); 4218 method public int capacity(); 4219 method public char charAt(int); 4220 method @NonNull public java.util.stream.IntStream chars(); 4221 method public int codePointAt(int); 4222 method public int codePointBefore(int); 4223 method public int codePointCount(int, int); 4224 method @NonNull public java.util.stream.IntStream codePoints(); 4225 method public int compareTo(@NonNull StringBuffer); 4226 method @NonNull public StringBuffer delete(int, int); 4227 method @NonNull public StringBuffer deleteCharAt(int); 4228 method public void ensureCapacity(int); 4229 method public void getChars(int, int, char[], int); 4230 method public int indexOf(@NonNull String); 4231 method public int indexOf(@NonNull String, int); 4232 method @NonNull public StringBuffer insert(int, char[], int, int); 4233 method @NonNull public StringBuffer insert(int, @Nullable Object); 4234 method @NonNull public StringBuffer insert(int, @Nullable String); 4235 method @NonNull public StringBuffer insert(int, char[]); 4236 method @NonNull public StringBuffer insert(int, @Nullable CharSequence); 4237 method @NonNull public StringBuffer insert(int, @Nullable CharSequence, int, int); 4238 method @NonNull public StringBuffer insert(int, boolean); 4239 method @NonNull public StringBuffer insert(int, char); 4240 method @NonNull public StringBuffer insert(int, int); 4241 method @NonNull public StringBuffer insert(int, long); 4242 method @NonNull public StringBuffer insert(int, float); 4243 method @NonNull public StringBuffer insert(int, double); 4244 method public int lastIndexOf(@NonNull String); 4245 method public int lastIndexOf(@NonNull String, int); 4246 method public int length(); 4247 method public int offsetByCodePoints(int, int); 4248 method @NonNull public StringBuffer replace(int, int, @NonNull String); 4249 method @NonNull public StringBuffer reverse(); 4250 method public void setCharAt(int, char); 4251 method public void setLength(int); 4252 method @NonNull public CharSequence subSequence(int, int); 4253 method @NonNull public String substring(int); 4254 method @NonNull public String substring(int, int); 4255 method @NonNull public String toString(); 4256 method public void trimToSize(); 4257 } 4258 4259 public final class StringBuilder implements java.lang.Appendable java.lang.CharSequence java.lang.Comparable<java.lang.StringBuilder> java.io.Serializable { 4260 ctor public StringBuilder(); 4261 ctor public StringBuilder(int); 4262 ctor public StringBuilder(@NonNull String); 4263 ctor public StringBuilder(@NonNull CharSequence); 4264 method @NonNull public StringBuilder append(@Nullable Object); 4265 method @NonNull public StringBuilder append(@Nullable String); 4266 method @NonNull public StringBuilder append(@Nullable StringBuffer); 4267 method @NonNull public StringBuilder append(@Nullable CharSequence); 4268 method @NonNull public StringBuilder append(@Nullable CharSequence, int, int); 4269 method @NonNull public StringBuilder append(char[]); 4270 method @NonNull public StringBuilder append(char[], int, int); 4271 method @NonNull public StringBuilder append(boolean); 4272 method @NonNull public StringBuilder append(char); 4273 method @NonNull public StringBuilder append(int); 4274 method @NonNull public StringBuilder append(long); 4275 method @NonNull public StringBuilder append(float); 4276 method @NonNull public StringBuilder append(double); 4277 method @NonNull public StringBuilder appendCodePoint(int); 4278 method public int capacity(); 4279 method public char charAt(int); 4280 method @NonNull public java.util.stream.IntStream chars(); 4281 method public int codePointAt(int); 4282 method public int codePointBefore(int); 4283 method public int codePointCount(int, int); 4284 method @NonNull public java.util.stream.IntStream codePoints(); 4285 method public int compareTo(@NonNull StringBuilder); 4286 method @NonNull public StringBuilder delete(int, int); 4287 method @NonNull public StringBuilder deleteCharAt(int); 4288 method public void ensureCapacity(int); 4289 method public void getChars(int, int, char[], int); 4290 method public int indexOf(@NonNull String); 4291 method public int indexOf(@NonNull String, int); 4292 method @NonNull public StringBuilder insert(int, char[], int, int); 4293 method @NonNull public StringBuilder insert(int, @Nullable Object); 4294 method @NonNull public StringBuilder insert(int, @Nullable String); 4295 method @NonNull public StringBuilder insert(int, char[]); 4296 method @NonNull public StringBuilder insert(int, @Nullable CharSequence); 4297 method @NonNull public StringBuilder insert(int, @Nullable CharSequence, int, int); 4298 method @NonNull public StringBuilder insert(int, boolean); 4299 method @NonNull public StringBuilder insert(int, char); 4300 method @NonNull public StringBuilder insert(int, int); 4301 method @NonNull public StringBuilder insert(int, long); 4302 method @NonNull public StringBuilder insert(int, float); 4303 method @NonNull public StringBuilder insert(int, double); 4304 method public int lastIndexOf(@NonNull String); 4305 method public int lastIndexOf(@NonNull String, int); 4306 method public int length(); 4307 method public int offsetByCodePoints(int, int); 4308 method @NonNull public StringBuilder replace(int, int, @NonNull String); 4309 method @NonNull public StringBuilder reverse(); 4310 method public void setCharAt(int, char); 4311 method public void setLength(int); 4312 method @NonNull public CharSequence subSequence(int, int); 4313 method @NonNull public String substring(int); 4314 method @NonNull public String substring(int, int); 4315 method @NonNull public String toString(); 4316 method public void trimToSize(); 4317 } 4318 4319 public class StringIndexOutOfBoundsException extends java.lang.IndexOutOfBoundsException { 4320 ctor public StringIndexOutOfBoundsException(); 4321 ctor public StringIndexOutOfBoundsException(String); 4322 ctor public StringIndexOutOfBoundsException(int); 4323 } 4324 4325 @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) @java.lang.annotation.Target({java.lang.annotation.ElementType.TYPE, java.lang.annotation.ElementType.FIELD, java.lang.annotation.ElementType.METHOD, java.lang.annotation.ElementType.PARAMETER, java.lang.annotation.ElementType.CONSTRUCTOR, java.lang.annotation.ElementType.LOCAL_VARIABLE}) public @interface SuppressWarnings { 4326 method public abstract String[] value(); 4327 } 4328 4329 public final class System { 4330 method public static void arraycopy(@NonNull Object, int, @NonNull Object, int, int); 4331 method @Nullable public static String clearProperty(@NonNull String); 4332 method @Nullable public static java.io.Console console(); 4333 method public static long currentTimeMillis(); 4334 method public static void exit(int); 4335 method public static void gc(); 4336 method @NonNull public static java.util.Properties getProperties(); 4337 method @Nullable public static String getProperty(@NonNull String); 4338 method @Nullable public static String getProperty(@NonNull String, @Nullable String); 4339 method @Nullable public static SecurityManager getSecurityManager(); 4340 method @Nullable public static String getenv(@NonNull String); 4341 method @NonNull public static java.util.Map<java.lang.String,java.lang.String> getenv(); 4342 method public static int identityHashCode(@Nullable Object); 4343 method @Nullable public static java.nio.channels.Channel inheritedChannel() throws java.io.IOException; 4344 method @NonNull public static String lineSeparator(); 4345 method public static void load(@NonNull String); 4346 method public static void loadLibrary(@NonNull String); 4347 method @NonNull public static String mapLibraryName(@NonNull String); 4348 method public static long nanoTime(); 4349 method public static void runFinalization(); 4350 method @Deprecated public static void runFinalizersOnExit(boolean); 4351 method public static void setErr(@Nullable java.io.PrintStream); 4352 method public static void setIn(@Nullable java.io.InputStream); 4353 method public static void setOut(@Nullable java.io.PrintStream); 4354 method public static void setProperties(@Nullable java.util.Properties); 4355 method @Nullable public static String setProperty(@NonNull String, @Nullable String); 4356 method public static void setSecurityManager(@Nullable SecurityManager); 4357 field public static final java.io.PrintStream err; 4358 field public static final java.io.InputStream in; 4359 field public static final java.io.PrintStream out; 4360 } 4361 4362 public class Thread implements java.lang.Runnable { 4363 ctor public Thread(); 4364 ctor public Thread(@Nullable Runnable); 4365 ctor public Thread(@Nullable ThreadGroup, @Nullable Runnable); 4366 ctor public Thread(@NonNull String); 4367 ctor public Thread(@Nullable ThreadGroup, @NonNull String); 4368 ctor public Thread(@Nullable Runnable, @NonNull String); 4369 ctor public Thread(@Nullable ThreadGroup, @Nullable Runnable, @NonNull String); 4370 ctor public Thread(@Nullable ThreadGroup, @Nullable Runnable, @NonNull String, long); 4371 ctor public Thread(@Nullable ThreadGroup, @Nullable Runnable, @NonNull String, long, boolean); 4372 method public static int activeCount(); 4373 method public final void checkAccess(); 4374 method @Deprecated public int countStackFrames(); 4375 method @NonNull public static Thread currentThread(); 4376 method @Deprecated public void destroy(); 4377 method public static void dumpStack(); 4378 method public static int enumerate(Thread[]); 4379 method @NonNull public static java.util.Map<java.lang.Thread,java.lang.StackTraceElement[]> getAllStackTraces(); 4380 method @Nullable public ClassLoader getContextClassLoader(); 4381 method @Nullable public static java.lang.Thread.UncaughtExceptionHandler getDefaultUncaughtExceptionHandler(); 4382 method public long getId(); 4383 method @NonNull public final String getName(); 4384 method public final int getPriority(); 4385 method @NonNull public StackTraceElement[] getStackTrace(); 4386 method @NonNull public java.lang.Thread.State getState(); 4387 method @Nullable public final ThreadGroup getThreadGroup(); 4388 method @Nullable public java.lang.Thread.UncaughtExceptionHandler getUncaughtExceptionHandler(); 4389 method public static boolean holdsLock(@NonNull Object); 4390 method public void interrupt(); 4391 method public static boolean interrupted(); 4392 method public final boolean isAlive(); 4393 method public final boolean isDaemon(); 4394 method public boolean isInterrupted(); 4395 method public final void join(long) throws java.lang.InterruptedException; 4396 method public final void join(long, int) throws java.lang.InterruptedException; 4397 method public final void join() throws java.lang.InterruptedException; 4398 method public static void onSpinWait(); 4399 method @Deprecated public final void resume(); 4400 method public void run(); 4401 method public void setContextClassLoader(@Nullable ClassLoader); 4402 method public final void setDaemon(boolean); 4403 method public static void setDefaultUncaughtExceptionHandler(@Nullable java.lang.Thread.UncaughtExceptionHandler); 4404 method public final void setName(@NonNull String); 4405 method public final void setPriority(int); 4406 method public void setUncaughtExceptionHandler(@Nullable java.lang.Thread.UncaughtExceptionHandler); 4407 method public static void sleep(long) throws java.lang.InterruptedException; 4408 method public static void sleep(long, int) throws java.lang.InterruptedException; 4409 method public void start(); 4410 method @Deprecated public final void stop(); 4411 method @Deprecated public final void stop(@Nullable Throwable); 4412 method @Deprecated public final void suspend(); 4413 method public static void yield(); 4414 field public static final int MAX_PRIORITY = 10; // 0xa 4415 field public static final int MIN_PRIORITY = 1; // 0x1 4416 field public static final int NORM_PRIORITY = 5; // 0x5 4417 } 4418 4419 public enum Thread.State { 4420 enum_constant public static final java.lang.Thread.State BLOCKED; 4421 enum_constant public static final java.lang.Thread.State NEW; 4422 enum_constant public static final java.lang.Thread.State RUNNABLE; 4423 enum_constant public static final java.lang.Thread.State TERMINATED; 4424 enum_constant public static final java.lang.Thread.State TIMED_WAITING; 4425 enum_constant public static final java.lang.Thread.State WAITING; 4426 } 4427 4428 @java.lang.FunctionalInterface public static interface Thread.UncaughtExceptionHandler { 4429 method public void uncaughtException(@NonNull Thread, @NonNull Throwable); 4430 } 4431 4432 public class ThreadDeath extends java.lang.Error { 4433 ctor public ThreadDeath(); 4434 } 4435 4436 public class ThreadGroup implements java.lang.Thread.UncaughtExceptionHandler { 4437 ctor public ThreadGroup(String); 4438 ctor public ThreadGroup(ThreadGroup, String); 4439 method public int activeCount(); 4440 method public int activeGroupCount(); 4441 method @Deprecated public boolean allowThreadSuspension(boolean); 4442 method public final void checkAccess(); 4443 method public final void destroy(); 4444 method public int enumerate(Thread[]); 4445 method public int enumerate(Thread[], boolean); 4446 method public int enumerate(ThreadGroup[]); 4447 method public int enumerate(ThreadGroup[], boolean); 4448 method public final int getMaxPriority(); 4449 method public final String getName(); 4450 method public final ThreadGroup getParent(); 4451 method public final void interrupt(); 4452 method public final boolean isDaemon(); 4453 method public boolean isDestroyed(); 4454 method public void list(); 4455 method public final boolean parentOf(ThreadGroup); 4456 method @Deprecated public final void resume(); 4457 method public final void setDaemon(boolean); 4458 method public final void setMaxPriority(int); 4459 method @Deprecated public final void stop(); 4460 method @Deprecated public final void suspend(); 4461 method public void uncaughtException(Thread, Throwable); 4462 } 4463 4464 public class ThreadLocal<T> { 4465 ctor public ThreadLocal(); 4466 method @Nullable public T get(); 4467 method @Nullable protected T initialValue(); 4468 method public void remove(); 4469 method public void set(T); 4470 method @NonNull public static <S> ThreadLocal<S> withInitial(@NonNull java.util.function.Supplier<? extends S>); 4471 } 4472 4473 public class Throwable implements java.io.Serializable { 4474 ctor public Throwable(); 4475 ctor public Throwable(@Nullable String); 4476 ctor public Throwable(@Nullable String, @Nullable Throwable); 4477 ctor public Throwable(@Nullable Throwable); 4478 ctor protected Throwable(@Nullable String, @Nullable Throwable, boolean, boolean); 4479 method public final void addSuppressed(@NonNull Throwable); 4480 method @NonNull public Throwable fillInStackTrace(); 4481 method @Nullable public Throwable getCause(); 4482 method @Nullable public String getLocalizedMessage(); 4483 method @Nullable public String getMessage(); 4484 method @NonNull public StackTraceElement[] getStackTrace(); 4485 method @NonNull public final Throwable[] getSuppressed(); 4486 method @NonNull public Throwable initCause(@Nullable Throwable); 4487 method public void printStackTrace(); 4488 method public void printStackTrace(@NonNull java.io.PrintStream); 4489 method public void printStackTrace(@NonNull java.io.PrintWriter); 4490 method public void setStackTrace(@NonNull StackTraceElement[]); 4491 } 4492 4493 public class TypeNotPresentException extends java.lang.RuntimeException { 4494 ctor public TypeNotPresentException(String, Throwable); 4495 method public String typeName(); 4496 } 4497 4498 public class UnknownError extends java.lang.VirtualMachineError { 4499 ctor public UnknownError(); 4500 ctor public UnknownError(String); 4501 } 4502 4503 public class UnsatisfiedLinkError extends java.lang.LinkageError { 4504 ctor public UnsatisfiedLinkError(); 4505 ctor public UnsatisfiedLinkError(String); 4506 } 4507 4508 public class UnsupportedClassVersionError extends java.lang.ClassFormatError { 4509 ctor public UnsupportedClassVersionError(); 4510 ctor public UnsupportedClassVersionError(String); 4511 } 4512 4513 public class UnsupportedOperationException extends java.lang.RuntimeException { 4514 ctor public UnsupportedOperationException(); 4515 ctor public UnsupportedOperationException(String); 4516 ctor public UnsupportedOperationException(String, Throwable); 4517 ctor public UnsupportedOperationException(Throwable); 4518 } 4519 4520 public class VerifyError extends java.lang.LinkageError { 4521 ctor public VerifyError(); 4522 ctor public VerifyError(String); 4523 } 4524 4525 public abstract class VirtualMachineError extends java.lang.Error { 4526 ctor public VirtualMachineError(); 4527 ctor public VirtualMachineError(String); 4528 ctor public VirtualMachineError(String, Throwable); 4529 ctor public VirtualMachineError(Throwable); 4530 } 4531 4532 public final class Void { 4533 field public static final Class<java.lang.Void> TYPE; 4534 } 4535 4536} 4537 4538package java.lang.annotation { 4539 4540 public interface Annotation { 4541 method public Class<? extends java.lang.annotation.Annotation> annotationType(); 4542 method public boolean equals(Object); 4543 method public int hashCode(); 4544 method public String toString(); 4545 } 4546 4547 public class AnnotationFormatError extends java.lang.Error { 4548 ctor public AnnotationFormatError(String); 4549 ctor public AnnotationFormatError(String, Throwable); 4550 ctor public AnnotationFormatError(Throwable); 4551 } 4552 4553 public class AnnotationTypeMismatchException extends java.lang.RuntimeException { 4554 ctor public AnnotationTypeMismatchException(java.lang.reflect.Method, String); 4555 method public java.lang.reflect.Method element(); 4556 method public String foundType(); 4557 } 4558 4559 @java.lang.annotation.Documented @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.RUNTIME) @java.lang.annotation.Target(java.lang.annotation.ElementType.ANNOTATION_TYPE) public @interface Documented { 4560 } 4561 4562 public enum ElementType { 4563 enum_constant public static final java.lang.annotation.ElementType ANNOTATION_TYPE; 4564 enum_constant public static final java.lang.annotation.ElementType CONSTRUCTOR; 4565 enum_constant public static final java.lang.annotation.ElementType FIELD; 4566 enum_constant public static final java.lang.annotation.ElementType LOCAL_VARIABLE; 4567 enum_constant public static final java.lang.annotation.ElementType METHOD; 4568 enum_constant public static final java.lang.annotation.ElementType MODULE; 4569 enum_constant public static final java.lang.annotation.ElementType PACKAGE; 4570 enum_constant public static final java.lang.annotation.ElementType PARAMETER; 4571 enum_constant public static final java.lang.annotation.ElementType RECORD_COMPONENT; 4572 enum_constant public static final java.lang.annotation.ElementType TYPE; 4573 enum_constant public static final java.lang.annotation.ElementType TYPE_PARAMETER; 4574 enum_constant public static final java.lang.annotation.ElementType TYPE_USE; 4575 } 4576 4577 public class IncompleteAnnotationException extends java.lang.RuntimeException { 4578 ctor public IncompleteAnnotationException(Class<? extends java.lang.annotation.Annotation>, String); 4579 method public Class<? extends java.lang.annotation.Annotation> annotationType(); 4580 method public String elementName(); 4581 } 4582 4583 @java.lang.annotation.Documented @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.RUNTIME) @java.lang.annotation.Target(java.lang.annotation.ElementType.ANNOTATION_TYPE) public @interface Inherited { 4584 } 4585 4586 @java.lang.annotation.Documented @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) @java.lang.annotation.Target(java.lang.annotation.ElementType.FIELD) public @interface Native { 4587 } 4588 4589 @java.lang.annotation.Documented @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.RUNTIME) @java.lang.annotation.Target(java.lang.annotation.ElementType.ANNOTATION_TYPE) public @interface Repeatable { 4590 method public abstract Class<? extends java.lang.annotation.Annotation> value(); 4591 } 4592 4593 @java.lang.annotation.Documented @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.RUNTIME) @java.lang.annotation.Target(java.lang.annotation.ElementType.ANNOTATION_TYPE) public @interface Retention { 4594 method public abstract java.lang.annotation.RetentionPolicy value(); 4595 } 4596 4597 public enum RetentionPolicy { 4598 enum_constant public static final java.lang.annotation.RetentionPolicy CLASS; 4599 enum_constant public static final java.lang.annotation.RetentionPolicy RUNTIME; 4600 enum_constant public static final java.lang.annotation.RetentionPolicy SOURCE; 4601 } 4602 4603 @java.lang.annotation.Documented @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.RUNTIME) @java.lang.annotation.Target(java.lang.annotation.ElementType.ANNOTATION_TYPE) public @interface Target { 4604 method public abstract java.lang.annotation.ElementType[] value(); 4605 } 4606 4607} 4608 4609package java.lang.invoke { 4610 4611 public abstract class CallSite { 4612 method public abstract java.lang.invoke.MethodHandle dynamicInvoker(); 4613 method public abstract java.lang.invoke.MethodHandle getTarget(); 4614 method public abstract void setTarget(java.lang.invoke.MethodHandle); 4615 method public java.lang.invoke.MethodType type(); 4616 } 4617 4618 public class ConstantCallSite extends java.lang.invoke.CallSite { 4619 ctor public ConstantCallSite(java.lang.invoke.MethodHandle); 4620 ctor protected ConstantCallSite(java.lang.invoke.MethodType, java.lang.invoke.MethodHandle) throws java.lang.Throwable; 4621 method public final java.lang.invoke.MethodHandle dynamicInvoker(); 4622 method public final java.lang.invoke.MethodHandle getTarget(); 4623 method public final void setTarget(java.lang.invoke.MethodHandle); 4624 } 4625 4626 public class LambdaConversionException extends java.lang.Exception { 4627 ctor public LambdaConversionException(); 4628 ctor public LambdaConversionException(String); 4629 ctor public LambdaConversionException(String, Throwable); 4630 ctor public LambdaConversionException(Throwable); 4631 ctor public LambdaConversionException(String, Throwable, boolean, boolean); 4632 } 4633 4634 public abstract class MethodHandle { 4635 method public java.lang.invoke.MethodHandle asCollector(Class<?>, int); 4636 method public java.lang.invoke.MethodHandle asCollector(int, Class<?>, int); 4637 method public java.lang.invoke.MethodHandle asFixedArity(); 4638 method public java.lang.invoke.MethodHandle asSpreader(Class<?>, int); 4639 method public java.lang.invoke.MethodHandle asSpreader(int, Class<?>, int); 4640 method public java.lang.invoke.MethodHandle asType(java.lang.invoke.MethodType); 4641 method public java.lang.invoke.MethodHandle asVarargsCollector(Class<?>); 4642 method public java.lang.invoke.MethodHandle bindTo(Object); 4643 method public final native Object invoke(java.lang.Object...) throws java.lang.Throwable; 4644 method public final native Object invokeExact(java.lang.Object...) throws java.lang.Throwable; 4645 method public Object invokeWithArguments(java.lang.Object...) throws java.lang.Throwable; 4646 method public Object invokeWithArguments(java.util.List<?>) throws java.lang.Throwable; 4647 method public boolean isVarargsCollector(); 4648 method public java.lang.invoke.MethodType type(); 4649 method public java.lang.invoke.MethodHandle withVarargs(boolean); 4650 } 4651 4652 public interface MethodHandleInfo { 4653 method public Class<?> getDeclaringClass(); 4654 method public java.lang.invoke.MethodType getMethodType(); 4655 method public int getModifiers(); 4656 method public String getName(); 4657 method public int getReferenceKind(); 4658 method public default boolean isVarArgs(); 4659 method @Deprecated public static boolean refKindIsField(int); 4660 method @Deprecated public static boolean refKindIsValid(int); 4661 method @Deprecated public static String refKindName(int); 4662 method public static String referenceKindToString(int); 4663 method public <T extends java.lang.reflect.Member> T reflectAs(Class<T>, java.lang.invoke.MethodHandles.Lookup); 4664 method public static String toString(int, Class<?>, String, java.lang.invoke.MethodType); 4665 field public static final int REF_getField = 1; // 0x1 4666 field public static final int REF_getStatic = 2; // 0x2 4667 field public static final int REF_invokeInterface = 9; // 0x9 4668 field public static final int REF_invokeSpecial = 7; // 0x7 4669 field public static final int REF_invokeStatic = 6; // 0x6 4670 field public static final int REF_invokeVirtual = 5; // 0x5 4671 field public static final int REF_newInvokeSpecial = 8; // 0x8 4672 field public static final int REF_putField = 3; // 0x3 4673 field public static final int REF_putStatic = 4; // 0x4 4674 } 4675 4676 public class MethodHandles { 4677 method public static java.lang.invoke.MethodHandle arrayConstructor(Class<?>) throws java.lang.IllegalArgumentException; 4678 method public static java.lang.invoke.MethodHandle arrayElementGetter(Class<?>) throws java.lang.IllegalArgumentException; 4679 method public static java.lang.invoke.MethodHandle arrayElementSetter(Class<?>) throws java.lang.IllegalArgumentException; 4680 method public static java.lang.invoke.VarHandle arrayElementVarHandle(Class<?>) throws java.lang.IllegalArgumentException; 4681 method public static java.lang.invoke.MethodHandle arrayLength(Class<?>) throws java.lang.IllegalArgumentException; 4682 method public static java.lang.invoke.VarHandle byteArrayViewVarHandle(Class<?>, java.nio.ByteOrder) throws java.lang.IllegalArgumentException; 4683 method public static java.lang.invoke.VarHandle byteBufferViewVarHandle(Class<?>, java.nio.ByteOrder) throws java.lang.IllegalArgumentException; 4684 method public static java.lang.invoke.MethodHandle catchException(java.lang.invoke.MethodHandle, Class<? extends java.lang.Throwable>, java.lang.invoke.MethodHandle); 4685 method public static java.lang.invoke.MethodHandle collectArguments(java.lang.invoke.MethodHandle, int, java.lang.invoke.MethodHandle); 4686 method public static java.lang.invoke.MethodHandle constant(Class<?>, Object); 4687 method public static java.lang.invoke.MethodHandle countedLoop(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle); 4688 method public static java.lang.invoke.MethodHandle countedLoop(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle); 4689 method public static java.lang.invoke.MethodHandle doWhileLoop(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle); 4690 method public static java.lang.invoke.MethodHandle dropArguments(java.lang.invoke.MethodHandle, int, java.util.List<java.lang.Class<?>>); 4691 method public static java.lang.invoke.MethodHandle dropArguments(java.lang.invoke.MethodHandle, int, Class<?>...); 4692 method public static java.lang.invoke.MethodHandle dropArgumentsToMatch(java.lang.invoke.MethodHandle, int, java.util.List<java.lang.Class<?>>, int); 4693 method public static java.lang.invoke.MethodHandle dropReturn(java.lang.invoke.MethodHandle); 4694 method public static java.lang.invoke.MethodHandle empty(java.lang.invoke.MethodType); 4695 method public static java.lang.invoke.MethodHandle exactInvoker(java.lang.invoke.MethodType); 4696 method public static java.lang.invoke.MethodHandle explicitCastArguments(java.lang.invoke.MethodHandle, java.lang.invoke.MethodType); 4697 method public static java.lang.invoke.MethodHandle filterArguments(java.lang.invoke.MethodHandle, int, java.lang.invoke.MethodHandle...); 4698 method public static java.lang.invoke.MethodHandle filterReturnValue(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle); 4699 method public static java.lang.invoke.MethodHandle foldArguments(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle); 4700 method public static java.lang.invoke.MethodHandle foldArguments(java.lang.invoke.MethodHandle, int, java.lang.invoke.MethodHandle); 4701 method public static java.lang.invoke.MethodHandle guardWithTest(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle); 4702 method public static java.lang.invoke.MethodHandle identity(Class<?>); 4703 method public static java.lang.invoke.MethodHandle insertArguments(java.lang.invoke.MethodHandle, int, java.lang.Object...); 4704 method public static java.lang.invoke.MethodHandle invoker(java.lang.invoke.MethodType); 4705 method public static java.lang.invoke.MethodHandle iteratedLoop(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle); 4706 method public static java.lang.invoke.MethodHandles.Lookup lookup(); 4707 method public static java.lang.invoke.MethodHandle loop(java.lang.invoke.MethodHandle[]...); 4708 method public static java.lang.invoke.MethodHandle permuteArguments(java.lang.invoke.MethodHandle, java.lang.invoke.MethodType, int...); 4709 method public static java.lang.invoke.MethodHandles.Lookup privateLookupIn(Class<?>, java.lang.invoke.MethodHandles.Lookup) throws java.lang.IllegalAccessException; 4710 method public static java.lang.invoke.MethodHandles.Lookup publicLookup(); 4711 method public static <T extends java.lang.reflect.Member> T reflectAs(Class<T>, java.lang.invoke.MethodHandle); 4712 method public static java.lang.invoke.MethodHandle spreadInvoker(java.lang.invoke.MethodType, int); 4713 method public static java.lang.invoke.MethodHandle tableSwitch(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle...); 4714 method public static java.lang.invoke.MethodHandle throwException(Class<?>, Class<? extends java.lang.Throwable>); 4715 method public static java.lang.invoke.MethodHandle tryFinally(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle); 4716 method public static java.lang.invoke.MethodHandle varHandleExactInvoker(java.lang.invoke.VarHandle.AccessMode, java.lang.invoke.MethodType); 4717 method public static java.lang.invoke.MethodHandle varHandleInvoker(java.lang.invoke.VarHandle.AccessMode, java.lang.invoke.MethodType); 4718 method public static java.lang.invoke.MethodHandle whileLoop(java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle); 4719 method public static java.lang.invoke.MethodHandle zero(Class<?>); 4720 } 4721 4722 public static final class MethodHandles.Lookup { 4723 method public java.lang.invoke.MethodHandle bind(Object, String, java.lang.invoke.MethodType) throws java.lang.IllegalAccessException, java.lang.NoSuchMethodException; 4724 method public java.lang.invoke.MethodHandle findConstructor(Class<?>, java.lang.invoke.MethodType) throws java.lang.IllegalAccessException, java.lang.NoSuchMethodException; 4725 method public java.lang.invoke.MethodHandle findGetter(Class<?>, String, Class<?>) throws java.lang.IllegalAccessException, java.lang.NoSuchFieldException; 4726 method public java.lang.invoke.MethodHandle findSetter(Class<?>, String, Class<?>) throws java.lang.IllegalAccessException, java.lang.NoSuchFieldException; 4727 method public java.lang.invoke.MethodHandle findSpecial(Class<?>, String, java.lang.invoke.MethodType, Class<?>) throws java.lang.IllegalAccessException, java.lang.NoSuchMethodException; 4728 method public java.lang.invoke.MethodHandle findStatic(Class<?>, String, java.lang.invoke.MethodType) throws java.lang.IllegalAccessException, java.lang.NoSuchMethodException; 4729 method public java.lang.invoke.MethodHandle findStaticGetter(Class<?>, String, Class<?>) throws java.lang.IllegalAccessException, java.lang.NoSuchFieldException; 4730 method public java.lang.invoke.MethodHandle findStaticSetter(Class<?>, String, Class<?>) throws java.lang.IllegalAccessException, java.lang.NoSuchFieldException; 4731 method public java.lang.invoke.VarHandle findStaticVarHandle(Class<?>, String, Class<?>) throws java.lang.IllegalAccessException, java.lang.NoSuchFieldException; 4732 method public java.lang.invoke.VarHandle findVarHandle(Class<?>, String, Class<?>) throws java.lang.IllegalAccessException, java.lang.NoSuchFieldException; 4733 method public java.lang.invoke.MethodHandle findVirtual(Class<?>, String, java.lang.invoke.MethodType) throws java.lang.IllegalAccessException, java.lang.NoSuchMethodException; 4734 method public java.lang.invoke.MethodHandles.Lookup in(Class<?>); 4735 method public Class<?> lookupClass(); 4736 method public int lookupModes(); 4737 method public java.lang.invoke.MethodHandleInfo revealDirect(java.lang.invoke.MethodHandle); 4738 method public java.lang.invoke.MethodHandle unreflect(java.lang.reflect.Method) throws java.lang.IllegalAccessException; 4739 method public java.lang.invoke.MethodHandle unreflectConstructor(java.lang.reflect.Constructor<?>) throws java.lang.IllegalAccessException; 4740 method public java.lang.invoke.MethodHandle unreflectGetter(java.lang.reflect.Field) throws java.lang.IllegalAccessException; 4741 method public java.lang.invoke.MethodHandle unreflectSetter(java.lang.reflect.Field) throws java.lang.IllegalAccessException; 4742 method public java.lang.invoke.MethodHandle unreflectSpecial(java.lang.reflect.Method, Class<?>) throws java.lang.IllegalAccessException; 4743 method public java.lang.invoke.VarHandle unreflectVarHandle(java.lang.reflect.Field) throws java.lang.IllegalAccessException; 4744 field public static final int PACKAGE = 8; // 0x8 4745 field public static final int PRIVATE = 2; // 0x2 4746 field public static final int PROTECTED = 4; // 0x4 4747 field public static final int PUBLIC = 1; // 0x1 4748 } 4749 4750 public final class MethodType implements java.io.Serializable java.lang.invoke.TypeDescriptor.OfMethod<java.lang.Class<?>,java.lang.invoke.MethodType> { 4751 method public java.lang.invoke.MethodType appendParameterTypes(Class<?>...); 4752 method public java.lang.invoke.MethodType appendParameterTypes(java.util.List<java.lang.Class<?>>); 4753 method public java.lang.invoke.MethodType changeParameterType(int, Class<?>); 4754 method public java.lang.invoke.MethodType changeReturnType(Class<?>); 4755 method @NonNull public String descriptorString(); 4756 method public java.lang.invoke.MethodType dropParameterTypes(int, int); 4757 method public java.lang.invoke.MethodType erase(); 4758 method public static java.lang.invoke.MethodType fromMethodDescriptorString(String, ClassLoader) throws java.lang.IllegalArgumentException, java.lang.TypeNotPresentException; 4759 method public java.lang.invoke.MethodType generic(); 4760 method public static java.lang.invoke.MethodType genericMethodType(int, boolean); 4761 method public static java.lang.invoke.MethodType genericMethodType(int); 4762 method public boolean hasPrimitives(); 4763 method public boolean hasWrappers(); 4764 method public java.lang.invoke.MethodType insertParameterTypes(int, Class<?>...); 4765 method public java.lang.invoke.MethodType insertParameterTypes(int, java.util.List<java.lang.Class<?>>); 4766 method public Class<?> lastParameterType(); 4767 method public static java.lang.invoke.MethodType methodType(Class<?>, Class<?>[]); 4768 method public static java.lang.invoke.MethodType methodType(Class<?>, java.util.List<java.lang.Class<?>>); 4769 method public static java.lang.invoke.MethodType methodType(Class<?>, Class<?>, Class<?>...); 4770 method public static java.lang.invoke.MethodType methodType(Class<?>); 4771 method public static java.lang.invoke.MethodType methodType(Class<?>, Class<?>); 4772 method public static java.lang.invoke.MethodType methodType(Class<?>, java.lang.invoke.MethodType); 4773 method public Class<?>[] parameterArray(); 4774 method public int parameterCount(); 4775 method public java.util.List<java.lang.Class<?>> parameterList(); 4776 method public Class<?> parameterType(int); 4777 method public Class<?> returnType(); 4778 method public String toMethodDescriptorString(); 4779 method public java.lang.invoke.MethodType unwrap(); 4780 method public java.lang.invoke.MethodType wrap(); 4781 } 4782 4783 public class MutableCallSite extends java.lang.invoke.CallSite { 4784 ctor public MutableCallSite(java.lang.invoke.MethodType); 4785 ctor public MutableCallSite(java.lang.invoke.MethodHandle); 4786 method public final java.lang.invoke.MethodHandle dynamicInvoker(); 4787 method public final java.lang.invoke.MethodHandle getTarget(); 4788 method public void setTarget(java.lang.invoke.MethodHandle); 4789 } 4790 4791 public interface TypeDescriptor { 4792 method public String descriptorString(); 4793 } 4794 4795 public static interface TypeDescriptor.OfField<F extends java.lang.invoke.TypeDescriptor.OfField<F>> extends java.lang.invoke.TypeDescriptor { 4796 method public F arrayType(); 4797 method public F componentType(); 4798 method public boolean isArray(); 4799 method public boolean isPrimitive(); 4800 } 4801 4802 public static interface TypeDescriptor.OfMethod<F extends java.lang.invoke.TypeDescriptor.OfField<F>, M extends java.lang.invoke.TypeDescriptor.OfMethod<F, M>> extends java.lang.invoke.TypeDescriptor { 4803 method public M changeParameterType(int, F); 4804 method public M changeReturnType(F); 4805 method public M dropParameterTypes(int, int); 4806 method public M insertParameterTypes(int, F...); 4807 method public F[] parameterArray(); 4808 method public int parameterCount(); 4809 method public java.util.List<F> parameterList(); 4810 method public F parameterType(int); 4811 method public F returnType(); 4812 } 4813 4814 public abstract class VarHandle { 4815 method public final java.lang.invoke.MethodType accessModeType(java.lang.invoke.VarHandle.AccessMode); 4816 method public static void acquireFence(); 4817 method public final native Object compareAndExchange(java.lang.Object...); 4818 method public final native Object compareAndExchangeAcquire(java.lang.Object...); 4819 method public final native Object compareAndExchangeRelease(java.lang.Object...); 4820 method public final native boolean compareAndSet(java.lang.Object...); 4821 method public final java.util.List<java.lang.Class<?>> coordinateTypes(); 4822 method public static void fullFence(); 4823 method public final native Object get(java.lang.Object...); 4824 method public final native Object getAcquire(java.lang.Object...); 4825 method public final native Object getAndAdd(java.lang.Object...); 4826 method public final native Object getAndAddAcquire(java.lang.Object...); 4827 method public final native Object getAndAddRelease(java.lang.Object...); 4828 method public final native Object getAndBitwiseAnd(java.lang.Object...); 4829 method public final native Object getAndBitwiseAndAcquire(java.lang.Object...); 4830 method public final native Object getAndBitwiseAndRelease(java.lang.Object...); 4831 method public final native Object getAndBitwiseOr(java.lang.Object...); 4832 method public final native Object getAndBitwiseOrAcquire(java.lang.Object...); 4833 method public final native Object getAndBitwiseOrRelease(java.lang.Object...); 4834 method public final native Object getAndBitwiseXor(java.lang.Object...); 4835 method public final native Object getAndBitwiseXorAcquire(java.lang.Object...); 4836 method public final native Object getAndBitwiseXorRelease(java.lang.Object...); 4837 method public final native Object getAndSet(java.lang.Object...); 4838 method public final native Object getAndSetAcquire(java.lang.Object...); 4839 method public final native Object getAndSetRelease(java.lang.Object...); 4840 method public final native Object getOpaque(java.lang.Object...); 4841 method public final native Object getVolatile(java.lang.Object...); 4842 method public final boolean isAccessModeSupported(java.lang.invoke.VarHandle.AccessMode); 4843 method public static void loadLoadFence(); 4844 method public static void releaseFence(); 4845 method public final native void set(java.lang.Object...); 4846 method public final native void setOpaque(java.lang.Object...); 4847 method public final native void setRelease(java.lang.Object...); 4848 method public final native void setVolatile(java.lang.Object...); 4849 method public static void storeStoreFence(); 4850 method public final java.lang.invoke.MethodHandle toMethodHandle(java.lang.invoke.VarHandle.AccessMode); 4851 method @FlaggedApi("com.android.libcore.v_apis") public final String toString(); 4852 method public final Class<?> varType(); 4853 method public final native boolean weakCompareAndSet(java.lang.Object...); 4854 method public final native boolean weakCompareAndSetAcquire(java.lang.Object...); 4855 method public final native boolean weakCompareAndSetPlain(java.lang.Object...); 4856 method public final native boolean weakCompareAndSetRelease(java.lang.Object...); 4857 } 4858 4859 public enum VarHandle.AccessMode { 4860 method public String methodName(); 4861 method public static java.lang.invoke.VarHandle.AccessMode valueFromMethodName(String); 4862 enum_constant public static final java.lang.invoke.VarHandle.AccessMode COMPARE_AND_EXCHANGE; 4863 enum_constant public static final java.lang.invoke.VarHandle.AccessMode COMPARE_AND_EXCHANGE_ACQUIRE; 4864 enum_constant public static final java.lang.invoke.VarHandle.AccessMode COMPARE_AND_EXCHANGE_RELEASE; 4865 enum_constant public static final java.lang.invoke.VarHandle.AccessMode COMPARE_AND_SET; 4866 enum_constant public static final java.lang.invoke.VarHandle.AccessMode GET; 4867 enum_constant public static final java.lang.invoke.VarHandle.AccessMode GET_ACQUIRE; 4868 enum_constant public static final java.lang.invoke.VarHandle.AccessMode GET_AND_ADD; 4869 enum_constant public static final java.lang.invoke.VarHandle.AccessMode GET_AND_ADD_ACQUIRE; 4870 enum_constant public static final java.lang.invoke.VarHandle.AccessMode GET_AND_ADD_RELEASE; 4871 enum_constant public static final java.lang.invoke.VarHandle.AccessMode GET_AND_BITWISE_AND; 4872 enum_constant public static final java.lang.invoke.VarHandle.AccessMode GET_AND_BITWISE_AND_ACQUIRE; 4873 enum_constant public static final java.lang.invoke.VarHandle.AccessMode GET_AND_BITWISE_AND_RELEASE; 4874 enum_constant public static final java.lang.invoke.VarHandle.AccessMode GET_AND_BITWISE_OR; 4875 enum_constant public static final java.lang.invoke.VarHandle.AccessMode GET_AND_BITWISE_OR_ACQUIRE; 4876 enum_constant public static final java.lang.invoke.VarHandle.AccessMode GET_AND_BITWISE_OR_RELEASE; 4877 enum_constant public static final java.lang.invoke.VarHandle.AccessMode GET_AND_BITWISE_XOR; 4878 enum_constant public static final java.lang.invoke.VarHandle.AccessMode GET_AND_BITWISE_XOR_ACQUIRE; 4879 enum_constant public static final java.lang.invoke.VarHandle.AccessMode GET_AND_BITWISE_XOR_RELEASE; 4880 enum_constant public static final java.lang.invoke.VarHandle.AccessMode GET_AND_SET; 4881 enum_constant public static final java.lang.invoke.VarHandle.AccessMode GET_AND_SET_ACQUIRE; 4882 enum_constant public static final java.lang.invoke.VarHandle.AccessMode GET_AND_SET_RELEASE; 4883 enum_constant public static final java.lang.invoke.VarHandle.AccessMode GET_OPAQUE; 4884 enum_constant public static final java.lang.invoke.VarHandle.AccessMode GET_VOLATILE; 4885 enum_constant public static final java.lang.invoke.VarHandle.AccessMode SET; 4886 enum_constant public static final java.lang.invoke.VarHandle.AccessMode SET_OPAQUE; 4887 enum_constant public static final java.lang.invoke.VarHandle.AccessMode SET_RELEASE; 4888 enum_constant public static final java.lang.invoke.VarHandle.AccessMode SET_VOLATILE; 4889 enum_constant public static final java.lang.invoke.VarHandle.AccessMode WEAK_COMPARE_AND_SET; 4890 enum_constant public static final java.lang.invoke.VarHandle.AccessMode WEAK_COMPARE_AND_SET_ACQUIRE; 4891 enum_constant public static final java.lang.invoke.VarHandle.AccessMode WEAK_COMPARE_AND_SET_PLAIN; 4892 enum_constant public static final java.lang.invoke.VarHandle.AccessMode WEAK_COMPARE_AND_SET_RELEASE; 4893 } 4894 4895 public class VolatileCallSite extends java.lang.invoke.CallSite { 4896 ctor public VolatileCallSite(java.lang.invoke.MethodType); 4897 ctor public VolatileCallSite(java.lang.invoke.MethodHandle); 4898 method public final java.lang.invoke.MethodHandle dynamicInvoker(); 4899 method public final java.lang.invoke.MethodHandle getTarget(); 4900 method public void setTarget(java.lang.invoke.MethodHandle); 4901 } 4902 4903 public class WrongMethodTypeException extends java.lang.RuntimeException { 4904 ctor public WrongMethodTypeException(); 4905 ctor public WrongMethodTypeException(String); 4906 } 4907 4908} 4909 4910package java.lang.ref { 4911 4912 public final class Cleaner { 4913 method public static java.lang.ref.Cleaner create(); 4914 method public static java.lang.ref.Cleaner create(java.util.concurrent.ThreadFactory); 4915 method public java.lang.ref.Cleaner.Cleanable register(Object, Runnable); 4916 } 4917 4918 public static interface Cleaner.Cleanable { 4919 method public void clean(); 4920 } 4921 4922 public class PhantomReference<T> extends java.lang.ref.Reference<T> { 4923 ctor public PhantomReference(T, java.lang.ref.ReferenceQueue<? super T>); 4924 } 4925 4926 public abstract class Reference<T> { 4927 method public void clear(); 4928 method public boolean enqueue(); 4929 method public T get(); 4930 method @Deprecated public boolean isEnqueued(); 4931 method public static void reachabilityFence(Object); 4932 method public final boolean refersTo(T); 4933 } 4934 4935 public class ReferenceQueue<T> { 4936 ctor public ReferenceQueue(); 4937 method public java.lang.ref.Reference<? extends T> poll(); 4938 method public java.lang.ref.Reference<? extends T> remove(long) throws java.lang.IllegalArgumentException, java.lang.InterruptedException; 4939 method public java.lang.ref.Reference<? extends T> remove() throws java.lang.InterruptedException; 4940 } 4941 4942 public class SoftReference<T> extends java.lang.ref.Reference<T> { 4943 ctor public SoftReference(T); 4944 ctor public SoftReference(T, java.lang.ref.ReferenceQueue<? super T>); 4945 } 4946 4947 public class WeakReference<T> extends java.lang.ref.Reference<T> { 4948 ctor public WeakReference(T); 4949 ctor public WeakReference(T, java.lang.ref.ReferenceQueue<? super T>); 4950 } 4951 4952} 4953 4954package java.lang.reflect { 4955 4956 public class AccessibleObject implements java.lang.reflect.AnnotatedElement { 4957 ctor protected AccessibleObject(); 4958 method @Nullable public <T extends java.lang.annotation.Annotation> T getAnnotation(@NonNull Class<T>); 4959 method @NonNull public java.lang.annotation.Annotation[] getAnnotations(); 4960 method public <T extends java.lang.annotation.Annotation> T[] getAnnotationsByType(@NonNull Class<T>); 4961 method @Nullable public <T extends java.lang.annotation.Annotation> T getDeclaredAnnotation(@NonNull Class<T>); 4962 method @NonNull public java.lang.annotation.Annotation[] getDeclaredAnnotations(); 4963 method public <T extends java.lang.annotation.Annotation> T[] getDeclaredAnnotationsByType(@NonNull Class<T>); 4964 method public boolean isAccessible(); 4965 method public boolean isAnnotationPresent(@NonNull Class<? extends java.lang.annotation.Annotation>); 4966 method public static void setAccessible(java.lang.reflect.AccessibleObject[], boolean) throws java.lang.SecurityException; 4967 method public void setAccessible(boolean) throws java.lang.SecurityException; 4968 } 4969 4970 public interface AnnotatedElement { 4971 method @Nullable public <T extends java.lang.annotation.Annotation> T getAnnotation(@NonNull Class<T>); 4972 method @NonNull public java.lang.annotation.Annotation[] getAnnotations(); 4973 method public default <T extends java.lang.annotation.Annotation> T[] getAnnotationsByType(@NonNull Class<T>); 4974 method @Nullable public default <T extends java.lang.annotation.Annotation> T getDeclaredAnnotation(@NonNull Class<T>); 4975 method @NonNull public java.lang.annotation.Annotation[] getDeclaredAnnotations(); 4976 method public default <T extends java.lang.annotation.Annotation> T[] getDeclaredAnnotationsByType(@NonNull Class<T>); 4977 method public default boolean isAnnotationPresent(@NonNull Class<? extends java.lang.annotation.Annotation>); 4978 } 4979 4980 public final class Array { 4981 method @Nullable public static Object get(@NonNull Object, int) throws java.lang.ArrayIndexOutOfBoundsException, java.lang.IllegalArgumentException; 4982 method public static boolean getBoolean(@NonNull Object, int) throws java.lang.ArrayIndexOutOfBoundsException, java.lang.IllegalArgumentException; 4983 method public static byte getByte(@NonNull Object, int) throws java.lang.ArrayIndexOutOfBoundsException, java.lang.IllegalArgumentException; 4984 method public static char getChar(@NonNull Object, int) throws java.lang.ArrayIndexOutOfBoundsException, java.lang.IllegalArgumentException; 4985 method public static double getDouble(@NonNull Object, int) throws java.lang.ArrayIndexOutOfBoundsException, java.lang.IllegalArgumentException; 4986 method public static float getFloat(@NonNull Object, int) throws java.lang.ArrayIndexOutOfBoundsException, java.lang.IllegalArgumentException; 4987 method public static int getInt(@NonNull Object, int) throws java.lang.ArrayIndexOutOfBoundsException, java.lang.IllegalArgumentException; 4988 method public static int getLength(@NonNull Object); 4989 method public static long getLong(@NonNull Object, int) throws java.lang.ArrayIndexOutOfBoundsException, java.lang.IllegalArgumentException; 4990 method public static short getShort(@NonNull Object, int) throws java.lang.ArrayIndexOutOfBoundsException, java.lang.IllegalArgumentException; 4991 method @NonNull public static Object newInstance(@NonNull Class<?>, int) throws java.lang.NegativeArraySizeException; 4992 method @NonNull public static Object newInstance(@NonNull Class<?>, int...) throws java.lang.IllegalArgumentException, java.lang.NegativeArraySizeException; 4993 method public static void set(@NonNull Object, int, @Nullable Object) throws java.lang.ArrayIndexOutOfBoundsException, java.lang.IllegalArgumentException; 4994 method public static void setBoolean(@NonNull Object, int, boolean); 4995 method public static void setByte(@NonNull Object, int, byte) throws java.lang.ArrayIndexOutOfBoundsException, java.lang.IllegalArgumentException; 4996 method public static void setChar(@NonNull Object, int, char) throws java.lang.ArrayIndexOutOfBoundsException, java.lang.IllegalArgumentException; 4997 method public static void setDouble(@NonNull Object, int, double) throws java.lang.ArrayIndexOutOfBoundsException, java.lang.IllegalArgumentException; 4998 method public static void setFloat(@NonNull Object, int, float) throws java.lang.ArrayIndexOutOfBoundsException, java.lang.IllegalArgumentException; 4999 method public static void setInt(@NonNull Object, int, int) throws java.lang.ArrayIndexOutOfBoundsException, java.lang.IllegalArgumentException; 5000 method public static void setLong(@NonNull Object, int, long) throws java.lang.ArrayIndexOutOfBoundsException, java.lang.IllegalArgumentException; 5001 method public static void setShort(@NonNull Object, int, short) throws java.lang.ArrayIndexOutOfBoundsException, java.lang.IllegalArgumentException; 5002 } 5003 5004 public final class Constructor<T> extends java.lang.reflect.Executable { 5005 method @NonNull public Class<T> getDeclaringClass(); 5006 method public Class<?>[] getExceptionTypes(); 5007 method public int getModifiers(); 5008 method @NonNull public String getName(); 5009 method public java.lang.annotation.Annotation[][] getParameterAnnotations(); 5010 method @NonNull public Class<?>[] getParameterTypes(); 5011 method public java.lang.reflect.TypeVariable<java.lang.reflect.Constructor<T>>[] getTypeParameters(); 5012 method @NonNull public T newInstance(java.lang.Object...) throws java.lang.IllegalAccessException, java.lang.IllegalArgumentException, java.lang.InstantiationException, java.lang.reflect.InvocationTargetException; 5013 method @NonNull public String toGenericString(); 5014 } 5015 5016 public abstract class Executable extends java.lang.reflect.AccessibleObject implements java.lang.reflect.GenericDeclaration java.lang.reflect.Member { 5017 method @NonNull public abstract Class<?>[] getExceptionTypes(); 5018 method @NonNull public java.lang.reflect.Type[] getGenericExceptionTypes(); 5019 method @NonNull public java.lang.reflect.Type[] getGenericParameterTypes(); 5020 method @NonNull public abstract java.lang.annotation.Annotation[][] getParameterAnnotations(); 5021 method public int getParameterCount(); 5022 method @NonNull public abstract Class<?>[] getParameterTypes(); 5023 method @NonNull public java.lang.reflect.Parameter[] getParameters(); 5024 method public final boolean isAnnotationPresent(@NonNull Class<? extends java.lang.annotation.Annotation>); 5025 method public boolean isSynthetic(); 5026 method public boolean isVarArgs(); 5027 method @NonNull public abstract String toGenericString(); 5028 } 5029 5030 public final class Field extends java.lang.reflect.AccessibleObject implements java.lang.reflect.Member { 5031 method @Nullable public Object get(@Nullable Object) throws java.lang.IllegalAccessException, java.lang.IllegalArgumentException; 5032 method public boolean getBoolean(@Nullable Object) throws java.lang.IllegalAccessException, java.lang.IllegalArgumentException; 5033 method public byte getByte(@Nullable Object) throws java.lang.IllegalAccessException, java.lang.IllegalArgumentException; 5034 method public char getChar(@Nullable Object) throws java.lang.IllegalAccessException, java.lang.IllegalArgumentException; 5035 method @NonNull public Class<?> getDeclaringClass(); 5036 method public double getDouble(@Nullable Object) throws java.lang.IllegalAccessException, java.lang.IllegalArgumentException; 5037 method public float getFloat(@Nullable Object) throws java.lang.IllegalAccessException, java.lang.IllegalArgumentException; 5038 method @NonNull public java.lang.reflect.Type getGenericType(); 5039 method public int getInt(@Nullable Object) throws java.lang.IllegalAccessException, java.lang.IllegalArgumentException; 5040 method public long getLong(@Nullable Object) throws java.lang.IllegalAccessException, java.lang.IllegalArgumentException; 5041 method public int getModifiers(); 5042 method @NonNull public String getName(); 5043 method public short getShort(@Nullable Object) throws java.lang.IllegalAccessException, java.lang.IllegalArgumentException; 5044 method @NonNull public Class<?> getType(); 5045 method public boolean isEnumConstant(); 5046 method public boolean isSynthetic(); 5047 method public void set(@Nullable Object, @Nullable Object) throws java.lang.IllegalAccessException, java.lang.IllegalArgumentException; 5048 method public void setBoolean(@Nullable Object, boolean) throws java.lang.IllegalAccessException, java.lang.IllegalArgumentException; 5049 method public void setByte(@Nullable Object, byte) throws java.lang.IllegalAccessException, java.lang.IllegalArgumentException; 5050 method public void setChar(@Nullable Object, char) throws java.lang.IllegalAccessException, java.lang.IllegalArgumentException; 5051 method public void setDouble(@Nullable Object, double) throws java.lang.IllegalAccessException, java.lang.IllegalArgumentException; 5052 method public void setFloat(@Nullable Object, float) throws java.lang.IllegalAccessException, java.lang.IllegalArgumentException; 5053 method public void setInt(@Nullable Object, int) throws java.lang.IllegalAccessException, java.lang.IllegalArgumentException; 5054 method public void setLong(@Nullable Object, long) throws java.lang.IllegalAccessException, java.lang.IllegalArgumentException; 5055 method public void setShort(@Nullable Object, short) throws java.lang.IllegalAccessException, java.lang.IllegalArgumentException; 5056 method @NonNull public String toGenericString(); 5057 } 5058 5059 public interface GenericArrayType extends java.lang.reflect.Type { 5060 method @NonNull public java.lang.reflect.Type getGenericComponentType(); 5061 } 5062 5063 public interface GenericDeclaration extends java.lang.reflect.AnnotatedElement { 5064 method @NonNull public java.lang.reflect.TypeVariable<?>[] getTypeParameters(); 5065 } 5066 5067 public class GenericSignatureFormatError extends java.lang.ClassFormatError { 5068 ctor public GenericSignatureFormatError(); 5069 ctor public GenericSignatureFormatError(String); 5070 } 5071 5072 public interface InvocationHandler { 5073 method public Object invoke(Object, java.lang.reflect.Method, Object[]) throws java.lang.Throwable; 5074 } 5075 5076 public class InvocationTargetException extends java.lang.ReflectiveOperationException { 5077 ctor protected InvocationTargetException(); 5078 ctor public InvocationTargetException(Throwable); 5079 ctor public InvocationTargetException(Throwable, String); 5080 method public Throwable getTargetException(); 5081 } 5082 5083 public class MalformedParameterizedTypeException extends java.lang.RuntimeException { 5084 ctor public MalformedParameterizedTypeException(); 5085 ctor public MalformedParameterizedTypeException(String); 5086 } 5087 5088 public class MalformedParametersException extends java.lang.RuntimeException { 5089 ctor public MalformedParametersException(); 5090 ctor public MalformedParametersException(String); 5091 } 5092 5093 public interface Member { 5094 method @NonNull public Class<?> getDeclaringClass(); 5095 method public int getModifiers(); 5096 method @NonNull public String getName(); 5097 method public boolean isSynthetic(); 5098 field public static final int DECLARED = 1; // 0x1 5099 field public static final int PUBLIC = 0; // 0x0 5100 } 5101 5102 public final class Method extends java.lang.reflect.Executable { 5103 method @NonNull public Class<?> getDeclaringClass(); 5104 method @Nullable public Object getDefaultValue(); 5105 method @NonNull public Class<?>[] getExceptionTypes(); 5106 method @NonNull public java.lang.reflect.Type getGenericReturnType(); 5107 method public int getModifiers(); 5108 method @NonNull public String getName(); 5109 method @NonNull public java.lang.annotation.Annotation[][] getParameterAnnotations(); 5110 method @NonNull public Class<?>[] getParameterTypes(); 5111 method @NonNull public Class<?> getReturnType(); 5112 method @NonNull public java.lang.reflect.TypeVariable<java.lang.reflect.Method>[] getTypeParameters(); 5113 method @Nullable public Object invoke(@Nullable Object, @Nullable java.lang.Object...) throws java.lang.IllegalAccessException, java.lang.IllegalArgumentException, java.lang.reflect.InvocationTargetException; 5114 method public boolean isBridge(); 5115 method public boolean isDefault(); 5116 method @NonNull public String toGenericString(); 5117 } 5118 5119 public class Modifier { 5120 ctor public Modifier(); 5121 method public static int classModifiers(); 5122 method public static int constructorModifiers(); 5123 method public static int fieldModifiers(); 5124 method public static int interfaceModifiers(); 5125 method public static boolean isAbstract(int); 5126 method public static boolean isFinal(int); 5127 method public static boolean isInterface(int); 5128 method public static boolean isNative(int); 5129 method public static boolean isPrivate(int); 5130 method public static boolean isProtected(int); 5131 method public static boolean isPublic(int); 5132 method public static boolean isStatic(int); 5133 method public static boolean isStrict(int); 5134 method public static boolean isSynchronized(int); 5135 method public static boolean isTransient(int); 5136 method public static boolean isVolatile(int); 5137 method public static int methodModifiers(); 5138 method public static int parameterModifiers(); 5139 method public static String toString(int); 5140 field public static final int ABSTRACT = 1024; // 0x400 5141 field public static final int FINAL = 16; // 0x10 5142 field public static final int INTERFACE = 512; // 0x200 5143 field public static final int NATIVE = 256; // 0x100 5144 field public static final int PRIVATE = 2; // 0x2 5145 field public static final int PROTECTED = 4; // 0x4 5146 field public static final int PUBLIC = 1; // 0x1 5147 field public static final int STATIC = 8; // 0x8 5148 field public static final int STRICT = 2048; // 0x800 5149 field public static final int SYNCHRONIZED = 32; // 0x20 5150 field public static final int TRANSIENT = 128; // 0x80 5151 field public static final int VOLATILE = 64; // 0x40 5152 } 5153 5154 public final class Parameter implements java.lang.reflect.AnnotatedElement { 5155 method @Nullable public <T extends java.lang.annotation.Annotation> T getAnnotation(@NonNull Class<T>); 5156 method @NonNull public java.lang.annotation.Annotation[] getAnnotations(); 5157 method public <T extends java.lang.annotation.Annotation> T[] getAnnotationsByType(@NonNull Class<T>); 5158 method @Nullable public <T extends java.lang.annotation.Annotation> T getDeclaredAnnotation(@NonNull Class<T>); 5159 method @NonNull public java.lang.annotation.Annotation[] getDeclaredAnnotations(); 5160 method public <T extends java.lang.annotation.Annotation> T[] getDeclaredAnnotationsByType(@NonNull Class<T>); 5161 method @NonNull public java.lang.reflect.Executable getDeclaringExecutable(); 5162 method public int getModifiers(); 5163 method @NonNull public String getName(); 5164 method @NonNull public java.lang.reflect.Type getParameterizedType(); 5165 method @NonNull public Class<?> getType(); 5166 method public boolean isImplicit(); 5167 method public boolean isNamePresent(); 5168 method public boolean isSynthetic(); 5169 method public boolean isVarArgs(); 5170 } 5171 5172 public interface ParameterizedType extends java.lang.reflect.Type { 5173 method @NonNull public java.lang.reflect.Type[] getActualTypeArguments(); 5174 method @Nullable public java.lang.reflect.Type getOwnerType(); 5175 method @NonNull public java.lang.reflect.Type getRawType(); 5176 } 5177 5178 public class Proxy implements java.io.Serializable { 5179 ctor protected Proxy(@NonNull java.lang.reflect.InvocationHandler); 5180 method @NonNull public static java.lang.reflect.InvocationHandler getInvocationHandler(@NonNull Object) throws java.lang.IllegalArgumentException; 5181 method @NonNull public static Class<?> getProxyClass(@Nullable ClassLoader, @NonNull Class<?>...) throws java.lang.IllegalArgumentException; 5182 method public static boolean isProxyClass(@NonNull Class<?>); 5183 method @NonNull public static Object newProxyInstance(@Nullable ClassLoader, @NonNull Class<?>[], @NonNull java.lang.reflect.InvocationHandler) throws java.lang.IllegalArgumentException; 5184 field protected java.lang.reflect.InvocationHandler h; 5185 } 5186 5187 public final class RecordComponent implements java.lang.reflect.AnnotatedElement { 5188 method @NonNull public java.lang.reflect.Method getAccessor(); 5189 method @Nullable public <T extends java.lang.annotation.Annotation> T getAnnotation(@NonNull Class<T>); 5190 method @NonNull public java.lang.annotation.Annotation[] getAnnotations(); 5191 method @NonNull public java.lang.annotation.Annotation[] getDeclaredAnnotations(); 5192 method @NonNull public Class<?> getDeclaringRecord(); 5193 method @Nullable public String getGenericSignature(); 5194 method @NonNull public java.lang.reflect.Type getGenericType(); 5195 method @NonNull public String getName(); 5196 method @NonNull public Class<?> getType(); 5197 } 5198 5199 public final class ReflectPermission extends java.security.BasicPermission { 5200 ctor public ReflectPermission(String); 5201 ctor public ReflectPermission(String, String); 5202 } 5203 5204 public interface Type { 5205 method @NonNull public default String getTypeName(); 5206 } 5207 5208 public interface TypeVariable<D extends java.lang.reflect.GenericDeclaration> extends java.lang.reflect.Type { 5209 method @NonNull public java.lang.reflect.Type[] getBounds(); 5210 method @NonNull public D getGenericDeclaration(); 5211 method @NonNull public String getName(); 5212 } 5213 5214 public class UndeclaredThrowableException extends java.lang.RuntimeException { 5215 ctor public UndeclaredThrowableException(Throwable); 5216 ctor public UndeclaredThrowableException(Throwable, String); 5217 method public Throwable getUndeclaredThrowable(); 5218 } 5219 5220 public interface WildcardType extends java.lang.reflect.Type { 5221 method @NonNull public java.lang.reflect.Type[] getLowerBounds(); 5222 method @NonNull public java.lang.reflect.Type[] getUpperBounds(); 5223 } 5224 5225} 5226 5227package java.lang.runtime { 5228 5229 public class ObjectMethods { 5230 method @NonNull public static Object bootstrap(@NonNull java.lang.invoke.MethodHandles.Lookup, @NonNull String, @NonNull java.lang.invoke.TypeDescriptor, @NonNull Class<?>, @Nullable String, @NonNull java.lang.invoke.MethodHandle...) throws java.lang.Throwable; 5231 } 5232 5233} 5234 5235package java.math { 5236 5237 public class BigDecimal extends java.lang.Number implements java.lang.Comparable<java.math.BigDecimal> { 5238 ctor public BigDecimal(char[], int, int); 5239 ctor public BigDecimal(char[], int, int, java.math.MathContext); 5240 ctor public BigDecimal(char[]); 5241 ctor public BigDecimal(char[], java.math.MathContext); 5242 ctor public BigDecimal(String); 5243 ctor public BigDecimal(String, java.math.MathContext); 5244 ctor public BigDecimal(double); 5245 ctor public BigDecimal(double, java.math.MathContext); 5246 ctor public BigDecimal(java.math.BigInteger); 5247 ctor public BigDecimal(java.math.BigInteger, java.math.MathContext); 5248 ctor public BigDecimal(java.math.BigInteger, int); 5249 ctor public BigDecimal(java.math.BigInteger, int, java.math.MathContext); 5250 ctor public BigDecimal(int); 5251 ctor public BigDecimal(int, java.math.MathContext); 5252 ctor public BigDecimal(long); 5253 ctor public BigDecimal(long, java.math.MathContext); 5254 method public java.math.BigDecimal abs(); 5255 method public java.math.BigDecimal abs(java.math.MathContext); 5256 method public java.math.BigDecimal add(java.math.BigDecimal); 5257 method public java.math.BigDecimal add(java.math.BigDecimal, java.math.MathContext); 5258 method public byte byteValueExact(); 5259 method public int compareTo(java.math.BigDecimal); 5260 method @Deprecated public java.math.BigDecimal divide(java.math.BigDecimal, int, int); 5261 method public java.math.BigDecimal divide(java.math.BigDecimal, int, java.math.RoundingMode); 5262 method @Deprecated public java.math.BigDecimal divide(java.math.BigDecimal, int); 5263 method public java.math.BigDecimal divide(java.math.BigDecimal, java.math.RoundingMode); 5264 method public java.math.BigDecimal divide(java.math.BigDecimal); 5265 method public java.math.BigDecimal divide(java.math.BigDecimal, java.math.MathContext); 5266 method public java.math.BigDecimal[] divideAndRemainder(java.math.BigDecimal); 5267 method public java.math.BigDecimal[] divideAndRemainder(java.math.BigDecimal, java.math.MathContext); 5268 method public java.math.BigDecimal divideToIntegralValue(java.math.BigDecimal); 5269 method public java.math.BigDecimal divideToIntegralValue(java.math.BigDecimal, java.math.MathContext); 5270 method public double doubleValue(); 5271 method public float floatValue(); 5272 method public int intValue(); 5273 method public int intValueExact(); 5274 method public long longValue(); 5275 method public long longValueExact(); 5276 method public java.math.BigDecimal max(java.math.BigDecimal); 5277 method public java.math.BigDecimal min(java.math.BigDecimal); 5278 method public java.math.BigDecimal movePointLeft(int); 5279 method public java.math.BigDecimal movePointRight(int); 5280 method public java.math.BigDecimal multiply(java.math.BigDecimal); 5281 method public java.math.BigDecimal multiply(java.math.BigDecimal, java.math.MathContext); 5282 method public java.math.BigDecimal negate(); 5283 method public java.math.BigDecimal negate(java.math.MathContext); 5284 method public java.math.BigDecimal plus(); 5285 method public java.math.BigDecimal plus(java.math.MathContext); 5286 method public java.math.BigDecimal pow(int); 5287 method public java.math.BigDecimal pow(int, java.math.MathContext); 5288 method public int precision(); 5289 method public java.math.BigDecimal remainder(java.math.BigDecimal); 5290 method public java.math.BigDecimal remainder(java.math.BigDecimal, java.math.MathContext); 5291 method public java.math.BigDecimal round(java.math.MathContext); 5292 method public int scale(); 5293 method public java.math.BigDecimal scaleByPowerOfTen(int); 5294 method public java.math.BigDecimal setScale(int, java.math.RoundingMode); 5295 method @Deprecated public java.math.BigDecimal setScale(int, int); 5296 method public java.math.BigDecimal setScale(int); 5297 method public short shortValueExact(); 5298 method public int signum(); 5299 method public java.math.BigDecimal sqrt(java.math.MathContext); 5300 method public java.math.BigDecimal stripTrailingZeros(); 5301 method public java.math.BigDecimal subtract(java.math.BigDecimal); 5302 method public java.math.BigDecimal subtract(java.math.BigDecimal, java.math.MathContext); 5303 method public java.math.BigInteger toBigInteger(); 5304 method public java.math.BigInteger toBigIntegerExact(); 5305 method public String toEngineeringString(); 5306 method public String toPlainString(); 5307 method public java.math.BigDecimal ulp(); 5308 method public java.math.BigInteger unscaledValue(); 5309 method public static java.math.BigDecimal valueOf(long, int); 5310 method public static java.math.BigDecimal valueOf(long); 5311 method public static java.math.BigDecimal valueOf(double); 5312 field public static final java.math.BigDecimal ONE; 5313 field @Deprecated public static final int ROUND_CEILING = 2; // 0x2 5314 field @Deprecated public static final int ROUND_DOWN = 1; // 0x1 5315 field @Deprecated public static final int ROUND_FLOOR = 3; // 0x3 5316 field @Deprecated public static final int ROUND_HALF_DOWN = 5; // 0x5 5317 field @Deprecated public static final int ROUND_HALF_EVEN = 6; // 0x6 5318 field @Deprecated public static final int ROUND_HALF_UP = 4; // 0x4 5319 field @Deprecated public static final int ROUND_UNNECESSARY = 7; // 0x7 5320 field @Deprecated public static final int ROUND_UP = 0; // 0x0 5321 field public static final java.math.BigDecimal TEN; 5322 field public static final java.math.BigDecimal ZERO; 5323 } 5324 5325 public class BigInteger extends java.lang.Number implements java.lang.Comparable<java.math.BigInteger> { 5326 ctor public BigInteger(byte[], int, int); 5327 ctor public BigInteger(byte[]); 5328 ctor public BigInteger(int, byte[], int, int); 5329 ctor public BigInteger(int, byte[]); 5330 ctor public BigInteger(@NonNull String, int); 5331 ctor public BigInteger(@NonNull String); 5332 ctor public BigInteger(int, @NonNull java.util.Random); 5333 ctor public BigInteger(int, int, @NonNull java.util.Random); 5334 method @NonNull public java.math.BigInteger abs(); 5335 method @NonNull public java.math.BigInteger add(@NonNull java.math.BigInteger); 5336 method @NonNull public java.math.BigInteger and(@NonNull java.math.BigInteger); 5337 method @NonNull public java.math.BigInteger andNot(@NonNull java.math.BigInteger); 5338 method public int bitCount(); 5339 method public int bitLength(); 5340 method public byte byteValueExact(); 5341 method @NonNull public java.math.BigInteger clearBit(int); 5342 method public int compareTo(@NonNull java.math.BigInteger); 5343 method @NonNull public java.math.BigInteger divide(@NonNull java.math.BigInteger); 5344 method @NonNull public java.math.BigInteger[] divideAndRemainder(@NonNull java.math.BigInteger); 5345 method public double doubleValue(); 5346 method @NonNull public java.math.BigInteger flipBit(int); 5347 method public float floatValue(); 5348 method @NonNull public java.math.BigInteger gcd(@NonNull java.math.BigInteger); 5349 method public int getLowestSetBit(); 5350 method public int intValue(); 5351 method public int intValueExact(); 5352 method public boolean isProbablePrime(int); 5353 method public long longValue(); 5354 method public long longValueExact(); 5355 method @NonNull public java.math.BigInteger max(@NonNull java.math.BigInteger); 5356 method @NonNull public java.math.BigInteger min(@NonNull java.math.BigInteger); 5357 method @NonNull public java.math.BigInteger mod(@NonNull java.math.BigInteger); 5358 method @NonNull public java.math.BigInteger modInverse(@NonNull java.math.BigInteger); 5359 method @NonNull public java.math.BigInteger modPow(@NonNull java.math.BigInteger, @NonNull java.math.BigInteger); 5360 method @NonNull public java.math.BigInteger multiply(@NonNull java.math.BigInteger); 5361 method @NonNull public java.math.BigInteger negate(); 5362 method @NonNull public java.math.BigInteger nextProbablePrime(); 5363 method @NonNull public java.math.BigInteger not(); 5364 method @NonNull public java.math.BigInteger or(@NonNull java.math.BigInteger); 5365 method @NonNull public java.math.BigInteger pow(int); 5366 method @NonNull public static java.math.BigInteger probablePrime(int, @NonNull java.util.Random); 5367 method @NonNull public java.math.BigInteger remainder(@NonNull java.math.BigInteger); 5368 method @NonNull public java.math.BigInteger setBit(int); 5369 method @NonNull public java.math.BigInteger shiftLeft(int); 5370 method @NonNull public java.math.BigInteger shiftRight(int); 5371 method public short shortValueExact(); 5372 method public int signum(); 5373 method @NonNull public java.math.BigInteger sqrt(); 5374 method @NonNull public java.math.BigInteger[] sqrtAndRemainder(); 5375 method @NonNull public java.math.BigInteger subtract(@NonNull java.math.BigInteger); 5376 method public boolean testBit(int); 5377 method public byte[] toByteArray(); 5378 method @NonNull public String toString(int); 5379 method @NonNull public static java.math.BigInteger valueOf(long); 5380 method @NonNull public java.math.BigInteger xor(@NonNull java.math.BigInteger); 5381 field @NonNull public static final java.math.BigInteger ONE; 5382 field @NonNull public static final java.math.BigInteger TEN; 5383 field @NonNull public static final java.math.BigInteger TWO; 5384 field @NonNull public static final java.math.BigInteger ZERO; 5385 } 5386 5387 public final class MathContext implements java.io.Serializable { 5388 ctor public MathContext(int); 5389 ctor public MathContext(int, java.math.RoundingMode); 5390 ctor public MathContext(String); 5391 method public int getPrecision(); 5392 method public java.math.RoundingMode getRoundingMode(); 5393 field public static final java.math.MathContext DECIMAL128; 5394 field public static final java.math.MathContext DECIMAL32; 5395 field public static final java.math.MathContext DECIMAL64; 5396 field public static final java.math.MathContext UNLIMITED; 5397 } 5398 5399 public enum RoundingMode { 5400 method public static java.math.RoundingMode valueOf(int); 5401 enum_constant public static final java.math.RoundingMode CEILING; 5402 enum_constant public static final java.math.RoundingMode DOWN; 5403 enum_constant public static final java.math.RoundingMode FLOOR; 5404 enum_constant public static final java.math.RoundingMode HALF_DOWN; 5405 enum_constant public static final java.math.RoundingMode HALF_EVEN; 5406 enum_constant public static final java.math.RoundingMode HALF_UP; 5407 enum_constant public static final java.math.RoundingMode UNNECESSARY; 5408 enum_constant public static final java.math.RoundingMode UP; 5409 } 5410 5411} 5412 5413package java.net { 5414 5415 public abstract class Authenticator { 5416 ctor public Authenticator(); 5417 method protected java.net.PasswordAuthentication getPasswordAuthentication(); 5418 method protected final String getRequestingHost(); 5419 method protected final int getRequestingPort(); 5420 method protected final String getRequestingPrompt(); 5421 method protected final String getRequestingProtocol(); 5422 method protected final String getRequestingScheme(); 5423 method protected final java.net.InetAddress getRequestingSite(); 5424 method protected java.net.URL getRequestingURL(); 5425 method protected java.net.Authenticator.RequestorType getRequestorType(); 5426 method public static java.net.PasswordAuthentication requestPasswordAuthentication(java.net.InetAddress, int, String, String, String); 5427 method public static java.net.PasswordAuthentication requestPasswordAuthentication(String, java.net.InetAddress, int, String, String, String); 5428 method public static java.net.PasswordAuthentication requestPasswordAuthentication(String, java.net.InetAddress, int, String, String, String, java.net.URL, java.net.Authenticator.RequestorType); 5429 method public static void setDefault(java.net.Authenticator); 5430 } 5431 5432 public enum Authenticator.RequestorType { 5433 enum_constant public static final java.net.Authenticator.RequestorType PROXY; 5434 enum_constant public static final java.net.Authenticator.RequestorType SERVER; 5435 } 5436 5437 public class BindException extends java.net.SocketException { 5438 ctor public BindException(String); 5439 ctor public BindException(); 5440 } 5441 5442 public abstract class CacheRequest { 5443 ctor public CacheRequest(); 5444 method public abstract void abort(); 5445 method public abstract java.io.OutputStream getBody() throws java.io.IOException; 5446 } 5447 5448 public abstract class CacheResponse { 5449 ctor public CacheResponse(); 5450 method public abstract java.io.InputStream getBody() throws java.io.IOException; 5451 method public abstract java.util.Map<java.lang.String,java.util.List<java.lang.String>> getHeaders() throws java.io.IOException; 5452 } 5453 5454 public class ConnectException extends java.net.SocketException { 5455 ctor public ConnectException(String); 5456 ctor public ConnectException(); 5457 } 5458 5459 public abstract class ContentHandler { 5460 ctor public ContentHandler(); 5461 method public abstract Object getContent(java.net.URLConnection) throws java.io.IOException; 5462 method public Object getContent(java.net.URLConnection, Class[]) throws java.io.IOException; 5463 } 5464 5465 public interface ContentHandlerFactory { 5466 method public java.net.ContentHandler createContentHandler(String); 5467 } 5468 5469 public abstract class CookieHandler { 5470 ctor public CookieHandler(); 5471 method public abstract java.util.Map<java.lang.String,java.util.List<java.lang.String>> get(java.net.URI, java.util.Map<java.lang.String,java.util.List<java.lang.String>>) throws java.io.IOException; 5472 method public static java.net.CookieHandler getDefault(); 5473 method public abstract void put(java.net.URI, java.util.Map<java.lang.String,java.util.List<java.lang.String>>) throws java.io.IOException; 5474 method public static void setDefault(java.net.CookieHandler); 5475 } 5476 5477 public class CookieManager extends java.net.CookieHandler { 5478 ctor public CookieManager(); 5479 ctor public CookieManager(java.net.CookieStore, java.net.CookiePolicy); 5480 method public java.util.Map<java.lang.String,java.util.List<java.lang.String>> get(java.net.URI, java.util.Map<java.lang.String,java.util.List<java.lang.String>>) throws java.io.IOException; 5481 method public java.net.CookieStore getCookieStore(); 5482 method public void put(java.net.URI, java.util.Map<java.lang.String,java.util.List<java.lang.String>>) throws java.io.IOException; 5483 method public void setCookiePolicy(java.net.CookiePolicy); 5484 } 5485 5486 public interface CookiePolicy { 5487 method public boolean shouldAccept(java.net.URI, java.net.HttpCookie); 5488 field public static final java.net.CookiePolicy ACCEPT_ALL; 5489 field public static final java.net.CookiePolicy ACCEPT_NONE; 5490 field public static final java.net.CookiePolicy ACCEPT_ORIGINAL_SERVER; 5491 } 5492 5493 public interface CookieStore { 5494 method public void add(java.net.URI, java.net.HttpCookie); 5495 method public java.util.List<java.net.HttpCookie> get(java.net.URI); 5496 method public java.util.List<java.net.HttpCookie> getCookies(); 5497 method public java.util.List<java.net.URI> getURIs(); 5498 method public boolean remove(java.net.URI, java.net.HttpCookie); 5499 method public boolean removeAll(); 5500 } 5501 5502 public final class DatagramPacket { 5503 ctor public DatagramPacket(byte[], int, int); 5504 ctor public DatagramPacket(byte[], int); 5505 ctor public DatagramPacket(byte[], int, int, java.net.InetAddress, int); 5506 ctor public DatagramPacket(byte[], int, int, java.net.SocketAddress); 5507 ctor public DatagramPacket(byte[], int, java.net.InetAddress, int); 5508 ctor public DatagramPacket(byte[], int, java.net.SocketAddress); 5509 method public java.net.InetAddress getAddress(); 5510 method public byte[] getData(); 5511 method public int getLength(); 5512 method public int getOffset(); 5513 method public int getPort(); 5514 method public java.net.SocketAddress getSocketAddress(); 5515 method public void setAddress(java.net.InetAddress); 5516 method public void setData(byte[], int, int); 5517 method public void setData(byte[]); 5518 method public void setLength(int); 5519 method public void setPort(int); 5520 method public void setSocketAddress(java.net.SocketAddress); 5521 } 5522 5523 public class DatagramSocket implements java.io.Closeable { 5524 ctor public DatagramSocket() throws java.net.SocketException; 5525 ctor protected DatagramSocket(java.net.DatagramSocketImpl); 5526 ctor public DatagramSocket(java.net.SocketAddress) throws java.net.SocketException; 5527 ctor public DatagramSocket(int) throws java.net.SocketException; 5528 ctor public DatagramSocket(int, java.net.InetAddress) throws java.net.SocketException; 5529 method public void bind(java.net.SocketAddress) throws java.net.SocketException; 5530 method public void close(); 5531 method public void connect(java.net.InetAddress, int); 5532 method public void connect(java.net.SocketAddress) throws java.net.SocketException; 5533 method public void disconnect(); 5534 method public boolean getBroadcast() throws java.net.SocketException; 5535 method public java.nio.channels.DatagramChannel getChannel(); 5536 method public java.net.InetAddress getInetAddress(); 5537 method public java.net.InetAddress getLocalAddress(); 5538 method public int getLocalPort(); 5539 method public java.net.SocketAddress getLocalSocketAddress(); 5540 method public <T> T getOption(java.net.SocketOption<T>) throws java.io.IOException; 5541 method public int getPort(); 5542 method public int getReceiveBufferSize() throws java.net.SocketException; 5543 method public java.net.SocketAddress getRemoteSocketAddress(); 5544 method public boolean getReuseAddress() throws java.net.SocketException; 5545 method public int getSendBufferSize() throws java.net.SocketException; 5546 method public int getSoTimeout() throws java.net.SocketException; 5547 method public int getTrafficClass() throws java.net.SocketException; 5548 method public boolean isBound(); 5549 method public boolean isClosed(); 5550 method public boolean isConnected(); 5551 method public void receive(java.net.DatagramPacket) throws java.io.IOException; 5552 method public void send(java.net.DatagramPacket) throws java.io.IOException; 5553 method public void setBroadcast(boolean) throws java.net.SocketException; 5554 method public static void setDatagramSocketImplFactory(java.net.DatagramSocketImplFactory) throws java.io.IOException; 5555 method public <T> java.net.DatagramSocket setOption(java.net.SocketOption<T>, T) throws java.io.IOException; 5556 method public void setReceiveBufferSize(int) throws java.net.SocketException; 5557 method public void setReuseAddress(boolean) throws java.net.SocketException; 5558 method public void setSendBufferSize(int) throws java.net.SocketException; 5559 method public void setSoTimeout(int) throws java.net.SocketException; 5560 method public void setTrafficClass(int) throws java.net.SocketException; 5561 method public java.util.Set<java.net.SocketOption<?>> supportedOptions(); 5562 } 5563 5564 public abstract class DatagramSocketImpl implements java.net.SocketOptions { 5565 ctor public DatagramSocketImpl(); 5566 method protected abstract void bind(int, java.net.InetAddress) throws java.net.SocketException; 5567 method protected abstract void close(); 5568 method protected void connect(java.net.InetAddress, int) throws java.net.SocketException; 5569 method protected abstract void create() throws java.net.SocketException; 5570 method protected void disconnect(); 5571 method protected java.io.FileDescriptor getFileDescriptor(); 5572 method protected int getLocalPort(); 5573 method protected <T> T getOption(java.net.SocketOption<T>) throws java.io.IOException; 5574 method @Deprecated protected abstract byte getTTL() throws java.io.IOException; 5575 method protected abstract int getTimeToLive() throws java.io.IOException; 5576 method protected abstract void join(java.net.InetAddress) throws java.io.IOException; 5577 method protected abstract void joinGroup(java.net.SocketAddress, java.net.NetworkInterface) throws java.io.IOException; 5578 method protected abstract void leave(java.net.InetAddress) throws java.io.IOException; 5579 method protected abstract void leaveGroup(java.net.SocketAddress, java.net.NetworkInterface) throws java.io.IOException; 5580 method protected abstract int peek(java.net.InetAddress) throws java.io.IOException; 5581 method protected abstract int peekData(java.net.DatagramPacket) throws java.io.IOException; 5582 method protected abstract void receive(java.net.DatagramPacket) throws java.io.IOException; 5583 method protected abstract void send(java.net.DatagramPacket) throws java.io.IOException; 5584 method protected <T> void setOption(java.net.SocketOption<T>, T) throws java.io.IOException; 5585 method @Deprecated protected abstract void setTTL(byte) throws java.io.IOException; 5586 method protected abstract void setTimeToLive(int) throws java.io.IOException; 5587 method protected java.util.Set<java.net.SocketOption<?>> supportedOptions(); 5588 field protected java.io.FileDescriptor fd; 5589 field protected int localPort; 5590 } 5591 5592 public interface DatagramSocketImplFactory { 5593 method public java.net.DatagramSocketImpl createDatagramSocketImpl(); 5594 } 5595 5596 public interface FileNameMap { 5597 method public String getContentTypeFor(String); 5598 } 5599 5600 public final class HttpCookie implements java.lang.Cloneable { 5601 ctor public HttpCookie(String, String); 5602 method public Object clone(); 5603 method public static boolean domainMatches(String, String); 5604 method public String getComment(); 5605 method public String getCommentURL(); 5606 method public boolean getDiscard(); 5607 method public String getDomain(); 5608 method public long getMaxAge(); 5609 method public String getName(); 5610 method public String getPath(); 5611 method public String getPortlist(); 5612 method public boolean getSecure(); 5613 method public String getValue(); 5614 method public int getVersion(); 5615 method public boolean hasExpired(); 5616 method public boolean isHttpOnly(); 5617 method public static java.util.List<java.net.HttpCookie> parse(String); 5618 method public void setComment(String); 5619 method public void setCommentURL(String); 5620 method public void setDiscard(boolean); 5621 method public void setDomain(String); 5622 method public void setHttpOnly(boolean); 5623 method public void setMaxAge(long); 5624 method public void setPath(String); 5625 method public void setPortlist(String); 5626 method public void setSecure(boolean); 5627 method public void setValue(String); 5628 method public void setVersion(int); 5629 } 5630 5631 public class HttpRetryException extends java.io.IOException { 5632 ctor public HttpRetryException(String, int); 5633 ctor public HttpRetryException(String, int, String); 5634 method public String getLocation(); 5635 method public String getReason(); 5636 method public int responseCode(); 5637 } 5638 5639 public abstract class HttpURLConnection extends java.net.URLConnection { 5640 ctor protected HttpURLConnection(java.net.URL); 5641 method public abstract void disconnect(); 5642 method public java.io.InputStream getErrorStream(); 5643 method public static boolean getFollowRedirects(); 5644 method public boolean getInstanceFollowRedirects(); 5645 method public String getRequestMethod(); 5646 method public int getResponseCode() throws java.io.IOException; 5647 method public String getResponseMessage() throws java.io.IOException; 5648 method public void setChunkedStreamingMode(int); 5649 method public void setFixedLengthStreamingMode(int); 5650 method public void setFixedLengthStreamingMode(long); 5651 method public static void setFollowRedirects(boolean); 5652 method public void setInstanceFollowRedirects(boolean); 5653 method public void setRequestMethod(String) throws java.net.ProtocolException; 5654 method public abstract boolean usingProxy(); 5655 field public static final int HTTP_ACCEPTED = 202; // 0xca 5656 field public static final int HTTP_BAD_GATEWAY = 502; // 0x1f6 5657 field public static final int HTTP_BAD_METHOD = 405; // 0x195 5658 field public static final int HTTP_BAD_REQUEST = 400; // 0x190 5659 field public static final int HTTP_CLIENT_TIMEOUT = 408; // 0x198 5660 field public static final int HTTP_CONFLICT = 409; // 0x199 5661 field public static final int HTTP_CREATED = 201; // 0xc9 5662 field public static final int HTTP_ENTITY_TOO_LARGE = 413; // 0x19d 5663 field public static final int HTTP_FORBIDDEN = 403; // 0x193 5664 field public static final int HTTP_GATEWAY_TIMEOUT = 504; // 0x1f8 5665 field public static final int HTTP_GONE = 410; // 0x19a 5666 field public static final int HTTP_INTERNAL_ERROR = 500; // 0x1f4 5667 field public static final int HTTP_LENGTH_REQUIRED = 411; // 0x19b 5668 field public static final int HTTP_MOVED_PERM = 301; // 0x12d 5669 field public static final int HTTP_MOVED_TEMP = 302; // 0x12e 5670 field public static final int HTTP_MULT_CHOICE = 300; // 0x12c 5671 field public static final int HTTP_NOT_ACCEPTABLE = 406; // 0x196 5672 field public static final int HTTP_NOT_AUTHORITATIVE = 203; // 0xcb 5673 field public static final int HTTP_NOT_FOUND = 404; // 0x194 5674 field public static final int HTTP_NOT_IMPLEMENTED = 501; // 0x1f5 5675 field public static final int HTTP_NOT_MODIFIED = 304; // 0x130 5676 field public static final int HTTP_NO_CONTENT = 204; // 0xcc 5677 field public static final int HTTP_OK = 200; // 0xc8 5678 field public static final int HTTP_PARTIAL = 206; // 0xce 5679 field public static final int HTTP_PAYMENT_REQUIRED = 402; // 0x192 5680 field public static final int HTTP_PRECON_FAILED = 412; // 0x19c 5681 field public static final int HTTP_PROXY_AUTH = 407; // 0x197 5682 field public static final int HTTP_REQ_TOO_LONG = 414; // 0x19e 5683 field public static final int HTTP_RESET = 205; // 0xcd 5684 field public static final int HTTP_SEE_OTHER = 303; // 0x12f 5685 field @Deprecated public static final int HTTP_SERVER_ERROR = 500; // 0x1f4 5686 field public static final int HTTP_UNAUTHORIZED = 401; // 0x191 5687 field public static final int HTTP_UNAVAILABLE = 503; // 0x1f7 5688 field public static final int HTTP_UNSUPPORTED_TYPE = 415; // 0x19f 5689 field public static final int HTTP_USE_PROXY = 305; // 0x131 5690 field public static final int HTTP_VERSION = 505; // 0x1f9 5691 field protected int chunkLength; 5692 field protected int fixedContentLength; 5693 field protected long fixedContentLengthLong; 5694 field protected boolean instanceFollowRedirects; 5695 field protected String method; 5696 field protected int responseCode; 5697 field protected String responseMessage; 5698 } 5699 5700 public final class IDN { 5701 method public static String toASCII(String, int); 5702 method public static String toASCII(String); 5703 method public static String toUnicode(String, int); 5704 method public static String toUnicode(String); 5705 field public static final int ALLOW_UNASSIGNED = 1; // 0x1 5706 field public static final int USE_STD3_ASCII_RULES = 2; // 0x2 5707 } 5708 5709 public final class Inet4Address extends java.net.InetAddress { 5710 } 5711 5712 public final class Inet6Address extends java.net.InetAddress { 5713 method public static java.net.Inet6Address getByAddress(String, byte[], java.net.NetworkInterface) throws java.net.UnknownHostException; 5714 method public static java.net.Inet6Address getByAddress(String, byte[], int) throws java.net.UnknownHostException; 5715 method public int getScopeId(); 5716 method public java.net.NetworkInterface getScopedInterface(); 5717 method public boolean isIPv4CompatibleAddress(); 5718 } 5719 5720 public class InetAddress implements java.io.Serializable { 5721 method public byte[] getAddress(); 5722 method public static java.net.InetAddress[] getAllByName(@Nullable String) throws java.net.UnknownHostException; 5723 method @NonNull public static java.net.InetAddress getByAddress(@Nullable String, byte[]) throws java.net.UnknownHostException; 5724 method @NonNull public static java.net.InetAddress getByAddress(byte[]) throws java.net.UnknownHostException; 5725 method @NonNull public static java.net.InetAddress getByName(@Nullable String) throws java.net.UnknownHostException; 5726 method @NonNull public String getCanonicalHostName(); 5727 method @Nullable public String getHostAddress(); 5728 method @NonNull public String getHostName(); 5729 method @NonNull public static java.net.InetAddress getLocalHost() throws java.net.UnknownHostException; 5730 method @NonNull public static java.net.InetAddress getLoopbackAddress(); 5731 method public boolean isAnyLocalAddress(); 5732 method public boolean isLinkLocalAddress(); 5733 method public boolean isLoopbackAddress(); 5734 method public boolean isMCGlobal(); 5735 method public boolean isMCLinkLocal(); 5736 method public boolean isMCNodeLocal(); 5737 method public boolean isMCOrgLocal(); 5738 method public boolean isMCSiteLocal(); 5739 method public boolean isMulticastAddress(); 5740 method public boolean isReachable(int) throws java.io.IOException; 5741 method public boolean isReachable(@Nullable java.net.NetworkInterface, int, int) throws java.io.IOException; 5742 method public boolean isSiteLocalAddress(); 5743 } 5744 5745 public class InetSocketAddress extends java.net.SocketAddress { 5746 ctor public InetSocketAddress(int); 5747 ctor public InetSocketAddress(java.net.InetAddress, int); 5748 ctor public InetSocketAddress(String, int); 5749 method public static java.net.InetSocketAddress createUnresolved(String, int); 5750 method public final boolean equals(Object); 5751 method public final java.net.InetAddress getAddress(); 5752 method public final String getHostName(); 5753 method public final String getHostString(); 5754 method public final int getPort(); 5755 method public final int hashCode(); 5756 method public final boolean isUnresolved(); 5757 } 5758 5759 public class InterfaceAddress { 5760 method public java.net.InetAddress getAddress(); 5761 method public java.net.InetAddress getBroadcast(); 5762 method public short getNetworkPrefixLength(); 5763 } 5764 5765 public abstract class JarURLConnection extends java.net.URLConnection { 5766 ctor protected JarURLConnection(java.net.URL) throws java.net.MalformedURLException; 5767 method public java.util.jar.Attributes getAttributes() throws java.io.IOException; 5768 method public java.security.cert.Certificate[] getCertificates() throws java.io.IOException; 5769 method public String getEntryName(); 5770 method public java.util.jar.JarEntry getJarEntry() throws java.io.IOException; 5771 method public abstract java.util.jar.JarFile getJarFile() throws java.io.IOException; 5772 method public java.net.URL getJarFileURL(); 5773 method public java.util.jar.Attributes getMainAttributes() throws java.io.IOException; 5774 method public java.util.jar.Manifest getManifest() throws java.io.IOException; 5775 field protected java.net.URLConnection jarFileURLConnection; 5776 } 5777 5778 public class MalformedURLException extends java.io.IOException { 5779 ctor public MalformedURLException(); 5780 ctor public MalformedURLException(String); 5781 } 5782 5783 public class MulticastSocket extends java.net.DatagramSocket { 5784 ctor public MulticastSocket() throws java.io.IOException; 5785 ctor public MulticastSocket(int) throws java.io.IOException; 5786 ctor public MulticastSocket(java.net.SocketAddress) throws java.io.IOException; 5787 method public java.net.InetAddress getInterface() throws java.net.SocketException; 5788 method public boolean getLoopbackMode() throws java.net.SocketException; 5789 method public java.net.NetworkInterface getNetworkInterface() throws java.net.SocketException; 5790 method @Deprecated public byte getTTL() throws java.io.IOException; 5791 method public int getTimeToLive() throws java.io.IOException; 5792 method public void joinGroup(java.net.InetAddress) throws java.io.IOException; 5793 method public void joinGroup(java.net.SocketAddress, java.net.NetworkInterface) throws java.io.IOException; 5794 method public void leaveGroup(java.net.InetAddress) throws java.io.IOException; 5795 method public void leaveGroup(java.net.SocketAddress, java.net.NetworkInterface) throws java.io.IOException; 5796 method @Deprecated public void send(java.net.DatagramPacket, byte) throws java.io.IOException; 5797 method public void setInterface(java.net.InetAddress) throws java.net.SocketException; 5798 method public void setLoopbackMode(boolean) throws java.net.SocketException; 5799 method public void setNetworkInterface(java.net.NetworkInterface) throws java.net.SocketException; 5800 method @Deprecated public void setTTL(byte) throws java.io.IOException; 5801 method public void setTimeToLive(int) throws java.io.IOException; 5802 } 5803 5804 public final class NetPermission extends java.security.BasicPermission { 5805 ctor public NetPermission(String); 5806 ctor public NetPermission(String, String); 5807 } 5808 5809 public final class NetworkInterface { 5810 method public static java.net.NetworkInterface getByIndex(int) throws java.net.SocketException; 5811 method public static java.net.NetworkInterface getByInetAddress(java.net.InetAddress) throws java.net.SocketException; 5812 method public static java.net.NetworkInterface getByName(String) throws java.net.SocketException; 5813 method public String getDisplayName(); 5814 method public byte[] getHardwareAddress() throws java.net.SocketException; 5815 method public int getIndex(); 5816 method public java.util.Enumeration<java.net.InetAddress> getInetAddresses(); 5817 method public java.util.List<java.net.InterfaceAddress> getInterfaceAddresses(); 5818 method public int getMTU() throws java.net.SocketException; 5819 method public String getName(); 5820 method public static java.util.Enumeration<java.net.NetworkInterface> getNetworkInterfaces() throws java.net.SocketException; 5821 method public java.net.NetworkInterface getParent(); 5822 method public java.util.Enumeration<java.net.NetworkInterface> getSubInterfaces(); 5823 method public boolean isLoopback() throws java.net.SocketException; 5824 method public boolean isPointToPoint() throws java.net.SocketException; 5825 method public boolean isUp() throws java.net.SocketException; 5826 method public boolean isVirtual(); 5827 method public boolean supportsMulticast() throws java.net.SocketException; 5828 } 5829 5830 public class NoRouteToHostException extends java.net.SocketException { 5831 ctor public NoRouteToHostException(String); 5832 ctor public NoRouteToHostException(); 5833 } 5834 5835 public final class PasswordAuthentication { 5836 ctor public PasswordAuthentication(String, char[]); 5837 method public char[] getPassword(); 5838 method public String getUserName(); 5839 } 5840 5841 public class PortUnreachableException extends java.net.SocketException { 5842 ctor public PortUnreachableException(String); 5843 ctor public PortUnreachableException(); 5844 } 5845 5846 public class ProtocolException extends java.io.IOException { 5847 ctor public ProtocolException(String); 5848 ctor public ProtocolException(); 5849 } 5850 5851 public interface ProtocolFamily { 5852 method public String name(); 5853 } 5854 5855 public class Proxy { 5856 ctor public Proxy(java.net.Proxy.Type, java.net.SocketAddress); 5857 method public java.net.SocketAddress address(); 5858 method public final boolean equals(Object); 5859 method public final int hashCode(); 5860 method public java.net.Proxy.Type type(); 5861 field public static final java.net.Proxy NO_PROXY; 5862 } 5863 5864 public enum Proxy.Type { 5865 enum_constant public static final java.net.Proxy.Type DIRECT; 5866 enum_constant public static final java.net.Proxy.Type HTTP; 5867 enum_constant public static final java.net.Proxy.Type SOCKS; 5868 } 5869 5870 public abstract class ProxySelector { 5871 ctor public ProxySelector(); 5872 method public abstract void connectFailed(java.net.URI, java.net.SocketAddress, java.io.IOException); 5873 method public static java.net.ProxySelector getDefault(); 5874 method public abstract java.util.List<java.net.Proxy> select(java.net.URI); 5875 method public static void setDefault(java.net.ProxySelector); 5876 } 5877 5878 public abstract class ResponseCache { 5879 ctor public ResponseCache(); 5880 method public abstract java.net.CacheResponse get(java.net.URI, String, java.util.Map<java.lang.String,java.util.List<java.lang.String>>) throws java.io.IOException; 5881 method public static java.net.ResponseCache getDefault(); 5882 method public abstract java.net.CacheRequest put(java.net.URI, java.net.URLConnection) throws java.io.IOException; 5883 method public static void setDefault(java.net.ResponseCache); 5884 } 5885 5886 public abstract class SecureCacheResponse extends java.net.CacheResponse { 5887 ctor public SecureCacheResponse(); 5888 method public abstract String getCipherSuite(); 5889 method public abstract java.util.List<java.security.cert.Certificate> getLocalCertificateChain(); 5890 method public abstract java.security.Principal getLocalPrincipal(); 5891 method public abstract java.security.Principal getPeerPrincipal() throws javax.net.ssl.SSLPeerUnverifiedException; 5892 method public abstract java.util.List<java.security.cert.Certificate> getServerCertificateChain() throws javax.net.ssl.SSLPeerUnverifiedException; 5893 } 5894 5895 public class ServerSocket implements java.io.Closeable { 5896 ctor public ServerSocket() throws java.io.IOException; 5897 ctor public ServerSocket(int) throws java.io.IOException; 5898 ctor public ServerSocket(int, int) throws java.io.IOException; 5899 ctor public ServerSocket(int, int, java.net.InetAddress) throws java.io.IOException; 5900 method public java.net.Socket accept() throws java.io.IOException; 5901 method public void bind(java.net.SocketAddress) throws java.io.IOException; 5902 method public void bind(java.net.SocketAddress, int) throws java.io.IOException; 5903 method public void close() throws java.io.IOException; 5904 method public java.nio.channels.ServerSocketChannel getChannel(); 5905 method public java.net.InetAddress getInetAddress(); 5906 method public int getLocalPort(); 5907 method public java.net.SocketAddress getLocalSocketAddress(); 5908 method public <T> T getOption(java.net.SocketOption<T>) throws java.io.IOException; 5909 method public int getReceiveBufferSize() throws java.net.SocketException; 5910 method public boolean getReuseAddress() throws java.net.SocketException; 5911 method public int getSoTimeout() throws java.io.IOException; 5912 method protected final void implAccept(java.net.Socket) throws java.io.IOException; 5913 method public boolean isBound(); 5914 method public boolean isClosed(); 5915 method public <T> java.net.ServerSocket setOption(java.net.SocketOption<T>, T) throws java.io.IOException; 5916 method public void setPerformancePreferences(int, int, int); 5917 method public void setReceiveBufferSize(int) throws java.net.SocketException; 5918 method public void setReuseAddress(boolean) throws java.net.SocketException; 5919 method public void setSoTimeout(int) throws java.net.SocketException; 5920 method public static void setSocketFactory(java.net.SocketImplFactory) throws java.io.IOException; 5921 method public java.util.Set<java.net.SocketOption<?>> supportedOptions(); 5922 } 5923 5924 public class Socket implements java.io.Closeable { 5925 ctor public Socket(); 5926 ctor public Socket(java.net.Proxy); 5927 ctor protected Socket(java.net.SocketImpl) throws java.net.SocketException; 5928 ctor public Socket(String, int) throws java.io.IOException, java.net.UnknownHostException; 5929 ctor public Socket(java.net.InetAddress, int) throws java.io.IOException; 5930 ctor public Socket(String, int, java.net.InetAddress, int) throws java.io.IOException; 5931 ctor public Socket(java.net.InetAddress, int, java.net.InetAddress, int) throws java.io.IOException; 5932 ctor @Deprecated public Socket(String, int, boolean) throws java.io.IOException; 5933 ctor @Deprecated public Socket(java.net.InetAddress, int, boolean) throws java.io.IOException; 5934 method public void bind(java.net.SocketAddress) throws java.io.IOException; 5935 method public void close() throws java.io.IOException; 5936 method public void connect(java.net.SocketAddress) throws java.io.IOException; 5937 method public void connect(java.net.SocketAddress, int) throws java.io.IOException; 5938 method public java.nio.channels.SocketChannel getChannel(); 5939 method public java.net.InetAddress getInetAddress(); 5940 method public java.io.InputStream getInputStream() throws java.io.IOException; 5941 method public boolean getKeepAlive() throws java.net.SocketException; 5942 method public java.net.InetAddress getLocalAddress(); 5943 method public int getLocalPort(); 5944 method public java.net.SocketAddress getLocalSocketAddress(); 5945 method public boolean getOOBInline() throws java.net.SocketException; 5946 method public <T> T getOption(java.net.SocketOption<T>) throws java.io.IOException; 5947 method public java.io.OutputStream getOutputStream() throws java.io.IOException; 5948 method public int getPort(); 5949 method public int getReceiveBufferSize() throws java.net.SocketException; 5950 method public java.net.SocketAddress getRemoteSocketAddress(); 5951 method public boolean getReuseAddress() throws java.net.SocketException; 5952 method public int getSendBufferSize() throws java.net.SocketException; 5953 method public int getSoLinger() throws java.net.SocketException; 5954 method public int getSoTimeout() throws java.net.SocketException; 5955 method public boolean getTcpNoDelay() throws java.net.SocketException; 5956 method public int getTrafficClass() throws java.net.SocketException; 5957 method public boolean isBound(); 5958 method public boolean isClosed(); 5959 method public boolean isConnected(); 5960 method public boolean isInputShutdown(); 5961 method public boolean isOutputShutdown(); 5962 method public void sendUrgentData(int) throws java.io.IOException; 5963 method public void setKeepAlive(boolean) throws java.net.SocketException; 5964 method public void setOOBInline(boolean) throws java.net.SocketException; 5965 method public <T> java.net.Socket setOption(java.net.SocketOption<T>, T) throws java.io.IOException; 5966 method public void setPerformancePreferences(int, int, int); 5967 method public void setReceiveBufferSize(int) throws java.net.SocketException; 5968 method public void setReuseAddress(boolean) throws java.net.SocketException; 5969 method public void setSendBufferSize(int) throws java.net.SocketException; 5970 method public void setSoLinger(boolean, int) throws java.net.SocketException; 5971 method public void setSoTimeout(int) throws java.net.SocketException; 5972 method public static void setSocketImplFactory(java.net.SocketImplFactory) throws java.io.IOException; 5973 method public void setTcpNoDelay(boolean) throws java.net.SocketException; 5974 method public void setTrafficClass(int) throws java.net.SocketException; 5975 method public void shutdownInput() throws java.io.IOException; 5976 method public void shutdownOutput() throws java.io.IOException; 5977 method public java.util.Set<java.net.SocketOption<?>> supportedOptions(); 5978 } 5979 5980 public abstract class SocketAddress implements java.io.Serializable { 5981 ctor public SocketAddress(); 5982 } 5983 5984 public class SocketException extends java.io.IOException { 5985 ctor public SocketException(String); 5986 ctor public SocketException(); 5987 } 5988 5989 public abstract class SocketImpl implements java.net.SocketOptions { 5990 ctor public SocketImpl(); 5991 method protected abstract void accept(java.net.SocketImpl) throws java.io.IOException; 5992 method protected abstract int available() throws java.io.IOException; 5993 method protected abstract void bind(java.net.InetAddress, int) throws java.io.IOException; 5994 method protected abstract void close() throws java.io.IOException; 5995 method protected abstract void connect(String, int) throws java.io.IOException; 5996 method protected abstract void connect(java.net.InetAddress, int) throws java.io.IOException; 5997 method protected abstract void connect(java.net.SocketAddress, int) throws java.io.IOException; 5998 method protected abstract void create(boolean) throws java.io.IOException; 5999 method protected java.io.FileDescriptor getFileDescriptor(); 6000 method protected java.net.InetAddress getInetAddress(); 6001 method protected abstract java.io.InputStream getInputStream() throws java.io.IOException; 6002 method protected int getLocalPort(); 6003 method protected <T> T getOption(java.net.SocketOption<T>) throws java.io.IOException; 6004 method protected abstract java.io.OutputStream getOutputStream() throws java.io.IOException; 6005 method protected int getPort(); 6006 method protected abstract void listen(int) throws java.io.IOException; 6007 method protected abstract void sendUrgentData(int) throws java.io.IOException; 6008 method protected <T> void setOption(java.net.SocketOption<T>, T) throws java.io.IOException; 6009 method protected void setPerformancePreferences(int, int, int); 6010 method protected void shutdownInput() throws java.io.IOException; 6011 method protected void shutdownOutput() throws java.io.IOException; 6012 method protected java.util.Set<java.net.SocketOption<?>> supportedOptions(); 6013 method protected boolean supportsUrgentData(); 6014 field protected java.net.InetAddress address; 6015 field protected java.io.FileDescriptor fd; 6016 field protected int localport; 6017 field protected int port; 6018 } 6019 6020 public interface SocketImplFactory { 6021 method public java.net.SocketImpl createSocketImpl(); 6022 } 6023 6024 public interface SocketOption<T> { 6025 method public String name(); 6026 method public Class<T> type(); 6027 } 6028 6029 public interface SocketOptions { 6030 method public Object getOption(int) throws java.net.SocketException; 6031 method public void setOption(int, Object) throws java.net.SocketException; 6032 field public static final int IP_MULTICAST_IF = 16; // 0x10 6033 field public static final int IP_MULTICAST_IF2 = 31; // 0x1f 6034 field public static final int IP_MULTICAST_LOOP = 18; // 0x12 6035 field public static final int IP_TOS = 3; // 0x3 6036 field public static final int SO_BINDADDR = 15; // 0xf 6037 field public static final int SO_BROADCAST = 32; // 0x20 6038 field public static final int SO_KEEPALIVE = 8; // 0x8 6039 field public static final int SO_LINGER = 128; // 0x80 6040 field public static final int SO_OOBINLINE = 4099; // 0x1003 6041 field public static final int SO_RCVBUF = 4098; // 0x1002 6042 field public static final int SO_REUSEADDR = 4; // 0x4 6043 field public static final int SO_REUSEPORT = 14; // 0xe 6044 field public static final int SO_SNDBUF = 4097; // 0x1001 6045 field public static final int SO_TIMEOUT = 4102; // 0x1006 6046 field public static final int TCP_NODELAY = 1; // 0x1 6047 } 6048 6049 public final class SocketPermission extends java.security.Permission implements java.io.Serializable { 6050 ctor public SocketPermission(String, String); 6051 method public String getActions(); 6052 method public boolean implies(java.security.Permission); 6053 } 6054 6055 public class SocketTimeoutException extends java.io.InterruptedIOException { 6056 ctor public SocketTimeoutException(String); 6057 ctor public SocketTimeoutException(); 6058 } 6059 6060 public enum StandardProtocolFamily implements java.net.ProtocolFamily { 6061 enum_constant public static final java.net.StandardProtocolFamily INET; 6062 enum_constant public static final java.net.StandardProtocolFamily INET6; 6063 enum_constant public static final java.net.StandardProtocolFamily UNIX; 6064 } 6065 6066 public final class StandardSocketOptions { 6067 field public static final java.net.SocketOption<java.net.NetworkInterface> IP_MULTICAST_IF; 6068 field public static final java.net.SocketOption<java.lang.Boolean> IP_MULTICAST_LOOP; 6069 field public static final java.net.SocketOption<java.lang.Integer> IP_MULTICAST_TTL; 6070 field public static final java.net.SocketOption<java.lang.Integer> IP_TOS; 6071 field public static final java.net.SocketOption<java.lang.Boolean> SO_BROADCAST; 6072 field public static final java.net.SocketOption<java.lang.Boolean> SO_KEEPALIVE; 6073 field public static final java.net.SocketOption<java.lang.Integer> SO_LINGER; 6074 field public static final java.net.SocketOption<java.lang.Integer> SO_RCVBUF; 6075 field public static final java.net.SocketOption<java.lang.Boolean> SO_REUSEADDR; 6076 field public static final java.net.SocketOption<java.lang.Boolean> SO_REUSEPORT; 6077 field public static final java.net.SocketOption<java.lang.Integer> SO_SNDBUF; 6078 field public static final java.net.SocketOption<java.lang.Boolean> TCP_NODELAY; 6079 } 6080 6081 public final class URI implements java.lang.Comparable<java.net.URI> java.io.Serializable { 6082 ctor public URI(String) throws java.net.URISyntaxException; 6083 ctor public URI(String, String, String, int, String, String, String) throws java.net.URISyntaxException; 6084 ctor public URI(String, String, String, String, String) throws java.net.URISyntaxException; 6085 ctor public URI(String, String, String, String) throws java.net.URISyntaxException; 6086 ctor public URI(String, String, String) throws java.net.URISyntaxException; 6087 method public int compareTo(java.net.URI); 6088 method public static java.net.URI create(String); 6089 method public String getAuthority(); 6090 method public String getFragment(); 6091 method public String getHost(); 6092 method public String getPath(); 6093 method public int getPort(); 6094 method public String getQuery(); 6095 method public String getRawAuthority(); 6096 method public String getRawFragment(); 6097 method public String getRawPath(); 6098 method public String getRawQuery(); 6099 method public String getRawSchemeSpecificPart(); 6100 method public String getRawUserInfo(); 6101 method public String getScheme(); 6102 method public String getSchemeSpecificPart(); 6103 method public String getUserInfo(); 6104 method public boolean isAbsolute(); 6105 method public boolean isOpaque(); 6106 method public java.net.URI normalize(); 6107 method public java.net.URI parseServerAuthority() throws java.net.URISyntaxException; 6108 method public java.net.URI relativize(java.net.URI); 6109 method public java.net.URI resolve(java.net.URI); 6110 method public java.net.URI resolve(String); 6111 method public String toASCIIString(); 6112 method public java.net.URL toURL() throws java.net.MalformedURLException; 6113 } 6114 6115 public class URISyntaxException extends java.lang.Exception { 6116 ctor public URISyntaxException(String, String, int); 6117 ctor public URISyntaxException(String, String); 6118 method public int getIndex(); 6119 method public String getInput(); 6120 method public String getReason(); 6121 } 6122 6123 public final class URL implements java.io.Serializable { 6124 ctor public URL(String, String, int, String) throws java.net.MalformedURLException; 6125 ctor public URL(String, String, String) throws java.net.MalformedURLException; 6126 ctor public URL(String, String, int, String, java.net.URLStreamHandler) throws java.net.MalformedURLException; 6127 ctor public URL(String) throws java.net.MalformedURLException; 6128 ctor public URL(java.net.URL, String) throws java.net.MalformedURLException; 6129 ctor public URL(java.net.URL, String, java.net.URLStreamHandler) throws java.net.MalformedURLException; 6130 method public String getAuthority(); 6131 method public Object getContent() throws java.io.IOException; 6132 method public Object getContent(Class[]) throws java.io.IOException; 6133 method public int getDefaultPort(); 6134 method public String getFile(); 6135 method public String getHost(); 6136 method public String getPath(); 6137 method public int getPort(); 6138 method public String getProtocol(); 6139 method public String getQuery(); 6140 method public String getRef(); 6141 method public String getUserInfo(); 6142 method public java.net.URLConnection openConnection() throws java.io.IOException; 6143 method public java.net.URLConnection openConnection(java.net.Proxy) throws java.io.IOException; 6144 method public java.io.InputStream openStream() throws java.io.IOException; 6145 method public boolean sameFile(java.net.URL); 6146 method public static void setURLStreamHandlerFactory(java.net.URLStreamHandlerFactory); 6147 method public String toExternalForm(); 6148 method public java.net.URI toURI() throws java.net.URISyntaxException; 6149 } 6150 6151 public class URLClassLoader extends java.security.SecureClassLoader implements java.io.Closeable { 6152 ctor public URLClassLoader(java.net.URL[], ClassLoader); 6153 ctor public URLClassLoader(java.net.URL[]); 6154 ctor public URLClassLoader(java.net.URL[], ClassLoader, java.net.URLStreamHandlerFactory); 6155 method protected void addURL(java.net.URL); 6156 method public void close() throws java.io.IOException; 6157 method protected Package definePackage(String, java.util.jar.Manifest, java.net.URL) throws java.lang.IllegalArgumentException; 6158 method public java.net.URL findResource(String); 6159 method public java.util.Enumeration<java.net.URL> findResources(String) throws java.io.IOException; 6160 method public java.net.URL[] getURLs(); 6161 method public static java.net.URLClassLoader newInstance(java.net.URL[], ClassLoader); 6162 method public static java.net.URLClassLoader newInstance(java.net.URL[]); 6163 } 6164 6165 public abstract class URLConnection { 6166 ctor protected URLConnection(java.net.URL); 6167 method public void addRequestProperty(String, String); 6168 method public abstract void connect() throws java.io.IOException; 6169 method public boolean getAllowUserInteraction(); 6170 method public int getConnectTimeout(); 6171 method public Object getContent() throws java.io.IOException; 6172 method public Object getContent(Class[]) throws java.io.IOException; 6173 method public String getContentEncoding(); 6174 method public int getContentLength(); 6175 method public long getContentLengthLong(); 6176 method public String getContentType(); 6177 method public long getDate(); 6178 method public static boolean getDefaultAllowUserInteraction(); 6179 method @Deprecated public static String getDefaultRequestProperty(String); 6180 method public boolean getDefaultUseCaches(); 6181 method public boolean getDoInput(); 6182 method public boolean getDoOutput(); 6183 method public long getExpiration(); 6184 method public static java.net.FileNameMap getFileNameMap(); 6185 method public String getHeaderField(String); 6186 method public String getHeaderField(int); 6187 method public long getHeaderFieldDate(String, long); 6188 method public int getHeaderFieldInt(String, int); 6189 method public String getHeaderFieldKey(int); 6190 method public long getHeaderFieldLong(String, long); 6191 method public java.util.Map<java.lang.String,java.util.List<java.lang.String>> getHeaderFields(); 6192 method public long getIfModifiedSince(); 6193 method public java.io.InputStream getInputStream() throws java.io.IOException; 6194 method public long getLastModified(); 6195 method public java.io.OutputStream getOutputStream() throws java.io.IOException; 6196 method public java.security.Permission getPermission() throws java.io.IOException; 6197 method public int getReadTimeout(); 6198 method public java.util.Map<java.lang.String,java.util.List<java.lang.String>> getRequestProperties(); 6199 method public String getRequestProperty(String); 6200 method public java.net.URL getURL(); 6201 method public boolean getUseCaches(); 6202 method public static String guessContentTypeFromName(String); 6203 method public static String guessContentTypeFromStream(java.io.InputStream) throws java.io.IOException; 6204 method public void setAllowUserInteraction(boolean); 6205 method public void setConnectTimeout(int); 6206 method public static void setContentHandlerFactory(java.net.ContentHandlerFactory); 6207 method public static void setDefaultAllowUserInteraction(boolean); 6208 method @Deprecated public static void setDefaultRequestProperty(String, String); 6209 method public void setDefaultUseCaches(boolean); 6210 method public void setDoInput(boolean); 6211 method public void setDoOutput(boolean); 6212 method public static void setFileNameMap(java.net.FileNameMap); 6213 method public void setIfModifiedSince(long); 6214 method public void setReadTimeout(int); 6215 method public void setRequestProperty(String, String); 6216 method public void setUseCaches(boolean); 6217 field protected boolean allowUserInteraction; 6218 field protected boolean connected; 6219 field protected boolean doInput; 6220 field protected boolean doOutput; 6221 field protected long ifModifiedSince; 6222 field protected java.net.URL url; 6223 field protected boolean useCaches; 6224 } 6225 6226 public class URLDecoder { 6227 ctor public URLDecoder(); 6228 method @Deprecated public static String decode(String); 6229 method public static String decode(String, String) throws java.io.UnsupportedEncodingException; 6230 method public static String decode(String, java.nio.charset.Charset); 6231 } 6232 6233 public class URLEncoder { 6234 method @Deprecated public static String encode(String); 6235 method public static String encode(String, String) throws java.io.UnsupportedEncodingException; 6236 method public static String encode(String, java.nio.charset.Charset); 6237 } 6238 6239 public abstract class URLStreamHandler { 6240 ctor public URLStreamHandler(); 6241 method protected boolean equals(java.net.URL, java.net.URL); 6242 method protected int getDefaultPort(); 6243 method protected java.net.InetAddress getHostAddress(java.net.URL); 6244 method protected int hashCode(java.net.URL); 6245 method protected boolean hostsEqual(java.net.URL, java.net.URL); 6246 method protected abstract java.net.URLConnection openConnection(java.net.URL) throws java.io.IOException; 6247 method protected java.net.URLConnection openConnection(java.net.URL, java.net.Proxy) throws java.io.IOException; 6248 method protected void parseURL(java.net.URL, String, int, int); 6249 method protected boolean sameFile(java.net.URL, java.net.URL); 6250 method protected void setURL(java.net.URL, String, String, int, String, String, String, String, String); 6251 method @Deprecated protected void setURL(java.net.URL, String, String, int, String, String); 6252 method protected String toExternalForm(java.net.URL); 6253 } 6254 6255 public interface URLStreamHandlerFactory { 6256 method public java.net.URLStreamHandler createURLStreamHandler(String); 6257 } 6258 6259 public class UnknownHostException extends java.io.IOException { 6260 ctor public UnknownHostException(String); 6261 ctor public UnknownHostException(); 6262 } 6263 6264 public class UnknownServiceException extends java.io.IOException { 6265 ctor public UnknownServiceException(); 6266 ctor public UnknownServiceException(String); 6267 } 6268 6269} 6270 6271package java.nio { 6272 6273 public abstract class Buffer { 6274 method public abstract Object array(); 6275 method public abstract int arrayOffset(); 6276 method public final int capacity(); 6277 method public java.nio.Buffer clear(); 6278 method public abstract java.nio.Buffer duplicate(); 6279 method public java.nio.Buffer flip(); 6280 method public abstract boolean hasArray(); 6281 method public final boolean hasRemaining(); 6282 method public abstract boolean isDirect(); 6283 method public abstract boolean isReadOnly(); 6284 method public final int limit(); 6285 method public java.nio.Buffer limit(int); 6286 method public java.nio.Buffer mark(); 6287 method public final int position(); 6288 method public java.nio.Buffer position(int); 6289 method public final int remaining(); 6290 method public java.nio.Buffer reset(); 6291 method public java.nio.Buffer rewind(); 6292 method public abstract java.nio.Buffer slice(); 6293 method public abstract java.nio.Buffer slice(int, int); 6294 } 6295 6296 public class BufferOverflowException extends java.lang.RuntimeException { 6297 ctor public BufferOverflowException(); 6298 } 6299 6300 public class BufferUnderflowException extends java.lang.RuntimeException { 6301 ctor public BufferUnderflowException(); 6302 } 6303 6304 public abstract class ByteBuffer extends java.nio.Buffer implements java.lang.Comparable<java.nio.ByteBuffer> { 6305 method @NonNull public final java.nio.ByteBuffer alignedSlice(int); 6306 method public final int alignmentOffset(int, int); 6307 method @NonNull public static java.nio.ByteBuffer allocate(int); 6308 method @NonNull public static java.nio.ByteBuffer allocateDirect(int); 6309 method @NonNull public final byte[] array(); 6310 method public final int arrayOffset(); 6311 method @NonNull public abstract java.nio.CharBuffer asCharBuffer(); 6312 method @NonNull public abstract java.nio.DoubleBuffer asDoubleBuffer(); 6313 method @NonNull public abstract java.nio.FloatBuffer asFloatBuffer(); 6314 method @NonNull public abstract java.nio.IntBuffer asIntBuffer(); 6315 method @NonNull public abstract java.nio.LongBuffer asLongBuffer(); 6316 method @NonNull public abstract java.nio.ByteBuffer asReadOnlyBuffer(); 6317 method @NonNull public abstract java.nio.ShortBuffer asShortBuffer(); 6318 method @NonNull public abstract java.nio.ByteBuffer compact(); 6319 method public int compareTo(@NonNull java.nio.ByteBuffer); 6320 method @NonNull public abstract java.nio.ByteBuffer duplicate(); 6321 method public abstract byte get(); 6322 method public abstract byte get(int); 6323 method @NonNull public java.nio.ByteBuffer get(@NonNull byte[], int, int); 6324 method @NonNull public java.nio.ByteBuffer get(@NonNull byte[]); 6325 method @FlaggedApi("com.android.libcore.v_apis") @NonNull public java.nio.ByteBuffer get(int, @NonNull byte[], int, int); 6326 method @FlaggedApi("com.android.libcore.v_apis") @NonNull public java.nio.ByteBuffer get(int, @NonNull byte[]); 6327 method public abstract char getChar(); 6328 method public abstract char getChar(int); 6329 method public abstract double getDouble(); 6330 method public abstract double getDouble(int); 6331 method public abstract float getFloat(); 6332 method public abstract float getFloat(int); 6333 method public abstract int getInt(); 6334 method public abstract int getInt(int); 6335 method public abstract long getLong(); 6336 method public abstract long getLong(int); 6337 method public abstract short getShort(); 6338 method public abstract short getShort(int); 6339 method public final boolean hasArray(); 6340 method public int mismatch(@NonNull java.nio.ByteBuffer); 6341 method @NonNull public final java.nio.ByteOrder order(); 6342 method @NonNull public final java.nio.ByteBuffer order(@NonNull java.nio.ByteOrder); 6343 method @NonNull public abstract java.nio.ByteBuffer put(byte); 6344 method @NonNull public abstract java.nio.ByteBuffer put(int, byte); 6345 method @NonNull public java.nio.ByteBuffer put(@NonNull java.nio.ByteBuffer); 6346 method @FlaggedApi("com.android.libcore.v_apis") @NonNull public java.nio.ByteBuffer put(int, @NonNull java.nio.ByteBuffer, int, int); 6347 method @NonNull public java.nio.ByteBuffer put(@NonNull byte[], int, int); 6348 method @NonNull public final java.nio.ByteBuffer put(@NonNull byte[]); 6349 method @FlaggedApi("com.android.libcore.v_apis") @NonNull public java.nio.ByteBuffer put(int, @NonNull byte[], int, int); 6350 method @FlaggedApi("com.android.libcore.v_apis") @NonNull public java.nio.ByteBuffer put(int, @NonNull byte[]); 6351 method @NonNull public abstract java.nio.ByteBuffer putChar(char); 6352 method @NonNull public abstract java.nio.ByteBuffer putChar(int, char); 6353 method @NonNull public abstract java.nio.ByteBuffer putDouble(double); 6354 method @NonNull public abstract java.nio.ByteBuffer putDouble(int, double); 6355 method @NonNull public abstract java.nio.ByteBuffer putFloat(float); 6356 method @NonNull public abstract java.nio.ByteBuffer putFloat(int, float); 6357 method @NonNull public abstract java.nio.ByteBuffer putInt(int); 6358 method @NonNull public abstract java.nio.ByteBuffer putInt(int, int); 6359 method @NonNull public abstract java.nio.ByteBuffer putLong(long); 6360 method @NonNull public abstract java.nio.ByteBuffer putLong(int, long); 6361 method @NonNull public abstract java.nio.ByteBuffer putShort(short); 6362 method @NonNull public abstract java.nio.ByteBuffer putShort(int, short); 6363 method @NonNull public abstract java.nio.ByteBuffer slice(); 6364 method @NonNull public abstract java.nio.ByteBuffer slice(int, int); 6365 method @NonNull public static java.nio.ByteBuffer wrap(@NonNull byte[], int, int); 6366 method @NonNull public static java.nio.ByteBuffer wrap(@NonNull byte[]); 6367 } 6368 6369 public final class ByteOrder { 6370 method public static java.nio.ByteOrder nativeOrder(); 6371 field public static final java.nio.ByteOrder BIG_ENDIAN; 6372 field public static final java.nio.ByteOrder LITTLE_ENDIAN; 6373 } 6374 6375 public abstract class CharBuffer extends java.nio.Buffer implements java.lang.Appendable java.lang.CharSequence java.lang.Comparable<java.nio.CharBuffer> java.lang.Readable { 6376 method public static java.nio.CharBuffer allocate(int); 6377 method public java.nio.CharBuffer append(CharSequence); 6378 method public java.nio.CharBuffer append(CharSequence, int, int); 6379 method public java.nio.CharBuffer append(char); 6380 method public final char[] array(); 6381 method public final int arrayOffset(); 6382 method public abstract java.nio.CharBuffer asReadOnlyBuffer(); 6383 method public final char charAt(int); 6384 method public java.util.stream.IntStream chars(); 6385 method public abstract java.nio.CharBuffer compact(); 6386 method public int compareTo(java.nio.CharBuffer); 6387 method public abstract java.nio.CharBuffer duplicate(); 6388 method public abstract char get(); 6389 method public abstract char get(int); 6390 method public java.nio.CharBuffer get(char[], int, int); 6391 method public java.nio.CharBuffer get(char[]); 6392 method @FlaggedApi("com.android.libcore.v_apis") public java.nio.CharBuffer get(int, char[], int, int); 6393 method @FlaggedApi("com.android.libcore.v_apis") public java.nio.CharBuffer get(int, char[]); 6394 method public final boolean hasArray(); 6395 method public final boolean isEmpty(); 6396 method public final int length(); 6397 method public int mismatch(java.nio.CharBuffer); 6398 method public abstract java.nio.ByteOrder order(); 6399 method public abstract java.nio.CharBuffer put(char); 6400 method public abstract java.nio.CharBuffer put(int, char); 6401 method public java.nio.CharBuffer put(java.nio.CharBuffer); 6402 method @FlaggedApi("com.android.libcore.v_apis") public java.nio.CharBuffer put(int, java.nio.CharBuffer, int, int); 6403 method public java.nio.CharBuffer put(char[], int, int); 6404 method public final java.nio.CharBuffer put(char[]); 6405 method @FlaggedApi("com.android.libcore.v_apis") public java.nio.CharBuffer put(int, char[], int, int); 6406 method @FlaggedApi("com.android.libcore.v_apis") public java.nio.CharBuffer put(int, char[]); 6407 method public java.nio.CharBuffer put(String, int, int); 6408 method public final java.nio.CharBuffer put(String); 6409 method public int read(java.nio.CharBuffer) throws java.io.IOException; 6410 method public abstract java.nio.CharBuffer slice(); 6411 method public abstract java.nio.CharBuffer slice(int, int); 6412 method public abstract java.nio.CharBuffer subSequence(int, int); 6413 method public String toString(); 6414 method public static java.nio.CharBuffer wrap(char[], int, int); 6415 method public static java.nio.CharBuffer wrap(char[]); 6416 method public static java.nio.CharBuffer wrap(CharSequence, int, int); 6417 method public static java.nio.CharBuffer wrap(CharSequence); 6418 } 6419 6420 public abstract class DoubleBuffer extends java.nio.Buffer implements java.lang.Comparable<java.nio.DoubleBuffer> { 6421 method public static java.nio.DoubleBuffer allocate(int); 6422 method public final double[] array(); 6423 method public final int arrayOffset(); 6424 method public abstract java.nio.DoubleBuffer asReadOnlyBuffer(); 6425 method public abstract java.nio.DoubleBuffer compact(); 6426 method public int compareTo(java.nio.DoubleBuffer); 6427 method public abstract java.nio.DoubleBuffer duplicate(); 6428 method public abstract double get(); 6429 method public abstract double get(int); 6430 method public java.nio.DoubleBuffer get(double[], int, int); 6431 method public java.nio.DoubleBuffer get(double[]); 6432 method @FlaggedApi("com.android.libcore.v_apis") public java.nio.DoubleBuffer get(int, double[], int, int); 6433 method @FlaggedApi("com.android.libcore.v_apis") public java.nio.DoubleBuffer get(int, double[]); 6434 method public final boolean hasArray(); 6435 method public int mismatch(java.nio.DoubleBuffer); 6436 method public abstract java.nio.ByteOrder order(); 6437 method public abstract java.nio.DoubleBuffer put(double); 6438 method public abstract java.nio.DoubleBuffer put(int, double); 6439 method public java.nio.DoubleBuffer put(java.nio.DoubleBuffer); 6440 method @FlaggedApi("com.android.libcore.v_apis") public java.nio.DoubleBuffer put(int, java.nio.DoubleBuffer, int, int); 6441 method public java.nio.DoubleBuffer put(double[], int, int); 6442 method public final java.nio.DoubleBuffer put(double[]); 6443 method @FlaggedApi("com.android.libcore.v_apis") public java.nio.DoubleBuffer put(int, double[], int, int); 6444 method @FlaggedApi("com.android.libcore.v_apis") public java.nio.DoubleBuffer put(int, double[]); 6445 method public abstract java.nio.DoubleBuffer slice(); 6446 method public abstract java.nio.DoubleBuffer slice(int, int); 6447 method public static java.nio.DoubleBuffer wrap(double[], int, int); 6448 method public static java.nio.DoubleBuffer wrap(double[]); 6449 } 6450 6451 public abstract class FloatBuffer extends java.nio.Buffer implements java.lang.Comparable<java.nio.FloatBuffer> { 6452 method public static java.nio.FloatBuffer allocate(int); 6453 method public final float[] array(); 6454 method public final int arrayOffset(); 6455 method public abstract java.nio.FloatBuffer asReadOnlyBuffer(); 6456 method public abstract java.nio.FloatBuffer compact(); 6457 method public int compareTo(java.nio.FloatBuffer); 6458 method public abstract java.nio.FloatBuffer duplicate(); 6459 method public abstract float get(); 6460 method public abstract float get(int); 6461 method public java.nio.FloatBuffer get(float[], int, int); 6462 method public java.nio.FloatBuffer get(float[]); 6463 method @FlaggedApi("com.android.libcore.v_apis") public java.nio.FloatBuffer get(int, float[], int, int); 6464 method @FlaggedApi("com.android.libcore.v_apis") public java.nio.FloatBuffer get(int, float[]); 6465 method public final boolean hasArray(); 6466 method public int mismatch(java.nio.FloatBuffer); 6467 method public abstract java.nio.ByteOrder order(); 6468 method public abstract java.nio.FloatBuffer put(float); 6469 method public abstract java.nio.FloatBuffer put(int, float); 6470 method public java.nio.FloatBuffer put(java.nio.FloatBuffer); 6471 method @FlaggedApi("com.android.libcore.v_apis") public java.nio.FloatBuffer put(int, java.nio.FloatBuffer, int, int); 6472 method public java.nio.FloatBuffer put(float[], int, int); 6473 method public final java.nio.FloatBuffer put(float[]); 6474 method @FlaggedApi("com.android.libcore.v_apis") public java.nio.FloatBuffer put(int, float[], int, int); 6475 method @FlaggedApi("com.android.libcore.v_apis") public java.nio.FloatBuffer put(int, float[]); 6476 method public abstract java.nio.FloatBuffer slice(); 6477 method public abstract java.nio.FloatBuffer slice(int, int); 6478 method public static java.nio.FloatBuffer wrap(float[], int, int); 6479 method public static java.nio.FloatBuffer wrap(float[]); 6480 } 6481 6482 public abstract class IntBuffer extends java.nio.Buffer implements java.lang.Comparable<java.nio.IntBuffer> { 6483 method public static java.nio.IntBuffer allocate(int); 6484 method public final int[] array(); 6485 method public final int arrayOffset(); 6486 method public abstract java.nio.IntBuffer asReadOnlyBuffer(); 6487 method public abstract java.nio.IntBuffer compact(); 6488 method public int compareTo(java.nio.IntBuffer); 6489 method public abstract java.nio.IntBuffer duplicate(); 6490 method public abstract int get(); 6491 method public abstract int get(int); 6492 method public java.nio.IntBuffer get(int[], int, int); 6493 method public java.nio.IntBuffer get(int[]); 6494 method @FlaggedApi("com.android.libcore.v_apis") public java.nio.IntBuffer get(int, int[], int, int); 6495 method @FlaggedApi("com.android.libcore.v_apis") public java.nio.IntBuffer get(int, int[]); 6496 method public final boolean hasArray(); 6497 method public int mismatch(java.nio.IntBuffer); 6498 method public abstract java.nio.ByteOrder order(); 6499 method public abstract java.nio.IntBuffer put(int); 6500 method public abstract java.nio.IntBuffer put(int, int); 6501 method public java.nio.IntBuffer put(java.nio.IntBuffer); 6502 method @FlaggedApi("com.android.libcore.v_apis") public java.nio.IntBuffer put(int, java.nio.IntBuffer, int, int); 6503 method public java.nio.IntBuffer put(int[], int, int); 6504 method public final java.nio.IntBuffer put(int[]); 6505 method @FlaggedApi("com.android.libcore.v_apis") public java.nio.IntBuffer put(int, int[], int, int); 6506 method @FlaggedApi("com.android.libcore.v_apis") public java.nio.IntBuffer put(int, int[]); 6507 method public abstract java.nio.IntBuffer slice(); 6508 method public abstract java.nio.IntBuffer slice(int, int); 6509 method public static java.nio.IntBuffer wrap(int[], int, int); 6510 method public static java.nio.IntBuffer wrap(int[]); 6511 } 6512 6513 public class InvalidMarkException extends java.lang.IllegalStateException { 6514 ctor public InvalidMarkException(); 6515 } 6516 6517 public abstract class LongBuffer extends java.nio.Buffer implements java.lang.Comparable<java.nio.LongBuffer> { 6518 method public static java.nio.LongBuffer allocate(int); 6519 method public final long[] array(); 6520 method public final int arrayOffset(); 6521 method public abstract java.nio.LongBuffer asReadOnlyBuffer(); 6522 method public abstract java.nio.LongBuffer compact(); 6523 method public int compareTo(java.nio.LongBuffer); 6524 method public abstract java.nio.LongBuffer duplicate(); 6525 method public abstract long get(); 6526 method public abstract long get(int); 6527 method public java.nio.LongBuffer get(long[], int, int); 6528 method public java.nio.LongBuffer get(long[]); 6529 method @FlaggedApi("com.android.libcore.v_apis") public java.nio.LongBuffer get(int, long[], int, int); 6530 method @FlaggedApi("com.android.libcore.v_apis") public java.nio.LongBuffer get(int, long[]); 6531 method public final boolean hasArray(); 6532 method public int mismatch(java.nio.LongBuffer); 6533 method public abstract java.nio.ByteOrder order(); 6534 method public abstract java.nio.LongBuffer put(long); 6535 method public abstract java.nio.LongBuffer put(int, long); 6536 method public java.nio.LongBuffer put(java.nio.LongBuffer); 6537 method @FlaggedApi("com.android.libcore.v_apis") public java.nio.LongBuffer put(int, java.nio.LongBuffer, int, int); 6538 method public java.nio.LongBuffer put(long[], int, int); 6539 method public final java.nio.LongBuffer put(long[]); 6540 method @FlaggedApi("com.android.libcore.v_apis") public java.nio.LongBuffer put(int, long[], int, int); 6541 method @FlaggedApi("com.android.libcore.v_apis") public java.nio.LongBuffer put(int, long[]); 6542 method public abstract java.nio.LongBuffer slice(); 6543 method public abstract java.nio.LongBuffer slice(int, int); 6544 method public static java.nio.LongBuffer wrap(long[], int, int); 6545 method public static java.nio.LongBuffer wrap(long[]); 6546 } 6547 6548 public abstract class MappedByteBuffer extends java.nio.ByteBuffer { 6549 method public final java.nio.Buffer clear(); 6550 method public final java.nio.Buffer flip(); 6551 method public final java.nio.MappedByteBuffer force(); 6552 method @FlaggedApi("com.android.libcore.v_apis") public final java.nio.MappedByteBuffer force(int, int); 6553 method public final boolean isLoaded(); 6554 method public final java.nio.Buffer limit(int); 6555 method public final java.nio.MappedByteBuffer load(); 6556 method public final java.nio.Buffer mark(); 6557 method public final java.nio.Buffer position(int); 6558 method public final java.nio.Buffer reset(); 6559 method public final java.nio.Buffer rewind(); 6560 method public abstract java.nio.MappedByteBuffer slice(int, int); 6561 } 6562 6563 public class ReadOnlyBufferException extends java.lang.UnsupportedOperationException { 6564 ctor public ReadOnlyBufferException(); 6565 } 6566 6567 public abstract class ShortBuffer extends java.nio.Buffer implements java.lang.Comparable<java.nio.ShortBuffer> { 6568 method public static java.nio.ShortBuffer allocate(int); 6569 method public final short[] array(); 6570 method public final int arrayOffset(); 6571 method public abstract java.nio.ShortBuffer asReadOnlyBuffer(); 6572 method public abstract java.nio.ShortBuffer compact(); 6573 method public int compareTo(java.nio.ShortBuffer); 6574 method public abstract java.nio.ShortBuffer duplicate(); 6575 method public abstract short get(); 6576 method public abstract short get(int); 6577 method public java.nio.ShortBuffer get(short[], int, int); 6578 method public java.nio.ShortBuffer get(short[]); 6579 method @FlaggedApi("com.android.libcore.v_apis") public java.nio.ShortBuffer get(int, short[], int, int); 6580 method @FlaggedApi("com.android.libcore.v_apis") public java.nio.ShortBuffer get(int, short[]); 6581 method public final boolean hasArray(); 6582 method public int mismatch(java.nio.ShortBuffer); 6583 method public abstract java.nio.ByteOrder order(); 6584 method public abstract java.nio.ShortBuffer put(short); 6585 method public abstract java.nio.ShortBuffer put(int, short); 6586 method public java.nio.ShortBuffer put(java.nio.ShortBuffer); 6587 method @FlaggedApi("com.android.libcore.v_apis") public java.nio.ShortBuffer put(int, java.nio.ShortBuffer, int, int); 6588 method public java.nio.ShortBuffer put(short[], int, int); 6589 method public final java.nio.ShortBuffer put(short[]); 6590 method @FlaggedApi("com.android.libcore.v_apis") public java.nio.ShortBuffer put(int, short[], int, int); 6591 method @FlaggedApi("com.android.libcore.v_apis") public java.nio.ShortBuffer put(int, short[]); 6592 method public abstract java.nio.ShortBuffer slice(); 6593 method public abstract java.nio.ShortBuffer slice(int, int); 6594 method public static java.nio.ShortBuffer wrap(short[], int, int); 6595 method public static java.nio.ShortBuffer wrap(short[]); 6596 } 6597 6598} 6599 6600package java.nio.channels { 6601 6602 public class AcceptPendingException extends java.lang.IllegalStateException { 6603 ctor public AcceptPendingException(); 6604 } 6605 6606 public class AlreadyBoundException extends java.lang.IllegalStateException { 6607 ctor public AlreadyBoundException(); 6608 } 6609 6610 public class AlreadyConnectedException extends java.lang.IllegalStateException { 6611 ctor public AlreadyConnectedException(); 6612 } 6613 6614 public interface AsynchronousByteChannel extends java.nio.channels.AsynchronousChannel { 6615 method public <A> void read(java.nio.ByteBuffer, A, java.nio.channels.CompletionHandler<java.lang.Integer,? super A>); 6616 method public java.util.concurrent.Future<java.lang.Integer> read(java.nio.ByteBuffer); 6617 method public <A> void write(java.nio.ByteBuffer, A, java.nio.channels.CompletionHandler<java.lang.Integer,? super A>); 6618 method public java.util.concurrent.Future<java.lang.Integer> write(java.nio.ByteBuffer); 6619 } 6620 6621 public interface AsynchronousChannel extends java.nio.channels.Channel { 6622 } 6623 6624 public abstract class AsynchronousChannelGroup { 6625 ctor protected AsynchronousChannelGroup(java.nio.channels.spi.AsynchronousChannelProvider); 6626 method public abstract boolean awaitTermination(long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedException; 6627 method public abstract boolean isShutdown(); 6628 method public abstract boolean isTerminated(); 6629 method public final java.nio.channels.spi.AsynchronousChannelProvider provider(); 6630 method public abstract void shutdown(); 6631 method public abstract void shutdownNow() throws java.io.IOException; 6632 method public static java.nio.channels.AsynchronousChannelGroup withCachedThreadPool(java.util.concurrent.ExecutorService, int) throws java.io.IOException; 6633 method public static java.nio.channels.AsynchronousChannelGroup withFixedThreadPool(int, java.util.concurrent.ThreadFactory) throws java.io.IOException; 6634 method public static java.nio.channels.AsynchronousChannelGroup withThreadPool(java.util.concurrent.ExecutorService) throws java.io.IOException; 6635 } 6636 6637 public class AsynchronousCloseException extends java.nio.channels.ClosedChannelException { 6638 ctor public AsynchronousCloseException(); 6639 } 6640 6641 public abstract class AsynchronousFileChannel implements java.nio.channels.AsynchronousChannel { 6642 ctor protected AsynchronousFileChannel(); 6643 method public abstract void force(boolean) throws java.io.IOException; 6644 method public abstract <A> void lock(long, long, boolean, A, java.nio.channels.CompletionHandler<java.nio.channels.FileLock,? super A>); 6645 method public final <A> void lock(A, java.nio.channels.CompletionHandler<java.nio.channels.FileLock,? super A>); 6646 method public abstract java.util.concurrent.Future<java.nio.channels.FileLock> lock(long, long, boolean); 6647 method public final java.util.concurrent.Future<java.nio.channels.FileLock> lock(); 6648 method public static java.nio.channels.AsynchronousFileChannel open(java.nio.file.Path, java.util.Set<? extends java.nio.file.OpenOption>, java.util.concurrent.ExecutorService, java.nio.file.attribute.FileAttribute<?>...) throws java.io.IOException; 6649 method public static java.nio.channels.AsynchronousFileChannel open(java.nio.file.Path, java.nio.file.OpenOption...) throws java.io.IOException; 6650 method public abstract <A> void read(java.nio.ByteBuffer, long, A, java.nio.channels.CompletionHandler<java.lang.Integer,? super A>); 6651 method public abstract java.util.concurrent.Future<java.lang.Integer> read(java.nio.ByteBuffer, long); 6652 method public abstract long size() throws java.io.IOException; 6653 method public abstract java.nio.channels.AsynchronousFileChannel truncate(long) throws java.io.IOException; 6654 method public abstract java.nio.channels.FileLock tryLock(long, long, boolean) throws java.io.IOException; 6655 method public final java.nio.channels.FileLock tryLock() throws java.io.IOException; 6656 method public abstract <A> void write(java.nio.ByteBuffer, long, A, java.nio.channels.CompletionHandler<java.lang.Integer,? super A>); 6657 method public abstract java.util.concurrent.Future<java.lang.Integer> write(java.nio.ByteBuffer, long); 6658 } 6659 6660 public abstract class AsynchronousServerSocketChannel implements java.nio.channels.AsynchronousChannel java.nio.channels.NetworkChannel { 6661 ctor protected AsynchronousServerSocketChannel(java.nio.channels.spi.AsynchronousChannelProvider); 6662 method public abstract <A> void accept(A, java.nio.channels.CompletionHandler<java.nio.channels.AsynchronousSocketChannel,? super A>); 6663 method public abstract java.util.concurrent.Future<java.nio.channels.AsynchronousSocketChannel> accept(); 6664 method public final java.nio.channels.AsynchronousServerSocketChannel bind(java.net.SocketAddress) throws java.io.IOException; 6665 method public abstract java.nio.channels.AsynchronousServerSocketChannel bind(java.net.SocketAddress, int) throws java.io.IOException; 6666 method public static java.nio.channels.AsynchronousServerSocketChannel open(java.nio.channels.AsynchronousChannelGroup) throws java.io.IOException; 6667 method public static java.nio.channels.AsynchronousServerSocketChannel open() throws java.io.IOException; 6668 method public final java.nio.channels.spi.AsynchronousChannelProvider provider(); 6669 method public abstract <T> java.nio.channels.AsynchronousServerSocketChannel setOption(java.net.SocketOption<T>, T) throws java.io.IOException; 6670 } 6671 6672 public abstract class AsynchronousSocketChannel implements java.nio.channels.AsynchronousByteChannel java.nio.channels.NetworkChannel { 6673 ctor protected AsynchronousSocketChannel(java.nio.channels.spi.AsynchronousChannelProvider); 6674 method public abstract java.nio.channels.AsynchronousSocketChannel bind(java.net.SocketAddress) throws java.io.IOException; 6675 method public abstract <A> void connect(java.net.SocketAddress, A, java.nio.channels.CompletionHandler<java.lang.Void,? super A>); 6676 method public abstract java.util.concurrent.Future<java.lang.Void> connect(java.net.SocketAddress); 6677 method public abstract java.net.SocketAddress getRemoteAddress() throws java.io.IOException; 6678 method public static java.nio.channels.AsynchronousSocketChannel open(java.nio.channels.AsynchronousChannelGroup) throws java.io.IOException; 6679 method public static java.nio.channels.AsynchronousSocketChannel open() throws java.io.IOException; 6680 method public final java.nio.channels.spi.AsynchronousChannelProvider provider(); 6681 method public abstract <A> void read(java.nio.ByteBuffer, long, java.util.concurrent.TimeUnit, A, java.nio.channels.CompletionHandler<java.lang.Integer,? super A>); 6682 method public final <A> void read(java.nio.ByteBuffer, A, java.nio.channels.CompletionHandler<java.lang.Integer,? super A>); 6683 method public abstract <A> void read(java.nio.ByteBuffer[], int, int, long, java.util.concurrent.TimeUnit, A, java.nio.channels.CompletionHandler<java.lang.Long,? super A>); 6684 method public abstract <T> java.nio.channels.AsynchronousSocketChannel setOption(java.net.SocketOption<T>, T) throws java.io.IOException; 6685 method public abstract java.nio.channels.AsynchronousSocketChannel shutdownInput() throws java.io.IOException; 6686 method public abstract java.nio.channels.AsynchronousSocketChannel shutdownOutput() throws java.io.IOException; 6687 method public abstract <A> void write(java.nio.ByteBuffer, long, java.util.concurrent.TimeUnit, A, java.nio.channels.CompletionHandler<java.lang.Integer,? super A>); 6688 method public final <A> void write(java.nio.ByteBuffer, A, java.nio.channels.CompletionHandler<java.lang.Integer,? super A>); 6689 method public abstract <A> void write(java.nio.ByteBuffer[], int, int, long, java.util.concurrent.TimeUnit, A, java.nio.channels.CompletionHandler<java.lang.Long,? super A>); 6690 } 6691 6692 public interface ByteChannel extends java.nio.channels.ReadableByteChannel java.nio.channels.WritableByteChannel { 6693 } 6694 6695 public class CancelledKeyException extends java.lang.IllegalStateException { 6696 ctor public CancelledKeyException(); 6697 } 6698 6699 public interface Channel extends java.io.Closeable { 6700 method public boolean isOpen(); 6701 } 6702 6703 public final class Channels { 6704 method public static java.nio.channels.ReadableByteChannel newChannel(java.io.InputStream); 6705 method public static java.nio.channels.WritableByteChannel newChannel(java.io.OutputStream); 6706 method public static java.io.InputStream newInputStream(java.nio.channels.ReadableByteChannel); 6707 method public static java.io.InputStream newInputStream(java.nio.channels.AsynchronousByteChannel); 6708 method public static java.io.OutputStream newOutputStream(java.nio.channels.WritableByteChannel); 6709 method public static java.io.OutputStream newOutputStream(java.nio.channels.AsynchronousByteChannel); 6710 method public static java.io.Reader newReader(java.nio.channels.ReadableByteChannel, java.nio.charset.CharsetDecoder, int); 6711 method public static java.io.Reader newReader(java.nio.channels.ReadableByteChannel, String); 6712 method public static java.io.Reader newReader(java.nio.channels.ReadableByteChannel, java.nio.charset.Charset); 6713 method public static java.io.Writer newWriter(java.nio.channels.WritableByteChannel, java.nio.charset.CharsetEncoder, int); 6714 method public static java.io.Writer newWriter(java.nio.channels.WritableByteChannel, String); 6715 method public static java.io.Writer newWriter(java.nio.channels.WritableByteChannel, java.nio.charset.Charset); 6716 } 6717 6718 public class ClosedByInterruptException extends java.nio.channels.AsynchronousCloseException { 6719 ctor public ClosedByInterruptException(); 6720 } 6721 6722 public class ClosedChannelException extends java.io.IOException { 6723 ctor public ClosedChannelException(); 6724 } 6725 6726 public class ClosedSelectorException extends java.lang.IllegalStateException { 6727 ctor public ClosedSelectorException(); 6728 } 6729 6730 public interface CompletionHandler<V, A> { 6731 method public void completed(V, A); 6732 method public void failed(Throwable, A); 6733 } 6734 6735 public class ConnectionPendingException extends java.lang.IllegalStateException { 6736 ctor public ConnectionPendingException(); 6737 } 6738 6739 public abstract class DatagramChannel extends java.nio.channels.spi.AbstractSelectableChannel implements java.nio.channels.ByteChannel java.nio.channels.GatheringByteChannel java.nio.channels.MulticastChannel java.nio.channels.ScatteringByteChannel { 6740 ctor protected DatagramChannel(java.nio.channels.spi.SelectorProvider); 6741 method public abstract java.nio.channels.DatagramChannel bind(java.net.SocketAddress) throws java.io.IOException; 6742 method public abstract java.nio.channels.DatagramChannel connect(java.net.SocketAddress) throws java.io.IOException; 6743 method public abstract java.nio.channels.DatagramChannel disconnect() throws java.io.IOException; 6744 method public abstract java.net.SocketAddress getRemoteAddress() throws java.io.IOException; 6745 method public abstract boolean isConnected(); 6746 method public static java.nio.channels.DatagramChannel open() throws java.io.IOException; 6747 method public static java.nio.channels.DatagramChannel open(java.net.ProtocolFamily) throws java.io.IOException; 6748 method public final long read(java.nio.ByteBuffer[]) throws java.io.IOException; 6749 method public abstract java.net.SocketAddress receive(java.nio.ByteBuffer) throws java.io.IOException; 6750 method public abstract int send(java.nio.ByteBuffer, java.net.SocketAddress) throws java.io.IOException; 6751 method public abstract <T> java.nio.channels.DatagramChannel setOption(java.net.SocketOption<T>, T) throws java.io.IOException; 6752 method public abstract java.net.DatagramSocket socket(); 6753 method public final int validOps(); 6754 method public final long write(java.nio.ByteBuffer[]) throws java.io.IOException; 6755 } 6756 6757 public abstract class FileChannel extends java.nio.channels.spi.AbstractInterruptibleChannel implements java.nio.channels.GatheringByteChannel java.nio.channels.ScatteringByteChannel java.nio.channels.SeekableByteChannel { 6758 ctor protected FileChannel(); 6759 method public abstract void force(boolean) throws java.io.IOException; 6760 method public abstract java.nio.channels.FileLock lock(long, long, boolean) throws java.io.IOException; 6761 method public final java.nio.channels.FileLock lock() throws java.io.IOException; 6762 method public abstract java.nio.MappedByteBuffer map(java.nio.channels.FileChannel.MapMode, long, long) throws java.io.IOException; 6763 method public static java.nio.channels.FileChannel open(java.nio.file.Path, java.util.Set<? extends java.nio.file.OpenOption>, java.nio.file.attribute.FileAttribute<?>...) throws java.io.IOException; 6764 method public static java.nio.channels.FileChannel open(java.nio.file.Path, java.nio.file.OpenOption...) throws java.io.IOException; 6765 method public abstract java.nio.channels.FileChannel position(long) throws java.io.IOException; 6766 method public final long read(java.nio.ByteBuffer[]) throws java.io.IOException; 6767 method public abstract int read(java.nio.ByteBuffer, long) throws java.io.IOException; 6768 method public abstract long transferFrom(java.nio.channels.ReadableByteChannel, long, long) throws java.io.IOException; 6769 method public abstract long transferTo(long, long, java.nio.channels.WritableByteChannel) throws java.io.IOException; 6770 method public abstract java.nio.channels.FileChannel truncate(long) throws java.io.IOException; 6771 method public abstract java.nio.channels.FileLock tryLock(long, long, boolean) throws java.io.IOException; 6772 method public final java.nio.channels.FileLock tryLock() throws java.io.IOException; 6773 method public final long write(java.nio.ByteBuffer[]) throws java.io.IOException; 6774 method public abstract int write(java.nio.ByteBuffer, long) throws java.io.IOException; 6775 } 6776 6777 public static class FileChannel.MapMode { 6778 field public static final java.nio.channels.FileChannel.MapMode PRIVATE; 6779 field public static final java.nio.channels.FileChannel.MapMode READ_ONLY; 6780 field public static final java.nio.channels.FileChannel.MapMode READ_WRITE; 6781 } 6782 6783 public abstract class FileLock implements java.lang.AutoCloseable { 6784 ctor protected FileLock(java.nio.channels.FileChannel, long, long, boolean); 6785 ctor protected FileLock(java.nio.channels.AsynchronousFileChannel, long, long, boolean); 6786 method public java.nio.channels.Channel acquiredBy(); 6787 method public final java.nio.channels.FileChannel channel(); 6788 method public final void close() throws java.io.IOException; 6789 method public final boolean isShared(); 6790 method public abstract boolean isValid(); 6791 method public final boolean overlaps(long, long); 6792 method public final long position(); 6793 method public abstract void release() throws java.io.IOException; 6794 method public final long size(); 6795 method public final String toString(); 6796 } 6797 6798 public class FileLockInterruptionException extends java.io.IOException { 6799 ctor public FileLockInterruptionException(); 6800 } 6801 6802 public interface GatheringByteChannel extends java.nio.channels.WritableByteChannel { 6803 method public long write(java.nio.ByteBuffer[], int, int) throws java.io.IOException; 6804 method public long write(java.nio.ByteBuffer[]) throws java.io.IOException; 6805 } 6806 6807 public class IllegalBlockingModeException extends java.lang.IllegalStateException { 6808 ctor public IllegalBlockingModeException(); 6809 } 6810 6811 public class IllegalChannelGroupException extends java.lang.IllegalArgumentException { 6812 ctor public IllegalChannelGroupException(); 6813 } 6814 6815 public class IllegalSelectorException extends java.lang.IllegalArgumentException { 6816 ctor public IllegalSelectorException(); 6817 } 6818 6819 public class InterruptedByTimeoutException extends java.io.IOException { 6820 ctor public InterruptedByTimeoutException(); 6821 } 6822 6823 public interface InterruptibleChannel extends java.nio.channels.Channel { 6824 } 6825 6826 public abstract class MembershipKey { 6827 ctor protected MembershipKey(); 6828 method public abstract java.nio.channels.MembershipKey block(java.net.InetAddress) throws java.io.IOException; 6829 method public abstract java.nio.channels.MulticastChannel channel(); 6830 method public abstract void drop(); 6831 method public abstract java.net.InetAddress group(); 6832 method public abstract boolean isValid(); 6833 method public abstract java.net.NetworkInterface networkInterface(); 6834 method public abstract java.net.InetAddress sourceAddress(); 6835 method public abstract java.nio.channels.MembershipKey unblock(java.net.InetAddress); 6836 } 6837 6838 public interface MulticastChannel extends java.nio.channels.NetworkChannel { 6839 method public java.nio.channels.MembershipKey join(java.net.InetAddress, java.net.NetworkInterface) throws java.io.IOException; 6840 method public java.nio.channels.MembershipKey join(java.net.InetAddress, java.net.NetworkInterface, java.net.InetAddress) throws java.io.IOException; 6841 } 6842 6843 public interface NetworkChannel extends java.nio.channels.Channel { 6844 method public java.nio.channels.NetworkChannel bind(java.net.SocketAddress) throws java.io.IOException; 6845 method public java.net.SocketAddress getLocalAddress() throws java.io.IOException; 6846 method public <T> T getOption(java.net.SocketOption<T>) throws java.io.IOException; 6847 method public <T> java.nio.channels.NetworkChannel setOption(java.net.SocketOption<T>, T) throws java.io.IOException; 6848 method public java.util.Set<java.net.SocketOption<?>> supportedOptions(); 6849 } 6850 6851 public class NoConnectionPendingException extends java.lang.IllegalStateException { 6852 ctor public NoConnectionPendingException(); 6853 } 6854 6855 public class NonReadableChannelException extends java.lang.IllegalStateException { 6856 ctor public NonReadableChannelException(); 6857 } 6858 6859 public class NonWritableChannelException extends java.lang.IllegalStateException { 6860 ctor public NonWritableChannelException(); 6861 } 6862 6863 public class NotYetBoundException extends java.lang.IllegalStateException { 6864 ctor public NotYetBoundException(); 6865 } 6866 6867 public class NotYetConnectedException extends java.lang.IllegalStateException { 6868 ctor public NotYetConnectedException(); 6869 } 6870 6871 public class OverlappingFileLockException extends java.lang.IllegalStateException { 6872 ctor public OverlappingFileLockException(); 6873 } 6874 6875 public abstract class Pipe { 6876 ctor protected Pipe(); 6877 method public static java.nio.channels.Pipe open() throws java.io.IOException; 6878 method public abstract java.nio.channels.Pipe.SinkChannel sink(); 6879 method public abstract java.nio.channels.Pipe.SourceChannel source(); 6880 } 6881 6882 public abstract static class Pipe.SinkChannel extends java.nio.channels.spi.AbstractSelectableChannel implements java.nio.channels.GatheringByteChannel java.nio.channels.WritableByteChannel { 6883 ctor protected Pipe.SinkChannel(java.nio.channels.spi.SelectorProvider); 6884 method public final int validOps(); 6885 } 6886 6887 public abstract static class Pipe.SourceChannel extends java.nio.channels.spi.AbstractSelectableChannel implements java.nio.channels.ReadableByteChannel java.nio.channels.ScatteringByteChannel { 6888 ctor protected Pipe.SourceChannel(java.nio.channels.spi.SelectorProvider); 6889 method public final int validOps(); 6890 } 6891 6892 public class ReadPendingException extends java.lang.IllegalStateException { 6893 ctor public ReadPendingException(); 6894 } 6895 6896 public interface ReadableByteChannel extends java.nio.channels.Channel { 6897 method public int read(java.nio.ByteBuffer) throws java.io.IOException; 6898 } 6899 6900 public interface ScatteringByteChannel extends java.nio.channels.ReadableByteChannel { 6901 method public long read(java.nio.ByteBuffer[], int, int) throws java.io.IOException; 6902 method public long read(java.nio.ByteBuffer[]) throws java.io.IOException; 6903 } 6904 6905 public interface SeekableByteChannel extends java.nio.channels.ByteChannel { 6906 method public long position() throws java.io.IOException; 6907 method public java.nio.channels.SeekableByteChannel position(long) throws java.io.IOException; 6908 method public long size() throws java.io.IOException; 6909 method public java.nio.channels.SeekableByteChannel truncate(long) throws java.io.IOException; 6910 } 6911 6912 public abstract class SelectableChannel extends java.nio.channels.spi.AbstractInterruptibleChannel implements java.nio.channels.Channel { 6913 ctor protected SelectableChannel(); 6914 method public abstract Object blockingLock(); 6915 method public abstract java.nio.channels.SelectableChannel configureBlocking(boolean) throws java.io.IOException; 6916 method public abstract boolean isBlocking(); 6917 method public abstract boolean isRegistered(); 6918 method public abstract java.nio.channels.SelectionKey keyFor(java.nio.channels.Selector); 6919 method public abstract java.nio.channels.spi.SelectorProvider provider(); 6920 method public abstract java.nio.channels.SelectionKey register(java.nio.channels.Selector, int, Object) throws java.nio.channels.ClosedChannelException; 6921 method public final java.nio.channels.SelectionKey register(java.nio.channels.Selector, int) throws java.nio.channels.ClosedChannelException; 6922 method public abstract int validOps(); 6923 } 6924 6925 public abstract class SelectionKey { 6926 ctor protected SelectionKey(); 6927 method public final Object attach(Object); 6928 method public final Object attachment(); 6929 method public abstract void cancel(); 6930 method public abstract java.nio.channels.SelectableChannel channel(); 6931 method public abstract int interestOps(); 6932 method public abstract java.nio.channels.SelectionKey interestOps(int); 6933 method public int interestOpsAnd(int); 6934 method public int interestOpsOr(int); 6935 method public final boolean isAcceptable(); 6936 method public final boolean isConnectable(); 6937 method public final boolean isReadable(); 6938 method public abstract boolean isValid(); 6939 method public final boolean isWritable(); 6940 method public abstract int readyOps(); 6941 method public abstract java.nio.channels.Selector selector(); 6942 field public static final int OP_ACCEPT = 16; // 0x10 6943 field public static final int OP_CONNECT = 8; // 0x8 6944 field public static final int OP_READ = 1; // 0x1 6945 field public static final int OP_WRITE = 4; // 0x4 6946 } 6947 6948 public abstract class Selector implements java.io.Closeable { 6949 ctor protected Selector(); 6950 method public abstract boolean isOpen(); 6951 method public abstract java.util.Set<java.nio.channels.SelectionKey> keys(); 6952 method public static java.nio.channels.Selector open() throws java.io.IOException; 6953 method public abstract java.nio.channels.spi.SelectorProvider provider(); 6954 method public abstract int select(long) throws java.io.IOException; 6955 method public abstract int select() throws java.io.IOException; 6956 method public int select(java.util.function.Consumer<java.nio.channels.SelectionKey>, long) throws java.io.IOException; 6957 method public int select(java.util.function.Consumer<java.nio.channels.SelectionKey>) throws java.io.IOException; 6958 method public abstract int selectNow() throws java.io.IOException; 6959 method public int selectNow(java.util.function.Consumer<java.nio.channels.SelectionKey>) throws java.io.IOException; 6960 method public abstract java.util.Set<java.nio.channels.SelectionKey> selectedKeys(); 6961 method public abstract java.nio.channels.Selector wakeup(); 6962 } 6963 6964 public abstract class ServerSocketChannel extends java.nio.channels.spi.AbstractSelectableChannel implements java.nio.channels.NetworkChannel { 6965 ctor protected ServerSocketChannel(java.nio.channels.spi.SelectorProvider); 6966 method public abstract java.nio.channels.SocketChannel accept() throws java.io.IOException; 6967 method public final java.nio.channels.ServerSocketChannel bind(java.net.SocketAddress) throws java.io.IOException; 6968 method public abstract java.nio.channels.ServerSocketChannel bind(java.net.SocketAddress, int) throws java.io.IOException; 6969 method public static java.nio.channels.ServerSocketChannel open() throws java.io.IOException; 6970 method public abstract <T> java.nio.channels.ServerSocketChannel setOption(java.net.SocketOption<T>, T) throws java.io.IOException; 6971 method public abstract java.net.ServerSocket socket(); 6972 method public final int validOps(); 6973 } 6974 6975 public class ShutdownChannelGroupException extends java.lang.IllegalStateException { 6976 ctor public ShutdownChannelGroupException(); 6977 } 6978 6979 public abstract class SocketChannel extends java.nio.channels.spi.AbstractSelectableChannel implements java.nio.channels.ByteChannel java.nio.channels.GatheringByteChannel java.nio.channels.NetworkChannel java.nio.channels.ScatteringByteChannel { 6980 ctor protected SocketChannel(java.nio.channels.spi.SelectorProvider); 6981 method public abstract java.nio.channels.SocketChannel bind(java.net.SocketAddress) throws java.io.IOException; 6982 method public abstract boolean connect(java.net.SocketAddress) throws java.io.IOException; 6983 method public abstract boolean finishConnect() throws java.io.IOException; 6984 method public abstract java.net.SocketAddress getRemoteAddress() throws java.io.IOException; 6985 method public abstract boolean isConnected(); 6986 method public abstract boolean isConnectionPending(); 6987 method public static java.nio.channels.SocketChannel open() throws java.io.IOException; 6988 method public static java.nio.channels.SocketChannel open(java.net.SocketAddress) throws java.io.IOException; 6989 method public final long read(java.nio.ByteBuffer[]) throws java.io.IOException; 6990 method public abstract <T> java.nio.channels.SocketChannel setOption(java.net.SocketOption<T>, T) throws java.io.IOException; 6991 method public abstract java.nio.channels.SocketChannel shutdownInput() throws java.io.IOException; 6992 method public abstract java.nio.channels.SocketChannel shutdownOutput() throws java.io.IOException; 6993 method public abstract java.net.Socket socket(); 6994 method public final int validOps(); 6995 method public final long write(java.nio.ByteBuffer[]) throws java.io.IOException; 6996 } 6997 6998 public class UnresolvedAddressException extends java.lang.IllegalArgumentException { 6999 ctor public UnresolvedAddressException(); 7000 } 7001 7002 public class UnsupportedAddressTypeException extends java.lang.IllegalArgumentException { 7003 ctor public UnsupportedAddressTypeException(); 7004 } 7005 7006 public interface WritableByteChannel extends java.nio.channels.Channel { 7007 method public int write(java.nio.ByteBuffer) throws java.io.IOException; 7008 } 7009 7010 public class WritePendingException extends java.lang.IllegalStateException { 7011 ctor public WritePendingException(); 7012 } 7013 7014} 7015 7016package java.nio.channels.spi { 7017 7018 public abstract class AbstractInterruptibleChannel implements java.nio.channels.Channel java.nio.channels.InterruptibleChannel { 7019 ctor protected AbstractInterruptibleChannel(); 7020 method protected final void begin(); 7021 method public final void close() throws java.io.IOException; 7022 method protected final void end(boolean) throws java.nio.channels.AsynchronousCloseException; 7023 method protected abstract void implCloseChannel() throws java.io.IOException; 7024 method public final boolean isOpen(); 7025 } 7026 7027 public abstract class AbstractSelectableChannel extends java.nio.channels.SelectableChannel { 7028 ctor protected AbstractSelectableChannel(java.nio.channels.spi.SelectorProvider); 7029 method public final Object blockingLock(); 7030 method public final java.nio.channels.SelectableChannel configureBlocking(boolean) throws java.io.IOException; 7031 method protected final void implCloseChannel() throws java.io.IOException; 7032 method protected abstract void implCloseSelectableChannel() throws java.io.IOException; 7033 method protected abstract void implConfigureBlocking(boolean) throws java.io.IOException; 7034 method public final boolean isBlocking(); 7035 method public final boolean isRegistered(); 7036 method public final java.nio.channels.SelectionKey keyFor(java.nio.channels.Selector); 7037 method public final java.nio.channels.spi.SelectorProvider provider(); 7038 method public final java.nio.channels.SelectionKey register(java.nio.channels.Selector, int, Object) throws java.nio.channels.ClosedChannelException; 7039 } 7040 7041 public abstract class AbstractSelectionKey extends java.nio.channels.SelectionKey { 7042 ctor protected AbstractSelectionKey(); 7043 method public final void cancel(); 7044 method public final boolean isValid(); 7045 } 7046 7047 public abstract class AbstractSelector extends java.nio.channels.Selector { 7048 ctor protected AbstractSelector(java.nio.channels.spi.SelectorProvider); 7049 method protected final void begin(); 7050 method protected final java.util.Set<java.nio.channels.SelectionKey> cancelledKeys(); 7051 method public final void close() throws java.io.IOException; 7052 method protected final void deregister(java.nio.channels.spi.AbstractSelectionKey); 7053 method protected final void end(); 7054 method protected abstract void implCloseSelector() throws java.io.IOException; 7055 method public final boolean isOpen(); 7056 method public final java.nio.channels.spi.SelectorProvider provider(); 7057 method protected abstract java.nio.channels.SelectionKey register(java.nio.channels.spi.AbstractSelectableChannel, int, Object); 7058 } 7059 7060 public abstract class AsynchronousChannelProvider { 7061 ctor protected AsynchronousChannelProvider(); 7062 method public abstract java.nio.channels.AsynchronousChannelGroup openAsynchronousChannelGroup(int, java.util.concurrent.ThreadFactory) throws java.io.IOException; 7063 method public abstract java.nio.channels.AsynchronousChannelGroup openAsynchronousChannelGroup(java.util.concurrent.ExecutorService, int) throws java.io.IOException; 7064 method public abstract java.nio.channels.AsynchronousServerSocketChannel openAsynchronousServerSocketChannel(java.nio.channels.AsynchronousChannelGroup) throws java.io.IOException; 7065 method public abstract java.nio.channels.AsynchronousSocketChannel openAsynchronousSocketChannel(java.nio.channels.AsynchronousChannelGroup) throws java.io.IOException; 7066 method public static java.nio.channels.spi.AsynchronousChannelProvider provider(); 7067 } 7068 7069 public abstract class SelectorProvider { 7070 ctor protected SelectorProvider(); 7071 method public java.nio.channels.Channel inheritedChannel() throws java.io.IOException; 7072 method public abstract java.nio.channels.DatagramChannel openDatagramChannel() throws java.io.IOException; 7073 method public abstract java.nio.channels.DatagramChannel openDatagramChannel(java.net.ProtocolFamily) throws java.io.IOException; 7074 method public abstract java.nio.channels.Pipe openPipe() throws java.io.IOException; 7075 method public abstract java.nio.channels.spi.AbstractSelector openSelector() throws java.io.IOException; 7076 method public abstract java.nio.channels.ServerSocketChannel openServerSocketChannel() throws java.io.IOException; 7077 method public abstract java.nio.channels.SocketChannel openSocketChannel() throws java.io.IOException; 7078 method public static java.nio.channels.spi.SelectorProvider provider(); 7079 } 7080 7081} 7082 7083package java.nio.charset { 7084 7085 public class CharacterCodingException extends java.io.IOException { 7086 ctor public CharacterCodingException(); 7087 } 7088 7089 public abstract class Charset implements java.lang.Comparable<java.nio.charset.Charset> { 7090 ctor protected Charset(String, String[]); 7091 method public final java.util.Set<java.lang.String> aliases(); 7092 method public static java.util.SortedMap<java.lang.String,java.nio.charset.Charset> availableCharsets(); 7093 method public boolean canEncode(); 7094 method public final int compareTo(java.nio.charset.Charset); 7095 method public abstract boolean contains(java.nio.charset.Charset); 7096 method public final java.nio.CharBuffer decode(java.nio.ByteBuffer); 7097 method public static java.nio.charset.Charset defaultCharset(); 7098 method public String displayName(); 7099 method public String displayName(java.util.Locale); 7100 method public final java.nio.ByteBuffer encode(java.nio.CharBuffer); 7101 method public final java.nio.ByteBuffer encode(String); 7102 method public final boolean equals(Object); 7103 method public static java.nio.charset.Charset forName(String); 7104 method public final int hashCode(); 7105 method public final boolean isRegistered(); 7106 method public static boolean isSupported(String); 7107 method public final String name(); 7108 method public abstract java.nio.charset.CharsetDecoder newDecoder(); 7109 method public abstract java.nio.charset.CharsetEncoder newEncoder(); 7110 method public final String toString(); 7111 } 7112 7113 public abstract class CharsetDecoder { 7114 ctor protected CharsetDecoder(java.nio.charset.Charset, float, float); 7115 method public final float averageCharsPerByte(); 7116 method public final java.nio.charset.Charset charset(); 7117 method public final java.nio.charset.CoderResult decode(java.nio.ByteBuffer, java.nio.CharBuffer, boolean); 7118 method public final java.nio.CharBuffer decode(java.nio.ByteBuffer) throws java.nio.charset.CharacterCodingException; 7119 method protected abstract java.nio.charset.CoderResult decodeLoop(java.nio.ByteBuffer, java.nio.CharBuffer); 7120 method public java.nio.charset.Charset detectedCharset(); 7121 method public final java.nio.charset.CoderResult flush(java.nio.CharBuffer); 7122 method protected java.nio.charset.CoderResult implFlush(java.nio.CharBuffer); 7123 method protected void implOnMalformedInput(java.nio.charset.CodingErrorAction); 7124 method protected void implOnUnmappableCharacter(java.nio.charset.CodingErrorAction); 7125 method protected void implReplaceWith(String); 7126 method protected void implReset(); 7127 method public boolean isAutoDetecting(); 7128 method public boolean isCharsetDetected(); 7129 method public java.nio.charset.CodingErrorAction malformedInputAction(); 7130 method public final float maxCharsPerByte(); 7131 method public final java.nio.charset.CharsetDecoder onMalformedInput(java.nio.charset.CodingErrorAction); 7132 method public final java.nio.charset.CharsetDecoder onUnmappableCharacter(java.nio.charset.CodingErrorAction); 7133 method public final java.nio.charset.CharsetDecoder replaceWith(String); 7134 method public final String replacement(); 7135 method public final java.nio.charset.CharsetDecoder reset(); 7136 method public java.nio.charset.CodingErrorAction unmappableCharacterAction(); 7137 } 7138 7139 public abstract class CharsetEncoder { 7140 ctor protected CharsetEncoder(java.nio.charset.Charset, float, float, byte[]); 7141 ctor protected CharsetEncoder(java.nio.charset.Charset, float, float); 7142 method public final float averageBytesPerChar(); 7143 method public boolean canEncode(char); 7144 method public boolean canEncode(CharSequence); 7145 method public final java.nio.charset.Charset charset(); 7146 method public final java.nio.charset.CoderResult encode(java.nio.CharBuffer, java.nio.ByteBuffer, boolean); 7147 method public final java.nio.ByteBuffer encode(java.nio.CharBuffer) throws java.nio.charset.CharacterCodingException; 7148 method protected abstract java.nio.charset.CoderResult encodeLoop(java.nio.CharBuffer, java.nio.ByteBuffer); 7149 method public final java.nio.charset.CoderResult flush(java.nio.ByteBuffer); 7150 method protected java.nio.charset.CoderResult implFlush(java.nio.ByteBuffer); 7151 method protected void implOnMalformedInput(java.nio.charset.CodingErrorAction); 7152 method protected void implOnUnmappableCharacter(java.nio.charset.CodingErrorAction); 7153 method protected void implReplaceWith(byte[]); 7154 method protected void implReset(); 7155 method public boolean isLegalReplacement(byte[]); 7156 method public java.nio.charset.CodingErrorAction malformedInputAction(); 7157 method public final float maxBytesPerChar(); 7158 method public final java.nio.charset.CharsetEncoder onMalformedInput(java.nio.charset.CodingErrorAction); 7159 method public final java.nio.charset.CharsetEncoder onUnmappableCharacter(java.nio.charset.CodingErrorAction); 7160 method public final java.nio.charset.CharsetEncoder replaceWith(byte[]); 7161 method public final byte[] replacement(); 7162 method public final java.nio.charset.CharsetEncoder reset(); 7163 method public java.nio.charset.CodingErrorAction unmappableCharacterAction(); 7164 } 7165 7166 public class CoderMalfunctionError extends java.lang.Error { 7167 ctor public CoderMalfunctionError(Exception); 7168 } 7169 7170 public class CoderResult { 7171 method public boolean isError(); 7172 method public boolean isMalformed(); 7173 method public boolean isOverflow(); 7174 method public boolean isUnderflow(); 7175 method public boolean isUnmappable(); 7176 method public int length(); 7177 method public static java.nio.charset.CoderResult malformedForLength(int); 7178 method public void throwException() throws java.nio.charset.CharacterCodingException; 7179 method public static java.nio.charset.CoderResult unmappableForLength(int); 7180 field public static final java.nio.charset.CoderResult OVERFLOW; 7181 field public static final java.nio.charset.CoderResult UNDERFLOW; 7182 } 7183 7184 public class CodingErrorAction { 7185 field public static final java.nio.charset.CodingErrorAction IGNORE; 7186 field public static final java.nio.charset.CodingErrorAction REPLACE; 7187 field public static final java.nio.charset.CodingErrorAction REPORT; 7188 } 7189 7190 public class IllegalCharsetNameException extends java.lang.IllegalArgumentException { 7191 ctor public IllegalCharsetNameException(String); 7192 method public String getCharsetName(); 7193 } 7194 7195 public class MalformedInputException extends java.nio.charset.CharacterCodingException { 7196 ctor public MalformedInputException(int); 7197 method public int getInputLength(); 7198 } 7199 7200 public final class StandardCharsets { 7201 field public static final java.nio.charset.Charset ISO_8859_1; 7202 field public static final java.nio.charset.Charset US_ASCII; 7203 field public static final java.nio.charset.Charset UTF_16; 7204 field public static final java.nio.charset.Charset UTF_16BE; 7205 field public static final java.nio.charset.Charset UTF_16LE; 7206 field public static final java.nio.charset.Charset UTF_8; 7207 } 7208 7209 public class UnmappableCharacterException extends java.nio.charset.CharacterCodingException { 7210 ctor public UnmappableCharacterException(int); 7211 method public int getInputLength(); 7212 } 7213 7214 public class UnsupportedCharsetException extends java.lang.IllegalArgumentException { 7215 ctor public UnsupportedCharsetException(String); 7216 method public String getCharsetName(); 7217 } 7218 7219} 7220 7221package java.nio.charset.spi { 7222 7223 public abstract class CharsetProvider { 7224 ctor protected CharsetProvider(); 7225 method public abstract java.nio.charset.Charset charsetForName(String); 7226 method public abstract java.util.Iterator<java.nio.charset.Charset> charsets(); 7227 } 7228 7229} 7230 7231package java.nio.file { 7232 7233 public class AccessDeniedException extends java.nio.file.FileSystemException { 7234 ctor public AccessDeniedException(String); 7235 ctor public AccessDeniedException(String, String, String); 7236 } 7237 7238 public enum AccessMode { 7239 enum_constant public static final java.nio.file.AccessMode EXECUTE; 7240 enum_constant public static final java.nio.file.AccessMode READ; 7241 enum_constant public static final java.nio.file.AccessMode WRITE; 7242 } 7243 7244 public class AtomicMoveNotSupportedException extends java.nio.file.FileSystemException { 7245 ctor public AtomicMoveNotSupportedException(String, String, String); 7246 } 7247 7248 public class ClosedDirectoryStreamException extends java.lang.IllegalStateException { 7249 ctor public ClosedDirectoryStreamException(); 7250 } 7251 7252 public class ClosedFileSystemException extends java.lang.IllegalStateException { 7253 ctor public ClosedFileSystemException(); 7254 } 7255 7256 public class ClosedWatchServiceException extends java.lang.IllegalStateException { 7257 ctor public ClosedWatchServiceException(); 7258 } 7259 7260 public interface CopyOption { 7261 } 7262 7263 public final class DirectoryIteratorException extends java.util.ConcurrentModificationException { 7264 ctor public DirectoryIteratorException(java.io.IOException); 7265 method public java.io.IOException getCause(); 7266 } 7267 7268 public class DirectoryNotEmptyException extends java.nio.file.FileSystemException { 7269 ctor public DirectoryNotEmptyException(String); 7270 } 7271 7272 public interface DirectoryStream<T> extends java.io.Closeable java.lang.Iterable<T> { 7273 } 7274 7275 @java.lang.FunctionalInterface public static interface DirectoryStream.Filter<T> { 7276 method public boolean accept(T) throws java.io.IOException; 7277 } 7278 7279 public class FileAlreadyExistsException extends java.nio.file.FileSystemException { 7280 ctor public FileAlreadyExistsException(String); 7281 ctor public FileAlreadyExistsException(String, String, String); 7282 } 7283 7284 public abstract class FileStore { 7285 ctor protected FileStore(); 7286 method public abstract Object getAttribute(String) throws java.io.IOException; 7287 method public long getBlockSize() throws java.io.IOException; 7288 method public abstract <V extends java.nio.file.attribute.FileStoreAttributeView> V getFileStoreAttributeView(Class<V>); 7289 method public abstract long getTotalSpace() throws java.io.IOException; 7290 method public abstract long getUnallocatedSpace() throws java.io.IOException; 7291 method public abstract long getUsableSpace() throws java.io.IOException; 7292 method public abstract boolean isReadOnly(); 7293 method public abstract String name(); 7294 method public abstract boolean supportsFileAttributeView(Class<? extends java.nio.file.attribute.FileAttributeView>); 7295 method public abstract boolean supportsFileAttributeView(String); 7296 method public abstract String type(); 7297 } 7298 7299 public abstract class FileSystem implements java.io.Closeable { 7300 ctor protected FileSystem(); 7301 method public abstract Iterable<java.nio.file.FileStore> getFileStores(); 7302 method public abstract java.nio.file.Path getPath(String, java.lang.String...); 7303 method public abstract java.nio.file.PathMatcher getPathMatcher(String); 7304 method public abstract Iterable<java.nio.file.Path> getRootDirectories(); 7305 method public abstract String getSeparator(); 7306 method public abstract java.nio.file.attribute.UserPrincipalLookupService getUserPrincipalLookupService(); 7307 method public abstract boolean isOpen(); 7308 method public abstract boolean isReadOnly(); 7309 method public abstract java.nio.file.WatchService newWatchService() throws java.io.IOException; 7310 method public abstract java.nio.file.spi.FileSystemProvider provider(); 7311 method public abstract java.util.Set<java.lang.String> supportedFileAttributeViews(); 7312 } 7313 7314 public class FileSystemAlreadyExistsException extends java.lang.RuntimeException { 7315 ctor public FileSystemAlreadyExistsException(); 7316 ctor public FileSystemAlreadyExistsException(String); 7317 } 7318 7319 public class FileSystemException extends java.io.IOException { 7320 ctor public FileSystemException(String); 7321 ctor public FileSystemException(String, String, String); 7322 method public String getFile(); 7323 method public String getOtherFile(); 7324 method public String getReason(); 7325 } 7326 7327 public class FileSystemLoopException extends java.nio.file.FileSystemException { 7328 ctor public FileSystemLoopException(String); 7329 } 7330 7331 public class FileSystemNotFoundException extends java.lang.RuntimeException { 7332 ctor public FileSystemNotFoundException(); 7333 ctor public FileSystemNotFoundException(String); 7334 } 7335 7336 public final class FileSystems { 7337 method public static java.nio.file.FileSystem getDefault(); 7338 method public static java.nio.file.FileSystem getFileSystem(java.net.URI); 7339 method public static java.nio.file.FileSystem newFileSystem(java.net.URI, java.util.Map<java.lang.String,?>) throws java.io.IOException; 7340 method public static java.nio.file.FileSystem newFileSystem(java.net.URI, java.util.Map<java.lang.String,?>, ClassLoader) throws java.io.IOException; 7341 method public static java.nio.file.FileSystem newFileSystem(java.nio.file.Path, ClassLoader) throws java.io.IOException; 7342 } 7343 7344 public enum FileVisitOption { 7345 enum_constant public static final java.nio.file.FileVisitOption FOLLOW_LINKS; 7346 } 7347 7348 public enum FileVisitResult { 7349 enum_constant public static final java.nio.file.FileVisitResult CONTINUE; 7350 enum_constant public static final java.nio.file.FileVisitResult SKIP_SIBLINGS; 7351 enum_constant public static final java.nio.file.FileVisitResult SKIP_SUBTREE; 7352 enum_constant public static final java.nio.file.FileVisitResult TERMINATE; 7353 } 7354 7355 public interface FileVisitor<T> { 7356 method public java.nio.file.FileVisitResult postVisitDirectory(T, java.io.IOException) throws java.io.IOException; 7357 method public java.nio.file.FileVisitResult preVisitDirectory(T, java.nio.file.attribute.BasicFileAttributes) throws java.io.IOException; 7358 method public java.nio.file.FileVisitResult visitFile(T, java.nio.file.attribute.BasicFileAttributes) throws java.io.IOException; 7359 method public java.nio.file.FileVisitResult visitFileFailed(T, java.io.IOException) throws java.io.IOException; 7360 } 7361 7362 public final class Files { 7363 method public static java.nio.file.Path copy(java.nio.file.Path, java.nio.file.Path, java.nio.file.CopyOption...) throws java.io.IOException; 7364 method public static long copy(java.io.InputStream, java.nio.file.Path, java.nio.file.CopyOption...) throws java.io.IOException; 7365 method public static long copy(java.nio.file.Path, java.io.OutputStream) throws java.io.IOException; 7366 method public static java.nio.file.Path createDirectories(java.nio.file.Path, java.nio.file.attribute.FileAttribute<?>...) throws java.io.IOException; 7367 method public static java.nio.file.Path createDirectory(java.nio.file.Path, java.nio.file.attribute.FileAttribute<?>...) throws java.io.IOException; 7368 method public static java.nio.file.Path createFile(java.nio.file.Path, java.nio.file.attribute.FileAttribute<?>...) throws java.io.IOException; 7369 method public static java.nio.file.Path createLink(java.nio.file.Path, java.nio.file.Path) throws java.io.IOException; 7370 method public static java.nio.file.Path createSymbolicLink(java.nio.file.Path, java.nio.file.Path, java.nio.file.attribute.FileAttribute<?>...) throws java.io.IOException; 7371 method public static java.nio.file.Path createTempDirectory(java.nio.file.Path, String, java.nio.file.attribute.FileAttribute<?>...) throws java.io.IOException; 7372 method public static java.nio.file.Path createTempDirectory(String, java.nio.file.attribute.FileAttribute<?>...) throws java.io.IOException; 7373 method public static java.nio.file.Path createTempFile(java.nio.file.Path, String, String, java.nio.file.attribute.FileAttribute<?>...) throws java.io.IOException; 7374 method public static java.nio.file.Path createTempFile(String, String, java.nio.file.attribute.FileAttribute<?>...) throws java.io.IOException; 7375 method public static void delete(java.nio.file.Path) throws java.io.IOException; 7376 method public static boolean deleteIfExists(java.nio.file.Path) throws java.io.IOException; 7377 method public static boolean exists(java.nio.file.Path, java.nio.file.LinkOption...); 7378 method public static java.util.stream.Stream<java.nio.file.Path> find(java.nio.file.Path, int, java.util.function.BiPredicate<java.nio.file.Path,java.nio.file.attribute.BasicFileAttributes>, java.nio.file.FileVisitOption...) throws java.io.IOException; 7379 method public static Object getAttribute(java.nio.file.Path, String, java.nio.file.LinkOption...) throws java.io.IOException; 7380 method public static <V extends java.nio.file.attribute.FileAttributeView> V getFileAttributeView(java.nio.file.Path, Class<V>, java.nio.file.LinkOption...); 7381 method public static java.nio.file.FileStore getFileStore(java.nio.file.Path) throws java.io.IOException; 7382 method public static java.nio.file.attribute.FileTime getLastModifiedTime(java.nio.file.Path, java.nio.file.LinkOption...) throws java.io.IOException; 7383 method public static java.nio.file.attribute.UserPrincipal getOwner(java.nio.file.Path, java.nio.file.LinkOption...) throws java.io.IOException; 7384 method public static java.util.Set<java.nio.file.attribute.PosixFilePermission> getPosixFilePermissions(java.nio.file.Path, java.nio.file.LinkOption...) throws java.io.IOException; 7385 method public static boolean isDirectory(java.nio.file.Path, java.nio.file.LinkOption...); 7386 method public static boolean isExecutable(java.nio.file.Path); 7387 method public static boolean isHidden(java.nio.file.Path) throws java.io.IOException; 7388 method public static boolean isReadable(java.nio.file.Path); 7389 method public static boolean isRegularFile(java.nio.file.Path, java.nio.file.LinkOption...); 7390 method public static boolean isSameFile(java.nio.file.Path, java.nio.file.Path) throws java.io.IOException; 7391 method public static boolean isSymbolicLink(java.nio.file.Path); 7392 method public static boolean isWritable(java.nio.file.Path); 7393 method public static java.util.stream.Stream<java.lang.String> lines(java.nio.file.Path, java.nio.charset.Charset) throws java.io.IOException; 7394 method public static java.util.stream.Stream<java.lang.String> lines(java.nio.file.Path) throws java.io.IOException; 7395 method public static java.util.stream.Stream<java.nio.file.Path> list(java.nio.file.Path) throws java.io.IOException; 7396 method public static java.nio.file.Path move(java.nio.file.Path, java.nio.file.Path, java.nio.file.CopyOption...) throws java.io.IOException; 7397 method public static java.io.BufferedReader newBufferedReader(java.nio.file.Path, java.nio.charset.Charset) throws java.io.IOException; 7398 method public static java.io.BufferedReader newBufferedReader(java.nio.file.Path) throws java.io.IOException; 7399 method public static java.io.BufferedWriter newBufferedWriter(java.nio.file.Path, java.nio.charset.Charset, java.nio.file.OpenOption...) throws java.io.IOException; 7400 method public static java.io.BufferedWriter newBufferedWriter(java.nio.file.Path, java.nio.file.OpenOption...) throws java.io.IOException; 7401 method public static java.nio.channels.SeekableByteChannel newByteChannel(java.nio.file.Path, java.util.Set<? extends java.nio.file.OpenOption>, java.nio.file.attribute.FileAttribute<?>...) throws java.io.IOException; 7402 method public static java.nio.channels.SeekableByteChannel newByteChannel(java.nio.file.Path, java.nio.file.OpenOption...) throws java.io.IOException; 7403 method public static java.nio.file.DirectoryStream<java.nio.file.Path> newDirectoryStream(java.nio.file.Path) throws java.io.IOException; 7404 method public static java.nio.file.DirectoryStream<java.nio.file.Path> newDirectoryStream(java.nio.file.Path, String) throws java.io.IOException; 7405 method public static java.nio.file.DirectoryStream<java.nio.file.Path> newDirectoryStream(java.nio.file.Path, java.nio.file.DirectoryStream.Filter<? super java.nio.file.Path>) throws java.io.IOException; 7406 method public static java.io.InputStream newInputStream(java.nio.file.Path, java.nio.file.OpenOption...) throws java.io.IOException; 7407 method public static java.io.OutputStream newOutputStream(java.nio.file.Path, java.nio.file.OpenOption...) throws java.io.IOException; 7408 method public static boolean notExists(java.nio.file.Path, java.nio.file.LinkOption...); 7409 method public static String probeContentType(java.nio.file.Path) throws java.io.IOException; 7410 method public static byte[] readAllBytes(java.nio.file.Path) throws java.io.IOException; 7411 method public static java.util.List<java.lang.String> readAllLines(java.nio.file.Path, java.nio.charset.Charset) throws java.io.IOException; 7412 method public static java.util.List<java.lang.String> readAllLines(java.nio.file.Path) throws java.io.IOException; 7413 method public static <A extends java.nio.file.attribute.BasicFileAttributes> A readAttributes(java.nio.file.Path, Class<A>, java.nio.file.LinkOption...) throws java.io.IOException; 7414 method public static java.util.Map<java.lang.String,java.lang.Object> readAttributes(java.nio.file.Path, String, java.nio.file.LinkOption...) throws java.io.IOException; 7415 method public static java.nio.file.Path readSymbolicLink(java.nio.file.Path) throws java.io.IOException; 7416 method public static java.nio.file.Path setAttribute(java.nio.file.Path, String, Object, java.nio.file.LinkOption...) throws java.io.IOException; 7417 method public static java.nio.file.Path setLastModifiedTime(java.nio.file.Path, java.nio.file.attribute.FileTime) throws java.io.IOException; 7418 method public static java.nio.file.Path setOwner(java.nio.file.Path, java.nio.file.attribute.UserPrincipal) throws java.io.IOException; 7419 method public static java.nio.file.Path setPosixFilePermissions(java.nio.file.Path, java.util.Set<java.nio.file.attribute.PosixFilePermission>) throws java.io.IOException; 7420 method public static long size(java.nio.file.Path) throws java.io.IOException; 7421 method public static java.util.stream.Stream<java.nio.file.Path> walk(java.nio.file.Path, int, java.nio.file.FileVisitOption...) throws java.io.IOException; 7422 method public static java.util.stream.Stream<java.nio.file.Path> walk(java.nio.file.Path, java.nio.file.FileVisitOption...) throws java.io.IOException; 7423 method public static java.nio.file.Path walkFileTree(java.nio.file.Path, java.util.Set<java.nio.file.FileVisitOption>, int, java.nio.file.FileVisitor<? super java.nio.file.Path>) throws java.io.IOException; 7424 method public static java.nio.file.Path walkFileTree(java.nio.file.Path, java.nio.file.FileVisitor<? super java.nio.file.Path>) throws java.io.IOException; 7425 method public static java.nio.file.Path write(java.nio.file.Path, byte[], java.nio.file.OpenOption...) throws java.io.IOException; 7426 method public static java.nio.file.Path write(java.nio.file.Path, Iterable<? extends java.lang.CharSequence>, java.nio.charset.Charset, java.nio.file.OpenOption...) throws java.io.IOException; 7427 method public static java.nio.file.Path write(java.nio.file.Path, Iterable<? extends java.lang.CharSequence>, java.nio.file.OpenOption...) throws java.io.IOException; 7428 } 7429 7430 public class InvalidPathException extends java.lang.IllegalArgumentException { 7431 ctor public InvalidPathException(String, String, int); 7432 ctor public InvalidPathException(String, String); 7433 method public int getIndex(); 7434 method public String getInput(); 7435 method public String getReason(); 7436 } 7437 7438 public enum LinkOption implements java.nio.file.CopyOption java.nio.file.OpenOption { 7439 enum_constant public static final java.nio.file.LinkOption NOFOLLOW_LINKS; 7440 } 7441 7442 public final class LinkPermission extends java.security.BasicPermission { 7443 ctor public LinkPermission(String); 7444 ctor public LinkPermission(String, String); 7445 } 7446 7447 public class NoSuchFileException extends java.nio.file.FileSystemException { 7448 ctor public NoSuchFileException(String); 7449 ctor public NoSuchFileException(String, String, String); 7450 } 7451 7452 public class NotDirectoryException extends java.nio.file.FileSystemException { 7453 ctor public NotDirectoryException(String); 7454 } 7455 7456 public class NotLinkException extends java.nio.file.FileSystemException { 7457 ctor public NotLinkException(String); 7458 ctor public NotLinkException(String, String, String); 7459 } 7460 7461 public interface OpenOption { 7462 } 7463 7464 public interface Path extends java.lang.Comparable<java.nio.file.Path> java.lang.Iterable<java.nio.file.Path> java.nio.file.Watchable { 7465 method public int compareTo(java.nio.file.Path); 7466 method public boolean endsWith(java.nio.file.Path); 7467 method public boolean endsWith(String); 7468 method public boolean equals(Object); 7469 method public java.nio.file.Path getFileName(); 7470 method public java.nio.file.FileSystem getFileSystem(); 7471 method public java.nio.file.Path getName(int); 7472 method public int getNameCount(); 7473 method public java.nio.file.Path getParent(); 7474 method public java.nio.file.Path getRoot(); 7475 method public int hashCode(); 7476 method public boolean isAbsolute(); 7477 method public java.util.Iterator<java.nio.file.Path> iterator(); 7478 method public java.nio.file.Path normalize(); 7479 method public static java.nio.file.Path of(String, java.lang.String...); 7480 method public static java.nio.file.Path of(java.net.URI); 7481 method public java.nio.file.Path relativize(java.nio.file.Path); 7482 method public java.nio.file.Path resolve(java.nio.file.Path); 7483 method public java.nio.file.Path resolve(String); 7484 method public java.nio.file.Path resolveSibling(java.nio.file.Path); 7485 method public java.nio.file.Path resolveSibling(String); 7486 method public boolean startsWith(java.nio.file.Path); 7487 method public boolean startsWith(String); 7488 method public java.nio.file.Path subpath(int, int); 7489 method public java.nio.file.Path toAbsolutePath(); 7490 method public java.io.File toFile(); 7491 method public java.nio.file.Path toRealPath(java.nio.file.LinkOption...) throws java.io.IOException; 7492 method public String toString(); 7493 method public java.net.URI toUri(); 7494 } 7495 7496 @java.lang.FunctionalInterface public interface PathMatcher { 7497 method public boolean matches(java.nio.file.Path); 7498 } 7499 7500 public final class Paths { 7501 method public static java.nio.file.Path get(String, java.lang.String...); 7502 method public static java.nio.file.Path get(java.net.URI); 7503 } 7504 7505 public class ProviderMismatchException extends java.lang.IllegalArgumentException { 7506 ctor public ProviderMismatchException(); 7507 ctor public ProviderMismatchException(String); 7508 } 7509 7510 public class ProviderNotFoundException extends java.lang.RuntimeException { 7511 ctor public ProviderNotFoundException(); 7512 ctor public ProviderNotFoundException(String); 7513 } 7514 7515 public class ReadOnlyFileSystemException extends java.lang.UnsupportedOperationException { 7516 ctor public ReadOnlyFileSystemException(); 7517 } 7518 7519 public interface SecureDirectoryStream<T> extends java.nio.file.DirectoryStream<T> { 7520 method public void deleteDirectory(T) throws java.io.IOException; 7521 method public void deleteFile(T) throws java.io.IOException; 7522 method public <V extends java.nio.file.attribute.FileAttributeView> V getFileAttributeView(Class<V>); 7523 method public <V extends java.nio.file.attribute.FileAttributeView> V getFileAttributeView(T, Class<V>, java.nio.file.LinkOption...); 7524 method public void move(T, java.nio.file.SecureDirectoryStream<T>, T) throws java.io.IOException; 7525 method public java.nio.channels.SeekableByteChannel newByteChannel(T, java.util.Set<? extends java.nio.file.OpenOption>, java.nio.file.attribute.FileAttribute<?>...) throws java.io.IOException; 7526 method public java.nio.file.SecureDirectoryStream<T> newDirectoryStream(T, java.nio.file.LinkOption...) throws java.io.IOException; 7527 } 7528 7529 public class SimpleFileVisitor<T> implements java.nio.file.FileVisitor<T> { 7530 ctor protected SimpleFileVisitor(); 7531 method public java.nio.file.FileVisitResult postVisitDirectory(T, java.io.IOException) throws java.io.IOException; 7532 method public java.nio.file.FileVisitResult preVisitDirectory(T, java.nio.file.attribute.BasicFileAttributes) throws java.io.IOException; 7533 method public java.nio.file.FileVisitResult visitFile(T, java.nio.file.attribute.BasicFileAttributes) throws java.io.IOException; 7534 method public java.nio.file.FileVisitResult visitFileFailed(T, java.io.IOException) throws java.io.IOException; 7535 } 7536 7537 public enum StandardCopyOption implements java.nio.file.CopyOption { 7538 enum_constant public static final java.nio.file.StandardCopyOption ATOMIC_MOVE; 7539 enum_constant public static final java.nio.file.StandardCopyOption COPY_ATTRIBUTES; 7540 enum_constant public static final java.nio.file.StandardCopyOption REPLACE_EXISTING; 7541 } 7542 7543 public enum StandardOpenOption implements java.nio.file.OpenOption { 7544 enum_constant public static final java.nio.file.StandardOpenOption APPEND; 7545 enum_constant public static final java.nio.file.StandardOpenOption CREATE; 7546 enum_constant public static final java.nio.file.StandardOpenOption CREATE_NEW; 7547 enum_constant public static final java.nio.file.StandardOpenOption DELETE_ON_CLOSE; 7548 enum_constant public static final java.nio.file.StandardOpenOption DSYNC; 7549 enum_constant public static final java.nio.file.StandardOpenOption READ; 7550 enum_constant public static final java.nio.file.StandardOpenOption SPARSE; 7551 enum_constant public static final java.nio.file.StandardOpenOption SYNC; 7552 enum_constant public static final java.nio.file.StandardOpenOption TRUNCATE_EXISTING; 7553 enum_constant public static final java.nio.file.StandardOpenOption WRITE; 7554 } 7555 7556 public final class StandardWatchEventKinds { 7557 field public static final java.nio.file.WatchEvent.Kind<java.nio.file.Path> ENTRY_CREATE; 7558 field public static final java.nio.file.WatchEvent.Kind<java.nio.file.Path> ENTRY_DELETE; 7559 field public static final java.nio.file.WatchEvent.Kind<java.nio.file.Path> ENTRY_MODIFY; 7560 field public static final java.nio.file.WatchEvent.Kind<java.lang.Object> OVERFLOW; 7561 } 7562 7563 public interface WatchEvent<T> { 7564 method public T context(); 7565 method public int count(); 7566 method public java.nio.file.WatchEvent.Kind<T> kind(); 7567 } 7568 7569 public static interface WatchEvent.Kind<T> { 7570 method public String name(); 7571 method public Class<T> type(); 7572 } 7573 7574 public static interface WatchEvent.Modifier { 7575 method public String name(); 7576 } 7577 7578 public interface WatchKey { 7579 method public void cancel(); 7580 method public boolean isValid(); 7581 method public java.util.List<java.nio.file.WatchEvent<?>> pollEvents(); 7582 method public boolean reset(); 7583 method public java.nio.file.Watchable watchable(); 7584 } 7585 7586 public interface WatchService extends java.io.Closeable { 7587 method public java.nio.file.WatchKey poll(); 7588 method public java.nio.file.WatchKey poll(long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedException; 7589 method public java.nio.file.WatchKey take() throws java.lang.InterruptedException; 7590 } 7591 7592 public interface Watchable { 7593 method public java.nio.file.WatchKey register(java.nio.file.WatchService, java.nio.file.WatchEvent.Kind<?>[], java.nio.file.WatchEvent.Modifier...) throws java.io.IOException; 7594 method public java.nio.file.WatchKey register(java.nio.file.WatchService, java.nio.file.WatchEvent.Kind<?>...) throws java.io.IOException; 7595 } 7596 7597} 7598 7599package java.nio.file.attribute { 7600 7601 public final class AclEntry { 7602 method public java.util.Set<java.nio.file.attribute.AclEntryFlag> flags(); 7603 method public static java.nio.file.attribute.AclEntry.Builder newBuilder(); 7604 method public static java.nio.file.attribute.AclEntry.Builder newBuilder(java.nio.file.attribute.AclEntry); 7605 method public java.util.Set<java.nio.file.attribute.AclEntryPermission> permissions(); 7606 method public java.nio.file.attribute.UserPrincipal principal(); 7607 method public java.nio.file.attribute.AclEntryType type(); 7608 } 7609 7610 public static final class AclEntry.Builder { 7611 method public java.nio.file.attribute.AclEntry build(); 7612 method public java.nio.file.attribute.AclEntry.Builder setFlags(java.util.Set<java.nio.file.attribute.AclEntryFlag>); 7613 method public java.nio.file.attribute.AclEntry.Builder setFlags(java.nio.file.attribute.AclEntryFlag...); 7614 method public java.nio.file.attribute.AclEntry.Builder setPermissions(java.util.Set<java.nio.file.attribute.AclEntryPermission>); 7615 method public java.nio.file.attribute.AclEntry.Builder setPermissions(java.nio.file.attribute.AclEntryPermission...); 7616 method public java.nio.file.attribute.AclEntry.Builder setPrincipal(java.nio.file.attribute.UserPrincipal); 7617 method public java.nio.file.attribute.AclEntry.Builder setType(java.nio.file.attribute.AclEntryType); 7618 } 7619 7620 public enum AclEntryFlag { 7621 enum_constant public static final java.nio.file.attribute.AclEntryFlag DIRECTORY_INHERIT; 7622 enum_constant public static final java.nio.file.attribute.AclEntryFlag FILE_INHERIT; 7623 enum_constant public static final java.nio.file.attribute.AclEntryFlag INHERIT_ONLY; 7624 enum_constant public static final java.nio.file.attribute.AclEntryFlag NO_PROPAGATE_INHERIT; 7625 } 7626 7627 public enum AclEntryPermission { 7628 enum_constant public static final java.nio.file.attribute.AclEntryPermission APPEND_DATA; 7629 enum_constant public static final java.nio.file.attribute.AclEntryPermission DELETE; 7630 enum_constant public static final java.nio.file.attribute.AclEntryPermission DELETE_CHILD; 7631 enum_constant public static final java.nio.file.attribute.AclEntryPermission EXECUTE; 7632 enum_constant public static final java.nio.file.attribute.AclEntryPermission READ_ACL; 7633 enum_constant public static final java.nio.file.attribute.AclEntryPermission READ_ATTRIBUTES; 7634 enum_constant public static final java.nio.file.attribute.AclEntryPermission READ_DATA; 7635 enum_constant public static final java.nio.file.attribute.AclEntryPermission READ_NAMED_ATTRS; 7636 enum_constant public static final java.nio.file.attribute.AclEntryPermission SYNCHRONIZE; 7637 enum_constant public static final java.nio.file.attribute.AclEntryPermission WRITE_ACL; 7638 enum_constant public static final java.nio.file.attribute.AclEntryPermission WRITE_ATTRIBUTES; 7639 enum_constant public static final java.nio.file.attribute.AclEntryPermission WRITE_DATA; 7640 enum_constant public static final java.nio.file.attribute.AclEntryPermission WRITE_NAMED_ATTRS; 7641 enum_constant public static final java.nio.file.attribute.AclEntryPermission WRITE_OWNER; 7642 field public static final java.nio.file.attribute.AclEntryPermission ADD_FILE; 7643 field public static final java.nio.file.attribute.AclEntryPermission ADD_SUBDIRECTORY; 7644 field public static final java.nio.file.attribute.AclEntryPermission LIST_DIRECTORY; 7645 } 7646 7647 public enum AclEntryType { 7648 enum_constant public static final java.nio.file.attribute.AclEntryType ALARM; 7649 enum_constant public static final java.nio.file.attribute.AclEntryType ALLOW; 7650 enum_constant public static final java.nio.file.attribute.AclEntryType AUDIT; 7651 enum_constant public static final java.nio.file.attribute.AclEntryType DENY; 7652 } 7653 7654 public interface AclFileAttributeView extends java.nio.file.attribute.FileOwnerAttributeView { 7655 method public java.util.List<java.nio.file.attribute.AclEntry> getAcl() throws java.io.IOException; 7656 method public void setAcl(java.util.List<java.nio.file.attribute.AclEntry>) throws java.io.IOException; 7657 } 7658 7659 public interface AttributeView { 7660 method public String name(); 7661 } 7662 7663 public interface BasicFileAttributeView extends java.nio.file.attribute.FileAttributeView { 7664 method public java.nio.file.attribute.BasicFileAttributes readAttributes() throws java.io.IOException; 7665 method public void setTimes(java.nio.file.attribute.FileTime, java.nio.file.attribute.FileTime, java.nio.file.attribute.FileTime) throws java.io.IOException; 7666 } 7667 7668 public interface BasicFileAttributes { 7669 method public java.nio.file.attribute.FileTime creationTime(); 7670 method public Object fileKey(); 7671 method public boolean isDirectory(); 7672 method public boolean isOther(); 7673 method public boolean isRegularFile(); 7674 method public boolean isSymbolicLink(); 7675 method public java.nio.file.attribute.FileTime lastAccessTime(); 7676 method public java.nio.file.attribute.FileTime lastModifiedTime(); 7677 method public long size(); 7678 } 7679 7680 public interface DosFileAttributeView extends java.nio.file.attribute.BasicFileAttributeView { 7681 method public java.nio.file.attribute.DosFileAttributes readAttributes() throws java.io.IOException; 7682 method public void setArchive(boolean) throws java.io.IOException; 7683 method public void setHidden(boolean) throws java.io.IOException; 7684 method public void setReadOnly(boolean) throws java.io.IOException; 7685 method public void setSystem(boolean) throws java.io.IOException; 7686 } 7687 7688 public interface DosFileAttributes extends java.nio.file.attribute.BasicFileAttributes { 7689 method public boolean isArchive(); 7690 method public boolean isHidden(); 7691 method public boolean isReadOnly(); 7692 method public boolean isSystem(); 7693 } 7694 7695 public interface FileAttribute<T> { 7696 method public String name(); 7697 method public T value(); 7698 } 7699 7700 public interface FileAttributeView extends java.nio.file.attribute.AttributeView { 7701 } 7702 7703 public interface FileOwnerAttributeView extends java.nio.file.attribute.FileAttributeView { 7704 method public java.nio.file.attribute.UserPrincipal getOwner() throws java.io.IOException; 7705 method public void setOwner(java.nio.file.attribute.UserPrincipal) throws java.io.IOException; 7706 } 7707 7708 public interface FileStoreAttributeView extends java.nio.file.attribute.AttributeView { 7709 } 7710 7711 public final class FileTime implements java.lang.Comparable<java.nio.file.attribute.FileTime> { 7712 method public int compareTo(java.nio.file.attribute.FileTime); 7713 method public static java.nio.file.attribute.FileTime from(long, java.util.concurrent.TimeUnit); 7714 method public static java.nio.file.attribute.FileTime from(java.time.Instant); 7715 method public static java.nio.file.attribute.FileTime fromMillis(long); 7716 method public long to(java.util.concurrent.TimeUnit); 7717 method public java.time.Instant toInstant(); 7718 method public long toMillis(); 7719 } 7720 7721 public interface GroupPrincipal extends java.nio.file.attribute.UserPrincipal { 7722 } 7723 7724 public interface PosixFileAttributeView extends java.nio.file.attribute.BasicFileAttributeView java.nio.file.attribute.FileOwnerAttributeView { 7725 method public String name(); 7726 method public java.nio.file.attribute.PosixFileAttributes readAttributes() throws java.io.IOException; 7727 method public void setGroup(java.nio.file.attribute.GroupPrincipal) throws java.io.IOException; 7728 method public void setPermissions(java.util.Set<java.nio.file.attribute.PosixFilePermission>) throws java.io.IOException; 7729 } 7730 7731 public interface PosixFileAttributes extends java.nio.file.attribute.BasicFileAttributes { 7732 method public java.nio.file.attribute.GroupPrincipal group(); 7733 method public java.nio.file.attribute.UserPrincipal owner(); 7734 method public java.util.Set<java.nio.file.attribute.PosixFilePermission> permissions(); 7735 } 7736 7737 public enum PosixFilePermission { 7738 enum_constant public static final java.nio.file.attribute.PosixFilePermission GROUP_EXECUTE; 7739 enum_constant public static final java.nio.file.attribute.PosixFilePermission GROUP_READ; 7740 enum_constant public static final java.nio.file.attribute.PosixFilePermission GROUP_WRITE; 7741 enum_constant public static final java.nio.file.attribute.PosixFilePermission OTHERS_EXECUTE; 7742 enum_constant public static final java.nio.file.attribute.PosixFilePermission OTHERS_READ; 7743 enum_constant public static final java.nio.file.attribute.PosixFilePermission OTHERS_WRITE; 7744 enum_constant public static final java.nio.file.attribute.PosixFilePermission OWNER_EXECUTE; 7745 enum_constant public static final java.nio.file.attribute.PosixFilePermission OWNER_READ; 7746 enum_constant public static final java.nio.file.attribute.PosixFilePermission OWNER_WRITE; 7747 } 7748 7749 public final class PosixFilePermissions { 7750 method public static java.nio.file.attribute.FileAttribute<java.util.Set<java.nio.file.attribute.PosixFilePermission>> asFileAttribute(java.util.Set<java.nio.file.attribute.PosixFilePermission>); 7751 method public static java.util.Set<java.nio.file.attribute.PosixFilePermission> fromString(String); 7752 method public static String toString(java.util.Set<java.nio.file.attribute.PosixFilePermission>); 7753 } 7754 7755 public interface UserDefinedFileAttributeView extends java.nio.file.attribute.FileAttributeView { 7756 method public void delete(String) throws java.io.IOException; 7757 method public java.util.List<java.lang.String> list() throws java.io.IOException; 7758 method public int read(String, java.nio.ByteBuffer) throws java.io.IOException; 7759 method public int size(String) throws java.io.IOException; 7760 method public int write(String, java.nio.ByteBuffer) throws java.io.IOException; 7761 } 7762 7763 public interface UserPrincipal extends java.security.Principal { 7764 } 7765 7766 public abstract class UserPrincipalLookupService { 7767 ctor protected UserPrincipalLookupService(); 7768 method public abstract java.nio.file.attribute.GroupPrincipal lookupPrincipalByGroupName(String) throws java.io.IOException; 7769 method public abstract java.nio.file.attribute.UserPrincipal lookupPrincipalByName(String) throws java.io.IOException; 7770 } 7771 7772 public class UserPrincipalNotFoundException extends java.io.IOException { 7773 ctor public UserPrincipalNotFoundException(String); 7774 method public String getName(); 7775 } 7776 7777} 7778 7779package java.nio.file.spi { 7780 7781 public abstract class FileSystemProvider { 7782 ctor protected FileSystemProvider(); 7783 method public abstract void checkAccess(java.nio.file.Path, java.nio.file.AccessMode...) throws java.io.IOException; 7784 method public abstract void copy(java.nio.file.Path, java.nio.file.Path, java.nio.file.CopyOption...) throws java.io.IOException; 7785 method public abstract void createDirectory(java.nio.file.Path, java.nio.file.attribute.FileAttribute<?>...) throws java.io.IOException; 7786 method public void createLink(java.nio.file.Path, java.nio.file.Path) throws java.io.IOException; 7787 method public void createSymbolicLink(java.nio.file.Path, java.nio.file.Path, java.nio.file.attribute.FileAttribute<?>...) throws java.io.IOException; 7788 method public abstract void delete(java.nio.file.Path) throws java.io.IOException; 7789 method public boolean deleteIfExists(java.nio.file.Path) throws java.io.IOException; 7790 method public abstract <V extends java.nio.file.attribute.FileAttributeView> V getFileAttributeView(java.nio.file.Path, Class<V>, java.nio.file.LinkOption...); 7791 method public abstract java.nio.file.FileStore getFileStore(java.nio.file.Path) throws java.io.IOException; 7792 method public abstract java.nio.file.FileSystem getFileSystem(java.net.URI); 7793 method public abstract java.nio.file.Path getPath(java.net.URI); 7794 method public abstract String getScheme(); 7795 method public static java.util.List<java.nio.file.spi.FileSystemProvider> installedProviders(); 7796 method public abstract boolean isHidden(java.nio.file.Path) throws java.io.IOException; 7797 method public abstract boolean isSameFile(java.nio.file.Path, java.nio.file.Path) throws java.io.IOException; 7798 method public abstract void move(java.nio.file.Path, java.nio.file.Path, java.nio.file.CopyOption...) throws java.io.IOException; 7799 method public java.nio.channels.AsynchronousFileChannel newAsynchronousFileChannel(java.nio.file.Path, java.util.Set<? extends java.nio.file.OpenOption>, java.util.concurrent.ExecutorService, java.nio.file.attribute.FileAttribute<?>...) throws java.io.IOException; 7800 method public abstract java.nio.channels.SeekableByteChannel newByteChannel(java.nio.file.Path, java.util.Set<? extends java.nio.file.OpenOption>, java.nio.file.attribute.FileAttribute<?>...) throws java.io.IOException; 7801 method public abstract java.nio.file.DirectoryStream<java.nio.file.Path> newDirectoryStream(java.nio.file.Path, java.nio.file.DirectoryStream.Filter<? super java.nio.file.Path>) throws java.io.IOException; 7802 method public java.nio.channels.FileChannel newFileChannel(java.nio.file.Path, java.util.Set<? extends java.nio.file.OpenOption>, java.nio.file.attribute.FileAttribute<?>...) throws java.io.IOException; 7803 method public abstract java.nio.file.FileSystem newFileSystem(java.net.URI, java.util.Map<java.lang.String,?>) throws java.io.IOException; 7804 method public java.nio.file.FileSystem newFileSystem(java.nio.file.Path, java.util.Map<java.lang.String,?>) throws java.io.IOException; 7805 method public java.io.InputStream newInputStream(java.nio.file.Path, java.nio.file.OpenOption...) throws java.io.IOException; 7806 method public java.io.OutputStream newOutputStream(java.nio.file.Path, java.nio.file.OpenOption...) throws java.io.IOException; 7807 method public abstract <A extends java.nio.file.attribute.BasicFileAttributes> A readAttributes(java.nio.file.Path, Class<A>, java.nio.file.LinkOption...) throws java.io.IOException; 7808 method public abstract java.util.Map<java.lang.String,java.lang.Object> readAttributes(java.nio.file.Path, String, java.nio.file.LinkOption...) throws java.io.IOException; 7809 method public java.nio.file.Path readSymbolicLink(java.nio.file.Path) throws java.io.IOException; 7810 method public abstract void setAttribute(java.nio.file.Path, String, Object, java.nio.file.LinkOption...) throws java.io.IOException; 7811 } 7812 7813 public abstract class FileTypeDetector { 7814 ctor protected FileTypeDetector(); 7815 method public abstract String probeContentType(java.nio.file.Path) throws java.io.IOException; 7816 } 7817 7818} 7819 7820package java.security { 7821 7822 public final class AccessControlContext { 7823 ctor public AccessControlContext(java.security.ProtectionDomain[]); 7824 ctor public AccessControlContext(java.security.AccessControlContext, java.security.DomainCombiner); 7825 method public void checkPermission(java.security.Permission) throws java.security.AccessControlException; 7826 method public java.security.DomainCombiner getDomainCombiner(); 7827 } 7828 7829 public class AccessControlException extends java.lang.SecurityException { 7830 ctor public AccessControlException(String); 7831 ctor public AccessControlException(String, java.security.Permission); 7832 method public java.security.Permission getPermission(); 7833 } 7834 7835 public final class AccessController { 7836 method public static void checkPermission(java.security.Permission) throws java.security.AccessControlException; 7837 method public static <T> T doPrivileged(java.security.PrivilegedAction<T>); 7838 method public static <T> T doPrivileged(java.security.PrivilegedAction<T>, java.security.AccessControlContext); 7839 method public static <T> T doPrivileged(java.security.PrivilegedExceptionAction<T>) throws java.security.PrivilegedActionException; 7840 method public static <T> T doPrivileged(java.security.PrivilegedExceptionAction<T>, java.security.AccessControlContext) throws java.security.PrivilegedActionException; 7841 method public static <T> T doPrivilegedWithCombiner(java.security.PrivilegedAction<T>); 7842 method public static <T> T doPrivilegedWithCombiner(java.security.PrivilegedExceptionAction<T>) throws java.security.PrivilegedActionException; 7843 method public static java.security.AccessControlContext getContext(); 7844 } 7845 7846 public interface AlgorithmConstraints { 7847 method public boolean permits(java.util.Set<java.security.CryptoPrimitive>, String, java.security.AlgorithmParameters); 7848 method public boolean permits(java.util.Set<java.security.CryptoPrimitive>, java.security.Key); 7849 method public boolean permits(java.util.Set<java.security.CryptoPrimitive>, String, java.security.Key, java.security.AlgorithmParameters); 7850 } 7851 7852 public class AlgorithmParameterGenerator { 7853 ctor protected AlgorithmParameterGenerator(java.security.AlgorithmParameterGeneratorSpi, java.security.Provider, String); 7854 method public final java.security.AlgorithmParameters generateParameters(); 7855 method public final String getAlgorithm(); 7856 method public static java.security.AlgorithmParameterGenerator getInstance(String) throws java.security.NoSuchAlgorithmException; 7857 method public static java.security.AlgorithmParameterGenerator getInstance(String, String) throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException; 7858 method public static java.security.AlgorithmParameterGenerator getInstance(String, java.security.Provider) throws java.security.NoSuchAlgorithmException; 7859 method public final java.security.Provider getProvider(); 7860 method public final void init(int); 7861 method public final void init(int, java.security.SecureRandom); 7862 method public final void init(java.security.spec.AlgorithmParameterSpec) throws java.security.InvalidAlgorithmParameterException; 7863 method public final void init(java.security.spec.AlgorithmParameterSpec, java.security.SecureRandom) throws java.security.InvalidAlgorithmParameterException; 7864 } 7865 7866 public abstract class AlgorithmParameterGeneratorSpi { 7867 ctor public AlgorithmParameterGeneratorSpi(); 7868 method protected abstract java.security.AlgorithmParameters engineGenerateParameters(); 7869 method protected abstract void engineInit(int, java.security.SecureRandom); 7870 method protected abstract void engineInit(java.security.spec.AlgorithmParameterSpec, java.security.SecureRandom) throws java.security.InvalidAlgorithmParameterException; 7871 } 7872 7873 public class AlgorithmParameters { 7874 ctor protected AlgorithmParameters(java.security.AlgorithmParametersSpi, java.security.Provider, String); 7875 method public final String getAlgorithm(); 7876 method public final byte[] getEncoded() throws java.io.IOException; 7877 method public final byte[] getEncoded(String) throws java.io.IOException; 7878 method public static java.security.AlgorithmParameters getInstance(String) throws java.security.NoSuchAlgorithmException; 7879 method public static java.security.AlgorithmParameters getInstance(String, String) throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException; 7880 method public static java.security.AlgorithmParameters getInstance(String, java.security.Provider) throws java.security.NoSuchAlgorithmException; 7881 method public final <T extends java.security.spec.AlgorithmParameterSpec> T getParameterSpec(Class<T>) throws java.security.spec.InvalidParameterSpecException; 7882 method public final java.security.Provider getProvider(); 7883 method public final void init(java.security.spec.AlgorithmParameterSpec) throws java.security.spec.InvalidParameterSpecException; 7884 method public final void init(byte[]) throws java.io.IOException; 7885 method public final void init(byte[], String) throws java.io.IOException; 7886 method public final String toString(); 7887 } 7888 7889 public abstract class AlgorithmParametersSpi { 7890 ctor public AlgorithmParametersSpi(); 7891 method protected abstract byte[] engineGetEncoded() throws java.io.IOException; 7892 method protected abstract byte[] engineGetEncoded(String) throws java.io.IOException; 7893 method protected abstract <T extends java.security.spec.AlgorithmParameterSpec> T engineGetParameterSpec(Class<T>) throws java.security.spec.InvalidParameterSpecException; 7894 method protected abstract void engineInit(java.security.spec.AlgorithmParameterSpec) throws java.security.spec.InvalidParameterSpecException; 7895 method protected abstract void engineInit(byte[]) throws java.io.IOException; 7896 method protected abstract void engineInit(byte[], String) throws java.io.IOException; 7897 method protected abstract String engineToString(); 7898 } 7899 7900 public final class AllPermission extends java.security.Permission { 7901 ctor public AllPermission(); 7902 ctor public AllPermission(String, String); 7903 method public String getActions(); 7904 method public boolean implies(java.security.Permission); 7905 } 7906 7907 public abstract class AuthProvider extends java.security.Provider { 7908 ctor protected AuthProvider(String, double, String); 7909 method public abstract void login(javax.security.auth.Subject, javax.security.auth.callback.CallbackHandler) throws javax.security.auth.login.LoginException; 7910 method public abstract void logout() throws javax.security.auth.login.LoginException; 7911 method public abstract void setCallbackHandler(javax.security.auth.callback.CallbackHandler); 7912 } 7913 7914 public abstract class BasicPermission extends java.security.Permission implements java.io.Serializable { 7915 ctor public BasicPermission(String); 7916 ctor public BasicPermission(String, String); 7917 method public String getActions(); 7918 method public boolean implies(java.security.Permission); 7919 } 7920 7921 @Deprecated public interface Certificate { 7922 method @Deprecated public void decode(java.io.InputStream) throws java.io.IOException, java.security.KeyException; 7923 method @Deprecated public void encode(java.io.OutputStream) throws java.io.IOException, java.security.KeyException; 7924 method @Deprecated public String getFormat(); 7925 method @Deprecated public java.security.Principal getGuarantor(); 7926 method @Deprecated public java.security.Principal getPrincipal(); 7927 method @Deprecated public java.security.PublicKey getPublicKey(); 7928 method @Deprecated public String toString(boolean); 7929 } 7930 7931 public final class CodeSigner implements java.io.Serializable { 7932 ctor public CodeSigner(java.security.cert.CertPath, java.security.Timestamp); 7933 method public java.security.cert.CertPath getSignerCertPath(); 7934 method public java.security.Timestamp getTimestamp(); 7935 } 7936 7937 public class CodeSource implements java.io.Serializable { 7938 ctor public CodeSource(java.net.URL, java.security.cert.Certificate[]); 7939 ctor public CodeSource(java.net.URL, java.security.CodeSigner[]); 7940 method public final java.security.cert.Certificate[] getCertificates(); 7941 method public final java.security.CodeSigner[] getCodeSigners(); 7942 method public final java.net.URL getLocation(); 7943 method public boolean implies(java.security.CodeSource); 7944 } 7945 7946 public enum CryptoPrimitive { 7947 enum_constant public static final java.security.CryptoPrimitive BLOCK_CIPHER; 7948 enum_constant public static final java.security.CryptoPrimitive KEY_AGREEMENT; 7949 enum_constant public static final java.security.CryptoPrimitive KEY_ENCAPSULATION; 7950 enum_constant public static final java.security.CryptoPrimitive KEY_WRAP; 7951 enum_constant public static final java.security.CryptoPrimitive MAC; 7952 enum_constant public static final java.security.CryptoPrimitive MESSAGE_DIGEST; 7953 enum_constant public static final java.security.CryptoPrimitive PUBLIC_KEY_ENCRYPTION; 7954 enum_constant public static final java.security.CryptoPrimitive SECURE_RANDOM; 7955 enum_constant public static final java.security.CryptoPrimitive SIGNATURE; 7956 enum_constant public static final java.security.CryptoPrimitive STREAM_CIPHER; 7957 } 7958 7959 public class DigestException extends java.security.GeneralSecurityException { 7960 ctor public DigestException(); 7961 ctor public DigestException(String); 7962 ctor public DigestException(String, Throwable); 7963 ctor public DigestException(Throwable); 7964 } 7965 7966 public class DigestInputStream extends java.io.FilterInputStream { 7967 ctor public DigestInputStream(java.io.InputStream, java.security.MessageDigest); 7968 method public java.security.MessageDigest getMessageDigest(); 7969 method public void on(boolean); 7970 method public void setMessageDigest(java.security.MessageDigest); 7971 field protected java.security.MessageDigest digest; 7972 } 7973 7974 public class DigestOutputStream extends java.io.FilterOutputStream { 7975 ctor public DigestOutputStream(java.io.OutputStream, java.security.MessageDigest); 7976 method public java.security.MessageDigest getMessageDigest(); 7977 method public void on(boolean); 7978 method public void setMessageDigest(java.security.MessageDigest); 7979 field protected java.security.MessageDigest digest; 7980 } 7981 7982 public interface DomainCombiner { 7983 method public java.security.ProtectionDomain[] combine(java.security.ProtectionDomain[], java.security.ProtectionDomain[]); 7984 } 7985 7986 public final class DomainLoadStoreParameter implements java.security.KeyStore.LoadStoreParameter { 7987 ctor public DomainLoadStoreParameter(java.net.URI, java.util.Map<java.lang.String,java.security.KeyStore.ProtectionParameter>); 7988 method public java.net.URI getConfiguration(); 7989 method public java.security.KeyStore.ProtectionParameter getProtectionParameter(); 7990 method public java.util.Map<java.lang.String,java.security.KeyStore.ProtectionParameter> getProtectionParams(); 7991 } 7992 7993 @FlaggedApi("com.android.libcore.v_apis") public class DrbgParameters { 7994 method public static java.security.DrbgParameters.Instantiation instantiation(int, java.security.DrbgParameters.Capability, byte[]); 7995 method public static java.security.DrbgParameters.NextBytes nextBytes(int, boolean, byte[]); 7996 method public static java.security.DrbgParameters.Reseed reseed(boolean, byte[]); 7997 } 7998 7999 @FlaggedApi("com.android.libcore.v_apis") public enum DrbgParameters.Capability { 8000 method public boolean supportsPredictionResistance(); 8001 method public boolean supportsReseeding(); 8002 enum_constant public static final java.security.DrbgParameters.Capability NONE; 8003 enum_constant public static final java.security.DrbgParameters.Capability PR_AND_RESEED; 8004 enum_constant public static final java.security.DrbgParameters.Capability RESEED_ONLY; 8005 } 8006 8007 @FlaggedApi("com.android.libcore.v_apis") public static final class DrbgParameters.Instantiation implements java.security.SecureRandomParameters { 8008 method public java.security.DrbgParameters.Capability getCapability(); 8009 method public byte[] getPersonalizationString(); 8010 method public int getStrength(); 8011 } 8012 8013 @FlaggedApi("com.android.libcore.v_apis") public static final class DrbgParameters.NextBytes implements java.security.SecureRandomParameters { 8014 method public byte[] getAdditionalInput(); 8015 method public boolean getPredictionResistance(); 8016 method public int getStrength(); 8017 } 8018 8019 @FlaggedApi("com.android.libcore.v_apis") public static final class DrbgParameters.Reseed implements java.security.SecureRandomParameters { 8020 method public byte[] getAdditionalInput(); 8021 method public boolean getPredictionResistance(); 8022 } 8023 8024 public class GeneralSecurityException extends java.lang.Exception { 8025 ctor public GeneralSecurityException(); 8026 ctor public GeneralSecurityException(String); 8027 ctor public GeneralSecurityException(String, Throwable); 8028 ctor public GeneralSecurityException(Throwable); 8029 } 8030 8031 public interface Guard { 8032 method public void checkGuard(Object) throws java.lang.SecurityException; 8033 } 8034 8035 public class GuardedObject implements java.io.Serializable { 8036 ctor public GuardedObject(Object, java.security.Guard); 8037 method public Object getObject() throws java.lang.SecurityException; 8038 } 8039 8040 @Deprecated public abstract class Identity implements java.security.Principal java.io.Serializable { 8041 ctor @Deprecated protected Identity(); 8042 ctor @Deprecated public Identity(String, java.security.IdentityScope) throws java.security.KeyManagementException; 8043 ctor @Deprecated public Identity(String); 8044 method @Deprecated public void addCertificate(java.security.Certificate) throws java.security.KeyManagementException; 8045 method @Deprecated public java.security.Certificate[] certificates(); 8046 method @Deprecated public final boolean equals(Object); 8047 method @Deprecated public String getInfo(); 8048 method @Deprecated public final String getName(); 8049 method @Deprecated public java.security.PublicKey getPublicKey(); 8050 method @Deprecated public final java.security.IdentityScope getScope(); 8051 method @Deprecated public int hashCode(); 8052 method @Deprecated protected boolean identityEquals(java.security.Identity); 8053 method @Deprecated public void removeCertificate(java.security.Certificate) throws java.security.KeyManagementException; 8054 method @Deprecated public void setInfo(String); 8055 method @Deprecated public void setPublicKey(java.security.PublicKey) throws java.security.KeyManagementException; 8056 method @Deprecated public String toString(); 8057 method @Deprecated public String toString(boolean); 8058 } 8059 8060 @Deprecated public abstract class IdentityScope extends java.security.Identity { 8061 ctor @Deprecated protected IdentityScope(); 8062 ctor @Deprecated public IdentityScope(String); 8063 ctor @Deprecated public IdentityScope(String, java.security.IdentityScope) throws java.security.KeyManagementException; 8064 method @Deprecated public abstract void addIdentity(java.security.Identity) throws java.security.KeyManagementException; 8065 method @Deprecated public abstract java.security.Identity getIdentity(String); 8066 method @Deprecated public java.security.Identity getIdentity(java.security.Principal); 8067 method @Deprecated public abstract java.security.Identity getIdentity(java.security.PublicKey); 8068 method @Deprecated public static java.security.IdentityScope getSystemScope(); 8069 method @Deprecated public abstract java.util.Enumeration<java.security.Identity> identities(); 8070 method @Deprecated public abstract void removeIdentity(java.security.Identity) throws java.security.KeyManagementException; 8071 method @Deprecated protected static void setSystemScope(java.security.IdentityScope); 8072 method @Deprecated public abstract int size(); 8073 } 8074 8075 public class InvalidAlgorithmParameterException extends java.security.GeneralSecurityException { 8076 ctor public InvalidAlgorithmParameterException(); 8077 ctor public InvalidAlgorithmParameterException(String); 8078 ctor public InvalidAlgorithmParameterException(String, Throwable); 8079 ctor public InvalidAlgorithmParameterException(Throwable); 8080 } 8081 8082 public class InvalidKeyException extends java.security.KeyException { 8083 ctor public InvalidKeyException(); 8084 ctor public InvalidKeyException(String); 8085 ctor public InvalidKeyException(String, Throwable); 8086 ctor public InvalidKeyException(Throwable); 8087 } 8088 8089 public class InvalidParameterException extends java.lang.IllegalArgumentException { 8090 ctor public InvalidParameterException(); 8091 ctor public InvalidParameterException(String); 8092 } 8093 8094 public interface Key extends java.io.Serializable { 8095 method public String getAlgorithm(); 8096 method public byte[] getEncoded(); 8097 method public String getFormat(); 8098 field @Deprecated @java.io.Serial public static final long serialVersionUID = 6603384152749567654L; // 0x5ba3eee69414eea6L 8099 } 8100 8101 public class KeyException extends java.security.GeneralSecurityException { 8102 ctor public KeyException(); 8103 ctor public KeyException(String); 8104 ctor public KeyException(String, Throwable); 8105 ctor public KeyException(Throwable); 8106 } 8107 8108 public class KeyFactory { 8109 ctor protected KeyFactory(java.security.KeyFactorySpi, java.security.Provider, String); 8110 method public final java.security.PrivateKey generatePrivate(java.security.spec.KeySpec) throws java.security.spec.InvalidKeySpecException; 8111 method public final java.security.PublicKey generatePublic(java.security.spec.KeySpec) throws java.security.spec.InvalidKeySpecException; 8112 method public final String getAlgorithm(); 8113 method public static java.security.KeyFactory getInstance(String) throws java.security.NoSuchAlgorithmException; 8114 method public static java.security.KeyFactory getInstance(String, String) throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException; 8115 method public static java.security.KeyFactory getInstance(String, java.security.Provider) throws java.security.NoSuchAlgorithmException; 8116 method public final <T extends java.security.spec.KeySpec> T getKeySpec(java.security.Key, Class<T>) throws java.security.spec.InvalidKeySpecException; 8117 method public final java.security.Provider getProvider(); 8118 method public final java.security.Key translateKey(java.security.Key) throws java.security.InvalidKeyException; 8119 } 8120 8121 public abstract class KeyFactorySpi { 8122 ctor public KeyFactorySpi(); 8123 method protected abstract java.security.PrivateKey engineGeneratePrivate(java.security.spec.KeySpec) throws java.security.spec.InvalidKeySpecException; 8124 method protected abstract java.security.PublicKey engineGeneratePublic(java.security.spec.KeySpec) throws java.security.spec.InvalidKeySpecException; 8125 method protected abstract <T extends java.security.spec.KeySpec> T engineGetKeySpec(java.security.Key, Class<T>) throws java.security.spec.InvalidKeySpecException; 8126 method protected abstract java.security.Key engineTranslateKey(java.security.Key) throws java.security.InvalidKeyException; 8127 } 8128 8129 public class KeyManagementException extends java.security.KeyException { 8130 ctor public KeyManagementException(); 8131 ctor public KeyManagementException(String); 8132 ctor public KeyManagementException(String, Throwable); 8133 ctor public KeyManagementException(Throwable); 8134 } 8135 8136 public final class KeyPair implements java.io.Serializable { 8137 ctor public KeyPair(java.security.PublicKey, java.security.PrivateKey); 8138 method public java.security.PrivateKey getPrivate(); 8139 method public java.security.PublicKey getPublic(); 8140 } 8141 8142 public abstract class KeyPairGenerator extends java.security.KeyPairGeneratorSpi { 8143 ctor protected KeyPairGenerator(String); 8144 method public final java.security.KeyPair genKeyPair(); 8145 method public java.security.KeyPair generateKeyPair(); 8146 method public String getAlgorithm(); 8147 method public static java.security.KeyPairGenerator getInstance(String) throws java.security.NoSuchAlgorithmException; 8148 method public static java.security.KeyPairGenerator getInstance(String, String) throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException; 8149 method public static java.security.KeyPairGenerator getInstance(String, java.security.Provider) throws java.security.NoSuchAlgorithmException; 8150 method public final java.security.Provider getProvider(); 8151 method public void initialize(int); 8152 method public void initialize(int, java.security.SecureRandom); 8153 method public void initialize(java.security.spec.AlgorithmParameterSpec) throws java.security.InvalidAlgorithmParameterException; 8154 } 8155 8156 public abstract class KeyPairGeneratorSpi { 8157 ctor public KeyPairGeneratorSpi(); 8158 method public abstract java.security.KeyPair generateKeyPair(); 8159 method public abstract void initialize(int, java.security.SecureRandom); 8160 method public void initialize(java.security.spec.AlgorithmParameterSpec, java.security.SecureRandom) throws java.security.InvalidAlgorithmParameterException; 8161 } 8162 8163 public class KeyRep implements java.io.Serializable { 8164 ctor public KeyRep(java.security.KeyRep.Type, String, String, byte[]); 8165 method protected Object readResolve() throws java.io.ObjectStreamException; 8166 } 8167 8168 public enum KeyRep.Type { 8169 enum_constant public static final java.security.KeyRep.Type PRIVATE; 8170 enum_constant public static final java.security.KeyRep.Type PUBLIC; 8171 enum_constant public static final java.security.KeyRep.Type SECRET; 8172 } 8173 8174 public class KeyStore { 8175 ctor protected KeyStore(java.security.KeyStoreSpi, java.security.Provider, String); 8176 method public final java.util.Enumeration<java.lang.String> aliases() throws java.security.KeyStoreException; 8177 method public final boolean containsAlias(String) throws java.security.KeyStoreException; 8178 method public final void deleteEntry(String) throws java.security.KeyStoreException; 8179 method public final boolean entryInstanceOf(String, Class<? extends java.security.KeyStore.Entry>) throws java.security.KeyStoreException; 8180 method public final java.security.cert.Certificate getCertificate(String) throws java.security.KeyStoreException; 8181 method public final String getCertificateAlias(java.security.cert.Certificate) throws java.security.KeyStoreException; 8182 method public final java.security.cert.Certificate[] getCertificateChain(String) throws java.security.KeyStoreException; 8183 method public final java.util.Date getCreationDate(String) throws java.security.KeyStoreException; 8184 method public static final String getDefaultType(); 8185 method public final java.security.KeyStore.Entry getEntry(String, java.security.KeyStore.ProtectionParameter) throws java.security.KeyStoreException, java.security.NoSuchAlgorithmException, java.security.UnrecoverableEntryException; 8186 method public static java.security.KeyStore getInstance(String) throws java.security.KeyStoreException; 8187 method public static java.security.KeyStore getInstance(String, String) throws java.security.KeyStoreException, java.security.NoSuchProviderException; 8188 method public static java.security.KeyStore getInstance(String, java.security.Provider) throws java.security.KeyStoreException; 8189 method public static final java.security.KeyStore getInstance(java.io.File, char[]) throws java.security.cert.CertificateException, java.io.IOException, java.security.KeyStoreException, java.security.NoSuchAlgorithmException; 8190 method public static final java.security.KeyStore getInstance(java.io.File, java.security.KeyStore.LoadStoreParameter) throws java.security.cert.CertificateException, java.io.IOException, java.security.KeyStoreException, java.security.NoSuchAlgorithmException; 8191 method public final java.security.Key getKey(String, char[]) throws java.security.KeyStoreException, java.security.NoSuchAlgorithmException, java.security.UnrecoverableKeyException; 8192 method public final java.security.Provider getProvider(); 8193 method public final String getType(); 8194 method public final boolean isCertificateEntry(String) throws java.security.KeyStoreException; 8195 method public final boolean isKeyEntry(String) throws java.security.KeyStoreException; 8196 method public final void load(java.io.InputStream, char[]) throws java.security.cert.CertificateException, java.io.IOException, java.security.NoSuchAlgorithmException; 8197 method public final void load(java.security.KeyStore.LoadStoreParameter) throws java.security.cert.CertificateException, java.io.IOException, java.security.NoSuchAlgorithmException; 8198 method public final void setCertificateEntry(String, java.security.cert.Certificate) throws java.security.KeyStoreException; 8199 method public final void setEntry(String, java.security.KeyStore.Entry, java.security.KeyStore.ProtectionParameter) throws java.security.KeyStoreException; 8200 method public final void setKeyEntry(String, java.security.Key, char[], java.security.cert.Certificate[]) throws java.security.KeyStoreException; 8201 method public final void setKeyEntry(String, byte[], java.security.cert.Certificate[]) throws java.security.KeyStoreException; 8202 method public final int size() throws java.security.KeyStoreException; 8203 method public final void store(java.io.OutputStream, char[]) throws java.security.cert.CertificateException, java.io.IOException, java.security.KeyStoreException, java.security.NoSuchAlgorithmException; 8204 method public final void store(java.security.KeyStore.LoadStoreParameter) throws java.security.cert.CertificateException, java.io.IOException, java.security.KeyStoreException, java.security.NoSuchAlgorithmException; 8205 } 8206 8207 public abstract static class KeyStore.Builder { 8208 ctor protected KeyStore.Builder(); 8209 method public abstract java.security.KeyStore getKeyStore() throws java.security.KeyStoreException; 8210 method public abstract java.security.KeyStore.ProtectionParameter getProtectionParameter(String) throws java.security.KeyStoreException; 8211 method public static java.security.KeyStore.Builder newInstance(java.security.KeyStore, java.security.KeyStore.ProtectionParameter); 8212 method public static java.security.KeyStore.Builder newInstance(String, java.security.Provider, java.io.File, java.security.KeyStore.ProtectionParameter); 8213 method public static java.security.KeyStore.Builder newInstance(java.io.File, java.security.KeyStore.ProtectionParameter); 8214 method public static java.security.KeyStore.Builder newInstance(String, java.security.Provider, java.security.KeyStore.ProtectionParameter); 8215 } 8216 8217 public static class KeyStore.CallbackHandlerProtection implements java.security.KeyStore.ProtectionParameter { 8218 ctor public KeyStore.CallbackHandlerProtection(javax.security.auth.callback.CallbackHandler); 8219 method public javax.security.auth.callback.CallbackHandler getCallbackHandler(); 8220 } 8221 8222 public static interface KeyStore.Entry { 8223 method public default java.util.Set<java.security.KeyStore.Entry.Attribute> getAttributes(); 8224 } 8225 8226 public static interface KeyStore.Entry.Attribute { 8227 method public String getName(); 8228 method public String getValue(); 8229 } 8230 8231 public static interface KeyStore.LoadStoreParameter { 8232 method public java.security.KeyStore.ProtectionParameter getProtectionParameter(); 8233 } 8234 8235 public static class KeyStore.PasswordProtection implements javax.security.auth.Destroyable java.security.KeyStore.ProtectionParameter { 8236 ctor public KeyStore.PasswordProtection(char[]); 8237 ctor public KeyStore.PasswordProtection(char[], String, java.security.spec.AlgorithmParameterSpec); 8238 method public void destroy() throws javax.security.auth.DestroyFailedException; 8239 method public char[] getPassword(); 8240 method public String getProtectionAlgorithm(); 8241 method public java.security.spec.AlgorithmParameterSpec getProtectionParameters(); 8242 method public boolean isDestroyed(); 8243 } 8244 8245 public static final class KeyStore.PrivateKeyEntry implements java.security.KeyStore.Entry { 8246 ctor public KeyStore.PrivateKeyEntry(java.security.PrivateKey, java.security.cert.Certificate[]); 8247 ctor public KeyStore.PrivateKeyEntry(java.security.PrivateKey, java.security.cert.Certificate[], java.util.Set<java.security.KeyStore.Entry.Attribute>); 8248 method public java.util.Set<java.security.KeyStore.Entry.Attribute> getAttributes(); 8249 method public java.security.cert.Certificate getCertificate(); 8250 method public java.security.cert.Certificate[] getCertificateChain(); 8251 method public java.security.PrivateKey getPrivateKey(); 8252 } 8253 8254 public static interface KeyStore.ProtectionParameter { 8255 } 8256 8257 public static final class KeyStore.SecretKeyEntry implements java.security.KeyStore.Entry { 8258 ctor public KeyStore.SecretKeyEntry(javax.crypto.SecretKey); 8259 ctor public KeyStore.SecretKeyEntry(javax.crypto.SecretKey, java.util.Set<java.security.KeyStore.Entry.Attribute>); 8260 method public java.util.Set<java.security.KeyStore.Entry.Attribute> getAttributes(); 8261 method public javax.crypto.SecretKey getSecretKey(); 8262 } 8263 8264 public static final class KeyStore.TrustedCertificateEntry implements java.security.KeyStore.Entry { 8265 ctor public KeyStore.TrustedCertificateEntry(java.security.cert.Certificate); 8266 ctor public KeyStore.TrustedCertificateEntry(java.security.cert.Certificate, java.util.Set<java.security.KeyStore.Entry.Attribute>); 8267 method public java.util.Set<java.security.KeyStore.Entry.Attribute> getAttributes(); 8268 method public java.security.cert.Certificate getTrustedCertificate(); 8269 } 8270 8271 public class KeyStoreException extends java.security.GeneralSecurityException { 8272 ctor public KeyStoreException(); 8273 ctor public KeyStoreException(String); 8274 ctor public KeyStoreException(String, Throwable); 8275 ctor public KeyStoreException(Throwable); 8276 } 8277 8278 public abstract class KeyStoreSpi { 8279 ctor public KeyStoreSpi(); 8280 method public abstract java.util.Enumeration<java.lang.String> engineAliases(); 8281 method public abstract boolean engineContainsAlias(String); 8282 method public abstract void engineDeleteEntry(String) throws java.security.KeyStoreException; 8283 method public boolean engineEntryInstanceOf(String, Class<? extends java.security.KeyStore.Entry>); 8284 method public abstract java.security.cert.Certificate engineGetCertificate(String); 8285 method public abstract String engineGetCertificateAlias(java.security.cert.Certificate); 8286 method public abstract java.security.cert.Certificate[] engineGetCertificateChain(String); 8287 method public abstract java.util.Date engineGetCreationDate(String); 8288 method public java.security.KeyStore.Entry engineGetEntry(String, java.security.KeyStore.ProtectionParameter) throws java.security.KeyStoreException, java.security.NoSuchAlgorithmException, java.security.UnrecoverableEntryException; 8289 method public abstract java.security.Key engineGetKey(String, char[]) throws java.security.NoSuchAlgorithmException, java.security.UnrecoverableKeyException; 8290 method public abstract boolean engineIsCertificateEntry(String); 8291 method public abstract boolean engineIsKeyEntry(String); 8292 method public abstract void engineLoad(java.io.InputStream, char[]) throws java.security.cert.CertificateException, java.io.IOException, java.security.NoSuchAlgorithmException; 8293 method public void engineLoad(java.security.KeyStore.LoadStoreParameter) throws java.security.cert.CertificateException, java.io.IOException, java.security.NoSuchAlgorithmException; 8294 method public boolean engineProbe(java.io.InputStream) throws java.io.IOException; 8295 method public abstract void engineSetCertificateEntry(String, java.security.cert.Certificate) throws java.security.KeyStoreException; 8296 method public void engineSetEntry(String, java.security.KeyStore.Entry, java.security.KeyStore.ProtectionParameter) throws java.security.KeyStoreException; 8297 method public abstract void engineSetKeyEntry(String, java.security.Key, char[], java.security.cert.Certificate[]) throws java.security.KeyStoreException; 8298 method public abstract void engineSetKeyEntry(String, byte[], java.security.cert.Certificate[]) throws java.security.KeyStoreException; 8299 method public abstract int engineSize(); 8300 method public abstract void engineStore(java.io.OutputStream, char[]) throws java.security.cert.CertificateException, java.io.IOException, java.security.NoSuchAlgorithmException; 8301 method public void engineStore(java.security.KeyStore.LoadStoreParameter) throws java.security.cert.CertificateException, java.io.IOException, java.security.NoSuchAlgorithmException; 8302 } 8303 8304 public abstract class MessageDigest extends java.security.MessageDigestSpi { 8305 ctor protected MessageDigest(@NonNull String); 8306 method @NonNull public byte[] digest(); 8307 method public int digest(@NonNull byte[], int, int) throws java.security.DigestException; 8308 method @NonNull public byte[] digest(@NonNull byte[]); 8309 method @NonNull public final String getAlgorithm(); 8310 method public final int getDigestLength(); 8311 method @NonNull public static java.security.MessageDigest getInstance(@NonNull String) throws java.security.NoSuchAlgorithmException; 8312 method @NonNull public static java.security.MessageDigest getInstance(@NonNull String, @NonNull String) throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException; 8313 method @NonNull public static java.security.MessageDigest getInstance(@NonNull String, @NonNull java.security.Provider) throws java.security.NoSuchAlgorithmException; 8314 method @NonNull public final java.security.Provider getProvider(); 8315 method public static boolean isEqual(@Nullable byte[], @Nullable byte[]); 8316 method public void reset(); 8317 method public void update(byte); 8318 method public void update(@NonNull byte[], int, int); 8319 method public void update(@NonNull byte[]); 8320 method public final void update(@NonNull java.nio.ByteBuffer); 8321 } 8322 8323 public abstract class MessageDigestSpi { 8324 ctor public MessageDigestSpi(); 8325 method public Object clone() throws java.lang.CloneNotSupportedException; 8326 method protected abstract byte[] engineDigest(); 8327 method protected int engineDigest(byte[], int, int) throws java.security.DigestException; 8328 method protected int engineGetDigestLength(); 8329 method protected abstract void engineReset(); 8330 method protected abstract void engineUpdate(byte); 8331 method protected abstract void engineUpdate(byte[], int, int); 8332 method protected void engineUpdate(java.nio.ByteBuffer); 8333 } 8334 8335 public class NoSuchAlgorithmException extends java.security.GeneralSecurityException { 8336 ctor public NoSuchAlgorithmException(); 8337 ctor public NoSuchAlgorithmException(String); 8338 ctor public NoSuchAlgorithmException(String, Throwable); 8339 ctor public NoSuchAlgorithmException(Throwable); 8340 } 8341 8342 public class NoSuchProviderException extends java.security.GeneralSecurityException { 8343 ctor public NoSuchProviderException(); 8344 ctor public NoSuchProviderException(String); 8345 } 8346 8347 public final class PKCS12Attribute implements java.security.KeyStore.Entry.Attribute { 8348 ctor public PKCS12Attribute(String, String); 8349 ctor public PKCS12Attribute(byte[]); 8350 method public byte[] getEncoded(); 8351 method public String getName(); 8352 method public String getValue(); 8353 } 8354 8355 public abstract class Permission implements java.security.Guard java.io.Serializable { 8356 ctor public Permission(String); 8357 method public void checkGuard(Object) throws java.lang.SecurityException; 8358 method public abstract String getActions(); 8359 method public final String getName(); 8360 method public abstract boolean implies(java.security.Permission); 8361 method public java.security.PermissionCollection newPermissionCollection(); 8362 } 8363 8364 public abstract class PermissionCollection implements java.io.Serializable { 8365 ctor public PermissionCollection(); 8366 method public abstract void add(java.security.Permission); 8367 method public abstract java.util.Enumeration<java.security.Permission> elements(); 8368 method public abstract boolean implies(java.security.Permission); 8369 method public boolean isReadOnly(); 8370 method public void setReadOnly(); 8371 } 8372 8373 public final class Permissions extends java.security.PermissionCollection implements java.io.Serializable { 8374 ctor public Permissions(); 8375 method public void add(java.security.Permission); 8376 method public java.util.Enumeration<java.security.Permission> elements(); 8377 method public boolean implies(java.security.Permission); 8378 } 8379 8380 public abstract class Policy { 8381 ctor public Policy(); 8382 method public static java.security.Policy getInstance(String, java.security.Policy.Parameters) throws java.security.NoSuchAlgorithmException; 8383 method public static java.security.Policy getInstance(String, java.security.Policy.Parameters, String) throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException; 8384 method public static java.security.Policy getInstance(String, java.security.Policy.Parameters, java.security.Provider) throws java.security.NoSuchAlgorithmException; 8385 method public java.security.Policy.Parameters getParameters(); 8386 method public java.security.PermissionCollection getPermissions(java.security.CodeSource); 8387 method public java.security.PermissionCollection getPermissions(java.security.ProtectionDomain); 8388 method public static java.security.Policy getPolicy(); 8389 method public java.security.Provider getProvider(); 8390 method public String getType(); 8391 method public boolean implies(java.security.ProtectionDomain, java.security.Permission); 8392 method public void refresh(); 8393 method public static void setPolicy(java.security.Policy); 8394 field public static final java.security.PermissionCollection UNSUPPORTED_EMPTY_COLLECTION; 8395 } 8396 8397 public static interface Policy.Parameters { 8398 } 8399 8400 public abstract class PolicySpi { 8401 ctor public PolicySpi(); 8402 method protected java.security.PermissionCollection engineGetPermissions(java.security.CodeSource); 8403 method protected java.security.PermissionCollection engineGetPermissions(java.security.ProtectionDomain); 8404 method protected abstract boolean engineImplies(java.security.ProtectionDomain, java.security.Permission); 8405 method protected void engineRefresh(); 8406 } 8407 8408 public interface Principal { 8409 method public boolean equals(Object); 8410 method public String getName(); 8411 method public int hashCode(); 8412 method public default boolean implies(javax.security.auth.Subject); 8413 method public String toString(); 8414 } 8415 8416 public interface PrivateKey extends java.security.Key javax.security.auth.Destroyable { 8417 field @Deprecated @java.io.Serial public static final long serialVersionUID = 6034044314589513430L; // 0x53bd3b559a12c6d6L 8418 } 8419 8420 public interface PrivilegedAction<T> { 8421 method public T run(); 8422 } 8423 8424 public class PrivilegedActionException extends java.lang.Exception { 8425 ctor public PrivilegedActionException(Exception); 8426 method public Exception getException(); 8427 } 8428 8429 public interface PrivilegedExceptionAction<T> { 8430 method public T run() throws java.lang.Exception; 8431 } 8432 8433 public class ProtectionDomain { 8434 ctor public ProtectionDomain(java.security.CodeSource, java.security.PermissionCollection); 8435 ctor public ProtectionDomain(java.security.CodeSource, java.security.PermissionCollection, ClassLoader, java.security.Principal[]); 8436 method public final ClassLoader getClassLoader(); 8437 method public final java.security.CodeSource getCodeSource(); 8438 method public final java.security.PermissionCollection getPermissions(); 8439 method public final java.security.Principal[] getPrincipals(); 8440 method public boolean implies(java.security.Permission); 8441 } 8442 8443 public abstract class Provider extends java.util.Properties { 8444 ctor protected Provider(String, double, String); 8445 method public String getInfo(); 8446 method public String getName(); 8447 method public java.security.Provider.Service getService(String, String); 8448 method public java.util.Set<java.security.Provider.Service> getServices(); 8449 method public double getVersion(); 8450 method protected void putService(java.security.Provider.Service); 8451 method protected void removeService(java.security.Provider.Service); 8452 } 8453 8454 public static class Provider.Service { 8455 ctor public Provider.Service(java.security.Provider, String, String, String, java.util.List<java.lang.String>, java.util.Map<java.lang.String,java.lang.String>); 8456 method public final String getAlgorithm(); 8457 method public final String getAttribute(String); 8458 method public final String getClassName(); 8459 method public final java.security.Provider getProvider(); 8460 method public final String getType(); 8461 method public Object newInstance(Object) throws java.security.NoSuchAlgorithmException; 8462 method public boolean supportsParameter(Object); 8463 } 8464 8465 public class ProviderException extends java.lang.RuntimeException { 8466 ctor public ProviderException(); 8467 ctor public ProviderException(String); 8468 ctor public ProviderException(String, Throwable); 8469 ctor public ProviderException(Throwable); 8470 } 8471 8472 public interface PublicKey extends java.security.Key { 8473 field @Deprecated @java.io.Serial public static final long serialVersionUID = 7187392471159151072L; // 0x63bebf5f40c219e0L 8474 } 8475 8476 public class SecureClassLoader extends java.lang.ClassLoader { 8477 ctor protected SecureClassLoader(ClassLoader); 8478 ctor protected SecureClassLoader(); 8479 method protected final Class<?> defineClass(String, byte[], int, int, java.security.CodeSource); 8480 method protected final Class<?> defineClass(String, java.nio.ByteBuffer, java.security.CodeSource); 8481 method protected java.security.PermissionCollection getPermissions(java.security.CodeSource); 8482 } 8483 8484 public class SecureRandom extends java.util.Random { 8485 ctor public SecureRandom(); 8486 ctor public SecureRandom(byte[]); 8487 ctor protected SecureRandom(java.security.SecureRandomSpi, java.security.Provider); 8488 method public byte[] generateSeed(int); 8489 method public String getAlgorithm(); 8490 method public static java.security.SecureRandom getInstance(String) throws java.security.NoSuchAlgorithmException; 8491 method public static java.security.SecureRandom getInstance(String, String) throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException; 8492 method public static java.security.SecureRandom getInstance(String, java.security.Provider) throws java.security.NoSuchAlgorithmException; 8493 method @FlaggedApi("com.android.libcore.v_apis") public static java.security.SecureRandom getInstance(String, java.security.SecureRandomParameters) throws java.security.NoSuchAlgorithmException; 8494 method @FlaggedApi("com.android.libcore.v_apis") public static java.security.SecureRandom getInstance(String, java.security.SecureRandomParameters, String) throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException; 8495 method @FlaggedApi("com.android.libcore.v_apis") public static java.security.SecureRandom getInstance(String, java.security.SecureRandomParameters, java.security.Provider) throws java.security.NoSuchAlgorithmException; 8496 method public static java.security.SecureRandom getInstanceStrong() throws java.security.NoSuchAlgorithmException; 8497 method @FlaggedApi("com.android.libcore.v_apis") public java.security.SecureRandomParameters getParameters(); 8498 method public final java.security.Provider getProvider(); 8499 method public static byte[] getSeed(int); 8500 method protected final int next(int); 8501 method @FlaggedApi("com.android.libcore.v_apis") public void nextBytes(byte[], java.security.SecureRandomParameters); 8502 method @FlaggedApi("com.android.libcore.v_apis") public void reseed(); 8503 method @FlaggedApi("com.android.libcore.v_apis") public void reseed(java.security.SecureRandomParameters); 8504 method public void setSeed(byte[]); 8505 } 8506 8507 @FlaggedApi("com.android.libcore.v_apis") public interface SecureRandomParameters { 8508 } 8509 8510 public abstract class SecureRandomSpi implements java.io.Serializable { 8511 ctor public SecureRandomSpi(); 8512 ctor @FlaggedApi("com.android.libcore.v_apis") protected SecureRandomSpi(java.security.SecureRandomParameters); 8513 method protected abstract byte[] engineGenerateSeed(int); 8514 method @FlaggedApi("com.android.libcore.v_apis") protected java.security.SecureRandomParameters engineGetParameters(); 8515 method protected abstract void engineNextBytes(byte[]); 8516 method @FlaggedApi("com.android.libcore.v_apis") protected void engineNextBytes(byte[], java.security.SecureRandomParameters); 8517 method @FlaggedApi("com.android.libcore.v_apis") protected void engineReseed(java.security.SecureRandomParameters); 8518 method protected abstract void engineSetSeed(byte[]); 8519 } 8520 8521 public final class Security { 8522 method public static int addProvider(java.security.Provider); 8523 method @Deprecated public static String getAlgorithmProperty(String, String); 8524 method public static java.util.Set<java.lang.String> getAlgorithms(String); 8525 method public static String getProperty(String); 8526 method public static java.security.Provider getProvider(String); 8527 method public static java.security.Provider[] getProviders(); 8528 method public static java.security.Provider[] getProviders(String); 8529 method public static java.security.Provider[] getProviders(java.util.Map<java.lang.String,java.lang.String>); 8530 method public static int insertProviderAt(java.security.Provider, int); 8531 method public static void removeProvider(String); 8532 method public static void setProperty(String, String); 8533 } 8534 8535 public final class SecurityPermission extends java.security.BasicPermission { 8536 ctor public SecurityPermission(String); 8537 ctor public SecurityPermission(String, String); 8538 } 8539 8540 public abstract class Signature extends java.security.SignatureSpi { 8541 ctor protected Signature(String); 8542 method public final String getAlgorithm(); 8543 method public static java.security.Signature getInstance(String) throws java.security.NoSuchAlgorithmException; 8544 method public static java.security.Signature getInstance(String, String) throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException; 8545 method public static java.security.Signature getInstance(String, java.security.Provider) throws java.security.NoSuchAlgorithmException; 8546 method @Deprecated public final Object getParameter(String) throws java.security.InvalidParameterException; 8547 method public final java.security.AlgorithmParameters getParameters(); 8548 method public final java.security.Provider getProvider(); 8549 method public final void initSign(java.security.PrivateKey) throws java.security.InvalidKeyException; 8550 method public final void initSign(java.security.PrivateKey, java.security.SecureRandom) throws java.security.InvalidKeyException; 8551 method public final void initVerify(java.security.PublicKey) throws java.security.InvalidKeyException; 8552 method public final void initVerify(java.security.cert.Certificate) throws java.security.InvalidKeyException; 8553 method @Deprecated public final void setParameter(String, Object) throws java.security.InvalidParameterException; 8554 method public final void setParameter(java.security.spec.AlgorithmParameterSpec) throws java.security.InvalidAlgorithmParameterException; 8555 method public final byte[] sign() throws java.security.SignatureException; 8556 method public final int sign(byte[], int, int) throws java.security.SignatureException; 8557 method public final void update(byte) throws java.security.SignatureException; 8558 method public final void update(byte[]) throws java.security.SignatureException; 8559 method public final void update(byte[], int, int) throws java.security.SignatureException; 8560 method public final void update(java.nio.ByteBuffer) throws java.security.SignatureException; 8561 method public final boolean verify(byte[]) throws java.security.SignatureException; 8562 method public final boolean verify(byte[], int, int) throws java.security.SignatureException; 8563 field protected static final int SIGN = 2; // 0x2 8564 field protected static final int UNINITIALIZED = 0; // 0x0 8565 field protected static final int VERIFY = 3; // 0x3 8566 field protected int state; 8567 } 8568 8569 public class SignatureException extends java.security.GeneralSecurityException { 8570 ctor public SignatureException(); 8571 ctor public SignatureException(String); 8572 ctor public SignatureException(String, Throwable); 8573 ctor public SignatureException(Throwable); 8574 } 8575 8576 public abstract class SignatureSpi { 8577 ctor public SignatureSpi(); 8578 method public Object clone() throws java.lang.CloneNotSupportedException; 8579 method @Deprecated protected abstract Object engineGetParameter(String) throws java.security.InvalidParameterException; 8580 method protected java.security.AlgorithmParameters engineGetParameters(); 8581 method protected abstract void engineInitSign(java.security.PrivateKey) throws java.security.InvalidKeyException; 8582 method protected void engineInitSign(java.security.PrivateKey, java.security.SecureRandom) throws java.security.InvalidKeyException; 8583 method protected abstract void engineInitVerify(java.security.PublicKey) throws java.security.InvalidKeyException; 8584 method @Deprecated protected abstract void engineSetParameter(String, Object) throws java.security.InvalidParameterException; 8585 method protected void engineSetParameter(java.security.spec.AlgorithmParameterSpec) throws java.security.InvalidAlgorithmParameterException; 8586 method protected abstract byte[] engineSign() throws java.security.SignatureException; 8587 method protected int engineSign(byte[], int, int) throws java.security.SignatureException; 8588 method protected abstract void engineUpdate(byte) throws java.security.SignatureException; 8589 method protected abstract void engineUpdate(byte[], int, int) throws java.security.SignatureException; 8590 method protected void engineUpdate(java.nio.ByteBuffer); 8591 method protected abstract boolean engineVerify(byte[]) throws java.security.SignatureException; 8592 method protected boolean engineVerify(byte[], int, int) throws java.security.SignatureException; 8593 field protected java.security.SecureRandom appRandom; 8594 } 8595 8596 public final class SignedObject implements java.io.Serializable { 8597 ctor public SignedObject(java.io.Serializable, java.security.PrivateKey, java.security.Signature) throws java.io.IOException, java.security.InvalidKeyException, java.security.SignatureException; 8598 method public String getAlgorithm(); 8599 method public Object getObject() throws java.lang.ClassNotFoundException, java.io.IOException; 8600 method public byte[] getSignature(); 8601 method public boolean verify(java.security.PublicKey, java.security.Signature) throws java.security.InvalidKeyException, java.security.SignatureException; 8602 } 8603 8604 @Deprecated public abstract class Signer extends java.security.Identity { 8605 ctor @Deprecated protected Signer(); 8606 ctor @Deprecated public Signer(String); 8607 ctor @Deprecated public Signer(String, java.security.IdentityScope) throws java.security.KeyManagementException; 8608 method @Deprecated public java.security.PrivateKey getPrivateKey(); 8609 method @Deprecated public final void setKeyPair(java.security.KeyPair) throws java.security.InvalidParameterException, java.security.KeyException; 8610 } 8611 8612 public final class Timestamp implements java.io.Serializable { 8613 ctor public Timestamp(java.util.Date, java.security.cert.CertPath); 8614 method public java.security.cert.CertPath getSignerCertPath(); 8615 method public java.util.Date getTimestamp(); 8616 } 8617 8618 public class UnrecoverableEntryException extends java.security.GeneralSecurityException { 8619 ctor public UnrecoverableEntryException(); 8620 ctor public UnrecoverableEntryException(String); 8621 } 8622 8623 public class UnrecoverableKeyException extends java.security.UnrecoverableEntryException { 8624 ctor public UnrecoverableKeyException(); 8625 ctor public UnrecoverableKeyException(String); 8626 } 8627 8628 public final class UnresolvedPermission extends java.security.Permission implements java.io.Serializable { 8629 ctor public UnresolvedPermission(String, String, String, java.security.cert.Certificate[]); 8630 method public String getActions(); 8631 method public String getUnresolvedActions(); 8632 method public java.security.cert.Certificate[] getUnresolvedCerts(); 8633 method public String getUnresolvedName(); 8634 method public String getUnresolvedType(); 8635 method public boolean implies(java.security.Permission); 8636 } 8637 8638} 8639 8640package java.security.acl { 8641 8642 @Deprecated public interface Acl extends java.security.acl.Owner { 8643 method @Deprecated public boolean addEntry(java.security.Principal, java.security.acl.AclEntry) throws java.security.acl.NotOwnerException; 8644 method @Deprecated public boolean checkPermission(java.security.Principal, java.security.acl.Permission); 8645 method @Deprecated public java.util.Enumeration<java.security.acl.AclEntry> entries(); 8646 method @Deprecated public String getName(); 8647 method @Deprecated public java.util.Enumeration<java.security.acl.Permission> getPermissions(java.security.Principal); 8648 method @Deprecated public boolean removeEntry(java.security.Principal, java.security.acl.AclEntry) throws java.security.acl.NotOwnerException; 8649 method @Deprecated public void setName(java.security.Principal, String) throws java.security.acl.NotOwnerException; 8650 method @Deprecated public String toString(); 8651 } 8652 8653 @Deprecated public interface AclEntry extends java.lang.Cloneable { 8654 method @Deprecated public boolean addPermission(java.security.acl.Permission); 8655 method @Deprecated public boolean checkPermission(java.security.acl.Permission); 8656 method @Deprecated public Object clone(); 8657 method @Deprecated public java.security.Principal getPrincipal(); 8658 method @Deprecated public boolean isNegative(); 8659 method @Deprecated public java.util.Enumeration<java.security.acl.Permission> permissions(); 8660 method @Deprecated public boolean removePermission(java.security.acl.Permission); 8661 method @Deprecated public void setNegativePermissions(); 8662 method @Deprecated public boolean setPrincipal(java.security.Principal); 8663 method @Deprecated public String toString(); 8664 } 8665 8666 @Deprecated public class AclNotFoundException extends java.lang.Exception { 8667 ctor @Deprecated public AclNotFoundException(); 8668 } 8669 8670 @Deprecated public interface Group extends java.security.Principal { 8671 method @Deprecated public boolean addMember(java.security.Principal); 8672 method @Deprecated public boolean isMember(java.security.Principal); 8673 method @Deprecated public java.util.Enumeration<? extends java.security.Principal> members(); 8674 method @Deprecated public boolean removeMember(java.security.Principal); 8675 } 8676 8677 @Deprecated public class LastOwnerException extends java.lang.Exception { 8678 ctor @Deprecated public LastOwnerException(); 8679 } 8680 8681 @Deprecated public class NotOwnerException extends java.lang.Exception { 8682 ctor @Deprecated public NotOwnerException(); 8683 } 8684 8685 @Deprecated public interface Owner { 8686 method @Deprecated public boolean addOwner(java.security.Principal, java.security.Principal) throws java.security.acl.NotOwnerException; 8687 method @Deprecated public boolean deleteOwner(java.security.Principal, java.security.Principal) throws java.security.acl.LastOwnerException, java.security.acl.NotOwnerException; 8688 method @Deprecated public boolean isOwner(java.security.Principal); 8689 } 8690 8691 @Deprecated public interface Permission { 8692 } 8693 8694} 8695 8696package java.security.cert { 8697 8698 public abstract class CRL { 8699 ctor protected CRL(String); 8700 method public final String getType(); 8701 method public abstract boolean isRevoked(java.security.cert.Certificate); 8702 method public abstract String toString(); 8703 } 8704 8705 public class CRLException extends java.security.GeneralSecurityException { 8706 ctor public CRLException(); 8707 ctor public CRLException(String); 8708 ctor public CRLException(String, Throwable); 8709 ctor public CRLException(Throwable); 8710 } 8711 8712 public enum CRLReason { 8713 enum_constant public static final java.security.cert.CRLReason AA_COMPROMISE; 8714 enum_constant public static final java.security.cert.CRLReason AFFILIATION_CHANGED; 8715 enum_constant public static final java.security.cert.CRLReason CA_COMPROMISE; 8716 enum_constant public static final java.security.cert.CRLReason CERTIFICATE_HOLD; 8717 enum_constant public static final java.security.cert.CRLReason CESSATION_OF_OPERATION; 8718 enum_constant public static final java.security.cert.CRLReason KEY_COMPROMISE; 8719 enum_constant public static final java.security.cert.CRLReason PRIVILEGE_WITHDRAWN; 8720 enum_constant public static final java.security.cert.CRLReason REMOVE_FROM_CRL; 8721 enum_constant public static final java.security.cert.CRLReason SUPERSEDED; 8722 enum_constant public static final java.security.cert.CRLReason UNSPECIFIED; 8723 enum_constant public static final java.security.cert.CRLReason UNUSED; 8724 } 8725 8726 public interface CRLSelector extends java.lang.Cloneable { 8727 method public Object clone(); 8728 method public boolean match(java.security.cert.CRL); 8729 } 8730 8731 public abstract class CertPath implements java.io.Serializable { 8732 ctor protected CertPath(String); 8733 method public abstract java.util.List<? extends java.security.cert.Certificate> getCertificates(); 8734 method public abstract byte[] getEncoded() throws java.security.cert.CertificateEncodingException; 8735 method public abstract byte[] getEncoded(String) throws java.security.cert.CertificateEncodingException; 8736 method public abstract java.util.Iterator<java.lang.String> getEncodings(); 8737 method public String getType(); 8738 method protected Object writeReplace() throws java.io.ObjectStreamException; 8739 } 8740 8741 protected static class CertPath.CertPathRep implements java.io.Serializable { 8742 ctor protected CertPath.CertPathRep(String, byte[]); 8743 method protected Object readResolve() throws java.io.ObjectStreamException; 8744 } 8745 8746 public class CertPathBuilder { 8747 ctor protected CertPathBuilder(java.security.cert.CertPathBuilderSpi, java.security.Provider, String); 8748 method public final java.security.cert.CertPathBuilderResult build(java.security.cert.CertPathParameters) throws java.security.cert.CertPathBuilderException, java.security.InvalidAlgorithmParameterException; 8749 method public final String getAlgorithm(); 8750 method public static final String getDefaultType(); 8751 method public static java.security.cert.CertPathBuilder getInstance(String) throws java.security.NoSuchAlgorithmException; 8752 method public static java.security.cert.CertPathBuilder getInstance(String, String) throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException; 8753 method public static java.security.cert.CertPathBuilder getInstance(String, java.security.Provider) throws java.security.NoSuchAlgorithmException; 8754 method public final java.security.Provider getProvider(); 8755 method public final java.security.cert.CertPathChecker getRevocationChecker(); 8756 } 8757 8758 public class CertPathBuilderException extends java.security.GeneralSecurityException { 8759 ctor public CertPathBuilderException(); 8760 ctor public CertPathBuilderException(String); 8761 ctor public CertPathBuilderException(Throwable); 8762 ctor public CertPathBuilderException(String, Throwable); 8763 } 8764 8765 public interface CertPathBuilderResult extends java.lang.Cloneable { 8766 method public Object clone(); 8767 method public java.security.cert.CertPath getCertPath(); 8768 } 8769 8770 public abstract class CertPathBuilderSpi { 8771 ctor public CertPathBuilderSpi(); 8772 method public abstract java.security.cert.CertPathBuilderResult engineBuild(java.security.cert.CertPathParameters) throws java.security.cert.CertPathBuilderException, java.security.InvalidAlgorithmParameterException; 8773 method public java.security.cert.CertPathChecker engineGetRevocationChecker(); 8774 } 8775 8776 public interface CertPathChecker { 8777 method public void check(java.security.cert.Certificate) throws java.security.cert.CertPathValidatorException; 8778 method public void init(boolean) throws java.security.cert.CertPathValidatorException; 8779 method public boolean isForwardCheckingSupported(); 8780 } 8781 8782 public interface CertPathParameters extends java.lang.Cloneable { 8783 method public Object clone(); 8784 } 8785 8786 public class CertPathValidator { 8787 ctor protected CertPathValidator(java.security.cert.CertPathValidatorSpi, java.security.Provider, String); 8788 method public final String getAlgorithm(); 8789 method public static final String getDefaultType(); 8790 method public static java.security.cert.CertPathValidator getInstance(String) throws java.security.NoSuchAlgorithmException; 8791 method public static java.security.cert.CertPathValidator getInstance(String, String) throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException; 8792 method public static java.security.cert.CertPathValidator getInstance(String, java.security.Provider) throws java.security.NoSuchAlgorithmException; 8793 method public final java.security.Provider getProvider(); 8794 method public final java.security.cert.CertPathChecker getRevocationChecker(); 8795 method public final java.security.cert.CertPathValidatorResult validate(java.security.cert.CertPath, java.security.cert.CertPathParameters) throws java.security.cert.CertPathValidatorException, java.security.InvalidAlgorithmParameterException; 8796 } 8797 8798 public class CertPathValidatorException extends java.security.GeneralSecurityException { 8799 ctor public CertPathValidatorException(); 8800 ctor public CertPathValidatorException(String); 8801 ctor public CertPathValidatorException(Throwable); 8802 ctor public CertPathValidatorException(String, Throwable); 8803 ctor public CertPathValidatorException(String, Throwable, java.security.cert.CertPath, int); 8804 ctor public CertPathValidatorException(String, Throwable, java.security.cert.CertPath, int, java.security.cert.CertPathValidatorException.Reason); 8805 method public java.security.cert.CertPath getCertPath(); 8806 method public int getIndex(); 8807 method public java.security.cert.CertPathValidatorException.Reason getReason(); 8808 } 8809 8810 public enum CertPathValidatorException.BasicReason implements java.security.cert.CertPathValidatorException.Reason { 8811 enum_constant public static final java.security.cert.CertPathValidatorException.BasicReason ALGORITHM_CONSTRAINED; 8812 enum_constant public static final java.security.cert.CertPathValidatorException.BasicReason EXPIRED; 8813 enum_constant public static final java.security.cert.CertPathValidatorException.BasicReason INVALID_SIGNATURE; 8814 enum_constant public static final java.security.cert.CertPathValidatorException.BasicReason NOT_YET_VALID; 8815 enum_constant public static final java.security.cert.CertPathValidatorException.BasicReason REVOKED; 8816 enum_constant public static final java.security.cert.CertPathValidatorException.BasicReason UNDETERMINED_REVOCATION_STATUS; 8817 enum_constant public static final java.security.cert.CertPathValidatorException.BasicReason UNSPECIFIED; 8818 } 8819 8820 public static interface CertPathValidatorException.Reason extends java.io.Serializable { 8821 } 8822 8823 public interface CertPathValidatorResult extends java.lang.Cloneable { 8824 method public Object clone(); 8825 } 8826 8827 public abstract class CertPathValidatorSpi { 8828 ctor public CertPathValidatorSpi(); 8829 method public java.security.cert.CertPathChecker engineGetRevocationChecker(); 8830 method public abstract java.security.cert.CertPathValidatorResult engineValidate(java.security.cert.CertPath, java.security.cert.CertPathParameters) throws java.security.cert.CertPathValidatorException, java.security.InvalidAlgorithmParameterException; 8831 } 8832 8833 public interface CertSelector extends java.lang.Cloneable { 8834 method public Object clone(); 8835 method public boolean match(java.security.cert.Certificate); 8836 } 8837 8838 public class CertStore { 8839 ctor protected CertStore(java.security.cert.CertStoreSpi, java.security.Provider, String, java.security.cert.CertStoreParameters); 8840 method public final java.util.Collection<? extends java.security.cert.CRL> getCRLs(java.security.cert.CRLSelector) throws java.security.cert.CertStoreException; 8841 method public final java.security.cert.CertStoreParameters getCertStoreParameters(); 8842 method public final java.util.Collection<? extends java.security.cert.Certificate> getCertificates(java.security.cert.CertSelector) throws java.security.cert.CertStoreException; 8843 method public static final String getDefaultType(); 8844 method public static java.security.cert.CertStore getInstance(String, java.security.cert.CertStoreParameters) throws java.security.InvalidAlgorithmParameterException, java.security.NoSuchAlgorithmException; 8845 method public static java.security.cert.CertStore getInstance(String, java.security.cert.CertStoreParameters, String) throws java.security.InvalidAlgorithmParameterException, java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException; 8846 method public static java.security.cert.CertStore getInstance(String, java.security.cert.CertStoreParameters, java.security.Provider) throws java.security.InvalidAlgorithmParameterException, java.security.NoSuchAlgorithmException; 8847 method public final java.security.Provider getProvider(); 8848 method public final String getType(); 8849 } 8850 8851 public class CertStoreException extends java.security.GeneralSecurityException { 8852 ctor public CertStoreException(); 8853 ctor public CertStoreException(String); 8854 ctor public CertStoreException(Throwable); 8855 ctor public CertStoreException(String, Throwable); 8856 } 8857 8858 public interface CertStoreParameters extends java.lang.Cloneable { 8859 method public Object clone(); 8860 } 8861 8862 public abstract class CertStoreSpi { 8863 ctor public CertStoreSpi(java.security.cert.CertStoreParameters) throws java.security.InvalidAlgorithmParameterException; 8864 method public abstract java.util.Collection<? extends java.security.cert.CRL> engineGetCRLs(java.security.cert.CRLSelector) throws java.security.cert.CertStoreException; 8865 method public abstract java.util.Collection<? extends java.security.cert.Certificate> engineGetCertificates(java.security.cert.CertSelector) throws java.security.cert.CertStoreException; 8866 } 8867 8868 public abstract class Certificate implements java.io.Serializable { 8869 ctor protected Certificate(String); 8870 method public abstract byte[] getEncoded() throws java.security.cert.CertificateEncodingException; 8871 method public abstract java.security.PublicKey getPublicKey(); 8872 method public final String getType(); 8873 method public abstract String toString(); 8874 method public abstract void verify(java.security.PublicKey) throws java.security.cert.CertificateException, java.security.InvalidKeyException, java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException, java.security.SignatureException; 8875 method public abstract void verify(java.security.PublicKey, String) throws java.security.cert.CertificateException, java.security.InvalidKeyException, java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException, java.security.SignatureException; 8876 method public void verify(java.security.PublicKey, java.security.Provider) throws java.security.cert.CertificateException, java.security.InvalidKeyException, java.security.NoSuchAlgorithmException, java.security.SignatureException; 8877 method protected Object writeReplace() throws java.io.ObjectStreamException; 8878 } 8879 8880 protected static class Certificate.CertificateRep implements java.io.Serializable { 8881 ctor protected Certificate.CertificateRep(String, byte[]); 8882 method protected Object readResolve() throws java.io.ObjectStreamException; 8883 } 8884 8885 public class CertificateEncodingException extends java.security.cert.CertificateException { 8886 ctor public CertificateEncodingException(); 8887 ctor public CertificateEncodingException(String); 8888 ctor public CertificateEncodingException(String, Throwable); 8889 ctor public CertificateEncodingException(Throwable); 8890 } 8891 8892 public class CertificateException extends java.security.GeneralSecurityException { 8893 ctor public CertificateException(); 8894 ctor public CertificateException(String); 8895 ctor public CertificateException(String, Throwable); 8896 ctor public CertificateException(Throwable); 8897 } 8898 8899 public class CertificateExpiredException extends java.security.cert.CertificateException { 8900 ctor public CertificateExpiredException(); 8901 ctor public CertificateExpiredException(String); 8902 } 8903 8904 public class CertificateFactory { 8905 ctor protected CertificateFactory(java.security.cert.CertificateFactorySpi, java.security.Provider, String); 8906 method public final java.security.cert.CRL generateCRL(java.io.InputStream) throws java.security.cert.CRLException; 8907 method public final java.util.Collection<? extends java.security.cert.CRL> generateCRLs(java.io.InputStream) throws java.security.cert.CRLException; 8908 method public final java.security.cert.CertPath generateCertPath(java.io.InputStream) throws java.security.cert.CertificateException; 8909 method public final java.security.cert.CertPath generateCertPath(java.io.InputStream, String) throws java.security.cert.CertificateException; 8910 method public final java.security.cert.CertPath generateCertPath(java.util.List<? extends java.security.cert.Certificate>) throws java.security.cert.CertificateException; 8911 method public final java.security.cert.Certificate generateCertificate(java.io.InputStream) throws java.security.cert.CertificateException; 8912 method public final java.util.Collection<? extends java.security.cert.Certificate> generateCertificates(java.io.InputStream) throws java.security.cert.CertificateException; 8913 method public final java.util.Iterator<java.lang.String> getCertPathEncodings(); 8914 method public static final java.security.cert.CertificateFactory getInstance(String) throws java.security.cert.CertificateException; 8915 method public static final java.security.cert.CertificateFactory getInstance(String, String) throws java.security.cert.CertificateException, java.security.NoSuchProviderException; 8916 method public static final java.security.cert.CertificateFactory getInstance(String, java.security.Provider) throws java.security.cert.CertificateException; 8917 method public final java.security.Provider getProvider(); 8918 method public final String getType(); 8919 } 8920 8921 public abstract class CertificateFactorySpi { 8922 ctor public CertificateFactorySpi(); 8923 method public abstract java.security.cert.CRL engineGenerateCRL(java.io.InputStream) throws java.security.cert.CRLException; 8924 method public abstract java.util.Collection<? extends java.security.cert.CRL> engineGenerateCRLs(java.io.InputStream) throws java.security.cert.CRLException; 8925 method public java.security.cert.CertPath engineGenerateCertPath(java.io.InputStream) throws java.security.cert.CertificateException; 8926 method public java.security.cert.CertPath engineGenerateCertPath(java.io.InputStream, String) throws java.security.cert.CertificateException; 8927 method public java.security.cert.CertPath engineGenerateCertPath(java.util.List<? extends java.security.cert.Certificate>) throws java.security.cert.CertificateException; 8928 method public abstract java.security.cert.Certificate engineGenerateCertificate(java.io.InputStream) throws java.security.cert.CertificateException; 8929 method public abstract java.util.Collection<? extends java.security.cert.Certificate> engineGenerateCertificates(java.io.InputStream) throws java.security.cert.CertificateException; 8930 method public java.util.Iterator<java.lang.String> engineGetCertPathEncodings(); 8931 } 8932 8933 public class CertificateNotYetValidException extends java.security.cert.CertificateException { 8934 ctor public CertificateNotYetValidException(); 8935 ctor public CertificateNotYetValidException(String); 8936 } 8937 8938 public class CertificateParsingException extends java.security.cert.CertificateException { 8939 ctor public CertificateParsingException(); 8940 ctor public CertificateParsingException(String); 8941 ctor public CertificateParsingException(String, Throwable); 8942 ctor public CertificateParsingException(Throwable); 8943 } 8944 8945 public class CertificateRevokedException extends java.security.cert.CertificateException { 8946 ctor public CertificateRevokedException(java.util.Date, java.security.cert.CRLReason, javax.security.auth.x500.X500Principal, java.util.Map<java.lang.String,java.security.cert.Extension>); 8947 method public javax.security.auth.x500.X500Principal getAuthorityName(); 8948 method public java.util.Map<java.lang.String,java.security.cert.Extension> getExtensions(); 8949 method public java.util.Date getInvalidityDate(); 8950 method public java.util.Date getRevocationDate(); 8951 method public java.security.cert.CRLReason getRevocationReason(); 8952 } 8953 8954 public class CollectionCertStoreParameters implements java.security.cert.CertStoreParameters { 8955 ctor public CollectionCertStoreParameters(java.util.Collection<?>); 8956 ctor public CollectionCertStoreParameters(); 8957 method public Object clone(); 8958 method public java.util.Collection<?> getCollection(); 8959 } 8960 8961 public interface Extension { 8962 method public void encode(java.io.OutputStream) throws java.io.IOException; 8963 method public String getId(); 8964 method public byte[] getValue(); 8965 method public boolean isCritical(); 8966 } 8967 8968 public class LDAPCertStoreParameters implements java.security.cert.CertStoreParameters { 8969 ctor public LDAPCertStoreParameters(String, int); 8970 ctor public LDAPCertStoreParameters(String); 8971 ctor public LDAPCertStoreParameters(); 8972 method public Object clone(); 8973 method public int getPort(); 8974 method public String getServerName(); 8975 } 8976 8977 public class PKIXBuilderParameters extends java.security.cert.PKIXParameters { 8978 ctor public PKIXBuilderParameters(java.util.Set<java.security.cert.TrustAnchor>, java.security.cert.CertSelector) throws java.security.InvalidAlgorithmParameterException; 8979 ctor public PKIXBuilderParameters(java.security.KeyStore, java.security.cert.CertSelector) throws java.security.InvalidAlgorithmParameterException, java.security.KeyStoreException; 8980 method public int getMaxPathLength(); 8981 method public void setMaxPathLength(int); 8982 } 8983 8984 public class PKIXCertPathBuilderResult extends java.security.cert.PKIXCertPathValidatorResult implements java.security.cert.CertPathBuilderResult { 8985 ctor public PKIXCertPathBuilderResult(java.security.cert.CertPath, java.security.cert.TrustAnchor, java.security.cert.PolicyNode, java.security.PublicKey); 8986 method public java.security.cert.CertPath getCertPath(); 8987 } 8988 8989 public abstract class PKIXCertPathChecker implements java.security.cert.CertPathChecker java.lang.Cloneable { 8990 ctor protected PKIXCertPathChecker(); 8991 method public abstract void check(java.security.cert.Certificate, java.util.Collection<java.lang.String>) throws java.security.cert.CertPathValidatorException; 8992 method public void check(java.security.cert.Certificate) throws java.security.cert.CertPathValidatorException; 8993 method public Object clone(); 8994 method public abstract java.util.Set<java.lang.String> getSupportedExtensions(); 8995 } 8996 8997 public class PKIXCertPathValidatorResult implements java.security.cert.CertPathValidatorResult { 8998 ctor public PKIXCertPathValidatorResult(java.security.cert.TrustAnchor, java.security.cert.PolicyNode, java.security.PublicKey); 8999 method public Object clone(); 9000 method public java.security.cert.PolicyNode getPolicyTree(); 9001 method public java.security.PublicKey getPublicKey(); 9002 method public java.security.cert.TrustAnchor getTrustAnchor(); 9003 } 9004 9005 public class PKIXParameters implements java.security.cert.CertPathParameters { 9006 ctor public PKIXParameters(java.util.Set<java.security.cert.TrustAnchor>) throws java.security.InvalidAlgorithmParameterException; 9007 ctor public PKIXParameters(java.security.KeyStore) throws java.security.InvalidAlgorithmParameterException, java.security.KeyStoreException; 9008 method public void addCertPathChecker(java.security.cert.PKIXCertPathChecker); 9009 method public void addCertStore(java.security.cert.CertStore); 9010 method public Object clone(); 9011 method public java.util.List<java.security.cert.PKIXCertPathChecker> getCertPathCheckers(); 9012 method public java.util.List<java.security.cert.CertStore> getCertStores(); 9013 method public java.util.Date getDate(); 9014 method public java.util.Set<java.lang.String> getInitialPolicies(); 9015 method public boolean getPolicyQualifiersRejected(); 9016 method public String getSigProvider(); 9017 method public java.security.cert.CertSelector getTargetCertConstraints(); 9018 method public java.util.Set<java.security.cert.TrustAnchor> getTrustAnchors(); 9019 method public boolean isAnyPolicyInhibited(); 9020 method public boolean isExplicitPolicyRequired(); 9021 method public boolean isPolicyMappingInhibited(); 9022 method public boolean isRevocationEnabled(); 9023 method public void setAnyPolicyInhibited(boolean); 9024 method public void setCertPathCheckers(java.util.List<java.security.cert.PKIXCertPathChecker>); 9025 method public void setCertStores(java.util.List<java.security.cert.CertStore>); 9026 method public void setDate(java.util.Date); 9027 method public void setExplicitPolicyRequired(boolean); 9028 method public void setInitialPolicies(java.util.Set<java.lang.String>); 9029 method public void setPolicyMappingInhibited(boolean); 9030 method public void setPolicyQualifiersRejected(boolean); 9031 method public void setRevocationEnabled(boolean); 9032 method public void setSigProvider(String); 9033 method public void setTargetCertConstraints(java.security.cert.CertSelector); 9034 method public void setTrustAnchors(java.util.Set<java.security.cert.TrustAnchor>) throws java.security.InvalidAlgorithmParameterException; 9035 } 9036 9037 public enum PKIXReason implements java.security.cert.CertPathValidatorException.Reason { 9038 enum_constant public static final java.security.cert.PKIXReason INVALID_KEY_USAGE; 9039 enum_constant public static final java.security.cert.PKIXReason INVALID_NAME; 9040 enum_constant public static final java.security.cert.PKIXReason INVALID_POLICY; 9041 enum_constant public static final java.security.cert.PKIXReason NAME_CHAINING; 9042 enum_constant public static final java.security.cert.PKIXReason NOT_CA_CERT; 9043 enum_constant public static final java.security.cert.PKIXReason NO_TRUST_ANCHOR; 9044 enum_constant public static final java.security.cert.PKIXReason PATH_TOO_LONG; 9045 enum_constant public static final java.security.cert.PKIXReason UNRECOGNIZED_CRIT_EXT; 9046 } 9047 9048 public abstract class PKIXRevocationChecker extends java.security.cert.PKIXCertPathChecker { 9049 ctor protected PKIXRevocationChecker(); 9050 method public java.security.cert.PKIXRevocationChecker clone(); 9051 method public java.util.List<java.security.cert.Extension> getOcspExtensions(); 9052 method public java.net.URI getOcspResponder(); 9053 method public java.security.cert.X509Certificate getOcspResponderCert(); 9054 method public java.util.Map<java.security.cert.X509Certificate,byte[]> getOcspResponses(); 9055 method public java.util.Set<java.security.cert.PKIXRevocationChecker.Option> getOptions(); 9056 method public abstract java.util.List<java.security.cert.CertPathValidatorException> getSoftFailExceptions(); 9057 method public void setOcspExtensions(java.util.List<java.security.cert.Extension>); 9058 method public void setOcspResponder(java.net.URI); 9059 method public void setOcspResponderCert(java.security.cert.X509Certificate); 9060 method public void setOcspResponses(java.util.Map<java.security.cert.X509Certificate,byte[]>); 9061 method public void setOptions(java.util.Set<java.security.cert.PKIXRevocationChecker.Option>); 9062 } 9063 9064 public enum PKIXRevocationChecker.Option { 9065 enum_constant public static final java.security.cert.PKIXRevocationChecker.Option NO_FALLBACK; 9066 enum_constant public static final java.security.cert.PKIXRevocationChecker.Option ONLY_END_ENTITY; 9067 enum_constant public static final java.security.cert.PKIXRevocationChecker.Option PREFER_CRLS; 9068 enum_constant public static final java.security.cert.PKIXRevocationChecker.Option SOFT_FAIL; 9069 } 9070 9071 public interface PolicyNode { 9072 method public java.util.Iterator<? extends java.security.cert.PolicyNode> getChildren(); 9073 method public int getDepth(); 9074 method public java.util.Set<java.lang.String> getExpectedPolicies(); 9075 method public java.security.cert.PolicyNode getParent(); 9076 method public java.util.Set<? extends java.security.cert.PolicyQualifierInfo> getPolicyQualifiers(); 9077 method public String getValidPolicy(); 9078 method public boolean isCritical(); 9079 } 9080 9081 public class PolicyQualifierInfo { 9082 ctor public PolicyQualifierInfo(byte[]) throws java.io.IOException; 9083 method public final byte[] getEncoded(); 9084 method public final byte[] getPolicyQualifier(); 9085 method public final String getPolicyQualifierId(); 9086 } 9087 9088 public class TrustAnchor { 9089 ctor public TrustAnchor(java.security.cert.X509Certificate, byte[]); 9090 ctor public TrustAnchor(javax.security.auth.x500.X500Principal, java.security.PublicKey, byte[]); 9091 ctor public TrustAnchor(String, java.security.PublicKey, byte[]); 9092 method public final javax.security.auth.x500.X500Principal getCA(); 9093 method public final String getCAName(); 9094 method public final java.security.PublicKey getCAPublicKey(); 9095 method public final byte[] getNameConstraints(); 9096 method public final java.security.cert.X509Certificate getTrustedCert(); 9097 } 9098 9099 public final class URICertStoreParameters implements java.security.cert.CertStoreParameters { 9100 ctor public URICertStoreParameters(java.net.URI); 9101 method public java.security.cert.URICertStoreParameters clone(); 9102 method public java.net.URI getURI(); 9103 } 9104 9105 public abstract class X509CRL extends java.security.cert.CRL implements java.security.cert.X509Extension { 9106 ctor protected X509CRL(); 9107 method public abstract byte[] getEncoded() throws java.security.cert.CRLException; 9108 method public abstract java.security.Principal getIssuerDN(); 9109 method public javax.security.auth.x500.X500Principal getIssuerX500Principal(); 9110 method public abstract java.util.Date getNextUpdate(); 9111 method public abstract java.security.cert.X509CRLEntry getRevokedCertificate(java.math.BigInteger); 9112 method public java.security.cert.X509CRLEntry getRevokedCertificate(java.security.cert.X509Certificate); 9113 method public abstract java.util.Set<? extends java.security.cert.X509CRLEntry> getRevokedCertificates(); 9114 method public abstract String getSigAlgName(); 9115 method public abstract String getSigAlgOID(); 9116 method public abstract byte[] getSigAlgParams(); 9117 method public abstract byte[] getSignature(); 9118 method public abstract byte[] getTBSCertList() throws java.security.cert.CRLException; 9119 method public abstract java.util.Date getThisUpdate(); 9120 method public abstract int getVersion(); 9121 method public abstract void verify(java.security.PublicKey) throws java.security.cert.CRLException, java.security.InvalidKeyException, java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException, java.security.SignatureException; 9122 method public abstract void verify(java.security.PublicKey, String) throws java.security.cert.CRLException, java.security.InvalidKeyException, java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException, java.security.SignatureException; 9123 method public void verify(java.security.PublicKey, java.security.Provider) throws java.security.cert.CRLException, java.security.InvalidKeyException, java.security.NoSuchAlgorithmException, java.security.SignatureException; 9124 } 9125 9126 public abstract class X509CRLEntry implements java.security.cert.X509Extension { 9127 ctor public X509CRLEntry(); 9128 method public javax.security.auth.x500.X500Principal getCertificateIssuer(); 9129 method public abstract byte[] getEncoded() throws java.security.cert.CRLException; 9130 method public abstract java.util.Date getRevocationDate(); 9131 method public java.security.cert.CRLReason getRevocationReason(); 9132 method public abstract java.math.BigInteger getSerialNumber(); 9133 method public abstract boolean hasExtensions(); 9134 method public abstract String toString(); 9135 } 9136 9137 public class X509CRLSelector implements java.security.cert.CRLSelector { 9138 ctor public X509CRLSelector(); 9139 method public void addIssuer(javax.security.auth.x500.X500Principal); 9140 method public void addIssuerName(String) throws java.io.IOException; 9141 method public void addIssuerName(byte[]) throws java.io.IOException; 9142 method public Object clone(); 9143 method public java.security.cert.X509Certificate getCertificateChecking(); 9144 method public java.util.Date getDateAndTime(); 9145 method public java.util.Collection<java.lang.Object> getIssuerNames(); 9146 method public java.util.Collection<javax.security.auth.x500.X500Principal> getIssuers(); 9147 method public java.math.BigInteger getMaxCRL(); 9148 method public java.math.BigInteger getMinCRL(); 9149 method public boolean match(java.security.cert.CRL); 9150 method public void setCertificateChecking(java.security.cert.X509Certificate); 9151 method public void setDateAndTime(java.util.Date); 9152 method public void setIssuerNames(java.util.Collection<?>) throws java.io.IOException; 9153 method public void setIssuers(java.util.Collection<javax.security.auth.x500.X500Principal>); 9154 method public void setMaxCRLNumber(java.math.BigInteger); 9155 method public void setMinCRLNumber(java.math.BigInteger); 9156 } 9157 9158 public class X509CertSelector implements java.security.cert.CertSelector { 9159 ctor public X509CertSelector(); 9160 method public void addPathToName(int, String) throws java.io.IOException; 9161 method public void addPathToName(int, byte[]) throws java.io.IOException; 9162 method public void addSubjectAlternativeName(int, String) throws java.io.IOException; 9163 method public void addSubjectAlternativeName(int, byte[]) throws java.io.IOException; 9164 method public Object clone(); 9165 method public byte[] getAuthorityKeyIdentifier(); 9166 method public int getBasicConstraints(); 9167 method public java.security.cert.X509Certificate getCertificate(); 9168 method public java.util.Date getCertificateValid(); 9169 method public java.util.Set<java.lang.String> getExtendedKeyUsage(); 9170 method public javax.security.auth.x500.X500Principal getIssuer(); 9171 method public byte[] getIssuerAsBytes() throws java.io.IOException; 9172 method public String getIssuerAsString(); 9173 method public boolean[] getKeyUsage(); 9174 method public boolean getMatchAllSubjectAltNames(); 9175 method public byte[] getNameConstraints(); 9176 method public java.util.Collection<java.util.List<?>> getPathToNames(); 9177 method public java.util.Set<java.lang.String> getPolicy(); 9178 method public java.util.Date getPrivateKeyValid(); 9179 method public java.math.BigInteger getSerialNumber(); 9180 method public javax.security.auth.x500.X500Principal getSubject(); 9181 method public java.util.Collection<java.util.List<?>> getSubjectAlternativeNames(); 9182 method public byte[] getSubjectAsBytes() throws java.io.IOException; 9183 method public String getSubjectAsString(); 9184 method public byte[] getSubjectKeyIdentifier(); 9185 method public java.security.PublicKey getSubjectPublicKey(); 9186 method public String getSubjectPublicKeyAlgID(); 9187 method public boolean match(java.security.cert.Certificate); 9188 method public void setAuthorityKeyIdentifier(byte[]); 9189 method public void setBasicConstraints(int); 9190 method public void setCertificate(java.security.cert.X509Certificate); 9191 method public void setCertificateValid(java.util.Date); 9192 method public void setExtendedKeyUsage(java.util.Set<java.lang.String>) throws java.io.IOException; 9193 method public void setIssuer(javax.security.auth.x500.X500Principal); 9194 method public void setIssuer(String) throws java.io.IOException; 9195 method public void setIssuer(byte[]) throws java.io.IOException; 9196 method public void setKeyUsage(boolean[]); 9197 method public void setMatchAllSubjectAltNames(boolean); 9198 method public void setNameConstraints(byte[]) throws java.io.IOException; 9199 method public void setPathToNames(java.util.Collection<java.util.List<?>>) throws java.io.IOException; 9200 method public void setPolicy(java.util.Set<java.lang.String>) throws java.io.IOException; 9201 method public void setPrivateKeyValid(java.util.Date); 9202 method public void setSerialNumber(java.math.BigInteger); 9203 method public void setSubject(javax.security.auth.x500.X500Principal); 9204 method public void setSubject(String) throws java.io.IOException; 9205 method public void setSubject(byte[]) throws java.io.IOException; 9206 method public void setSubjectAlternativeNames(java.util.Collection<java.util.List<?>>) throws java.io.IOException; 9207 method public void setSubjectKeyIdentifier(byte[]); 9208 method public void setSubjectPublicKey(java.security.PublicKey); 9209 method public void setSubjectPublicKey(byte[]) throws java.io.IOException; 9210 method public void setSubjectPublicKeyAlgID(String) throws java.io.IOException; 9211 } 9212 9213 public abstract class X509Certificate extends java.security.cert.Certificate implements java.security.cert.X509Extension { 9214 ctor protected X509Certificate(); 9215 method public abstract void checkValidity() throws java.security.cert.CertificateExpiredException, java.security.cert.CertificateNotYetValidException; 9216 method public abstract void checkValidity(java.util.Date) throws java.security.cert.CertificateExpiredException, java.security.cert.CertificateNotYetValidException; 9217 method public abstract int getBasicConstraints(); 9218 method public java.util.List<java.lang.String> getExtendedKeyUsage() throws java.security.cert.CertificateParsingException; 9219 method public java.util.Collection<java.util.List<?>> getIssuerAlternativeNames() throws java.security.cert.CertificateParsingException; 9220 method public abstract java.security.Principal getIssuerDN(); 9221 method public abstract boolean[] getIssuerUniqueID(); 9222 method public javax.security.auth.x500.X500Principal getIssuerX500Principal(); 9223 method public abstract boolean[] getKeyUsage(); 9224 method public abstract java.util.Date getNotAfter(); 9225 method public abstract java.util.Date getNotBefore(); 9226 method public abstract java.math.BigInteger getSerialNumber(); 9227 method public abstract String getSigAlgName(); 9228 method public abstract String getSigAlgOID(); 9229 method public abstract byte[] getSigAlgParams(); 9230 method public abstract byte[] getSignature(); 9231 method public java.util.Collection<java.util.List<?>> getSubjectAlternativeNames() throws java.security.cert.CertificateParsingException; 9232 method public abstract java.security.Principal getSubjectDN(); 9233 method public abstract boolean[] getSubjectUniqueID(); 9234 method public javax.security.auth.x500.X500Principal getSubjectX500Principal(); 9235 method public abstract byte[] getTBSCertificate() throws java.security.cert.CertificateEncodingException; 9236 method public abstract int getVersion(); 9237 } 9238 9239 public interface X509Extension { 9240 method public java.util.Set<java.lang.String> getCriticalExtensionOIDs(); 9241 method public byte[] getExtensionValue(String); 9242 method public java.util.Set<java.lang.String> getNonCriticalExtensionOIDs(); 9243 method public boolean hasUnsupportedCriticalExtension(); 9244 } 9245 9246} 9247 9248package java.security.interfaces { 9249 9250 public interface DSAKey { 9251 method public java.security.interfaces.DSAParams getParams(); 9252 } 9253 9254 public interface DSAKeyPairGenerator { 9255 method public void initialize(java.security.interfaces.DSAParams, java.security.SecureRandom) throws java.security.InvalidParameterException; 9256 method public void initialize(int, boolean, java.security.SecureRandom) throws java.security.InvalidParameterException; 9257 } 9258 9259 public interface DSAParams { 9260 method public java.math.BigInteger getG(); 9261 method public java.math.BigInteger getP(); 9262 method public java.math.BigInteger getQ(); 9263 } 9264 9265 public interface DSAPrivateKey extends java.security.interfaces.DSAKey java.security.PrivateKey { 9266 method public java.math.BigInteger getX(); 9267 field @Deprecated @java.io.Serial public static final long serialVersionUID = 7776497482533790279L; // 0x6bebab423b256247L 9268 } 9269 9270 public interface DSAPublicKey extends java.security.interfaces.DSAKey java.security.PublicKey { 9271 method public java.math.BigInteger getY(); 9272 field @Deprecated @java.io.Serial public static final long serialVersionUID = 1234526332779022332L; // 0x1121eb28ab28c7fcL 9273 } 9274 9275 public interface ECKey { 9276 method public java.security.spec.ECParameterSpec getParams(); 9277 } 9278 9279 public interface ECPrivateKey extends java.security.PrivateKey java.security.interfaces.ECKey { 9280 method public java.math.BigInteger getS(); 9281 field @Deprecated @java.io.Serial public static final long serialVersionUID = -7896394956925609184L; // 0x926a5e9fa2435b20L 9282 } 9283 9284 public interface ECPublicKey extends java.security.PublicKey java.security.interfaces.ECKey { 9285 method public java.security.spec.ECPoint getW(); 9286 field @Deprecated @java.io.Serial public static final long serialVersionUID = -3314988629879632826L; // 0xd1fecb679990cc46L 9287 } 9288 9289 public interface EdECKey { 9290 method public java.security.spec.NamedParameterSpec getParams(); 9291 } 9292 9293 public interface EdECPrivateKey extends java.security.interfaces.EdECKey java.security.PrivateKey { 9294 method public java.util.Optional<byte[]> getBytes(); 9295 } 9296 9297 public interface EdECPublicKey extends java.security.interfaces.EdECKey java.security.PublicKey { 9298 method public java.security.spec.EdECPoint getPoint(); 9299 } 9300 9301 public interface RSAKey { 9302 method public java.math.BigInteger getModulus(); 9303 method @FlaggedApi("com.android.libcore.v_apis") public default java.security.spec.AlgorithmParameterSpec getParams(); 9304 } 9305 9306 public interface RSAMultiPrimePrivateCrtKey extends java.security.interfaces.RSAPrivateKey { 9307 method public java.math.BigInteger getCrtCoefficient(); 9308 method public java.security.spec.RSAOtherPrimeInfo[] getOtherPrimeInfo(); 9309 method public java.math.BigInteger getPrimeExponentP(); 9310 method public java.math.BigInteger getPrimeExponentQ(); 9311 method public java.math.BigInteger getPrimeP(); 9312 method public java.math.BigInteger getPrimeQ(); 9313 method public java.math.BigInteger getPublicExponent(); 9314 field @Deprecated @java.io.Serial public static final long serialVersionUID = 618058533534628008L; // 0x893c8f62dbaf8a8L 9315 } 9316 9317 public interface RSAPrivateCrtKey extends java.security.interfaces.RSAPrivateKey { 9318 method public java.math.BigInteger getCrtCoefficient(); 9319 method public java.math.BigInteger getPrimeExponentP(); 9320 method public java.math.BigInteger getPrimeExponentQ(); 9321 method public java.math.BigInteger getPrimeP(); 9322 method public java.math.BigInteger getPrimeQ(); 9323 method public java.math.BigInteger getPublicExponent(); 9324 field @Deprecated @java.io.Serial public static final long serialVersionUID = -5682214253527700368L; // 0xb124b83df8d1ec70L 9325 } 9326 9327 public interface RSAPrivateKey extends java.security.PrivateKey java.security.interfaces.RSAKey { 9328 method public java.math.BigInteger getPrivateExponent(); 9329 field @Deprecated @java.io.Serial public static final long serialVersionUID = 5187144804936595022L; // 0x47fc70b7a8c2364eL 9330 } 9331 9332 public interface RSAPublicKey extends java.security.PublicKey java.security.interfaces.RSAKey { 9333 method public java.math.BigInteger getPublicExponent(); 9334 field @Deprecated @java.io.Serial public static final long serialVersionUID = -8727434096241101194L; // 0x86e1ecedeceab676L 9335 } 9336 9337 public interface XECKey { 9338 method public java.security.spec.AlgorithmParameterSpec getParams(); 9339 } 9340 9341 public interface XECPrivateKey extends java.security.interfaces.XECKey java.security.PrivateKey { 9342 method public java.util.Optional<byte[]> getScalar(); 9343 } 9344 9345 public interface XECPublicKey extends java.security.interfaces.XECKey java.security.PublicKey { 9346 method public java.math.BigInteger getU(); 9347 } 9348 9349} 9350 9351package java.security.spec { 9352 9353 public interface AlgorithmParameterSpec { 9354 } 9355 9356 @FlaggedApi("com.android.libcore.v_apis") public final class DSAGenParameterSpec implements java.security.spec.AlgorithmParameterSpec { 9357 ctor public DSAGenParameterSpec(int, int); 9358 ctor public DSAGenParameterSpec(int, int, int); 9359 method public int getPrimePLength(); 9360 method public int getSeedLength(); 9361 method public int getSubprimeQLength(); 9362 } 9363 9364 public class DSAParameterSpec implements java.security.spec.AlgorithmParameterSpec java.security.interfaces.DSAParams { 9365 ctor public DSAParameterSpec(java.math.BigInteger, java.math.BigInteger, java.math.BigInteger); 9366 method public java.math.BigInteger getG(); 9367 method public java.math.BigInteger getP(); 9368 method public java.math.BigInteger getQ(); 9369 } 9370 9371 public class DSAPrivateKeySpec implements java.security.spec.KeySpec { 9372 ctor public DSAPrivateKeySpec(java.math.BigInteger, java.math.BigInteger, java.math.BigInteger, java.math.BigInteger); 9373 method public java.math.BigInteger getG(); 9374 method public java.math.BigInteger getP(); 9375 method public java.math.BigInteger getQ(); 9376 method public java.math.BigInteger getX(); 9377 } 9378 9379 public class DSAPublicKeySpec implements java.security.spec.KeySpec { 9380 ctor public DSAPublicKeySpec(java.math.BigInteger, java.math.BigInteger, java.math.BigInteger, java.math.BigInteger); 9381 method public java.math.BigInteger getG(); 9382 method public java.math.BigInteger getP(); 9383 method public java.math.BigInteger getQ(); 9384 method public java.math.BigInteger getY(); 9385 } 9386 9387 public interface ECField { 9388 method public int getFieldSize(); 9389 } 9390 9391 public class ECFieldF2m implements java.security.spec.ECField { 9392 ctor public ECFieldF2m(int); 9393 ctor public ECFieldF2m(int, java.math.BigInteger); 9394 ctor public ECFieldF2m(int, int[]); 9395 method public int getFieldSize(); 9396 method public int getM(); 9397 method public int[] getMidTermsOfReductionPolynomial(); 9398 method public java.math.BigInteger getReductionPolynomial(); 9399 } 9400 9401 public class ECFieldFp implements java.security.spec.ECField { 9402 ctor public ECFieldFp(java.math.BigInteger); 9403 method public int getFieldSize(); 9404 method public java.math.BigInteger getP(); 9405 } 9406 9407 public class ECGenParameterSpec extends java.security.spec.NamedParameterSpec implements java.security.spec.AlgorithmParameterSpec { 9408 ctor public ECGenParameterSpec(String); 9409 } 9410 9411 public class ECParameterSpec implements java.security.spec.AlgorithmParameterSpec { 9412 ctor public ECParameterSpec(java.security.spec.EllipticCurve, java.security.spec.ECPoint, java.math.BigInteger, int); 9413 method public int getCofactor(); 9414 method public java.security.spec.EllipticCurve getCurve(); 9415 method public java.security.spec.ECPoint getGenerator(); 9416 method public java.math.BigInteger getOrder(); 9417 } 9418 9419 public class ECPoint { 9420 ctor public ECPoint(java.math.BigInteger, java.math.BigInteger); 9421 method public java.math.BigInteger getAffineX(); 9422 method public java.math.BigInteger getAffineY(); 9423 field public static final java.security.spec.ECPoint POINT_INFINITY; 9424 } 9425 9426 public class ECPrivateKeySpec implements java.security.spec.KeySpec { 9427 ctor public ECPrivateKeySpec(java.math.BigInteger, java.security.spec.ECParameterSpec); 9428 method public java.security.spec.ECParameterSpec getParams(); 9429 method public java.math.BigInteger getS(); 9430 } 9431 9432 public class ECPublicKeySpec implements java.security.spec.KeySpec { 9433 ctor public ECPublicKeySpec(java.security.spec.ECPoint, java.security.spec.ECParameterSpec); 9434 method public java.security.spec.ECParameterSpec getParams(); 9435 method public java.security.spec.ECPoint getW(); 9436 } 9437 9438 @FlaggedApi("com.android.libcore.v_apis") public class EdDSAParameterSpec implements java.security.spec.AlgorithmParameterSpec { 9439 ctor public EdDSAParameterSpec(boolean); 9440 ctor public EdDSAParameterSpec(boolean, byte[]); 9441 method public java.util.Optional<byte[]> getContext(); 9442 method public boolean isPrehash(); 9443 } 9444 9445 public final class EdECPoint { 9446 ctor public EdECPoint(boolean, @NonNull java.math.BigInteger); 9447 method @NonNull public java.math.BigInteger getY(); 9448 method public boolean isXOdd(); 9449 } 9450 9451 public final class EdECPrivateKeySpec implements java.security.spec.KeySpec { 9452 ctor public EdECPrivateKeySpec(@NonNull java.security.spec.NamedParameterSpec, @NonNull byte[]); 9453 method @NonNull public byte[] getBytes(); 9454 method @NonNull public java.security.spec.NamedParameterSpec getParams(); 9455 } 9456 9457 public final class EdECPublicKeySpec implements java.security.spec.KeySpec { 9458 ctor public EdECPublicKeySpec(@NonNull java.security.spec.NamedParameterSpec, @NonNull java.security.spec.EdECPoint); 9459 method @NonNull public java.security.spec.NamedParameterSpec getParams(); 9460 method @NonNull public java.security.spec.EdECPoint getPoint(); 9461 } 9462 9463 public class EllipticCurve { 9464 ctor public EllipticCurve(java.security.spec.ECField, java.math.BigInteger, java.math.BigInteger); 9465 ctor public EllipticCurve(java.security.spec.ECField, java.math.BigInteger, java.math.BigInteger, byte[]); 9466 method public java.math.BigInteger getA(); 9467 method public java.math.BigInteger getB(); 9468 method public java.security.spec.ECField getField(); 9469 method public byte[] getSeed(); 9470 } 9471 9472 public abstract class EncodedKeySpec implements java.security.spec.KeySpec { 9473 ctor public EncodedKeySpec(byte[]); 9474 ctor @FlaggedApi("com.android.libcore.v_apis") protected EncodedKeySpec(byte[], String); 9475 method @FlaggedApi("com.android.libcore.v_apis") public String getAlgorithm(); 9476 method public byte[] getEncoded(); 9477 method public abstract String getFormat(); 9478 } 9479 9480 public class InvalidKeySpecException extends java.security.GeneralSecurityException { 9481 ctor public InvalidKeySpecException(); 9482 ctor public InvalidKeySpecException(String); 9483 ctor public InvalidKeySpecException(String, Throwable); 9484 ctor public InvalidKeySpecException(Throwable); 9485 } 9486 9487 public class InvalidParameterSpecException extends java.security.GeneralSecurityException { 9488 ctor public InvalidParameterSpecException(); 9489 ctor public InvalidParameterSpecException(String); 9490 } 9491 9492 public interface KeySpec { 9493 } 9494 9495 public class MGF1ParameterSpec implements java.security.spec.AlgorithmParameterSpec { 9496 ctor public MGF1ParameterSpec(String); 9497 method public String getDigestAlgorithm(); 9498 field public static final java.security.spec.MGF1ParameterSpec SHA1; 9499 field public static final java.security.spec.MGF1ParameterSpec SHA224; 9500 field public static final java.security.spec.MGF1ParameterSpec SHA256; 9501 field public static final java.security.spec.MGF1ParameterSpec SHA384; 9502 field @FlaggedApi("com.android.libcore.v_apis") public static final java.security.spec.MGF1ParameterSpec SHA3_224; 9503 field @FlaggedApi("com.android.libcore.v_apis") public static final java.security.spec.MGF1ParameterSpec SHA3_256; 9504 field @FlaggedApi("com.android.libcore.v_apis") public static final java.security.spec.MGF1ParameterSpec SHA3_384; 9505 field @FlaggedApi("com.android.libcore.v_apis") public static final java.security.spec.MGF1ParameterSpec SHA3_512; 9506 field public static final java.security.spec.MGF1ParameterSpec SHA512; 9507 field @FlaggedApi("com.android.libcore.v_apis") public static final java.security.spec.MGF1ParameterSpec SHA512_224; 9508 field @FlaggedApi("com.android.libcore.v_apis") public static final java.security.spec.MGF1ParameterSpec SHA512_256; 9509 } 9510 9511 public class NamedParameterSpec implements java.security.spec.AlgorithmParameterSpec { 9512 ctor public NamedParameterSpec(@NonNull String); 9513 method @NonNull public String getName(); 9514 field public static final java.security.spec.NamedParameterSpec ED25519; 9515 field public static final java.security.spec.NamedParameterSpec ED448; 9516 field public static final java.security.spec.NamedParameterSpec X25519; 9517 field public static final java.security.spec.NamedParameterSpec X448; 9518 } 9519 9520 public class PKCS8EncodedKeySpec extends java.security.spec.EncodedKeySpec { 9521 ctor public PKCS8EncodedKeySpec(byte[]); 9522 ctor @FlaggedApi("com.android.libcore.v_apis") public PKCS8EncodedKeySpec(byte[], String); 9523 method public final String getFormat(); 9524 } 9525 9526 public class PSSParameterSpec implements java.security.spec.AlgorithmParameterSpec { 9527 ctor public PSSParameterSpec(String, String, java.security.spec.AlgorithmParameterSpec, int, int); 9528 ctor public PSSParameterSpec(int); 9529 method public String getDigestAlgorithm(); 9530 method public String getMGFAlgorithm(); 9531 method public java.security.spec.AlgorithmParameterSpec getMGFParameters(); 9532 method public int getSaltLength(); 9533 method public int getTrailerField(); 9534 field public static final java.security.spec.PSSParameterSpec DEFAULT; 9535 field @FlaggedApi("com.android.libcore.v_apis") public static final int TRAILER_FIELD_BC = 1; // 0x1 9536 } 9537 9538 public class RSAKeyGenParameterSpec implements java.security.spec.AlgorithmParameterSpec { 9539 ctor public RSAKeyGenParameterSpec(int, java.math.BigInteger); 9540 ctor @FlaggedApi("com.android.libcore.v_apis") public RSAKeyGenParameterSpec(int, java.math.BigInteger, java.security.spec.AlgorithmParameterSpec); 9541 method @FlaggedApi("com.android.libcore.v_apis") public java.security.spec.AlgorithmParameterSpec getKeyParams(); 9542 method public int getKeysize(); 9543 method public java.math.BigInteger getPublicExponent(); 9544 field public static final java.math.BigInteger F0; 9545 field public static final java.math.BigInteger F4; 9546 } 9547 9548 public class RSAMultiPrimePrivateCrtKeySpec extends java.security.spec.RSAPrivateKeySpec { 9549 ctor public RSAMultiPrimePrivateCrtKeySpec(java.math.BigInteger, java.math.BigInteger, java.math.BigInteger, java.math.BigInteger, java.math.BigInteger, java.math.BigInteger, java.math.BigInteger, java.math.BigInteger, java.security.spec.RSAOtherPrimeInfo[]); 9550 ctor @FlaggedApi("com.android.libcore.v_apis") public RSAMultiPrimePrivateCrtKeySpec(java.math.BigInteger, java.math.BigInteger, java.math.BigInteger, java.math.BigInteger, java.math.BigInteger, java.math.BigInteger, java.math.BigInteger, java.math.BigInteger, java.security.spec.RSAOtherPrimeInfo[], java.security.spec.AlgorithmParameterSpec); 9551 method public java.math.BigInteger getCrtCoefficient(); 9552 method public java.security.spec.RSAOtherPrimeInfo[] getOtherPrimeInfo(); 9553 method public java.math.BigInteger getPrimeExponentP(); 9554 method public java.math.BigInteger getPrimeExponentQ(); 9555 method public java.math.BigInteger getPrimeP(); 9556 method public java.math.BigInteger getPrimeQ(); 9557 method public java.math.BigInteger getPublicExponent(); 9558 } 9559 9560 public class RSAOtherPrimeInfo { 9561 ctor public RSAOtherPrimeInfo(java.math.BigInteger, java.math.BigInteger, java.math.BigInteger); 9562 method public final java.math.BigInteger getCrtCoefficient(); 9563 method public final java.math.BigInteger getExponent(); 9564 method public final java.math.BigInteger getPrime(); 9565 } 9566 9567 public class RSAPrivateCrtKeySpec extends java.security.spec.RSAPrivateKeySpec { 9568 ctor public RSAPrivateCrtKeySpec(java.math.BigInteger, java.math.BigInteger, java.math.BigInteger, java.math.BigInteger, java.math.BigInteger, java.math.BigInteger, java.math.BigInteger, java.math.BigInteger); 9569 ctor @FlaggedApi("com.android.libcore.v_apis") public RSAPrivateCrtKeySpec(java.math.BigInteger, java.math.BigInteger, java.math.BigInteger, java.math.BigInteger, java.math.BigInteger, java.math.BigInteger, java.math.BigInteger, java.math.BigInteger, java.security.spec.AlgorithmParameterSpec); 9570 method public java.math.BigInteger getCrtCoefficient(); 9571 method public java.math.BigInteger getPrimeExponentP(); 9572 method public java.math.BigInteger getPrimeExponentQ(); 9573 method public java.math.BigInteger getPrimeP(); 9574 method public java.math.BigInteger getPrimeQ(); 9575 method public java.math.BigInteger getPublicExponent(); 9576 } 9577 9578 public class RSAPrivateKeySpec implements java.security.spec.KeySpec { 9579 ctor public RSAPrivateKeySpec(java.math.BigInteger, java.math.BigInteger); 9580 ctor @FlaggedApi("com.android.libcore.v_apis") public RSAPrivateKeySpec(java.math.BigInteger, java.math.BigInteger, java.security.spec.AlgorithmParameterSpec); 9581 method public java.math.BigInteger getModulus(); 9582 method @FlaggedApi("com.android.libcore.v_apis") public java.security.spec.AlgorithmParameterSpec getParams(); 9583 method public java.math.BigInteger getPrivateExponent(); 9584 } 9585 9586 public class RSAPublicKeySpec implements java.security.spec.KeySpec { 9587 ctor public RSAPublicKeySpec(java.math.BigInteger, java.math.BigInteger); 9588 ctor @FlaggedApi("com.android.libcore.v_apis") public RSAPublicKeySpec(java.math.BigInteger, java.math.BigInteger, java.security.spec.AlgorithmParameterSpec); 9589 method public java.math.BigInteger getModulus(); 9590 method @FlaggedApi("com.android.libcore.v_apis") public java.security.spec.AlgorithmParameterSpec getParams(); 9591 method public java.math.BigInteger getPublicExponent(); 9592 } 9593 9594 public class X509EncodedKeySpec extends java.security.spec.EncodedKeySpec { 9595 ctor public X509EncodedKeySpec(byte[]); 9596 ctor @FlaggedApi("com.android.libcore.v_apis") public X509EncodedKeySpec(byte[], String); 9597 method public final String getFormat(); 9598 } 9599 9600 public class XECPrivateKeySpec implements java.security.spec.KeySpec { 9601 ctor public XECPrivateKeySpec(java.security.spec.AlgorithmParameterSpec, byte[]); 9602 method public java.security.spec.AlgorithmParameterSpec getParams(); 9603 method public byte[] getScalar(); 9604 } 9605 9606 public class XECPublicKeySpec implements java.security.spec.KeySpec { 9607 ctor public XECPublicKeySpec(java.security.spec.AlgorithmParameterSpec, java.math.BigInteger); 9608 method public java.security.spec.AlgorithmParameterSpec getParams(); 9609 method public java.math.BigInteger getU(); 9610 } 9611 9612} 9613 9614package java.sql { 9615 9616 public interface Array { 9617 method public void free() throws java.sql.SQLException; 9618 method public Object getArray() throws java.sql.SQLException; 9619 method public Object getArray(java.util.Map<java.lang.String,java.lang.Class<?>>) throws java.sql.SQLException; 9620 method public Object getArray(long, int) throws java.sql.SQLException; 9621 method public Object getArray(long, int, java.util.Map<java.lang.String,java.lang.Class<?>>) throws java.sql.SQLException; 9622 method public int getBaseType() throws java.sql.SQLException; 9623 method public String getBaseTypeName() throws java.sql.SQLException; 9624 method public java.sql.ResultSet getResultSet() throws java.sql.SQLException; 9625 method public java.sql.ResultSet getResultSet(java.util.Map<java.lang.String,java.lang.Class<?>>) throws java.sql.SQLException; 9626 method public java.sql.ResultSet getResultSet(long, int) throws java.sql.SQLException; 9627 method public java.sql.ResultSet getResultSet(long, int, java.util.Map<java.lang.String,java.lang.Class<?>>) throws java.sql.SQLException; 9628 } 9629 9630 public class BatchUpdateException extends java.sql.SQLException { 9631 ctor public BatchUpdateException(String, String, int, int[]); 9632 ctor public BatchUpdateException(String, String, int[]); 9633 ctor public BatchUpdateException(String, int[]); 9634 ctor public BatchUpdateException(int[]); 9635 ctor public BatchUpdateException(); 9636 ctor public BatchUpdateException(Throwable); 9637 ctor public BatchUpdateException(int[], Throwable); 9638 ctor public BatchUpdateException(String, int[], Throwable); 9639 ctor public BatchUpdateException(String, String, int[], Throwable); 9640 ctor public BatchUpdateException(String, String, int, int[], Throwable); 9641 method public int[] getUpdateCounts(); 9642 } 9643 9644 public interface Blob { 9645 method public void free() throws java.sql.SQLException; 9646 method public java.io.InputStream getBinaryStream() throws java.sql.SQLException; 9647 method public java.io.InputStream getBinaryStream(long, long) throws java.sql.SQLException; 9648 method public byte[] getBytes(long, int) throws java.sql.SQLException; 9649 method public long length() throws java.sql.SQLException; 9650 method public long position(byte[], long) throws java.sql.SQLException; 9651 method public long position(java.sql.Blob, long) throws java.sql.SQLException; 9652 method public java.io.OutputStream setBinaryStream(long) throws java.sql.SQLException; 9653 method public int setBytes(long, byte[]) throws java.sql.SQLException; 9654 method public int setBytes(long, byte[], int, int) throws java.sql.SQLException; 9655 method public void truncate(long) throws java.sql.SQLException; 9656 } 9657 9658 public interface CallableStatement extends java.sql.PreparedStatement { 9659 method public java.sql.Array getArray(int) throws java.sql.SQLException; 9660 method public java.sql.Array getArray(String) throws java.sql.SQLException; 9661 method @Deprecated public java.math.BigDecimal getBigDecimal(int, int) throws java.sql.SQLException; 9662 method public java.math.BigDecimal getBigDecimal(int) throws java.sql.SQLException; 9663 method public java.math.BigDecimal getBigDecimal(String) throws java.sql.SQLException; 9664 method public java.sql.Blob getBlob(int) throws java.sql.SQLException; 9665 method public java.sql.Blob getBlob(String) throws java.sql.SQLException; 9666 method public boolean getBoolean(int) throws java.sql.SQLException; 9667 method public boolean getBoolean(String) throws java.sql.SQLException; 9668 method public byte getByte(int) throws java.sql.SQLException; 9669 method public byte getByte(String) throws java.sql.SQLException; 9670 method public byte[] getBytes(int) throws java.sql.SQLException; 9671 method public byte[] getBytes(String) throws java.sql.SQLException; 9672 method public java.io.Reader getCharacterStream(int) throws java.sql.SQLException; 9673 method public java.io.Reader getCharacterStream(String) throws java.sql.SQLException; 9674 method public java.sql.Clob getClob(int) throws java.sql.SQLException; 9675 method public java.sql.Clob getClob(String) throws java.sql.SQLException; 9676 method public java.sql.Date getDate(int) throws java.sql.SQLException; 9677 method public java.sql.Date getDate(int, java.util.Calendar) throws java.sql.SQLException; 9678 method public java.sql.Date getDate(String) throws java.sql.SQLException; 9679 method public java.sql.Date getDate(String, java.util.Calendar) throws java.sql.SQLException; 9680 method public double getDouble(int) throws java.sql.SQLException; 9681 method public double getDouble(String) throws java.sql.SQLException; 9682 method public float getFloat(int) throws java.sql.SQLException; 9683 method public float getFloat(String) throws java.sql.SQLException; 9684 method public int getInt(int) throws java.sql.SQLException; 9685 method public int getInt(String) throws java.sql.SQLException; 9686 method public long getLong(int) throws java.sql.SQLException; 9687 method public long getLong(String) throws java.sql.SQLException; 9688 method public java.io.Reader getNCharacterStream(int) throws java.sql.SQLException; 9689 method public java.io.Reader getNCharacterStream(String) throws java.sql.SQLException; 9690 method public java.sql.NClob getNClob(int) throws java.sql.SQLException; 9691 method public java.sql.NClob getNClob(String) throws java.sql.SQLException; 9692 method public String getNString(int) throws java.sql.SQLException; 9693 method public String getNString(String) throws java.sql.SQLException; 9694 method public Object getObject(int) throws java.sql.SQLException; 9695 method public Object getObject(int, java.util.Map<java.lang.String,java.lang.Class<?>>) throws java.sql.SQLException; 9696 method public Object getObject(String) throws java.sql.SQLException; 9697 method public Object getObject(String, java.util.Map<java.lang.String,java.lang.Class<?>>) throws java.sql.SQLException; 9698 method public java.sql.Ref getRef(int) throws java.sql.SQLException; 9699 method public java.sql.Ref getRef(String) throws java.sql.SQLException; 9700 method public java.sql.RowId getRowId(int) throws java.sql.SQLException; 9701 method public java.sql.RowId getRowId(String) throws java.sql.SQLException; 9702 method public java.sql.SQLXML getSQLXML(int) throws java.sql.SQLException; 9703 method public java.sql.SQLXML getSQLXML(String) throws java.sql.SQLException; 9704 method public short getShort(int) throws java.sql.SQLException; 9705 method public short getShort(String) throws java.sql.SQLException; 9706 method public String getString(int) throws java.sql.SQLException; 9707 method public String getString(String) throws java.sql.SQLException; 9708 method public java.sql.Time getTime(int) throws java.sql.SQLException; 9709 method public java.sql.Time getTime(int, java.util.Calendar) throws java.sql.SQLException; 9710 method public java.sql.Time getTime(String) throws java.sql.SQLException; 9711 method public java.sql.Time getTime(String, java.util.Calendar) throws java.sql.SQLException; 9712 method public java.sql.Timestamp getTimestamp(int) throws java.sql.SQLException; 9713 method public java.sql.Timestamp getTimestamp(int, java.util.Calendar) throws java.sql.SQLException; 9714 method public java.sql.Timestamp getTimestamp(String) throws java.sql.SQLException; 9715 method public java.sql.Timestamp getTimestamp(String, java.util.Calendar) throws java.sql.SQLException; 9716 method public java.net.URL getURL(int) throws java.sql.SQLException; 9717 method public java.net.URL getURL(String) throws java.sql.SQLException; 9718 method public void registerOutParameter(int, int) throws java.sql.SQLException; 9719 method public void registerOutParameter(int, int, int) throws java.sql.SQLException; 9720 method public void registerOutParameter(int, int, String) throws java.sql.SQLException; 9721 method public void registerOutParameter(String, int) throws java.sql.SQLException; 9722 method public void registerOutParameter(String, int, int) throws java.sql.SQLException; 9723 method public void registerOutParameter(String, int, String) throws java.sql.SQLException; 9724 method public void setAsciiStream(String, java.io.InputStream, int) throws java.sql.SQLException; 9725 method public void setAsciiStream(String, java.io.InputStream, long) throws java.sql.SQLException; 9726 method public void setAsciiStream(String, java.io.InputStream) throws java.sql.SQLException; 9727 method public void setBigDecimal(String, java.math.BigDecimal) throws java.sql.SQLException; 9728 method public void setBinaryStream(String, java.io.InputStream, int) throws java.sql.SQLException; 9729 method public void setBinaryStream(String, java.io.InputStream, long) throws java.sql.SQLException; 9730 method public void setBinaryStream(String, java.io.InputStream) throws java.sql.SQLException; 9731 method public void setBlob(String, java.io.InputStream, long) throws java.sql.SQLException; 9732 method public void setBlob(String, java.sql.Blob) throws java.sql.SQLException; 9733 method public void setBlob(String, java.io.InputStream) throws java.sql.SQLException; 9734 method public void setBoolean(String, boolean) throws java.sql.SQLException; 9735 method public void setByte(String, byte) throws java.sql.SQLException; 9736 method public void setBytes(String, byte[]) throws java.sql.SQLException; 9737 method public void setCharacterStream(String, java.io.Reader, int) throws java.sql.SQLException; 9738 method public void setCharacterStream(String, java.io.Reader, long) throws java.sql.SQLException; 9739 method public void setCharacterStream(String, java.io.Reader) throws java.sql.SQLException; 9740 method public void setClob(String, java.io.Reader, long) throws java.sql.SQLException; 9741 method public void setClob(String, java.sql.Clob) throws java.sql.SQLException; 9742 method public void setClob(String, java.io.Reader) throws java.sql.SQLException; 9743 method public void setDate(String, java.sql.Date) throws java.sql.SQLException; 9744 method public void setDate(String, java.sql.Date, java.util.Calendar) throws java.sql.SQLException; 9745 method public void setDouble(String, double) throws java.sql.SQLException; 9746 method public void setFloat(String, float) throws java.sql.SQLException; 9747 method public void setInt(String, int) throws java.sql.SQLException; 9748 method public void setLong(String, long) throws java.sql.SQLException; 9749 method public void setNCharacterStream(String, java.io.Reader, long) throws java.sql.SQLException; 9750 method public void setNCharacterStream(String, java.io.Reader) throws java.sql.SQLException; 9751 method public void setNClob(String, java.sql.NClob) throws java.sql.SQLException; 9752 method public void setNClob(String, java.io.Reader, long) throws java.sql.SQLException; 9753 method public void setNClob(String, java.io.Reader) throws java.sql.SQLException; 9754 method public void setNString(String, String) throws java.sql.SQLException; 9755 method public void setNull(String, int) throws java.sql.SQLException; 9756 method public void setNull(String, int, String) throws java.sql.SQLException; 9757 method public void setObject(String, Object, int, int) throws java.sql.SQLException; 9758 method public void setObject(String, Object, int) throws java.sql.SQLException; 9759 method public void setObject(String, Object) throws java.sql.SQLException; 9760 method public void setRowId(String, java.sql.RowId) throws java.sql.SQLException; 9761 method public void setSQLXML(String, java.sql.SQLXML) throws java.sql.SQLException; 9762 method public void setShort(String, short) throws java.sql.SQLException; 9763 method public void setString(String, String) throws java.sql.SQLException; 9764 method public void setTime(String, java.sql.Time) throws java.sql.SQLException; 9765 method public void setTime(String, java.sql.Time, java.util.Calendar) throws java.sql.SQLException; 9766 method public void setTimestamp(String, java.sql.Timestamp) throws java.sql.SQLException; 9767 method public void setTimestamp(String, java.sql.Timestamp, java.util.Calendar) throws java.sql.SQLException; 9768 method public void setURL(String, java.net.URL) throws java.sql.SQLException; 9769 method public boolean wasNull() throws java.sql.SQLException; 9770 } 9771 9772 public enum ClientInfoStatus { 9773 enum_constant public static final java.sql.ClientInfoStatus REASON_UNKNOWN; 9774 enum_constant public static final java.sql.ClientInfoStatus REASON_UNKNOWN_PROPERTY; 9775 enum_constant public static final java.sql.ClientInfoStatus REASON_VALUE_INVALID; 9776 enum_constant public static final java.sql.ClientInfoStatus REASON_VALUE_TRUNCATED; 9777 } 9778 9779 public interface Clob { 9780 method public void free() throws java.sql.SQLException; 9781 method public java.io.InputStream getAsciiStream() throws java.sql.SQLException; 9782 method public java.io.Reader getCharacterStream() throws java.sql.SQLException; 9783 method public java.io.Reader getCharacterStream(long, long) throws java.sql.SQLException; 9784 method public String getSubString(long, int) throws java.sql.SQLException; 9785 method public long length() throws java.sql.SQLException; 9786 method public long position(String, long) throws java.sql.SQLException; 9787 method public long position(java.sql.Clob, long) throws java.sql.SQLException; 9788 method public java.io.OutputStream setAsciiStream(long) throws java.sql.SQLException; 9789 method public java.io.Writer setCharacterStream(long) throws java.sql.SQLException; 9790 method public int setString(long, String) throws java.sql.SQLException; 9791 method public int setString(long, String, int, int) throws java.sql.SQLException; 9792 method public void truncate(long) throws java.sql.SQLException; 9793 } 9794 9795 public interface Connection extends java.sql.Wrapper java.lang.AutoCloseable { 9796 method public void clearWarnings() throws java.sql.SQLException; 9797 method public void close() throws java.sql.SQLException; 9798 method public void commit() throws java.sql.SQLException; 9799 method public java.sql.Array createArrayOf(String, Object[]) throws java.sql.SQLException; 9800 method public java.sql.Blob createBlob() throws java.sql.SQLException; 9801 method public java.sql.Clob createClob() throws java.sql.SQLException; 9802 method public java.sql.NClob createNClob() throws java.sql.SQLException; 9803 method public java.sql.SQLXML createSQLXML() throws java.sql.SQLException; 9804 method public java.sql.Statement createStatement() throws java.sql.SQLException; 9805 method public java.sql.Statement createStatement(int, int) throws java.sql.SQLException; 9806 method public java.sql.Statement createStatement(int, int, int) throws java.sql.SQLException; 9807 method public java.sql.Struct createStruct(String, Object[]) throws java.sql.SQLException; 9808 method public boolean getAutoCommit() throws java.sql.SQLException; 9809 method public String getCatalog() throws java.sql.SQLException; 9810 method public String getClientInfo(String) throws java.sql.SQLException; 9811 method public java.util.Properties getClientInfo() throws java.sql.SQLException; 9812 method public int getHoldability() throws java.sql.SQLException; 9813 method public java.sql.DatabaseMetaData getMetaData() throws java.sql.SQLException; 9814 method public int getTransactionIsolation() throws java.sql.SQLException; 9815 method public java.util.Map<java.lang.String,java.lang.Class<?>> getTypeMap() throws java.sql.SQLException; 9816 method public java.sql.SQLWarning getWarnings() throws java.sql.SQLException; 9817 method public boolean isClosed() throws java.sql.SQLException; 9818 method public boolean isReadOnly() throws java.sql.SQLException; 9819 method public boolean isValid(int) throws java.sql.SQLException; 9820 method public String nativeSQL(String) throws java.sql.SQLException; 9821 method public java.sql.CallableStatement prepareCall(String) throws java.sql.SQLException; 9822 method public java.sql.CallableStatement prepareCall(String, int, int) throws java.sql.SQLException; 9823 method public java.sql.CallableStatement prepareCall(String, int, int, int) throws java.sql.SQLException; 9824 method public java.sql.PreparedStatement prepareStatement(String) throws java.sql.SQLException; 9825 method public java.sql.PreparedStatement prepareStatement(String, int, int) throws java.sql.SQLException; 9826 method public java.sql.PreparedStatement prepareStatement(String, int, int, int) throws java.sql.SQLException; 9827 method public java.sql.PreparedStatement prepareStatement(String, int) throws java.sql.SQLException; 9828 method public java.sql.PreparedStatement prepareStatement(String, int[]) throws java.sql.SQLException; 9829 method public java.sql.PreparedStatement prepareStatement(String, String[]) throws java.sql.SQLException; 9830 method public void releaseSavepoint(java.sql.Savepoint) throws java.sql.SQLException; 9831 method public void rollback() throws java.sql.SQLException; 9832 method public void rollback(java.sql.Savepoint) throws java.sql.SQLException; 9833 method public void setAutoCommit(boolean) throws java.sql.SQLException; 9834 method public void setCatalog(String) throws java.sql.SQLException; 9835 method public void setClientInfo(String, String) throws java.sql.SQLClientInfoException; 9836 method public void setClientInfo(java.util.Properties) throws java.sql.SQLClientInfoException; 9837 method public void setHoldability(int) throws java.sql.SQLException; 9838 method public void setReadOnly(boolean) throws java.sql.SQLException; 9839 method public java.sql.Savepoint setSavepoint() throws java.sql.SQLException; 9840 method public java.sql.Savepoint setSavepoint(String) throws java.sql.SQLException; 9841 method public void setTransactionIsolation(int) throws java.sql.SQLException; 9842 method public void setTypeMap(java.util.Map<java.lang.String,java.lang.Class<?>>) throws java.sql.SQLException; 9843 field public static final int TRANSACTION_NONE = 0; // 0x0 9844 field public static final int TRANSACTION_READ_COMMITTED = 2; // 0x2 9845 field public static final int TRANSACTION_READ_UNCOMMITTED = 1; // 0x1 9846 field public static final int TRANSACTION_REPEATABLE_READ = 4; // 0x4 9847 field public static final int TRANSACTION_SERIALIZABLE = 8; // 0x8 9848 } 9849 9850 public class DataTruncation extends java.sql.SQLWarning { 9851 ctor public DataTruncation(int, boolean, boolean, int, int); 9852 ctor public DataTruncation(int, boolean, boolean, int, int, Throwable); 9853 method public int getDataSize(); 9854 method public int getIndex(); 9855 method public boolean getParameter(); 9856 method public boolean getRead(); 9857 method public int getTransferSize(); 9858 } 9859 9860 public interface DatabaseMetaData extends java.sql.Wrapper { 9861 method public boolean allProceduresAreCallable() throws java.sql.SQLException; 9862 method public boolean allTablesAreSelectable() throws java.sql.SQLException; 9863 method public boolean autoCommitFailureClosesAllResultSets() throws java.sql.SQLException; 9864 method public boolean dataDefinitionCausesTransactionCommit() throws java.sql.SQLException; 9865 method public boolean dataDefinitionIgnoredInTransactions() throws java.sql.SQLException; 9866 method public boolean deletesAreDetected(int) throws java.sql.SQLException; 9867 method public boolean doesMaxRowSizeIncludeBlobs() throws java.sql.SQLException; 9868 method public java.sql.ResultSet getAttributes(String, String, String, String) throws java.sql.SQLException; 9869 method public java.sql.ResultSet getBestRowIdentifier(String, String, String, int, boolean) throws java.sql.SQLException; 9870 method public String getCatalogSeparator() throws java.sql.SQLException; 9871 method public String getCatalogTerm() throws java.sql.SQLException; 9872 method public java.sql.ResultSet getCatalogs() throws java.sql.SQLException; 9873 method public java.sql.ResultSet getClientInfoProperties() throws java.sql.SQLException; 9874 method public java.sql.ResultSet getColumnPrivileges(String, String, String, String) throws java.sql.SQLException; 9875 method public java.sql.ResultSet getColumns(String, String, String, String) throws java.sql.SQLException; 9876 method public java.sql.Connection getConnection() throws java.sql.SQLException; 9877 method public java.sql.ResultSet getCrossReference(String, String, String, String, String, String) throws java.sql.SQLException; 9878 method public int getDatabaseMajorVersion() throws java.sql.SQLException; 9879 method public int getDatabaseMinorVersion() throws java.sql.SQLException; 9880 method public String getDatabaseProductName() throws java.sql.SQLException; 9881 method public String getDatabaseProductVersion() throws java.sql.SQLException; 9882 method public int getDefaultTransactionIsolation() throws java.sql.SQLException; 9883 method public int getDriverMajorVersion(); 9884 method public int getDriverMinorVersion(); 9885 method public String getDriverName() throws java.sql.SQLException; 9886 method public String getDriverVersion() throws java.sql.SQLException; 9887 method public java.sql.ResultSet getExportedKeys(String, String, String) throws java.sql.SQLException; 9888 method public String getExtraNameCharacters() throws java.sql.SQLException; 9889 method public java.sql.ResultSet getFunctionColumns(String, String, String, String) throws java.sql.SQLException; 9890 method public java.sql.ResultSet getFunctions(String, String, String) throws java.sql.SQLException; 9891 method public String getIdentifierQuoteString() throws java.sql.SQLException; 9892 method public java.sql.ResultSet getImportedKeys(String, String, String) throws java.sql.SQLException; 9893 method public java.sql.ResultSet getIndexInfo(String, String, String, boolean, boolean) throws java.sql.SQLException; 9894 method public int getJDBCMajorVersion() throws java.sql.SQLException; 9895 method public int getJDBCMinorVersion() throws java.sql.SQLException; 9896 method public int getMaxBinaryLiteralLength() throws java.sql.SQLException; 9897 method public int getMaxCatalogNameLength() throws java.sql.SQLException; 9898 method public int getMaxCharLiteralLength() throws java.sql.SQLException; 9899 method public int getMaxColumnNameLength() throws java.sql.SQLException; 9900 method public int getMaxColumnsInGroupBy() throws java.sql.SQLException; 9901 method public int getMaxColumnsInIndex() throws java.sql.SQLException; 9902 method public int getMaxColumnsInOrderBy() throws java.sql.SQLException; 9903 method public int getMaxColumnsInSelect() throws java.sql.SQLException; 9904 method public int getMaxColumnsInTable() throws java.sql.SQLException; 9905 method public int getMaxConnections() throws java.sql.SQLException; 9906 method public int getMaxCursorNameLength() throws java.sql.SQLException; 9907 method public int getMaxIndexLength() throws java.sql.SQLException; 9908 method public int getMaxProcedureNameLength() throws java.sql.SQLException; 9909 method public int getMaxRowSize() throws java.sql.SQLException; 9910 method public int getMaxSchemaNameLength() throws java.sql.SQLException; 9911 method public int getMaxStatementLength() throws java.sql.SQLException; 9912 method public int getMaxStatements() throws java.sql.SQLException; 9913 method public int getMaxTableNameLength() throws java.sql.SQLException; 9914 method public int getMaxTablesInSelect() throws java.sql.SQLException; 9915 method public int getMaxUserNameLength() throws java.sql.SQLException; 9916 method public String getNumericFunctions() throws java.sql.SQLException; 9917 method public java.sql.ResultSet getPrimaryKeys(String, String, String) throws java.sql.SQLException; 9918 method public java.sql.ResultSet getProcedureColumns(String, String, String, String) throws java.sql.SQLException; 9919 method public String getProcedureTerm() throws java.sql.SQLException; 9920 method public java.sql.ResultSet getProcedures(String, String, String) throws java.sql.SQLException; 9921 method public int getResultSetHoldability() throws java.sql.SQLException; 9922 method public java.sql.RowIdLifetime getRowIdLifetime() throws java.sql.SQLException; 9923 method public String getSQLKeywords() throws java.sql.SQLException; 9924 method public int getSQLStateType() throws java.sql.SQLException; 9925 method public String getSchemaTerm() throws java.sql.SQLException; 9926 method public java.sql.ResultSet getSchemas() throws java.sql.SQLException; 9927 method public java.sql.ResultSet getSchemas(String, String) throws java.sql.SQLException; 9928 method public String getSearchStringEscape() throws java.sql.SQLException; 9929 method public String getStringFunctions() throws java.sql.SQLException; 9930 method public java.sql.ResultSet getSuperTables(String, String, String) throws java.sql.SQLException; 9931 method public java.sql.ResultSet getSuperTypes(String, String, String) throws java.sql.SQLException; 9932 method public String getSystemFunctions() throws java.sql.SQLException; 9933 method public java.sql.ResultSet getTablePrivileges(String, String, String) throws java.sql.SQLException; 9934 method public java.sql.ResultSet getTableTypes() throws java.sql.SQLException; 9935 method public java.sql.ResultSet getTables(String, String, String, String[]) throws java.sql.SQLException; 9936 method public String getTimeDateFunctions() throws java.sql.SQLException; 9937 method public java.sql.ResultSet getTypeInfo() throws java.sql.SQLException; 9938 method public java.sql.ResultSet getUDTs(String, String, String, int[]) throws java.sql.SQLException; 9939 method public String getURL() throws java.sql.SQLException; 9940 method public String getUserName() throws java.sql.SQLException; 9941 method public java.sql.ResultSet getVersionColumns(String, String, String) throws java.sql.SQLException; 9942 method public boolean insertsAreDetected(int) throws java.sql.SQLException; 9943 method public boolean isCatalogAtStart() throws java.sql.SQLException; 9944 method public boolean isReadOnly() throws java.sql.SQLException; 9945 method public boolean locatorsUpdateCopy() throws java.sql.SQLException; 9946 method public boolean nullPlusNonNullIsNull() throws java.sql.SQLException; 9947 method public boolean nullsAreSortedAtEnd() throws java.sql.SQLException; 9948 method public boolean nullsAreSortedAtStart() throws java.sql.SQLException; 9949 method public boolean nullsAreSortedHigh() throws java.sql.SQLException; 9950 method public boolean nullsAreSortedLow() throws java.sql.SQLException; 9951 method public boolean othersDeletesAreVisible(int) throws java.sql.SQLException; 9952 method public boolean othersInsertsAreVisible(int) throws java.sql.SQLException; 9953 method public boolean othersUpdatesAreVisible(int) throws java.sql.SQLException; 9954 method public boolean ownDeletesAreVisible(int) throws java.sql.SQLException; 9955 method public boolean ownInsertsAreVisible(int) throws java.sql.SQLException; 9956 method public boolean ownUpdatesAreVisible(int) throws java.sql.SQLException; 9957 method public boolean storesLowerCaseIdentifiers() throws java.sql.SQLException; 9958 method public boolean storesLowerCaseQuotedIdentifiers() throws java.sql.SQLException; 9959 method public boolean storesMixedCaseIdentifiers() throws java.sql.SQLException; 9960 method public boolean storesMixedCaseQuotedIdentifiers() throws java.sql.SQLException; 9961 method public boolean storesUpperCaseIdentifiers() throws java.sql.SQLException; 9962 method public boolean storesUpperCaseQuotedIdentifiers() throws java.sql.SQLException; 9963 method public boolean supportsANSI92EntryLevelSQL() throws java.sql.SQLException; 9964 method public boolean supportsANSI92FullSQL() throws java.sql.SQLException; 9965 method public boolean supportsANSI92IntermediateSQL() throws java.sql.SQLException; 9966 method public boolean supportsAlterTableWithAddColumn() throws java.sql.SQLException; 9967 method public boolean supportsAlterTableWithDropColumn() throws java.sql.SQLException; 9968 method public boolean supportsBatchUpdates() throws java.sql.SQLException; 9969 method public boolean supportsCatalogsInDataManipulation() throws java.sql.SQLException; 9970 method public boolean supportsCatalogsInIndexDefinitions() throws java.sql.SQLException; 9971 method public boolean supportsCatalogsInPrivilegeDefinitions() throws java.sql.SQLException; 9972 method public boolean supportsCatalogsInProcedureCalls() throws java.sql.SQLException; 9973 method public boolean supportsCatalogsInTableDefinitions() throws java.sql.SQLException; 9974 method public boolean supportsColumnAliasing() throws java.sql.SQLException; 9975 method public boolean supportsConvert() throws java.sql.SQLException; 9976 method public boolean supportsConvert(int, int) throws java.sql.SQLException; 9977 method public boolean supportsCoreSQLGrammar() throws java.sql.SQLException; 9978 method public boolean supportsCorrelatedSubqueries() throws java.sql.SQLException; 9979 method public boolean supportsDataDefinitionAndDataManipulationTransactions() throws java.sql.SQLException; 9980 method public boolean supportsDataManipulationTransactionsOnly() throws java.sql.SQLException; 9981 method public boolean supportsDifferentTableCorrelationNames() throws java.sql.SQLException; 9982 method public boolean supportsExpressionsInOrderBy() throws java.sql.SQLException; 9983 method public boolean supportsExtendedSQLGrammar() throws java.sql.SQLException; 9984 method public boolean supportsFullOuterJoins() throws java.sql.SQLException; 9985 method public boolean supportsGetGeneratedKeys() throws java.sql.SQLException; 9986 method public boolean supportsGroupBy() throws java.sql.SQLException; 9987 method public boolean supportsGroupByBeyondSelect() throws java.sql.SQLException; 9988 method public boolean supportsGroupByUnrelated() throws java.sql.SQLException; 9989 method public boolean supportsIntegrityEnhancementFacility() throws java.sql.SQLException; 9990 method public boolean supportsLikeEscapeClause() throws java.sql.SQLException; 9991 method public boolean supportsLimitedOuterJoins() throws java.sql.SQLException; 9992 method public boolean supportsMinimumSQLGrammar() throws java.sql.SQLException; 9993 method public boolean supportsMixedCaseIdentifiers() throws java.sql.SQLException; 9994 method public boolean supportsMixedCaseQuotedIdentifiers() throws java.sql.SQLException; 9995 method public boolean supportsMultipleOpenResults() throws java.sql.SQLException; 9996 method public boolean supportsMultipleResultSets() throws java.sql.SQLException; 9997 method public boolean supportsMultipleTransactions() throws java.sql.SQLException; 9998 method public boolean supportsNamedParameters() throws java.sql.SQLException; 9999 method public boolean supportsNonNullableColumns() throws java.sql.SQLException; 10000 method public boolean supportsOpenCursorsAcrossCommit() throws java.sql.SQLException; 10001 method public boolean supportsOpenCursorsAcrossRollback() throws java.sql.SQLException; 10002 method public boolean supportsOpenStatementsAcrossCommit() throws java.sql.SQLException; 10003 method public boolean supportsOpenStatementsAcrossRollback() throws java.sql.SQLException; 10004 method public boolean supportsOrderByUnrelated() throws java.sql.SQLException; 10005 method public boolean supportsOuterJoins() throws java.sql.SQLException; 10006 method public boolean supportsPositionedDelete() throws java.sql.SQLException; 10007 method public boolean supportsPositionedUpdate() throws java.sql.SQLException; 10008 method public boolean supportsResultSetConcurrency(int, int) throws java.sql.SQLException; 10009 method public boolean supportsResultSetHoldability(int) throws java.sql.SQLException; 10010 method public boolean supportsResultSetType(int) throws java.sql.SQLException; 10011 method public boolean supportsSavepoints() throws java.sql.SQLException; 10012 method public boolean supportsSchemasInDataManipulation() throws java.sql.SQLException; 10013 method public boolean supportsSchemasInIndexDefinitions() throws java.sql.SQLException; 10014 method public boolean supportsSchemasInPrivilegeDefinitions() throws java.sql.SQLException; 10015 method public boolean supportsSchemasInProcedureCalls() throws java.sql.SQLException; 10016 method public boolean supportsSchemasInTableDefinitions() throws java.sql.SQLException; 10017 method public boolean supportsSelectForUpdate() throws java.sql.SQLException; 10018 method public boolean supportsStatementPooling() throws java.sql.SQLException; 10019 method public boolean supportsStoredFunctionsUsingCallSyntax() throws java.sql.SQLException; 10020 method public boolean supportsStoredProcedures() throws java.sql.SQLException; 10021 method public boolean supportsSubqueriesInComparisons() throws java.sql.SQLException; 10022 method public boolean supportsSubqueriesInExists() throws java.sql.SQLException; 10023 method public boolean supportsSubqueriesInIns() throws java.sql.SQLException; 10024 method public boolean supportsSubqueriesInQuantifieds() throws java.sql.SQLException; 10025 method public boolean supportsTableCorrelationNames() throws java.sql.SQLException; 10026 method public boolean supportsTransactionIsolationLevel(int) throws java.sql.SQLException; 10027 method public boolean supportsTransactions() throws java.sql.SQLException; 10028 method public boolean supportsUnion() throws java.sql.SQLException; 10029 method public boolean supportsUnionAll() throws java.sql.SQLException; 10030 method public boolean updatesAreDetected(int) throws java.sql.SQLException; 10031 method public boolean usesLocalFilePerTable() throws java.sql.SQLException; 10032 method public boolean usesLocalFiles() throws java.sql.SQLException; 10033 field public static final short attributeNoNulls = 0; // 0x0 10034 field public static final short attributeNullable = 1; // 0x1 10035 field public static final short attributeNullableUnknown = 2; // 0x2 10036 field public static final int bestRowNotPseudo = 1; // 0x1 10037 field public static final int bestRowPseudo = 2; // 0x2 10038 field public static final int bestRowSession = 2; // 0x2 10039 field public static final int bestRowTemporary = 0; // 0x0 10040 field public static final int bestRowTransaction = 1; // 0x1 10041 field public static final int bestRowUnknown = 0; // 0x0 10042 field public static final int columnNoNulls = 0; // 0x0 10043 field public static final int columnNullable = 1; // 0x1 10044 field public static final int columnNullableUnknown = 2; // 0x2 10045 field public static final int functionColumnIn = 1; // 0x1 10046 field public static final int functionColumnInOut = 2; // 0x2 10047 field public static final int functionColumnOut = 3; // 0x3 10048 field public static final int functionColumnResult = 5; // 0x5 10049 field public static final int functionColumnUnknown = 0; // 0x0 10050 field public static final int functionNoNulls = 0; // 0x0 10051 field public static final int functionNoTable = 1; // 0x1 10052 field public static final int functionNullable = 1; // 0x1 10053 field public static final int functionNullableUnknown = 2; // 0x2 10054 field public static final int functionResultUnknown = 0; // 0x0 10055 field public static final int functionReturn = 4; // 0x4 10056 field public static final int functionReturnsTable = 2; // 0x2 10057 field public static final int importedKeyCascade = 0; // 0x0 10058 field public static final int importedKeyInitiallyDeferred = 5; // 0x5 10059 field public static final int importedKeyInitiallyImmediate = 6; // 0x6 10060 field public static final int importedKeyNoAction = 3; // 0x3 10061 field public static final int importedKeyNotDeferrable = 7; // 0x7 10062 field public static final int importedKeyRestrict = 1; // 0x1 10063 field public static final int importedKeySetDefault = 4; // 0x4 10064 field public static final int importedKeySetNull = 2; // 0x2 10065 field public static final int procedureColumnIn = 1; // 0x1 10066 field public static final int procedureColumnInOut = 2; // 0x2 10067 field public static final int procedureColumnOut = 4; // 0x4 10068 field public static final int procedureColumnResult = 3; // 0x3 10069 field public static final int procedureColumnReturn = 5; // 0x5 10070 field public static final int procedureColumnUnknown = 0; // 0x0 10071 field public static final int procedureNoNulls = 0; // 0x0 10072 field public static final int procedureNoResult = 1; // 0x1 10073 field public static final int procedureNullable = 1; // 0x1 10074 field public static final int procedureNullableUnknown = 2; // 0x2 10075 field public static final int procedureResultUnknown = 0; // 0x0 10076 field public static final int procedureReturnsResult = 2; // 0x2 10077 field public static final int sqlStateSQL = 2; // 0x2 10078 field public static final int sqlStateSQL99 = 2; // 0x2 10079 field public static final int sqlStateXOpen = 1; // 0x1 10080 field public static final short tableIndexClustered = 1; // 0x1 10081 field public static final short tableIndexHashed = 2; // 0x2 10082 field public static final short tableIndexOther = 3; // 0x3 10083 field public static final short tableIndexStatistic = 0; // 0x0 10084 field public static final int typeNoNulls = 0; // 0x0 10085 field public static final int typeNullable = 1; // 0x1 10086 field public static final int typeNullableUnknown = 2; // 0x2 10087 field public static final int typePredBasic = 2; // 0x2 10088 field public static final int typePredChar = 1; // 0x1 10089 field public static final int typePredNone = 0; // 0x0 10090 field public static final int typeSearchable = 3; // 0x3 10091 field public static final int versionColumnNotPseudo = 1; // 0x1 10092 field public static final int versionColumnPseudo = 2; // 0x2 10093 field public static final int versionColumnUnknown = 0; // 0x0 10094 } 10095 10096 public class Date extends java.util.Date { 10097 ctor @Deprecated public Date(int, int, int); 10098 ctor public Date(long); 10099 method public static java.sql.Date valueOf(String); 10100 } 10101 10102 public interface Driver { 10103 method public boolean acceptsURL(String) throws java.sql.SQLException; 10104 method public java.sql.Connection connect(String, java.util.Properties) throws java.sql.SQLException; 10105 method public int getMajorVersion(); 10106 method public int getMinorVersion(); 10107 method public java.sql.DriverPropertyInfo[] getPropertyInfo(String, java.util.Properties) throws java.sql.SQLException; 10108 method public boolean jdbcCompliant(); 10109 } 10110 10111 public class DriverManager { 10112 method public static void deregisterDriver(java.sql.Driver) throws java.sql.SQLException; 10113 method public static java.sql.Connection getConnection(String, java.util.Properties) throws java.sql.SQLException; 10114 method public static java.sql.Connection getConnection(String, String, String) throws java.sql.SQLException; 10115 method public static java.sql.Connection getConnection(String) throws java.sql.SQLException; 10116 method public static java.sql.Driver getDriver(String) throws java.sql.SQLException; 10117 method public static java.util.Enumeration<java.sql.Driver> getDrivers(); 10118 method @Deprecated public static java.io.PrintStream getLogStream(); 10119 method public static java.io.PrintWriter getLogWriter(); 10120 method public static int getLoginTimeout(); 10121 method public static void println(String); 10122 method public static void registerDriver(java.sql.Driver) throws java.sql.SQLException; 10123 method @Deprecated public static void setLogStream(java.io.PrintStream); 10124 method public static void setLogWriter(java.io.PrintWriter); 10125 method public static void setLoginTimeout(int); 10126 } 10127 10128 public class DriverPropertyInfo { 10129 ctor public DriverPropertyInfo(String, String); 10130 field public String[] choices; 10131 field public String description; 10132 field public String name; 10133 field public boolean required; 10134 field public String value; 10135 } 10136 10137 public interface NClob extends java.sql.Clob { 10138 } 10139 10140 public interface ParameterMetaData extends java.sql.Wrapper { 10141 method public String getParameterClassName(int) throws java.sql.SQLException; 10142 method public int getParameterCount() throws java.sql.SQLException; 10143 method public int getParameterMode(int) throws java.sql.SQLException; 10144 method public int getParameterType(int) throws java.sql.SQLException; 10145 method public String getParameterTypeName(int) throws java.sql.SQLException; 10146 method public int getPrecision(int) throws java.sql.SQLException; 10147 method public int getScale(int) throws java.sql.SQLException; 10148 method public int isNullable(int) throws java.sql.SQLException; 10149 method public boolean isSigned(int) throws java.sql.SQLException; 10150 field public static final int parameterModeIn = 1; // 0x1 10151 field public static final int parameterModeInOut = 2; // 0x2 10152 field public static final int parameterModeOut = 4; // 0x4 10153 field public static final int parameterModeUnknown = 0; // 0x0 10154 field public static final int parameterNoNulls = 0; // 0x0 10155 field public static final int parameterNullable = 1; // 0x1 10156 field public static final int parameterNullableUnknown = 2; // 0x2 10157 } 10158 10159 public interface PreparedStatement extends java.sql.Statement { 10160 method public void addBatch() throws java.sql.SQLException; 10161 method public void clearParameters() throws java.sql.SQLException; 10162 method public boolean execute() throws java.sql.SQLException; 10163 method public java.sql.ResultSet executeQuery() throws java.sql.SQLException; 10164 method public int executeUpdate() throws java.sql.SQLException; 10165 method public java.sql.ResultSetMetaData getMetaData() throws java.sql.SQLException; 10166 method public java.sql.ParameterMetaData getParameterMetaData() throws java.sql.SQLException; 10167 method public void setArray(int, java.sql.Array) throws java.sql.SQLException; 10168 method public void setAsciiStream(int, java.io.InputStream, int) throws java.sql.SQLException; 10169 method public void setAsciiStream(int, java.io.InputStream, long) throws java.sql.SQLException; 10170 method public void setAsciiStream(int, java.io.InputStream) throws java.sql.SQLException; 10171 method public void setBigDecimal(int, java.math.BigDecimal) throws java.sql.SQLException; 10172 method public void setBinaryStream(int, java.io.InputStream, int) throws java.sql.SQLException; 10173 method public void setBinaryStream(int, java.io.InputStream, long) throws java.sql.SQLException; 10174 method public void setBinaryStream(int, java.io.InputStream) throws java.sql.SQLException; 10175 method public void setBlob(int, java.sql.Blob) throws java.sql.SQLException; 10176 method public void setBlob(int, java.io.InputStream, long) throws java.sql.SQLException; 10177 method public void setBlob(int, java.io.InputStream) throws java.sql.SQLException; 10178 method public void setBoolean(int, boolean) throws java.sql.SQLException; 10179 method public void setByte(int, byte) throws java.sql.SQLException; 10180 method public void setBytes(int, byte[]) throws java.sql.SQLException; 10181 method public void setCharacterStream(int, java.io.Reader, int) throws java.sql.SQLException; 10182 method public void setCharacterStream(int, java.io.Reader, long) throws java.sql.SQLException; 10183 method public void setCharacterStream(int, java.io.Reader) throws java.sql.SQLException; 10184 method public void setClob(int, java.sql.Clob) throws java.sql.SQLException; 10185 method public void setClob(int, java.io.Reader, long) throws java.sql.SQLException; 10186 method public void setClob(int, java.io.Reader) throws java.sql.SQLException; 10187 method public void setDate(int, java.sql.Date) throws java.sql.SQLException; 10188 method public void setDate(int, java.sql.Date, java.util.Calendar) throws java.sql.SQLException; 10189 method public void setDouble(int, double) throws java.sql.SQLException; 10190 method public void setFloat(int, float) throws java.sql.SQLException; 10191 method public void setInt(int, int) throws java.sql.SQLException; 10192 method public void setLong(int, long) throws java.sql.SQLException; 10193 method public void setNCharacterStream(int, java.io.Reader, long) throws java.sql.SQLException; 10194 method public void setNCharacterStream(int, java.io.Reader) throws java.sql.SQLException; 10195 method public void setNClob(int, java.sql.NClob) throws java.sql.SQLException; 10196 method public void setNClob(int, java.io.Reader, long) throws java.sql.SQLException; 10197 method public void setNClob(int, java.io.Reader) throws java.sql.SQLException; 10198 method public void setNString(int, String) throws java.sql.SQLException; 10199 method public void setNull(int, int) throws java.sql.SQLException; 10200 method public void setNull(int, int, String) throws java.sql.SQLException; 10201 method public void setObject(int, Object, int) throws java.sql.SQLException; 10202 method public void setObject(int, Object) throws java.sql.SQLException; 10203 method public void setObject(int, Object, int, int) throws java.sql.SQLException; 10204 method public void setRef(int, java.sql.Ref) throws java.sql.SQLException; 10205 method public void setRowId(int, java.sql.RowId) throws java.sql.SQLException; 10206 method public void setSQLXML(int, java.sql.SQLXML) throws java.sql.SQLException; 10207 method public void setShort(int, short) throws java.sql.SQLException; 10208 method public void setString(int, String) throws java.sql.SQLException; 10209 method public void setTime(int, java.sql.Time) throws java.sql.SQLException; 10210 method public void setTime(int, java.sql.Time, java.util.Calendar) throws java.sql.SQLException; 10211 method public void setTimestamp(int, java.sql.Timestamp) throws java.sql.SQLException; 10212 method public void setTimestamp(int, java.sql.Timestamp, java.util.Calendar) throws java.sql.SQLException; 10213 method public void setURL(int, java.net.URL) throws java.sql.SQLException; 10214 method @Deprecated public void setUnicodeStream(int, java.io.InputStream, int) throws java.sql.SQLException; 10215 } 10216 10217 public interface Ref { 10218 method public String getBaseTypeName() throws java.sql.SQLException; 10219 method public Object getObject(java.util.Map<java.lang.String,java.lang.Class<?>>) throws java.sql.SQLException; 10220 method public Object getObject() throws java.sql.SQLException; 10221 method public void setObject(Object) throws java.sql.SQLException; 10222 } 10223 10224 public interface ResultSet extends java.sql.Wrapper java.lang.AutoCloseable { 10225 method public boolean absolute(int) throws java.sql.SQLException; 10226 method public void afterLast() throws java.sql.SQLException; 10227 method public void beforeFirst() throws java.sql.SQLException; 10228 method public void cancelRowUpdates() throws java.sql.SQLException; 10229 method public void clearWarnings() throws java.sql.SQLException; 10230 method public void close() throws java.sql.SQLException; 10231 method public void deleteRow() throws java.sql.SQLException; 10232 method public int findColumn(String) throws java.sql.SQLException; 10233 method public boolean first() throws java.sql.SQLException; 10234 method public java.sql.Array getArray(int) throws java.sql.SQLException; 10235 method public java.sql.Array getArray(String) throws java.sql.SQLException; 10236 method public java.io.InputStream getAsciiStream(int) throws java.sql.SQLException; 10237 method public java.io.InputStream getAsciiStream(String) throws java.sql.SQLException; 10238 method @Deprecated public java.math.BigDecimal getBigDecimal(int, int) throws java.sql.SQLException; 10239 method @Deprecated public java.math.BigDecimal getBigDecimal(String, int) throws java.sql.SQLException; 10240 method public java.math.BigDecimal getBigDecimal(int) throws java.sql.SQLException; 10241 method public java.math.BigDecimal getBigDecimal(String) throws java.sql.SQLException; 10242 method public java.io.InputStream getBinaryStream(int) throws java.sql.SQLException; 10243 method public java.io.InputStream getBinaryStream(String) throws java.sql.SQLException; 10244 method public java.sql.Blob getBlob(int) throws java.sql.SQLException; 10245 method public java.sql.Blob getBlob(String) throws java.sql.SQLException; 10246 method public boolean getBoolean(int) throws java.sql.SQLException; 10247 method public boolean getBoolean(String) throws java.sql.SQLException; 10248 method public byte getByte(int) throws java.sql.SQLException; 10249 method public byte getByte(String) throws java.sql.SQLException; 10250 method public byte[] getBytes(int) throws java.sql.SQLException; 10251 method public byte[] getBytes(String) throws java.sql.SQLException; 10252 method public java.io.Reader getCharacterStream(int) throws java.sql.SQLException; 10253 method public java.io.Reader getCharacterStream(String) throws java.sql.SQLException; 10254 method public java.sql.Clob getClob(int) throws java.sql.SQLException; 10255 method public java.sql.Clob getClob(String) throws java.sql.SQLException; 10256 method public int getConcurrency() throws java.sql.SQLException; 10257 method public String getCursorName() throws java.sql.SQLException; 10258 method public java.sql.Date getDate(int) throws java.sql.SQLException; 10259 method public java.sql.Date getDate(String) throws java.sql.SQLException; 10260 method public java.sql.Date getDate(int, java.util.Calendar) throws java.sql.SQLException; 10261 method public java.sql.Date getDate(String, java.util.Calendar) throws java.sql.SQLException; 10262 method public double getDouble(int) throws java.sql.SQLException; 10263 method public double getDouble(String) throws java.sql.SQLException; 10264 method public int getFetchDirection() throws java.sql.SQLException; 10265 method public int getFetchSize() throws java.sql.SQLException; 10266 method public float getFloat(int) throws java.sql.SQLException; 10267 method public float getFloat(String) throws java.sql.SQLException; 10268 method public int getHoldability() throws java.sql.SQLException; 10269 method public int getInt(int) throws java.sql.SQLException; 10270 method public int getInt(String) throws java.sql.SQLException; 10271 method public long getLong(int) throws java.sql.SQLException; 10272 method public long getLong(String) throws java.sql.SQLException; 10273 method public java.sql.ResultSetMetaData getMetaData() throws java.sql.SQLException; 10274 method public java.io.Reader getNCharacterStream(int) throws java.sql.SQLException; 10275 method public java.io.Reader getNCharacterStream(String) throws java.sql.SQLException; 10276 method public java.sql.NClob getNClob(int) throws java.sql.SQLException; 10277 method public java.sql.NClob getNClob(String) throws java.sql.SQLException; 10278 method public String getNString(int) throws java.sql.SQLException; 10279 method public String getNString(String) throws java.sql.SQLException; 10280 method public Object getObject(int) throws java.sql.SQLException; 10281 method public Object getObject(String) throws java.sql.SQLException; 10282 method public Object getObject(int, java.util.Map<java.lang.String,java.lang.Class<?>>) throws java.sql.SQLException; 10283 method public Object getObject(String, java.util.Map<java.lang.String,java.lang.Class<?>>) throws java.sql.SQLException; 10284 method public java.sql.Ref getRef(int) throws java.sql.SQLException; 10285 method public java.sql.Ref getRef(String) throws java.sql.SQLException; 10286 method public int getRow() throws java.sql.SQLException; 10287 method public java.sql.RowId getRowId(int) throws java.sql.SQLException; 10288 method public java.sql.RowId getRowId(String) throws java.sql.SQLException; 10289 method public java.sql.SQLXML getSQLXML(int) throws java.sql.SQLException; 10290 method public java.sql.SQLXML getSQLXML(String) throws java.sql.SQLException; 10291 method public short getShort(int) throws java.sql.SQLException; 10292 method public short getShort(String) throws java.sql.SQLException; 10293 method public java.sql.Statement getStatement() throws java.sql.SQLException; 10294 method public String getString(int) throws java.sql.SQLException; 10295 method public String getString(String) throws java.sql.SQLException; 10296 method public java.sql.Time getTime(int) throws java.sql.SQLException; 10297 method public java.sql.Time getTime(String) throws java.sql.SQLException; 10298 method public java.sql.Time getTime(int, java.util.Calendar) throws java.sql.SQLException; 10299 method public java.sql.Time getTime(String, java.util.Calendar) throws java.sql.SQLException; 10300 method public java.sql.Timestamp getTimestamp(int) throws java.sql.SQLException; 10301 method public java.sql.Timestamp getTimestamp(String) throws java.sql.SQLException; 10302 method public java.sql.Timestamp getTimestamp(int, java.util.Calendar) throws java.sql.SQLException; 10303 method public java.sql.Timestamp getTimestamp(String, java.util.Calendar) throws java.sql.SQLException; 10304 method public int getType() throws java.sql.SQLException; 10305 method public java.net.URL getURL(int) throws java.sql.SQLException; 10306 method public java.net.URL getURL(String) throws java.sql.SQLException; 10307 method @Deprecated public java.io.InputStream getUnicodeStream(int) throws java.sql.SQLException; 10308 method @Deprecated public java.io.InputStream getUnicodeStream(String) throws java.sql.SQLException; 10309 method public java.sql.SQLWarning getWarnings() throws java.sql.SQLException; 10310 method public void insertRow() throws java.sql.SQLException; 10311 method public boolean isAfterLast() throws java.sql.SQLException; 10312 method public boolean isBeforeFirst() throws java.sql.SQLException; 10313 method public boolean isClosed() throws java.sql.SQLException; 10314 method public boolean isFirst() throws java.sql.SQLException; 10315 method public boolean isLast() throws java.sql.SQLException; 10316 method public boolean last() throws java.sql.SQLException; 10317 method public void moveToCurrentRow() throws java.sql.SQLException; 10318 method public void moveToInsertRow() throws java.sql.SQLException; 10319 method public boolean next() throws java.sql.SQLException; 10320 method public boolean previous() throws java.sql.SQLException; 10321 method public void refreshRow() throws java.sql.SQLException; 10322 method public boolean relative(int) throws java.sql.SQLException; 10323 method public boolean rowDeleted() throws java.sql.SQLException; 10324 method public boolean rowInserted() throws java.sql.SQLException; 10325 method public boolean rowUpdated() throws java.sql.SQLException; 10326 method public void setFetchDirection(int) throws java.sql.SQLException; 10327 method public void setFetchSize(int) throws java.sql.SQLException; 10328 method public void updateArray(int, java.sql.Array) throws java.sql.SQLException; 10329 method public void updateArray(String, java.sql.Array) throws java.sql.SQLException; 10330 method public void updateAsciiStream(int, java.io.InputStream, int) throws java.sql.SQLException; 10331 method public void updateAsciiStream(String, java.io.InputStream, int) throws java.sql.SQLException; 10332 method public void updateAsciiStream(int, java.io.InputStream, long) throws java.sql.SQLException; 10333 method public void updateAsciiStream(String, java.io.InputStream, long) throws java.sql.SQLException; 10334 method public void updateAsciiStream(int, java.io.InputStream) throws java.sql.SQLException; 10335 method public void updateAsciiStream(String, java.io.InputStream) throws java.sql.SQLException; 10336 method public void updateBigDecimal(int, java.math.BigDecimal) throws java.sql.SQLException; 10337 method public void updateBigDecimal(String, java.math.BigDecimal) throws java.sql.SQLException; 10338 method public void updateBinaryStream(int, java.io.InputStream, int) throws java.sql.SQLException; 10339 method public void updateBinaryStream(String, java.io.InputStream, int) throws java.sql.SQLException; 10340 method public void updateBinaryStream(int, java.io.InputStream, long) throws java.sql.SQLException; 10341 method public void updateBinaryStream(String, java.io.InputStream, long) throws java.sql.SQLException; 10342 method public void updateBinaryStream(int, java.io.InputStream) throws java.sql.SQLException; 10343 method public void updateBinaryStream(String, java.io.InputStream) throws java.sql.SQLException; 10344 method public void updateBlob(int, java.sql.Blob) throws java.sql.SQLException; 10345 method public void updateBlob(String, java.sql.Blob) throws java.sql.SQLException; 10346 method public void updateBlob(int, java.io.InputStream, long) throws java.sql.SQLException; 10347 method public void updateBlob(String, java.io.InputStream, long) throws java.sql.SQLException; 10348 method public void updateBlob(int, java.io.InputStream) throws java.sql.SQLException; 10349 method public void updateBlob(String, java.io.InputStream) throws java.sql.SQLException; 10350 method public void updateBoolean(int, boolean) throws java.sql.SQLException; 10351 method public void updateBoolean(String, boolean) throws java.sql.SQLException; 10352 method public void updateByte(int, byte) throws java.sql.SQLException; 10353 method public void updateByte(String, byte) throws java.sql.SQLException; 10354 method public void updateBytes(int, byte[]) throws java.sql.SQLException; 10355 method public void updateBytes(String, byte[]) throws java.sql.SQLException; 10356 method public void updateCharacterStream(int, java.io.Reader, int) throws java.sql.SQLException; 10357 method public void updateCharacterStream(String, java.io.Reader, int) throws java.sql.SQLException; 10358 method public void updateCharacterStream(int, java.io.Reader, long) throws java.sql.SQLException; 10359 method public void updateCharacterStream(String, java.io.Reader, long) throws java.sql.SQLException; 10360 method public void updateCharacterStream(int, java.io.Reader) throws java.sql.SQLException; 10361 method public void updateCharacterStream(String, java.io.Reader) throws java.sql.SQLException; 10362 method public void updateClob(int, java.sql.Clob) throws java.sql.SQLException; 10363 method public void updateClob(String, java.sql.Clob) throws java.sql.SQLException; 10364 method public void updateClob(int, java.io.Reader, long) throws java.sql.SQLException; 10365 method public void updateClob(String, java.io.Reader, long) throws java.sql.SQLException; 10366 method public void updateClob(int, java.io.Reader) throws java.sql.SQLException; 10367 method public void updateClob(String, java.io.Reader) throws java.sql.SQLException; 10368 method public void updateDate(int, java.sql.Date) throws java.sql.SQLException; 10369 method public void updateDate(String, java.sql.Date) throws java.sql.SQLException; 10370 method public void updateDouble(int, double) throws java.sql.SQLException; 10371 method public void updateDouble(String, double) throws java.sql.SQLException; 10372 method public void updateFloat(int, float) throws java.sql.SQLException; 10373 method public void updateFloat(String, float) throws java.sql.SQLException; 10374 method public void updateInt(int, int) throws java.sql.SQLException; 10375 method public void updateInt(String, int) throws java.sql.SQLException; 10376 method public void updateLong(int, long) throws java.sql.SQLException; 10377 method public void updateLong(String, long) throws java.sql.SQLException; 10378 method public void updateNCharacterStream(int, java.io.Reader, long) throws java.sql.SQLException; 10379 method public void updateNCharacterStream(String, java.io.Reader, long) throws java.sql.SQLException; 10380 method public void updateNCharacterStream(int, java.io.Reader) throws java.sql.SQLException; 10381 method public void updateNCharacterStream(String, java.io.Reader) throws java.sql.SQLException; 10382 method public void updateNClob(int, java.sql.NClob) throws java.sql.SQLException; 10383 method public void updateNClob(String, java.sql.NClob) throws java.sql.SQLException; 10384 method public void updateNClob(int, java.io.Reader, long) throws java.sql.SQLException; 10385 method public void updateNClob(String, java.io.Reader, long) throws java.sql.SQLException; 10386 method public void updateNClob(int, java.io.Reader) throws java.sql.SQLException; 10387 method public void updateNClob(String, java.io.Reader) throws java.sql.SQLException; 10388 method public void updateNString(int, String) throws java.sql.SQLException; 10389 method public void updateNString(String, String) throws java.sql.SQLException; 10390 method public void updateNull(int) throws java.sql.SQLException; 10391 method public void updateNull(String) throws java.sql.SQLException; 10392 method public void updateObject(int, Object, int) throws java.sql.SQLException; 10393 method public void updateObject(int, Object) throws java.sql.SQLException; 10394 method public void updateObject(String, Object, int) throws java.sql.SQLException; 10395 method public void updateObject(String, Object) throws java.sql.SQLException; 10396 method public void updateRef(int, java.sql.Ref) throws java.sql.SQLException; 10397 method public void updateRef(String, java.sql.Ref) throws java.sql.SQLException; 10398 method public void updateRow() throws java.sql.SQLException; 10399 method public void updateRowId(int, java.sql.RowId) throws java.sql.SQLException; 10400 method public void updateRowId(String, java.sql.RowId) throws java.sql.SQLException; 10401 method public void updateSQLXML(int, java.sql.SQLXML) throws java.sql.SQLException; 10402 method public void updateSQLXML(String, java.sql.SQLXML) throws java.sql.SQLException; 10403 method public void updateShort(int, short) throws java.sql.SQLException; 10404 method public void updateShort(String, short) throws java.sql.SQLException; 10405 method public void updateString(int, String) throws java.sql.SQLException; 10406 method public void updateString(String, String) throws java.sql.SQLException; 10407 method public void updateTime(int, java.sql.Time) throws java.sql.SQLException; 10408 method public void updateTime(String, java.sql.Time) throws java.sql.SQLException; 10409 method public void updateTimestamp(int, java.sql.Timestamp) throws java.sql.SQLException; 10410 method public void updateTimestamp(String, java.sql.Timestamp) throws java.sql.SQLException; 10411 method public boolean wasNull() throws java.sql.SQLException; 10412 field public static final int CLOSE_CURSORS_AT_COMMIT = 2; // 0x2 10413 field public static final int CONCUR_READ_ONLY = 1007; // 0x3ef 10414 field public static final int CONCUR_UPDATABLE = 1008; // 0x3f0 10415 field public static final int FETCH_FORWARD = 1000; // 0x3e8 10416 field public static final int FETCH_REVERSE = 1001; // 0x3e9 10417 field public static final int FETCH_UNKNOWN = 1002; // 0x3ea 10418 field public static final int HOLD_CURSORS_OVER_COMMIT = 1; // 0x1 10419 field public static final int TYPE_FORWARD_ONLY = 1003; // 0x3eb 10420 field public static final int TYPE_SCROLL_INSENSITIVE = 1004; // 0x3ec 10421 field public static final int TYPE_SCROLL_SENSITIVE = 1005; // 0x3ed 10422 } 10423 10424 public interface ResultSetMetaData extends java.sql.Wrapper { 10425 method public String getCatalogName(int) throws java.sql.SQLException; 10426 method public String getColumnClassName(int) throws java.sql.SQLException; 10427 method public int getColumnCount() throws java.sql.SQLException; 10428 method public int getColumnDisplaySize(int) throws java.sql.SQLException; 10429 method public String getColumnLabel(int) throws java.sql.SQLException; 10430 method public String getColumnName(int) throws java.sql.SQLException; 10431 method public int getColumnType(int) throws java.sql.SQLException; 10432 method public String getColumnTypeName(int) throws java.sql.SQLException; 10433 method public int getPrecision(int) throws java.sql.SQLException; 10434 method public int getScale(int) throws java.sql.SQLException; 10435 method public String getSchemaName(int) throws java.sql.SQLException; 10436 method public String getTableName(int) throws java.sql.SQLException; 10437 method public boolean isAutoIncrement(int) throws java.sql.SQLException; 10438 method public boolean isCaseSensitive(int) throws java.sql.SQLException; 10439 method public boolean isCurrency(int) throws java.sql.SQLException; 10440 method public boolean isDefinitelyWritable(int) throws java.sql.SQLException; 10441 method public int isNullable(int) throws java.sql.SQLException; 10442 method public boolean isReadOnly(int) throws java.sql.SQLException; 10443 method public boolean isSearchable(int) throws java.sql.SQLException; 10444 method public boolean isSigned(int) throws java.sql.SQLException; 10445 method public boolean isWritable(int) throws java.sql.SQLException; 10446 field public static final int columnNoNulls = 0; // 0x0 10447 field public static final int columnNullable = 1; // 0x1 10448 field public static final int columnNullableUnknown = 2; // 0x2 10449 } 10450 10451 public interface RowId { 10452 method public boolean equals(Object); 10453 method public byte[] getBytes(); 10454 method public int hashCode(); 10455 method public String toString(); 10456 } 10457 10458 public enum RowIdLifetime { 10459 enum_constant public static final java.sql.RowIdLifetime ROWID_UNSUPPORTED; 10460 enum_constant public static final java.sql.RowIdLifetime ROWID_VALID_FOREVER; 10461 enum_constant public static final java.sql.RowIdLifetime ROWID_VALID_OTHER; 10462 enum_constant public static final java.sql.RowIdLifetime ROWID_VALID_SESSION; 10463 enum_constant public static final java.sql.RowIdLifetime ROWID_VALID_TRANSACTION; 10464 } 10465 10466 public class SQLClientInfoException extends java.sql.SQLException { 10467 ctor public SQLClientInfoException(); 10468 ctor public SQLClientInfoException(java.util.Map<java.lang.String,java.sql.ClientInfoStatus>); 10469 ctor public SQLClientInfoException(java.util.Map<java.lang.String,java.sql.ClientInfoStatus>, Throwable); 10470 ctor public SQLClientInfoException(String, java.util.Map<java.lang.String,java.sql.ClientInfoStatus>); 10471 ctor public SQLClientInfoException(String, java.util.Map<java.lang.String,java.sql.ClientInfoStatus>, Throwable); 10472 ctor public SQLClientInfoException(String, String, java.util.Map<java.lang.String,java.sql.ClientInfoStatus>); 10473 ctor public SQLClientInfoException(String, String, java.util.Map<java.lang.String,java.sql.ClientInfoStatus>, Throwable); 10474 ctor public SQLClientInfoException(String, String, int, java.util.Map<java.lang.String,java.sql.ClientInfoStatus>); 10475 ctor public SQLClientInfoException(String, String, int, java.util.Map<java.lang.String,java.sql.ClientInfoStatus>, Throwable); 10476 method public java.util.Map<java.lang.String,java.sql.ClientInfoStatus> getFailedProperties(); 10477 } 10478 10479 public interface SQLData { 10480 method public String getSQLTypeName() throws java.sql.SQLException; 10481 method public void readSQL(java.sql.SQLInput, String) throws java.sql.SQLException; 10482 method public void writeSQL(java.sql.SQLOutput) throws java.sql.SQLException; 10483 } 10484 10485 public class SQLDataException extends java.sql.SQLNonTransientException { 10486 ctor public SQLDataException(); 10487 ctor public SQLDataException(String); 10488 ctor public SQLDataException(String, String); 10489 ctor public SQLDataException(String, String, int); 10490 ctor public SQLDataException(Throwable); 10491 ctor public SQLDataException(String, Throwable); 10492 ctor public SQLDataException(String, String, Throwable); 10493 ctor public SQLDataException(String, String, int, Throwable); 10494 } 10495 10496 public class SQLException extends java.lang.Exception implements java.lang.Iterable<java.lang.Throwable> { 10497 ctor public SQLException(String, String, int); 10498 ctor public SQLException(String, String); 10499 ctor public SQLException(String); 10500 ctor public SQLException(); 10501 ctor public SQLException(Throwable); 10502 ctor public SQLException(String, Throwable); 10503 ctor public SQLException(String, String, Throwable); 10504 ctor public SQLException(String, String, int, Throwable); 10505 method public int getErrorCode(); 10506 method public java.sql.SQLException getNextException(); 10507 method public String getSQLState(); 10508 method public java.util.Iterator<java.lang.Throwable> iterator(); 10509 method public void setNextException(java.sql.SQLException); 10510 } 10511 10512 public class SQLFeatureNotSupportedException extends java.sql.SQLNonTransientException { 10513 ctor public SQLFeatureNotSupportedException(); 10514 ctor public SQLFeatureNotSupportedException(String); 10515 ctor public SQLFeatureNotSupportedException(String, String); 10516 ctor public SQLFeatureNotSupportedException(String, String, int); 10517 ctor public SQLFeatureNotSupportedException(Throwable); 10518 ctor public SQLFeatureNotSupportedException(String, Throwable); 10519 ctor public SQLFeatureNotSupportedException(String, String, Throwable); 10520 ctor public SQLFeatureNotSupportedException(String, String, int, Throwable); 10521 } 10522 10523 public interface SQLInput { 10524 method public java.sql.Array readArray() throws java.sql.SQLException; 10525 method public java.io.InputStream readAsciiStream() throws java.sql.SQLException; 10526 method public java.math.BigDecimal readBigDecimal() throws java.sql.SQLException; 10527 method public java.io.InputStream readBinaryStream() throws java.sql.SQLException; 10528 method public java.sql.Blob readBlob() throws java.sql.SQLException; 10529 method public boolean readBoolean() throws java.sql.SQLException; 10530 method public byte readByte() throws java.sql.SQLException; 10531 method public byte[] readBytes() throws java.sql.SQLException; 10532 method public java.io.Reader readCharacterStream() throws java.sql.SQLException; 10533 method public java.sql.Clob readClob() throws java.sql.SQLException; 10534 method public java.sql.Date readDate() throws java.sql.SQLException; 10535 method public double readDouble() throws java.sql.SQLException; 10536 method public float readFloat() throws java.sql.SQLException; 10537 method public int readInt() throws java.sql.SQLException; 10538 method public long readLong() throws java.sql.SQLException; 10539 method public java.sql.NClob readNClob() throws java.sql.SQLException; 10540 method public String readNString() throws java.sql.SQLException; 10541 method public Object readObject() throws java.sql.SQLException; 10542 method public java.sql.Ref readRef() throws java.sql.SQLException; 10543 method public java.sql.RowId readRowId() throws java.sql.SQLException; 10544 method public java.sql.SQLXML readSQLXML() throws java.sql.SQLException; 10545 method public short readShort() throws java.sql.SQLException; 10546 method public String readString() throws java.sql.SQLException; 10547 method public java.sql.Time readTime() throws java.sql.SQLException; 10548 method public java.sql.Timestamp readTimestamp() throws java.sql.SQLException; 10549 method public java.net.URL readURL() throws java.sql.SQLException; 10550 method public boolean wasNull() throws java.sql.SQLException; 10551 } 10552 10553 public class SQLIntegrityConstraintViolationException extends java.sql.SQLNonTransientException { 10554 ctor public SQLIntegrityConstraintViolationException(); 10555 ctor public SQLIntegrityConstraintViolationException(String); 10556 ctor public SQLIntegrityConstraintViolationException(String, String); 10557 ctor public SQLIntegrityConstraintViolationException(String, String, int); 10558 ctor public SQLIntegrityConstraintViolationException(Throwable); 10559 ctor public SQLIntegrityConstraintViolationException(String, Throwable); 10560 ctor public SQLIntegrityConstraintViolationException(String, String, Throwable); 10561 ctor public SQLIntegrityConstraintViolationException(String, String, int, Throwable); 10562 } 10563 10564 public class SQLInvalidAuthorizationSpecException extends java.sql.SQLNonTransientException { 10565 ctor public SQLInvalidAuthorizationSpecException(); 10566 ctor public SQLInvalidAuthorizationSpecException(String); 10567 ctor public SQLInvalidAuthorizationSpecException(String, String); 10568 ctor public SQLInvalidAuthorizationSpecException(String, String, int); 10569 ctor public SQLInvalidAuthorizationSpecException(Throwable); 10570 ctor public SQLInvalidAuthorizationSpecException(String, Throwable); 10571 ctor public SQLInvalidAuthorizationSpecException(String, String, Throwable); 10572 ctor public SQLInvalidAuthorizationSpecException(String, String, int, Throwable); 10573 } 10574 10575 public class SQLNonTransientConnectionException extends java.sql.SQLNonTransientException { 10576 ctor public SQLNonTransientConnectionException(); 10577 ctor public SQLNonTransientConnectionException(String); 10578 ctor public SQLNonTransientConnectionException(String, String); 10579 ctor public SQLNonTransientConnectionException(String, String, int); 10580 ctor public SQLNonTransientConnectionException(Throwable); 10581 ctor public SQLNonTransientConnectionException(String, Throwable); 10582 ctor public SQLNonTransientConnectionException(String, String, Throwable); 10583 ctor public SQLNonTransientConnectionException(String, String, int, Throwable); 10584 } 10585 10586 public class SQLNonTransientException extends java.sql.SQLException { 10587 ctor public SQLNonTransientException(); 10588 ctor public SQLNonTransientException(String); 10589 ctor public SQLNonTransientException(String, String); 10590 ctor public SQLNonTransientException(String, String, int); 10591 ctor public SQLNonTransientException(Throwable); 10592 ctor public SQLNonTransientException(String, Throwable); 10593 ctor public SQLNonTransientException(String, String, Throwable); 10594 ctor public SQLNonTransientException(String, String, int, Throwable); 10595 } 10596 10597 public interface SQLOutput { 10598 method public void writeArray(java.sql.Array) throws java.sql.SQLException; 10599 method public void writeAsciiStream(java.io.InputStream) throws java.sql.SQLException; 10600 method public void writeBigDecimal(java.math.BigDecimal) throws java.sql.SQLException; 10601 method public void writeBinaryStream(java.io.InputStream) throws java.sql.SQLException; 10602 method public void writeBlob(java.sql.Blob) throws java.sql.SQLException; 10603 method public void writeBoolean(boolean) throws java.sql.SQLException; 10604 method public void writeByte(byte) throws java.sql.SQLException; 10605 method public void writeBytes(byte[]) throws java.sql.SQLException; 10606 method public void writeCharacterStream(java.io.Reader) throws java.sql.SQLException; 10607 method public void writeClob(java.sql.Clob) throws java.sql.SQLException; 10608 method public void writeDate(java.sql.Date) throws java.sql.SQLException; 10609 method public void writeDouble(double) throws java.sql.SQLException; 10610 method public void writeFloat(float) throws java.sql.SQLException; 10611 method public void writeInt(int) throws java.sql.SQLException; 10612 method public void writeLong(long) throws java.sql.SQLException; 10613 method public void writeNClob(java.sql.NClob) throws java.sql.SQLException; 10614 method public void writeNString(String) throws java.sql.SQLException; 10615 method public void writeObject(java.sql.SQLData) throws java.sql.SQLException; 10616 method public void writeRef(java.sql.Ref) throws java.sql.SQLException; 10617 method public void writeRowId(java.sql.RowId) throws java.sql.SQLException; 10618 method public void writeSQLXML(java.sql.SQLXML) throws java.sql.SQLException; 10619 method public void writeShort(short) throws java.sql.SQLException; 10620 method public void writeString(String) throws java.sql.SQLException; 10621 method public void writeStruct(java.sql.Struct) throws java.sql.SQLException; 10622 method public void writeTime(java.sql.Time) throws java.sql.SQLException; 10623 method public void writeTimestamp(java.sql.Timestamp) throws java.sql.SQLException; 10624 method public void writeURL(java.net.URL) throws java.sql.SQLException; 10625 } 10626 10627 public final class SQLPermission extends java.security.BasicPermission { 10628 ctor public SQLPermission(String); 10629 ctor public SQLPermission(String, String); 10630 } 10631 10632 public class SQLRecoverableException extends java.sql.SQLException { 10633 ctor public SQLRecoverableException(); 10634 ctor public SQLRecoverableException(String); 10635 ctor public SQLRecoverableException(String, String); 10636 ctor public SQLRecoverableException(String, String, int); 10637 ctor public SQLRecoverableException(Throwable); 10638 ctor public SQLRecoverableException(String, Throwable); 10639 ctor public SQLRecoverableException(String, String, Throwable); 10640 ctor public SQLRecoverableException(String, String, int, Throwable); 10641 } 10642 10643 public class SQLSyntaxErrorException extends java.sql.SQLNonTransientException { 10644 ctor public SQLSyntaxErrorException(); 10645 ctor public SQLSyntaxErrorException(String); 10646 ctor public SQLSyntaxErrorException(String, String); 10647 ctor public SQLSyntaxErrorException(String, String, int); 10648 ctor public SQLSyntaxErrorException(Throwable); 10649 ctor public SQLSyntaxErrorException(String, Throwable); 10650 ctor public SQLSyntaxErrorException(String, String, Throwable); 10651 ctor public SQLSyntaxErrorException(String, String, int, Throwable); 10652 } 10653 10654 public class SQLTimeoutException extends java.sql.SQLTransientException { 10655 ctor public SQLTimeoutException(); 10656 ctor public SQLTimeoutException(String); 10657 ctor public SQLTimeoutException(String, String); 10658 ctor public SQLTimeoutException(String, String, int); 10659 ctor public SQLTimeoutException(Throwable); 10660 ctor public SQLTimeoutException(String, Throwable); 10661 ctor public SQLTimeoutException(String, String, Throwable); 10662 ctor public SQLTimeoutException(String, String, int, Throwable); 10663 } 10664 10665 public class SQLTransactionRollbackException extends java.sql.SQLTransientException { 10666 ctor public SQLTransactionRollbackException(); 10667 ctor public SQLTransactionRollbackException(String); 10668 ctor public SQLTransactionRollbackException(String, String); 10669 ctor public SQLTransactionRollbackException(String, String, int); 10670 ctor public SQLTransactionRollbackException(Throwable); 10671 ctor public SQLTransactionRollbackException(String, Throwable); 10672 ctor public SQLTransactionRollbackException(String, String, Throwable); 10673 ctor public SQLTransactionRollbackException(String, String, int, Throwable); 10674 } 10675 10676 public class SQLTransientConnectionException extends java.sql.SQLTransientException { 10677 ctor public SQLTransientConnectionException(); 10678 ctor public SQLTransientConnectionException(String); 10679 ctor public SQLTransientConnectionException(String, String); 10680 ctor public SQLTransientConnectionException(String, String, int); 10681 ctor public SQLTransientConnectionException(Throwable); 10682 ctor public SQLTransientConnectionException(String, Throwable); 10683 ctor public SQLTransientConnectionException(String, String, Throwable); 10684 ctor public SQLTransientConnectionException(String, String, int, Throwable); 10685 } 10686 10687 public class SQLTransientException extends java.sql.SQLException { 10688 ctor public SQLTransientException(); 10689 ctor public SQLTransientException(String); 10690 ctor public SQLTransientException(String, String); 10691 ctor public SQLTransientException(String, String, int); 10692 ctor public SQLTransientException(Throwable); 10693 ctor public SQLTransientException(String, Throwable); 10694 ctor public SQLTransientException(String, String, Throwable); 10695 ctor public SQLTransientException(String, String, int, Throwable); 10696 } 10697 10698 public class SQLWarning extends java.sql.SQLException { 10699 ctor public SQLWarning(String, String, int); 10700 ctor public SQLWarning(String, String); 10701 ctor public SQLWarning(String); 10702 ctor public SQLWarning(); 10703 ctor public SQLWarning(Throwable); 10704 ctor public SQLWarning(String, Throwable); 10705 ctor public SQLWarning(String, String, Throwable); 10706 ctor public SQLWarning(String, String, int, Throwable); 10707 method public java.sql.SQLWarning getNextWarning(); 10708 method public void setNextWarning(java.sql.SQLWarning); 10709 } 10710 10711 public interface SQLXML { 10712 method public void free() throws java.sql.SQLException; 10713 method public java.io.InputStream getBinaryStream() throws java.sql.SQLException; 10714 method public java.io.Reader getCharacterStream() throws java.sql.SQLException; 10715 method public <T extends javax.xml.transform.Source> T getSource(Class<T>) throws java.sql.SQLException; 10716 method public String getString() throws java.sql.SQLException; 10717 method public java.io.OutputStream setBinaryStream() throws java.sql.SQLException; 10718 method public java.io.Writer setCharacterStream() throws java.sql.SQLException; 10719 method public <T extends javax.xml.transform.Result> T setResult(Class<T>) throws java.sql.SQLException; 10720 method public void setString(String) throws java.sql.SQLException; 10721 } 10722 10723 public interface Savepoint { 10724 method public int getSavepointId() throws java.sql.SQLException; 10725 method public String getSavepointName() throws java.sql.SQLException; 10726 } 10727 10728 public interface Statement extends java.sql.Wrapper java.lang.AutoCloseable { 10729 method public void addBatch(String) throws java.sql.SQLException; 10730 method public void cancel() throws java.sql.SQLException; 10731 method public void clearBatch() throws java.sql.SQLException; 10732 method public void clearWarnings() throws java.sql.SQLException; 10733 method public void close() throws java.sql.SQLException; 10734 method public boolean execute(String) throws java.sql.SQLException; 10735 method public boolean execute(String, int) throws java.sql.SQLException; 10736 method public boolean execute(String, int[]) throws java.sql.SQLException; 10737 method public boolean execute(String, String[]) throws java.sql.SQLException; 10738 method public int[] executeBatch() throws java.sql.SQLException; 10739 method public java.sql.ResultSet executeQuery(String) throws java.sql.SQLException; 10740 method public int executeUpdate(String) throws java.sql.SQLException; 10741 method public int executeUpdate(String, int) throws java.sql.SQLException; 10742 method public int executeUpdate(String, int[]) throws java.sql.SQLException; 10743 method public int executeUpdate(String, String[]) throws java.sql.SQLException; 10744 method public java.sql.Connection getConnection() throws java.sql.SQLException; 10745 method public int getFetchDirection() throws java.sql.SQLException; 10746 method public int getFetchSize() throws java.sql.SQLException; 10747 method public java.sql.ResultSet getGeneratedKeys() throws java.sql.SQLException; 10748 method public int getMaxFieldSize() throws java.sql.SQLException; 10749 method public int getMaxRows() throws java.sql.SQLException; 10750 method public boolean getMoreResults() throws java.sql.SQLException; 10751 method public boolean getMoreResults(int) throws java.sql.SQLException; 10752 method public int getQueryTimeout() throws java.sql.SQLException; 10753 method public java.sql.ResultSet getResultSet() throws java.sql.SQLException; 10754 method public int getResultSetConcurrency() throws java.sql.SQLException; 10755 method public int getResultSetHoldability() throws java.sql.SQLException; 10756 method public int getResultSetType() throws java.sql.SQLException; 10757 method public int getUpdateCount() throws java.sql.SQLException; 10758 method public java.sql.SQLWarning getWarnings() throws java.sql.SQLException; 10759 method public boolean isClosed() throws java.sql.SQLException; 10760 method public boolean isPoolable() throws java.sql.SQLException; 10761 method public void setCursorName(String) throws java.sql.SQLException; 10762 method public void setEscapeProcessing(boolean) throws java.sql.SQLException; 10763 method public void setFetchDirection(int) throws java.sql.SQLException; 10764 method public void setFetchSize(int) throws java.sql.SQLException; 10765 method public void setMaxFieldSize(int) throws java.sql.SQLException; 10766 method public void setMaxRows(int) throws java.sql.SQLException; 10767 method public void setPoolable(boolean) throws java.sql.SQLException; 10768 method public void setQueryTimeout(int) throws java.sql.SQLException; 10769 field public static final int CLOSE_ALL_RESULTS = 3; // 0x3 10770 field public static final int CLOSE_CURRENT_RESULT = 1; // 0x1 10771 field public static final int EXECUTE_FAILED = -3; // 0xfffffffd 10772 field public static final int KEEP_CURRENT_RESULT = 2; // 0x2 10773 field public static final int NO_GENERATED_KEYS = 2; // 0x2 10774 field public static final int RETURN_GENERATED_KEYS = 1; // 0x1 10775 field public static final int SUCCESS_NO_INFO = -2; // 0xfffffffe 10776 } 10777 10778 public interface Struct { 10779 method public Object[] getAttributes() throws java.sql.SQLException; 10780 method public Object[] getAttributes(java.util.Map<java.lang.String,java.lang.Class<?>>) throws java.sql.SQLException; 10781 method public String getSQLTypeName() throws java.sql.SQLException; 10782 } 10783 10784 public class Time extends java.util.Date { 10785 ctor @Deprecated public Time(int, int, int); 10786 ctor public Time(long); 10787 method public static java.sql.Time valueOf(String); 10788 } 10789 10790 public class Timestamp extends java.util.Date { 10791 ctor @Deprecated public Timestamp(int, int, int, int, int, int, int); 10792 ctor public Timestamp(long); 10793 method public boolean after(java.sql.Timestamp); 10794 method public boolean before(java.sql.Timestamp); 10795 method public int compareTo(java.sql.Timestamp); 10796 method public boolean equals(java.sql.Timestamp); 10797 method public int getNanos(); 10798 method public void setNanos(int); 10799 method public static java.sql.Timestamp valueOf(String); 10800 } 10801 10802 public class Types { 10803 field public static final int ARRAY = 2003; // 0x7d3 10804 field public static final int BIGINT = -5; // 0xfffffffb 10805 field public static final int BINARY = -2; // 0xfffffffe 10806 field public static final int BIT = -7; // 0xfffffff9 10807 field public static final int BLOB = 2004; // 0x7d4 10808 field public static final int BOOLEAN = 16; // 0x10 10809 field public static final int CHAR = 1; // 0x1 10810 field public static final int CLOB = 2005; // 0x7d5 10811 field public static final int DATALINK = 70; // 0x46 10812 field public static final int DATE = 91; // 0x5b 10813 field public static final int DECIMAL = 3; // 0x3 10814 field public static final int DISTINCT = 2001; // 0x7d1 10815 field public static final int DOUBLE = 8; // 0x8 10816 field public static final int FLOAT = 6; // 0x6 10817 field public static final int INTEGER = 4; // 0x4 10818 field public static final int JAVA_OBJECT = 2000; // 0x7d0 10819 field public static final int LONGNVARCHAR = -16; // 0xfffffff0 10820 field public static final int LONGVARBINARY = -4; // 0xfffffffc 10821 field public static final int LONGVARCHAR = -1; // 0xffffffff 10822 field public static final int NCHAR = -15; // 0xfffffff1 10823 field public static final int NCLOB = 2011; // 0x7db 10824 field public static final int NULL = 0; // 0x0 10825 field public static final int NUMERIC = 2; // 0x2 10826 field public static final int NVARCHAR = -9; // 0xfffffff7 10827 field public static final int OTHER = 1111; // 0x457 10828 field public static final int REAL = 7; // 0x7 10829 field public static final int REF = 2006; // 0x7d6 10830 field public static final int ROWID = -8; // 0xfffffff8 10831 field public static final int SMALLINT = 5; // 0x5 10832 field public static final int SQLXML = 2009; // 0x7d9 10833 field public static final int STRUCT = 2002; // 0x7d2 10834 field public static final int TIME = 92; // 0x5c 10835 field public static final int TIMESTAMP = 93; // 0x5d 10836 field public static final int TINYINT = -6; // 0xfffffffa 10837 field public static final int VARBINARY = -3; // 0xfffffffd 10838 field public static final int VARCHAR = 12; // 0xc 10839 } 10840 10841 public interface Wrapper { 10842 method public boolean isWrapperFor(Class<?>) throws java.sql.SQLException; 10843 method public <T> T unwrap(Class<T>) throws java.sql.SQLException; 10844 } 10845 10846} 10847 10848package java.text { 10849 10850 public class Annotation { 10851 ctor public Annotation(Object); 10852 method public Object getValue(); 10853 } 10854 10855 public interface AttributedCharacterIterator extends java.text.CharacterIterator { 10856 method public java.util.Set<java.text.AttributedCharacterIterator.Attribute> getAllAttributeKeys(); 10857 method public Object getAttribute(java.text.AttributedCharacterIterator.Attribute); 10858 method public java.util.Map<java.text.AttributedCharacterIterator.Attribute,java.lang.Object> getAttributes(); 10859 method public int getRunLimit(); 10860 method public int getRunLimit(java.text.AttributedCharacterIterator.Attribute); 10861 method public int getRunLimit(java.util.Set<? extends java.text.AttributedCharacterIterator.Attribute>); 10862 method public int getRunStart(); 10863 method public int getRunStart(java.text.AttributedCharacterIterator.Attribute); 10864 method public int getRunStart(java.util.Set<? extends java.text.AttributedCharacterIterator.Attribute>); 10865 } 10866 10867 public static class AttributedCharacterIterator.Attribute implements java.io.Serializable { 10868 ctor protected AttributedCharacterIterator.Attribute(String); 10869 method public final boolean equals(Object); 10870 method protected String getName(); 10871 method public final int hashCode(); 10872 method @java.io.Serial protected Object readResolve() throws java.io.InvalidObjectException; 10873 field public static final java.text.AttributedCharacterIterator.Attribute INPUT_METHOD_SEGMENT; 10874 field public static final java.text.AttributedCharacterIterator.Attribute LANGUAGE; 10875 field public static final java.text.AttributedCharacterIterator.Attribute READING; 10876 } 10877 10878 public class AttributedString { 10879 ctor public AttributedString(String); 10880 ctor public AttributedString(String, java.util.Map<? extends java.text.AttributedCharacterIterator.Attribute,?>); 10881 ctor public AttributedString(java.text.AttributedCharacterIterator); 10882 ctor public AttributedString(java.text.AttributedCharacterIterator, int, int); 10883 ctor public AttributedString(java.text.AttributedCharacterIterator, int, int, java.text.AttributedCharacterIterator.Attribute[]); 10884 method public void addAttribute(java.text.AttributedCharacterIterator.Attribute, Object); 10885 method public void addAttribute(java.text.AttributedCharacterIterator.Attribute, Object, int, int); 10886 method public void addAttributes(java.util.Map<? extends java.text.AttributedCharacterIterator.Attribute,?>, int, int); 10887 method public java.text.AttributedCharacterIterator getIterator(); 10888 method public java.text.AttributedCharacterIterator getIterator(java.text.AttributedCharacterIterator.Attribute[]); 10889 method public java.text.AttributedCharacterIterator getIterator(java.text.AttributedCharacterIterator.Attribute[], int, int); 10890 } 10891 10892 public final class Bidi { 10893 ctor public Bidi(String, int); 10894 ctor public Bidi(java.text.AttributedCharacterIterator); 10895 ctor public Bidi(char[], int, byte[], int, int, int); 10896 method public boolean baseIsLeftToRight(); 10897 method public java.text.Bidi createLineBidi(int, int); 10898 method public int getBaseLevel(); 10899 method public int getLength(); 10900 method public int getLevelAt(int); 10901 method public int getRunCount(); 10902 method public int getRunLevel(int); 10903 method public int getRunLimit(int); 10904 method public int getRunStart(int); 10905 method public boolean isLeftToRight(); 10906 method public boolean isMixed(); 10907 method public boolean isRightToLeft(); 10908 method public static void reorderVisually(byte[], int, Object[], int, int); 10909 method public static boolean requiresBidi(char[], int, int); 10910 field public static final int DIRECTION_DEFAULT_LEFT_TO_RIGHT = -2; // 0xfffffffe 10911 field public static final int DIRECTION_DEFAULT_RIGHT_TO_LEFT = -1; // 0xffffffff 10912 field public static final int DIRECTION_LEFT_TO_RIGHT = 0; // 0x0 10913 field public static final int DIRECTION_RIGHT_TO_LEFT = 1; // 0x1 10914 } 10915 10916 public abstract class BreakIterator implements java.lang.Cloneable { 10917 ctor protected BreakIterator(); 10918 method public Object clone(); 10919 method public abstract int current(); 10920 method public abstract int first(); 10921 method public abstract int following(int); 10922 method public static java.util.Locale[] getAvailableLocales(); 10923 method public static java.text.BreakIterator getCharacterInstance(); 10924 method public static java.text.BreakIterator getCharacterInstance(java.util.Locale); 10925 method public static java.text.BreakIterator getLineInstance(); 10926 method public static java.text.BreakIterator getLineInstance(java.util.Locale); 10927 method public static java.text.BreakIterator getSentenceInstance(); 10928 method public static java.text.BreakIterator getSentenceInstance(java.util.Locale); 10929 method public abstract java.text.CharacterIterator getText(); 10930 method public static java.text.BreakIterator getWordInstance(); 10931 method public static java.text.BreakIterator getWordInstance(java.util.Locale); 10932 method public boolean isBoundary(int); 10933 method public abstract int last(); 10934 method public abstract int next(int); 10935 method public abstract int next(); 10936 method public int preceding(int); 10937 method public abstract int previous(); 10938 method public void setText(String); 10939 method public abstract void setText(java.text.CharacterIterator); 10940 field public static final int DONE = -1; // 0xffffffff 10941 } 10942 10943 public interface CharacterIterator extends java.lang.Cloneable { 10944 method public Object clone(); 10945 method public char current(); 10946 method public char first(); 10947 method public int getBeginIndex(); 10948 method public int getEndIndex(); 10949 method public int getIndex(); 10950 method public char last(); 10951 method public char next(); 10952 method public char previous(); 10953 method public char setIndex(int); 10954 field public static final char DONE = 65535; // 0xffff '\uffff' 10955 } 10956 10957 public class ChoiceFormat extends java.text.NumberFormat { 10958 ctor public ChoiceFormat(String); 10959 ctor public ChoiceFormat(double[], String[]); 10960 method public void applyPattern(String); 10961 method public StringBuffer format(long, StringBuffer, java.text.FieldPosition); 10962 method public StringBuffer format(double, StringBuffer, java.text.FieldPosition); 10963 method public Object[] getFormats(); 10964 method public double[] getLimits(); 10965 method public static final double nextDouble(double); 10966 method public static double nextDouble(double, boolean); 10967 method public Number parse(String, java.text.ParsePosition); 10968 method public static final double previousDouble(double); 10969 method public void setChoices(double[], String[]); 10970 method public String toPattern(); 10971 } 10972 10973 public final class CollationElementIterator { 10974 method public int getMaxExpansion(int); 10975 method public int getOffset(); 10976 method public int next(); 10977 method public int previous(); 10978 method public static int primaryOrder(int); 10979 method public void reset(); 10980 method public static short secondaryOrder(int); 10981 method public void setOffset(int); 10982 method public void setText(String); 10983 method public void setText(java.text.CharacterIterator); 10984 method public static short tertiaryOrder(int); 10985 field public static final int NULLORDER = -1; // 0xffffffff 10986 } 10987 10988 public abstract class CollationKey implements java.lang.Comparable<java.text.CollationKey> { 10989 ctor protected CollationKey(String); 10990 method public abstract int compareTo(java.text.CollationKey); 10991 method public String getSourceString(); 10992 method public abstract byte[] toByteArray(); 10993 } 10994 10995 public abstract class Collator implements java.lang.Cloneable java.util.Comparator<java.lang.Object> { 10996 ctor protected Collator(); 10997 method public Object clone(); 10998 method public abstract int compare(String, String); 10999 method public int compare(Object, Object); 11000 method public boolean equals(String, String); 11001 method public boolean equals(Object); 11002 method public static java.util.Locale[] getAvailableLocales(); 11003 method public abstract java.text.CollationKey getCollationKey(String); 11004 method public int getDecomposition(); 11005 method public static java.text.Collator getInstance(); 11006 method public static java.text.Collator getInstance(java.util.Locale); 11007 method public int getStrength(); 11008 method public abstract int hashCode(); 11009 method public void setDecomposition(int); 11010 method public void setStrength(int); 11011 field public static final int CANONICAL_DECOMPOSITION = 1; // 0x1 11012 field public static final int FULL_DECOMPOSITION = 2; // 0x2 11013 field public static final int IDENTICAL = 3; // 0x3 11014 field public static final int NO_DECOMPOSITION = 0; // 0x0 11015 field public static final int PRIMARY = 0; // 0x0 11016 field public static final int SECONDARY = 1; // 0x1 11017 field public static final int TERTIARY = 2; // 0x2 11018 } 11019 11020 public abstract class DateFormat extends java.text.Format { 11021 ctor protected DateFormat(); 11022 method @NonNull public final StringBuffer format(@NonNull Object, @NonNull StringBuffer, @NonNull java.text.FieldPosition); 11023 method @NonNull public abstract StringBuffer format(@NonNull java.util.Date, @NonNull StringBuffer, @NonNull java.text.FieldPosition); 11024 method @NonNull public final String format(@NonNull java.util.Date); 11025 method @NonNull public static java.util.Locale[] getAvailableLocales(); 11026 method @NonNull public java.util.Calendar getCalendar(); 11027 method @NonNull public static final java.text.DateFormat getDateInstance(); 11028 method @NonNull public static final java.text.DateFormat getDateInstance(int); 11029 method @NonNull public static final java.text.DateFormat getDateInstance(int, @NonNull java.util.Locale); 11030 method @NonNull public static final java.text.DateFormat getDateTimeInstance(); 11031 method @NonNull public static final java.text.DateFormat getDateTimeInstance(int, int); 11032 method @NonNull public static final java.text.DateFormat getDateTimeInstance(int, int, @NonNull java.util.Locale); 11033 method @NonNull public static final java.text.DateFormat getInstance(); 11034 method @NonNull public java.text.NumberFormat getNumberFormat(); 11035 method @NonNull public static final java.text.DateFormat getTimeInstance(); 11036 method @NonNull public static final java.text.DateFormat getTimeInstance(int); 11037 method @NonNull public static final java.text.DateFormat getTimeInstance(int, @NonNull java.util.Locale); 11038 method @NonNull public java.util.TimeZone getTimeZone(); 11039 method public boolean isLenient(); 11040 method @Nullable public java.util.Date parse(@NonNull String) throws java.text.ParseException; 11041 method @Nullable public abstract java.util.Date parse(@NonNull String, @NonNull java.text.ParsePosition); 11042 method @Nullable public Object parseObject(@NonNull String, @NonNull java.text.ParsePosition); 11043 method public void setCalendar(@NonNull java.util.Calendar); 11044 method public void setLenient(boolean); 11045 method public void setNumberFormat(@NonNull java.text.NumberFormat); 11046 method public void setTimeZone(@NonNull java.util.TimeZone); 11047 field public static final int AM_PM_FIELD = 14; // 0xe 11048 field public static final int DATE_FIELD = 3; // 0x3 11049 field public static final int DAY_OF_WEEK_FIELD = 9; // 0x9 11050 field public static final int DAY_OF_WEEK_IN_MONTH_FIELD = 11; // 0xb 11051 field public static final int DAY_OF_YEAR_FIELD = 10; // 0xa 11052 field public static final int DEFAULT = 2; // 0x2 11053 field public static final int ERA_FIELD = 0; // 0x0 11054 field public static final int FULL = 0; // 0x0 11055 field public static final int HOUR0_FIELD = 16; // 0x10 11056 field public static final int HOUR1_FIELD = 15; // 0xf 11057 field public static final int HOUR_OF_DAY0_FIELD = 5; // 0x5 11058 field public static final int HOUR_OF_DAY1_FIELD = 4; // 0x4 11059 field public static final int LONG = 1; // 0x1 11060 field public static final int MEDIUM = 2; // 0x2 11061 field public static final int MILLISECOND_FIELD = 8; // 0x8 11062 field public static final int MINUTE_FIELD = 6; // 0x6 11063 field public static final int MONTH_FIELD = 2; // 0x2 11064 field public static final int SECOND_FIELD = 7; // 0x7 11065 field public static final int SHORT = 3; // 0x3 11066 field public static final int TIMEZONE_FIELD = 17; // 0x11 11067 field public static final int WEEK_OF_MONTH_FIELD = 13; // 0xd 11068 field public static final int WEEK_OF_YEAR_FIELD = 12; // 0xc 11069 field public static final int YEAR_FIELD = 1; // 0x1 11070 field @NonNull protected java.util.Calendar calendar; 11071 field @NonNull protected java.text.NumberFormat numberFormat; 11072 } 11073 11074 public static class DateFormat.Field extends java.text.Format.Field { 11075 ctor protected DateFormat.Field(@NonNull String, int); 11076 method public int getCalendarField(); 11077 method @NonNull public static java.text.DateFormat.Field ofCalendarField(int); 11078 field @NonNull public static final java.text.DateFormat.Field AM_PM; 11079 field @NonNull public static final java.text.DateFormat.Field DAY_OF_MONTH; 11080 field @NonNull public static final java.text.DateFormat.Field DAY_OF_WEEK; 11081 field @NonNull public static final java.text.DateFormat.Field DAY_OF_WEEK_IN_MONTH; 11082 field @NonNull public static final java.text.DateFormat.Field DAY_OF_YEAR; 11083 field @NonNull public static final java.text.DateFormat.Field ERA; 11084 field @NonNull public static final java.text.DateFormat.Field HOUR0; 11085 field @NonNull public static final java.text.DateFormat.Field HOUR1; 11086 field @NonNull public static final java.text.DateFormat.Field HOUR_OF_DAY0; 11087 field @NonNull public static final java.text.DateFormat.Field HOUR_OF_DAY1; 11088 field @NonNull public static final java.text.DateFormat.Field MILLISECOND; 11089 field @NonNull public static final java.text.DateFormat.Field MINUTE; 11090 field @NonNull public static final java.text.DateFormat.Field MONTH; 11091 field @NonNull public static final java.text.DateFormat.Field SECOND; 11092 field @NonNull public static final java.text.DateFormat.Field TIME_ZONE; 11093 field @NonNull public static final java.text.DateFormat.Field WEEK_OF_MONTH; 11094 field @NonNull public static final java.text.DateFormat.Field WEEK_OF_YEAR; 11095 field @NonNull public static final java.text.DateFormat.Field YEAR; 11096 } 11097 11098 public class DateFormatSymbols implements java.lang.Cloneable java.io.Serializable { 11099 ctor public DateFormatSymbols(); 11100 ctor public DateFormatSymbols(java.util.Locale); 11101 method public Object clone(); 11102 method public String[] getAmPmStrings(); 11103 method public static java.util.Locale[] getAvailableLocales(); 11104 method public String[] getEras(); 11105 method public static final java.text.DateFormatSymbols getInstance(); 11106 method public static final java.text.DateFormatSymbols getInstance(java.util.Locale); 11107 method public String getLocalPatternChars(); 11108 method public String[] getMonths(); 11109 method public String[] getShortMonths(); 11110 method public String[] getShortWeekdays(); 11111 method public String[] getWeekdays(); 11112 method public String[][] getZoneStrings(); 11113 method public void setAmPmStrings(String[]); 11114 method public void setEras(String[]); 11115 method public void setLocalPatternChars(String); 11116 method public void setMonths(String[]); 11117 method public void setShortMonths(String[]); 11118 method public void setShortWeekdays(String[]); 11119 method public void setWeekdays(String[]); 11120 method public void setZoneStrings(String[][]); 11121 } 11122 11123 public class DecimalFormat extends java.text.NumberFormat { 11124 ctor public DecimalFormat(); 11125 ctor public DecimalFormat(String); 11126 ctor public DecimalFormat(String, java.text.DecimalFormatSymbols); 11127 method public void applyLocalizedPattern(String); 11128 method public void applyPattern(String); 11129 method public final StringBuffer format(Object, StringBuffer, java.text.FieldPosition); 11130 method public StringBuffer format(double, StringBuffer, java.text.FieldPosition); 11131 method public StringBuffer format(long, StringBuffer, java.text.FieldPosition); 11132 method public java.text.DecimalFormatSymbols getDecimalFormatSymbols(); 11133 method public int getGroupingSize(); 11134 method public int getMultiplier(); 11135 method public String getNegativePrefix(); 11136 method public String getNegativeSuffix(); 11137 method public String getPositivePrefix(); 11138 method public String getPositiveSuffix(); 11139 method public boolean isDecimalSeparatorAlwaysShown(); 11140 method public boolean isParseBigDecimal(); 11141 method public Number parse(String, java.text.ParsePosition); 11142 method public void setDecimalFormatSymbols(java.text.DecimalFormatSymbols); 11143 method public void setDecimalSeparatorAlwaysShown(boolean); 11144 method public void setGroupingSize(int); 11145 method public void setMultiplier(int); 11146 method public void setNegativePrefix(String); 11147 method public void setNegativeSuffix(String); 11148 method public void setParseBigDecimal(boolean); 11149 method public void setPositivePrefix(String); 11150 method public void setPositiveSuffix(String); 11151 method public String toLocalizedPattern(); 11152 method public String toPattern(); 11153 } 11154 11155 public class DecimalFormatSymbols implements java.lang.Cloneable java.io.Serializable { 11156 ctor public DecimalFormatSymbols(); 11157 ctor public DecimalFormatSymbols(java.util.Locale); 11158 method public Object clone(); 11159 method public static java.util.Locale[] getAvailableLocales(); 11160 method public java.util.Currency getCurrency(); 11161 method public String getCurrencySymbol(); 11162 method public char getDecimalSeparator(); 11163 method public char getDigit(); 11164 method public String getExponentSeparator(); 11165 method public char getGroupingSeparator(); 11166 method public String getInfinity(); 11167 method public static final java.text.DecimalFormatSymbols getInstance(); 11168 method public static final java.text.DecimalFormatSymbols getInstance(java.util.Locale); 11169 method public String getInternationalCurrencySymbol(); 11170 method public char getMinusSign(); 11171 method public char getMonetaryDecimalSeparator(); 11172 method public char getMonetaryGroupingSeparator(); 11173 method public String getNaN(); 11174 method public char getPatternSeparator(); 11175 method public char getPerMill(); 11176 method public char getPercent(); 11177 method public char getZeroDigit(); 11178 method public void setCurrency(java.util.Currency); 11179 method public void setCurrencySymbol(String); 11180 method public void setDecimalSeparator(char); 11181 method public void setDigit(char); 11182 method public void setExponentSeparator(String); 11183 method public void setGroupingSeparator(char); 11184 method public void setInfinity(String); 11185 method public void setInternationalCurrencySymbol(String); 11186 method public void setMinusSign(char); 11187 method public void setMonetaryDecimalSeparator(char); 11188 method public void setMonetaryGroupingSeparator(char); 11189 method public void setNaN(String); 11190 method public void setPatternSeparator(char); 11191 method public void setPerMill(char); 11192 method public void setPercent(char); 11193 method public void setZeroDigit(char); 11194 } 11195 11196 public class FieldPosition { 11197 ctor public FieldPosition(int); 11198 ctor public FieldPosition(java.text.Format.Field); 11199 ctor public FieldPosition(java.text.Format.Field, int); 11200 method public int getBeginIndex(); 11201 method public int getEndIndex(); 11202 method public int getField(); 11203 method public java.text.Format.Field getFieldAttribute(); 11204 method public void setBeginIndex(int); 11205 method public void setEndIndex(int); 11206 } 11207 11208 public abstract class Format implements java.lang.Cloneable java.io.Serializable { 11209 ctor protected Format(); 11210 method public Object clone(); 11211 method public final String format(Object); 11212 method public abstract StringBuffer format(Object, StringBuffer, java.text.FieldPosition); 11213 method public java.text.AttributedCharacterIterator formatToCharacterIterator(Object); 11214 method public abstract Object parseObject(String, java.text.ParsePosition); 11215 method public Object parseObject(String) throws java.text.ParseException; 11216 } 11217 11218 public static class Format.Field extends java.text.AttributedCharacterIterator.Attribute { 11219 ctor protected Format.Field(String); 11220 } 11221 11222 public class MessageFormat extends java.text.Format { 11223 ctor public MessageFormat(String); 11224 ctor public MessageFormat(String, java.util.Locale); 11225 method public void applyPattern(String); 11226 method public final StringBuffer format(Object[], StringBuffer, java.text.FieldPosition); 11227 method public static String format(String, java.lang.Object...); 11228 method public final StringBuffer format(Object, StringBuffer, java.text.FieldPosition); 11229 method public java.text.Format[] getFormats(); 11230 method public java.text.Format[] getFormatsByArgumentIndex(); 11231 method public java.util.Locale getLocale(); 11232 method public Object[] parse(String, java.text.ParsePosition); 11233 method public Object[] parse(String) throws java.text.ParseException; 11234 method public Object parseObject(String, java.text.ParsePosition); 11235 method public void setFormat(int, java.text.Format); 11236 method public void setFormatByArgumentIndex(int, java.text.Format); 11237 method public void setFormats(java.text.Format[]); 11238 method public void setFormatsByArgumentIndex(java.text.Format[]); 11239 method public void setLocale(java.util.Locale); 11240 method public String toPattern(); 11241 } 11242 11243 public static class MessageFormat.Field extends java.text.Format.Field { 11244 ctor protected MessageFormat.Field(String); 11245 field public static final java.text.MessageFormat.Field ARGUMENT; 11246 } 11247 11248 public final class Normalizer { 11249 method public static boolean isNormalized(CharSequence, java.text.Normalizer.Form); 11250 method public static String normalize(CharSequence, java.text.Normalizer.Form); 11251 } 11252 11253 public enum Normalizer.Form { 11254 enum_constant public static final java.text.Normalizer.Form NFC; 11255 enum_constant public static final java.text.Normalizer.Form NFD; 11256 enum_constant public static final java.text.Normalizer.Form NFKC; 11257 enum_constant public static final java.text.Normalizer.Form NFKD; 11258 } 11259 11260 public abstract class NumberFormat extends java.text.Format { 11261 ctor protected NumberFormat(); 11262 method @NonNull public StringBuffer format(@NonNull Object, @NonNull StringBuffer, @NonNull java.text.FieldPosition); 11263 method @NonNull public final String format(double); 11264 method @NonNull public final String format(long); 11265 method @NonNull public abstract StringBuffer format(double, @NonNull StringBuffer, @NonNull java.text.FieldPosition); 11266 method @NonNull public abstract StringBuffer format(long, @NonNull StringBuffer, @NonNull java.text.FieldPosition); 11267 method @NonNull public static java.util.Locale[] getAvailableLocales(); 11268 method @Nullable public java.util.Currency getCurrency(); 11269 method @NonNull public static final java.text.NumberFormat getCurrencyInstance(); 11270 method @NonNull public static java.text.NumberFormat getCurrencyInstance(@NonNull java.util.Locale); 11271 method @NonNull public static final java.text.NumberFormat getInstance(); 11272 method @NonNull public static java.text.NumberFormat getInstance(@NonNull java.util.Locale); 11273 method @NonNull public static final java.text.NumberFormat getIntegerInstance(); 11274 method @NonNull public static java.text.NumberFormat getIntegerInstance(@NonNull java.util.Locale); 11275 method public int getMaximumFractionDigits(); 11276 method public int getMaximumIntegerDigits(); 11277 method public int getMinimumFractionDigits(); 11278 method public int getMinimumIntegerDigits(); 11279 method @NonNull public static final java.text.NumberFormat getNumberInstance(); 11280 method @NonNull public static java.text.NumberFormat getNumberInstance(@NonNull java.util.Locale); 11281 method @NonNull public static final java.text.NumberFormat getPercentInstance(); 11282 method @NonNull public static java.text.NumberFormat getPercentInstance(@NonNull java.util.Locale); 11283 method @NonNull public java.math.RoundingMode getRoundingMode(); 11284 method public boolean isGroupingUsed(); 11285 method public boolean isParseIntegerOnly(); 11286 method @Nullable public abstract Number parse(@NonNull String, @NonNull java.text.ParsePosition); 11287 method @Nullable public Number parse(@NonNull String) throws java.text.ParseException; 11288 method @Nullable public final Object parseObject(@NonNull String, @NonNull java.text.ParsePosition); 11289 method public void setCurrency(@NonNull java.util.Currency); 11290 method public void setGroupingUsed(boolean); 11291 method public void setMaximumFractionDigits(int); 11292 method public void setMaximumIntegerDigits(int); 11293 method public void setMinimumFractionDigits(int); 11294 method public void setMinimumIntegerDigits(int); 11295 method public void setParseIntegerOnly(boolean); 11296 method public void setRoundingMode(@Nullable java.math.RoundingMode); 11297 field public static final int FRACTION_FIELD = 1; // 0x1 11298 field public static final int INTEGER_FIELD = 0; // 0x0 11299 } 11300 11301 public static class NumberFormat.Field extends java.text.Format.Field { 11302 ctor protected NumberFormat.Field(@NonNull String); 11303 field @NonNull public static final java.text.NumberFormat.Field CURRENCY; 11304 field @NonNull public static final java.text.NumberFormat.Field DECIMAL_SEPARATOR; 11305 field @NonNull public static final java.text.NumberFormat.Field EXPONENT; 11306 field @NonNull public static final java.text.NumberFormat.Field EXPONENT_SIGN; 11307 field @NonNull public static final java.text.NumberFormat.Field EXPONENT_SYMBOL; 11308 field @NonNull public static final java.text.NumberFormat.Field FRACTION; 11309 field @NonNull public static final java.text.NumberFormat.Field GROUPING_SEPARATOR; 11310 field @NonNull public static final java.text.NumberFormat.Field INTEGER; 11311 field @NonNull public static final java.text.NumberFormat.Field PERCENT; 11312 field @NonNull public static final java.text.NumberFormat.Field PERMILLE; 11313 field @NonNull public static final java.text.NumberFormat.Field SIGN; 11314 } 11315 11316 public class ParseException extends java.lang.Exception { 11317 ctor public ParseException(String, int); 11318 method public int getErrorOffset(); 11319 } 11320 11321 public class ParsePosition { 11322 ctor public ParsePosition(int); 11323 method public int getErrorIndex(); 11324 method public int getIndex(); 11325 method public void setErrorIndex(int); 11326 method public void setIndex(int); 11327 } 11328 11329 public class RuleBasedCollator extends java.text.Collator { 11330 ctor public RuleBasedCollator(String) throws java.text.ParseException; 11331 method public int compare(String, String); 11332 method public java.text.CollationElementIterator getCollationElementIterator(String); 11333 method public java.text.CollationElementIterator getCollationElementIterator(java.text.CharacterIterator); 11334 method public java.text.CollationKey getCollationKey(String); 11335 method public String getRules(); 11336 method public int hashCode(); 11337 } 11338 11339 public class SimpleDateFormat extends java.text.DateFormat { 11340 ctor public SimpleDateFormat(); 11341 ctor public SimpleDateFormat(String); 11342 ctor public SimpleDateFormat(String, java.util.Locale); 11343 ctor public SimpleDateFormat(String, java.text.DateFormatSymbols); 11344 method public void applyLocalizedPattern(String); 11345 method public void applyPattern(String); 11346 method public StringBuffer format(java.util.Date, StringBuffer, java.text.FieldPosition); 11347 method public java.util.Date get2DigitYearStart(); 11348 method public java.text.DateFormatSymbols getDateFormatSymbols(); 11349 method public java.util.Date parse(String, java.text.ParsePosition); 11350 method public void set2DigitYearStart(java.util.Date); 11351 method public void setDateFormatSymbols(java.text.DateFormatSymbols); 11352 method public String toLocalizedPattern(); 11353 method public String toPattern(); 11354 } 11355 11356 public final class StringCharacterIterator implements java.text.CharacterIterator { 11357 ctor public StringCharacterIterator(String); 11358 ctor public StringCharacterIterator(String, int); 11359 ctor public StringCharacterIterator(String, int, int, int); 11360 method public Object clone(); 11361 method public char current(); 11362 method public char first(); 11363 method public int getBeginIndex(); 11364 method public int getEndIndex(); 11365 method public int getIndex(); 11366 method public char last(); 11367 method public char next(); 11368 method public char previous(); 11369 method public char setIndex(int); 11370 method public void setText(String); 11371 } 11372 11373} 11374 11375package java.time { 11376 11377 public abstract class Clock implements java.time.InstantSource { 11378 ctor protected Clock(); 11379 method public static java.time.Clock fixed(java.time.Instant, java.time.ZoneId); 11380 method public abstract java.time.ZoneId getZone(); 11381 method public long millis(); 11382 method public static java.time.Clock offset(java.time.Clock, java.time.Duration); 11383 method public static java.time.Clock system(java.time.ZoneId); 11384 method public static java.time.Clock systemDefaultZone(); 11385 method public static java.time.Clock systemUTC(); 11386 method public static java.time.Clock tick(java.time.Clock, java.time.Duration); 11387 method public static java.time.Clock tickMillis(java.time.ZoneId); 11388 method public static java.time.Clock tickMinutes(java.time.ZoneId); 11389 method public static java.time.Clock tickSeconds(java.time.ZoneId); 11390 method public abstract java.time.Clock withZone(java.time.ZoneId); 11391 } 11392 11393 public class DateTimeException extends java.lang.RuntimeException { 11394 ctor public DateTimeException(String); 11395 ctor public DateTimeException(String, Throwable); 11396 } 11397 11398 public enum DayOfWeek implements java.time.temporal.TemporalAccessor java.time.temporal.TemporalAdjuster { 11399 method public java.time.temporal.Temporal adjustInto(java.time.temporal.Temporal); 11400 method public static java.time.DayOfWeek from(java.time.temporal.TemporalAccessor); 11401 method public String getDisplayName(java.time.format.TextStyle, java.util.Locale); 11402 method public long getLong(java.time.temporal.TemporalField); 11403 method public int getValue(); 11404 method public boolean isSupported(java.time.temporal.TemporalField); 11405 method public java.time.DayOfWeek minus(long); 11406 method public static java.time.DayOfWeek of(int); 11407 method public java.time.DayOfWeek plus(long); 11408 enum_constant public static final java.time.DayOfWeek FRIDAY; 11409 enum_constant public static final java.time.DayOfWeek MONDAY; 11410 enum_constant public static final java.time.DayOfWeek SATURDAY; 11411 enum_constant public static final java.time.DayOfWeek SUNDAY; 11412 enum_constant public static final java.time.DayOfWeek THURSDAY; 11413 enum_constant public static final java.time.DayOfWeek TUESDAY; 11414 enum_constant public static final java.time.DayOfWeek WEDNESDAY; 11415 } 11416 11417 public final class Duration implements java.lang.Comparable<java.time.Duration> java.io.Serializable java.time.temporal.TemporalAmount { 11418 method public java.time.Duration abs(); 11419 method public java.time.temporal.Temporal addTo(java.time.temporal.Temporal); 11420 method public static java.time.Duration between(java.time.temporal.Temporal, java.time.temporal.Temporal); 11421 method public int compareTo(java.time.Duration); 11422 method public java.time.Duration dividedBy(long); 11423 method public long dividedBy(java.time.Duration); 11424 method public static java.time.Duration from(java.time.temporal.TemporalAmount); 11425 method public long get(java.time.temporal.TemporalUnit); 11426 method public int getNano(); 11427 method public long getSeconds(); 11428 method public java.util.List<java.time.temporal.TemporalUnit> getUnits(); 11429 method public boolean isNegative(); 11430 method public boolean isZero(); 11431 method public java.time.Duration minus(java.time.Duration); 11432 method public java.time.Duration minus(long, java.time.temporal.TemporalUnit); 11433 method public java.time.Duration minusDays(long); 11434 method public java.time.Duration minusHours(long); 11435 method public java.time.Duration minusMillis(long); 11436 method public java.time.Duration minusMinutes(long); 11437 method public java.time.Duration minusNanos(long); 11438 method public java.time.Duration minusSeconds(long); 11439 method public java.time.Duration multipliedBy(long); 11440 method public java.time.Duration negated(); 11441 method public static java.time.Duration of(long, java.time.temporal.TemporalUnit); 11442 method public static java.time.Duration ofDays(long); 11443 method public static java.time.Duration ofHours(long); 11444 method public static java.time.Duration ofMillis(long); 11445 method public static java.time.Duration ofMinutes(long); 11446 method public static java.time.Duration ofNanos(long); 11447 method public static java.time.Duration ofSeconds(long); 11448 method public static java.time.Duration ofSeconds(long, long); 11449 method public static java.time.Duration parse(CharSequence); 11450 method public java.time.Duration plus(java.time.Duration); 11451 method public java.time.Duration plus(long, java.time.temporal.TemporalUnit); 11452 method public java.time.Duration plusDays(long); 11453 method public java.time.Duration plusHours(long); 11454 method public java.time.Duration plusMillis(long); 11455 method public java.time.Duration plusMinutes(long); 11456 method public java.time.Duration plusNanos(long); 11457 method public java.time.Duration plusSeconds(long); 11458 method public java.time.temporal.Temporal subtractFrom(java.time.temporal.Temporal); 11459 method public long toDays(); 11460 method public long toDaysPart(); 11461 method public long toHours(); 11462 method public int toHoursPart(); 11463 method public long toMillis(); 11464 method public int toMillisPart(); 11465 method public long toMinutes(); 11466 method public int toMinutesPart(); 11467 method public long toNanos(); 11468 method public int toNanosPart(); 11469 method public long toSeconds(); 11470 method public int toSecondsPart(); 11471 method public java.time.Duration truncatedTo(java.time.temporal.TemporalUnit); 11472 method public java.time.Duration withNanos(int); 11473 method public java.time.Duration withSeconds(long); 11474 field public static final java.time.Duration ZERO; 11475 } 11476 11477 public final class Instant implements java.lang.Comparable<java.time.Instant> java.io.Serializable java.time.temporal.Temporal java.time.temporal.TemporalAdjuster { 11478 method public java.time.temporal.Temporal adjustInto(java.time.temporal.Temporal); 11479 method public java.time.OffsetDateTime atOffset(java.time.ZoneOffset); 11480 method public java.time.ZonedDateTime atZone(java.time.ZoneId); 11481 method public int compareTo(java.time.Instant); 11482 method public static java.time.Instant from(java.time.temporal.TemporalAccessor); 11483 method public int get(java.time.temporal.TemporalField); 11484 method public long getEpochSecond(); 11485 method public long getLong(java.time.temporal.TemporalField); 11486 method public int getNano(); 11487 method public boolean isAfter(java.time.Instant); 11488 method public boolean isBefore(java.time.Instant); 11489 method public boolean isSupported(java.time.temporal.TemporalField); 11490 method public boolean isSupported(java.time.temporal.TemporalUnit); 11491 method public java.time.Instant minus(java.time.temporal.TemporalAmount); 11492 method public java.time.Instant minus(long, java.time.temporal.TemporalUnit); 11493 method public java.time.Instant minusMillis(long); 11494 method public java.time.Instant minusNanos(long); 11495 method public java.time.Instant minusSeconds(long); 11496 method public static java.time.Instant now(); 11497 method public static java.time.Instant now(java.time.Clock); 11498 method public static java.time.Instant ofEpochMilli(long); 11499 method public static java.time.Instant ofEpochSecond(long); 11500 method public static java.time.Instant ofEpochSecond(long, long); 11501 method public static java.time.Instant parse(CharSequence); 11502 method public java.time.Instant plus(java.time.temporal.TemporalAmount); 11503 method public java.time.Instant plus(long, java.time.temporal.TemporalUnit); 11504 method public java.time.Instant plusMillis(long); 11505 method public java.time.Instant plusNanos(long); 11506 method public java.time.Instant plusSeconds(long); 11507 method public <R> R query(java.time.temporal.TemporalQuery<R>); 11508 method public java.time.temporal.ValueRange range(java.time.temporal.TemporalField); 11509 method public long toEpochMilli(); 11510 method public java.time.Instant truncatedTo(java.time.temporal.TemporalUnit); 11511 method public long until(java.time.temporal.Temporal, java.time.temporal.TemporalUnit); 11512 method public java.time.Instant with(java.time.temporal.TemporalAdjuster); 11513 method public java.time.Instant with(java.time.temporal.TemporalField, long); 11514 field public static final java.time.Instant EPOCH; 11515 field public static final java.time.Instant MAX; 11516 field public static final java.time.Instant MIN; 11517 } 11518 11519 public interface InstantSource { 11520 method public static java.time.InstantSource fixed(java.time.Instant); 11521 method public java.time.Instant instant(); 11522 method public default long millis(); 11523 method public static java.time.InstantSource offset(java.time.InstantSource, java.time.Duration); 11524 method public static java.time.InstantSource system(); 11525 method public static java.time.InstantSource tick(java.time.InstantSource, java.time.Duration); 11526 method public default java.time.Clock withZone(java.time.ZoneId); 11527 } 11528 11529 public final class LocalDate implements java.time.chrono.ChronoLocalDate java.io.Serializable java.time.temporal.Temporal java.time.temporal.TemporalAdjuster { 11530 method public java.time.temporal.Temporal adjustInto(java.time.temporal.Temporal); 11531 method public java.time.LocalDateTime atStartOfDay(); 11532 method public java.time.ZonedDateTime atStartOfDay(java.time.ZoneId); 11533 method public java.time.LocalDateTime atTime(java.time.LocalTime); 11534 method public java.time.LocalDateTime atTime(int, int); 11535 method public java.time.LocalDateTime atTime(int, int, int); 11536 method public java.time.LocalDateTime atTime(int, int, int, int); 11537 method public java.time.OffsetDateTime atTime(java.time.OffsetTime); 11538 method public int compareTo(java.time.chrono.ChronoLocalDate); 11539 method public java.util.stream.Stream<java.time.LocalDate> datesUntil(java.time.LocalDate); 11540 method public java.util.stream.Stream<java.time.LocalDate> datesUntil(java.time.LocalDate, java.time.Period); 11541 method public boolean equals(Object); 11542 method public String format(java.time.format.DateTimeFormatter); 11543 method public static java.time.LocalDate from(java.time.temporal.TemporalAccessor); 11544 method public int get(java.time.temporal.TemporalField); 11545 method public java.time.chrono.IsoChronology getChronology(); 11546 method public int getDayOfMonth(); 11547 method public java.time.DayOfWeek getDayOfWeek(); 11548 method public int getDayOfYear(); 11549 method public java.time.chrono.Era getEra(); 11550 method public long getLong(java.time.temporal.TemporalField); 11551 method public java.time.Month getMonth(); 11552 method public int getMonthValue(); 11553 method public int getYear(); 11554 method public int hashCode(); 11555 method public boolean isAfter(java.time.chrono.ChronoLocalDate); 11556 method public boolean isBefore(java.time.chrono.ChronoLocalDate); 11557 method public boolean isEqual(java.time.chrono.ChronoLocalDate); 11558 method public boolean isLeapYear(); 11559 method public boolean isSupported(java.time.temporal.TemporalField); 11560 method public boolean isSupported(java.time.temporal.TemporalUnit); 11561 method public int lengthOfMonth(); 11562 method public int lengthOfYear(); 11563 method public java.time.LocalDate minus(java.time.temporal.TemporalAmount); 11564 method public java.time.LocalDate minus(long, java.time.temporal.TemporalUnit); 11565 method public java.time.LocalDate minusDays(long); 11566 method public java.time.LocalDate minusMonths(long); 11567 method public java.time.LocalDate minusWeeks(long); 11568 method public java.time.LocalDate minusYears(long); 11569 method public static java.time.LocalDate now(); 11570 method public static java.time.LocalDate now(java.time.ZoneId); 11571 method public static java.time.LocalDate now(java.time.Clock); 11572 method public static java.time.LocalDate of(int, java.time.Month, int); 11573 method public static java.time.LocalDate of(int, int, int); 11574 method public static java.time.LocalDate ofEpochDay(long); 11575 method public static java.time.LocalDate ofInstant(java.time.Instant, java.time.ZoneId); 11576 method public static java.time.LocalDate ofYearDay(int, int); 11577 method public static java.time.LocalDate parse(CharSequence); 11578 method public static java.time.LocalDate parse(CharSequence, java.time.format.DateTimeFormatter); 11579 method public java.time.LocalDate plus(java.time.temporal.TemporalAmount); 11580 method public java.time.LocalDate plus(long, java.time.temporal.TemporalUnit); 11581 method public java.time.LocalDate plusDays(long); 11582 method public java.time.LocalDate plusMonths(long); 11583 method public java.time.LocalDate plusWeeks(long); 11584 method public java.time.LocalDate plusYears(long); 11585 method public <R> R query(java.time.temporal.TemporalQuery<R>); 11586 method public java.time.temporal.ValueRange range(java.time.temporal.TemporalField); 11587 method public long toEpochDay(); 11588 method public long toEpochSecond(java.time.LocalTime, java.time.ZoneOffset); 11589 method public String toString(); 11590 method public long until(java.time.temporal.Temporal, java.time.temporal.TemporalUnit); 11591 method public java.time.Period until(java.time.chrono.ChronoLocalDate); 11592 method public java.time.LocalDate with(java.time.temporal.TemporalAdjuster); 11593 method public java.time.LocalDate with(java.time.temporal.TemporalField, long); 11594 method public java.time.LocalDate withDayOfMonth(int); 11595 method public java.time.LocalDate withDayOfYear(int); 11596 method public java.time.LocalDate withMonth(int); 11597 method public java.time.LocalDate withYear(int); 11598 field public static final java.time.LocalDate EPOCH; 11599 field public static final java.time.LocalDate MAX; 11600 field public static final java.time.LocalDate MIN; 11601 } 11602 11603 public final class LocalDateTime implements java.time.chrono.ChronoLocalDateTime<java.time.LocalDate> java.io.Serializable java.time.temporal.Temporal java.time.temporal.TemporalAdjuster { 11604 method public java.time.temporal.Temporal adjustInto(java.time.temporal.Temporal); 11605 method public java.time.OffsetDateTime atOffset(java.time.ZoneOffset); 11606 method public java.time.ZonedDateTime atZone(java.time.ZoneId); 11607 method public int compareTo(java.time.chrono.ChronoLocalDateTime<?>); 11608 method public boolean equals(Object); 11609 method public String format(java.time.format.DateTimeFormatter); 11610 method public static java.time.LocalDateTime from(java.time.temporal.TemporalAccessor); 11611 method public int get(java.time.temporal.TemporalField); 11612 method public int getDayOfMonth(); 11613 method public java.time.DayOfWeek getDayOfWeek(); 11614 method public int getDayOfYear(); 11615 method public int getHour(); 11616 method public long getLong(java.time.temporal.TemporalField); 11617 method public int getMinute(); 11618 method public java.time.Month getMonth(); 11619 method public int getMonthValue(); 11620 method public int getNano(); 11621 method public int getSecond(); 11622 method public int getYear(); 11623 method public int hashCode(); 11624 method public boolean isAfter(java.time.chrono.ChronoLocalDateTime<?>); 11625 method public boolean isBefore(java.time.chrono.ChronoLocalDateTime<?>); 11626 method public boolean isEqual(java.time.chrono.ChronoLocalDateTime<?>); 11627 method public boolean isSupported(java.time.temporal.TemporalField); 11628 method public boolean isSupported(java.time.temporal.TemporalUnit); 11629 method public java.time.LocalDateTime minus(java.time.temporal.TemporalAmount); 11630 method public java.time.LocalDateTime minus(long, java.time.temporal.TemporalUnit); 11631 method public java.time.LocalDateTime minusDays(long); 11632 method public java.time.LocalDateTime minusHours(long); 11633 method public java.time.LocalDateTime minusMinutes(long); 11634 method public java.time.LocalDateTime minusMonths(long); 11635 method public java.time.LocalDateTime minusNanos(long); 11636 method public java.time.LocalDateTime minusSeconds(long); 11637 method public java.time.LocalDateTime minusWeeks(long); 11638 method public java.time.LocalDateTime minusYears(long); 11639 method public static java.time.LocalDateTime now(); 11640 method public static java.time.LocalDateTime now(java.time.ZoneId); 11641 method public static java.time.LocalDateTime now(java.time.Clock); 11642 method public static java.time.LocalDateTime of(int, java.time.Month, int, int, int); 11643 method public static java.time.LocalDateTime of(int, java.time.Month, int, int, int, int); 11644 method public static java.time.LocalDateTime of(int, java.time.Month, int, int, int, int, int); 11645 method public static java.time.LocalDateTime of(int, int, int, int, int); 11646 method public static java.time.LocalDateTime of(int, int, int, int, int, int); 11647 method public static java.time.LocalDateTime of(int, int, int, int, int, int, int); 11648 method public static java.time.LocalDateTime of(java.time.LocalDate, java.time.LocalTime); 11649 method public static java.time.LocalDateTime ofEpochSecond(long, int, java.time.ZoneOffset); 11650 method public static java.time.LocalDateTime ofInstant(java.time.Instant, java.time.ZoneId); 11651 method public static java.time.LocalDateTime parse(CharSequence); 11652 method public static java.time.LocalDateTime parse(CharSequence, java.time.format.DateTimeFormatter); 11653 method public java.time.LocalDateTime plus(java.time.temporal.TemporalAmount); 11654 method public java.time.LocalDateTime plus(long, java.time.temporal.TemporalUnit); 11655 method public java.time.LocalDateTime plusDays(long); 11656 method public java.time.LocalDateTime plusHours(long); 11657 method public java.time.LocalDateTime plusMinutes(long); 11658 method public java.time.LocalDateTime plusMonths(long); 11659 method public java.time.LocalDateTime plusNanos(long); 11660 method public java.time.LocalDateTime plusSeconds(long); 11661 method public java.time.LocalDateTime plusWeeks(long); 11662 method public java.time.LocalDateTime plusYears(long); 11663 method public <R> R query(java.time.temporal.TemporalQuery<R>); 11664 method public java.time.temporal.ValueRange range(java.time.temporal.TemporalField); 11665 method public java.time.LocalDate toLocalDate(); 11666 method public java.time.LocalTime toLocalTime(); 11667 method public String toString(); 11668 method public java.time.LocalDateTime truncatedTo(java.time.temporal.TemporalUnit); 11669 method public long until(java.time.temporal.Temporal, java.time.temporal.TemporalUnit); 11670 method public java.time.LocalDateTime with(java.time.temporal.TemporalAdjuster); 11671 method public java.time.LocalDateTime with(java.time.temporal.TemporalField, long); 11672 method public java.time.LocalDateTime withDayOfMonth(int); 11673 method public java.time.LocalDateTime withDayOfYear(int); 11674 method public java.time.LocalDateTime withHour(int); 11675 method public java.time.LocalDateTime withMinute(int); 11676 method public java.time.LocalDateTime withMonth(int); 11677 method public java.time.LocalDateTime withNano(int); 11678 method public java.time.LocalDateTime withSecond(int); 11679 method public java.time.LocalDateTime withYear(int); 11680 field public static final java.time.LocalDateTime MAX; 11681 field public static final java.time.LocalDateTime MIN; 11682 } 11683 11684 public final class LocalTime implements java.lang.Comparable<java.time.LocalTime> java.io.Serializable java.time.temporal.Temporal java.time.temporal.TemporalAdjuster { 11685 method public java.time.temporal.Temporal adjustInto(java.time.temporal.Temporal); 11686 method public java.time.LocalDateTime atDate(java.time.LocalDate); 11687 method public java.time.OffsetTime atOffset(java.time.ZoneOffset); 11688 method public int compareTo(java.time.LocalTime); 11689 method public String format(java.time.format.DateTimeFormatter); 11690 method public static java.time.LocalTime from(java.time.temporal.TemporalAccessor); 11691 method public int get(java.time.temporal.TemporalField); 11692 method public int getHour(); 11693 method public long getLong(java.time.temporal.TemporalField); 11694 method public int getMinute(); 11695 method public int getNano(); 11696 method public int getSecond(); 11697 method public boolean isAfter(java.time.LocalTime); 11698 method public boolean isBefore(java.time.LocalTime); 11699 method public boolean isSupported(java.time.temporal.TemporalField); 11700 method public boolean isSupported(java.time.temporal.TemporalUnit); 11701 method public java.time.LocalTime minus(java.time.temporal.TemporalAmount); 11702 method public java.time.LocalTime minus(long, java.time.temporal.TemporalUnit); 11703 method public java.time.LocalTime minusHours(long); 11704 method public java.time.LocalTime minusMinutes(long); 11705 method public java.time.LocalTime minusNanos(long); 11706 method public java.time.LocalTime minusSeconds(long); 11707 method public static java.time.LocalTime now(); 11708 method public static java.time.LocalTime now(java.time.ZoneId); 11709 method public static java.time.LocalTime now(java.time.Clock); 11710 method public static java.time.LocalTime of(int, int); 11711 method public static java.time.LocalTime of(int, int, int); 11712 method public static java.time.LocalTime of(int, int, int, int); 11713 method public static java.time.LocalTime ofInstant(java.time.Instant, java.time.ZoneId); 11714 method public static java.time.LocalTime ofNanoOfDay(long); 11715 method public static java.time.LocalTime ofSecondOfDay(long); 11716 method public static java.time.LocalTime parse(CharSequence); 11717 method public static java.time.LocalTime parse(CharSequence, java.time.format.DateTimeFormatter); 11718 method public java.time.LocalTime plus(java.time.temporal.TemporalAmount); 11719 method public java.time.LocalTime plus(long, java.time.temporal.TemporalUnit); 11720 method public java.time.LocalTime plusHours(long); 11721 method public java.time.LocalTime plusMinutes(long); 11722 method public java.time.LocalTime plusNanos(long); 11723 method public java.time.LocalTime plusSeconds(long); 11724 method public <R> R query(java.time.temporal.TemporalQuery<R>); 11725 method public java.time.temporal.ValueRange range(java.time.temporal.TemporalField); 11726 method public long toEpochSecond(java.time.LocalDate, java.time.ZoneOffset); 11727 method public long toNanoOfDay(); 11728 method public int toSecondOfDay(); 11729 method public java.time.LocalTime truncatedTo(java.time.temporal.TemporalUnit); 11730 method public long until(java.time.temporal.Temporal, java.time.temporal.TemporalUnit); 11731 method public java.time.LocalTime with(java.time.temporal.TemporalAdjuster); 11732 method public java.time.LocalTime with(java.time.temporal.TemporalField, long); 11733 method public java.time.LocalTime withHour(int); 11734 method public java.time.LocalTime withMinute(int); 11735 method public java.time.LocalTime withNano(int); 11736 method public java.time.LocalTime withSecond(int); 11737 field public static final java.time.LocalTime MAX; 11738 field public static final java.time.LocalTime MIDNIGHT; 11739 field public static final java.time.LocalTime MIN; 11740 field public static final java.time.LocalTime NOON; 11741 } 11742 11743 public enum Month implements java.time.temporal.TemporalAccessor java.time.temporal.TemporalAdjuster { 11744 method public java.time.temporal.Temporal adjustInto(java.time.temporal.Temporal); 11745 method public int firstDayOfYear(boolean); 11746 method public java.time.Month firstMonthOfQuarter(); 11747 method public static java.time.Month from(java.time.temporal.TemporalAccessor); 11748 method public String getDisplayName(java.time.format.TextStyle, java.util.Locale); 11749 method public long getLong(java.time.temporal.TemporalField); 11750 method public int getValue(); 11751 method public boolean isSupported(java.time.temporal.TemporalField); 11752 method public int length(boolean); 11753 method public int maxLength(); 11754 method public int minLength(); 11755 method public java.time.Month minus(long); 11756 method public static java.time.Month of(int); 11757 method public java.time.Month plus(long); 11758 enum_constant public static final java.time.Month APRIL; 11759 enum_constant public static final java.time.Month AUGUST; 11760 enum_constant public static final java.time.Month DECEMBER; 11761 enum_constant public static final java.time.Month FEBRUARY; 11762 enum_constant public static final java.time.Month JANUARY; 11763 enum_constant public static final java.time.Month JULY; 11764 enum_constant public static final java.time.Month JUNE; 11765 enum_constant public static final java.time.Month MARCH; 11766 enum_constant public static final java.time.Month MAY; 11767 enum_constant public static final java.time.Month NOVEMBER; 11768 enum_constant public static final java.time.Month OCTOBER; 11769 enum_constant public static final java.time.Month SEPTEMBER; 11770 } 11771 11772 public final class MonthDay implements java.lang.Comparable<java.time.MonthDay> java.io.Serializable java.time.temporal.TemporalAccessor java.time.temporal.TemporalAdjuster { 11773 method public java.time.temporal.Temporal adjustInto(java.time.temporal.Temporal); 11774 method public java.time.LocalDate atYear(int); 11775 method public int compareTo(java.time.MonthDay); 11776 method public String format(java.time.format.DateTimeFormatter); 11777 method public static java.time.MonthDay from(java.time.temporal.TemporalAccessor); 11778 method public int get(java.time.temporal.TemporalField); 11779 method public int getDayOfMonth(); 11780 method public long getLong(java.time.temporal.TemporalField); 11781 method public java.time.Month getMonth(); 11782 method public int getMonthValue(); 11783 method public boolean isAfter(java.time.MonthDay); 11784 method public boolean isBefore(java.time.MonthDay); 11785 method public boolean isSupported(java.time.temporal.TemporalField); 11786 method public boolean isValidYear(int); 11787 method public static java.time.MonthDay now(); 11788 method public static java.time.MonthDay now(java.time.ZoneId); 11789 method public static java.time.MonthDay now(java.time.Clock); 11790 method public static java.time.MonthDay of(java.time.Month, int); 11791 method public static java.time.MonthDay of(int, int); 11792 method public static java.time.MonthDay parse(CharSequence); 11793 method public static java.time.MonthDay parse(CharSequence, java.time.format.DateTimeFormatter); 11794 method public <R> R query(java.time.temporal.TemporalQuery<R>); 11795 method public java.time.temporal.ValueRange range(java.time.temporal.TemporalField); 11796 method public java.time.MonthDay with(java.time.Month); 11797 method public java.time.MonthDay withDayOfMonth(int); 11798 method public java.time.MonthDay withMonth(int); 11799 } 11800 11801 public final class OffsetDateTime implements java.lang.Comparable<java.time.OffsetDateTime> java.io.Serializable java.time.temporal.Temporal java.time.temporal.TemporalAdjuster { 11802 method public java.time.temporal.Temporal adjustInto(java.time.temporal.Temporal); 11803 method public java.time.ZonedDateTime atZoneSameInstant(java.time.ZoneId); 11804 method public java.time.ZonedDateTime atZoneSimilarLocal(java.time.ZoneId); 11805 method public int compareTo(java.time.OffsetDateTime); 11806 method public String format(java.time.format.DateTimeFormatter); 11807 method public static java.time.OffsetDateTime from(java.time.temporal.TemporalAccessor); 11808 method public int get(java.time.temporal.TemporalField); 11809 method public int getDayOfMonth(); 11810 method public java.time.DayOfWeek getDayOfWeek(); 11811 method public int getDayOfYear(); 11812 method public int getHour(); 11813 method public long getLong(java.time.temporal.TemporalField); 11814 method public int getMinute(); 11815 method public java.time.Month getMonth(); 11816 method public int getMonthValue(); 11817 method public int getNano(); 11818 method public java.time.ZoneOffset getOffset(); 11819 method public int getSecond(); 11820 method public int getYear(); 11821 method public boolean isAfter(java.time.OffsetDateTime); 11822 method public boolean isBefore(java.time.OffsetDateTime); 11823 method public boolean isEqual(java.time.OffsetDateTime); 11824 method public boolean isSupported(java.time.temporal.TemporalField); 11825 method public boolean isSupported(java.time.temporal.TemporalUnit); 11826 method public java.time.OffsetDateTime minus(java.time.temporal.TemporalAmount); 11827 method public java.time.OffsetDateTime minus(long, java.time.temporal.TemporalUnit); 11828 method public java.time.OffsetDateTime minusDays(long); 11829 method public java.time.OffsetDateTime minusHours(long); 11830 method public java.time.OffsetDateTime minusMinutes(long); 11831 method public java.time.OffsetDateTime minusMonths(long); 11832 method public java.time.OffsetDateTime minusNanos(long); 11833 method public java.time.OffsetDateTime minusSeconds(long); 11834 method public java.time.OffsetDateTime minusWeeks(long); 11835 method public java.time.OffsetDateTime minusYears(long); 11836 method public static java.time.OffsetDateTime now(); 11837 method public static java.time.OffsetDateTime now(java.time.ZoneId); 11838 method public static java.time.OffsetDateTime now(java.time.Clock); 11839 method public static java.time.OffsetDateTime of(java.time.LocalDate, java.time.LocalTime, java.time.ZoneOffset); 11840 method public static java.time.OffsetDateTime of(java.time.LocalDateTime, java.time.ZoneOffset); 11841 method public static java.time.OffsetDateTime of(int, int, int, int, int, int, int, java.time.ZoneOffset); 11842 method public static java.time.OffsetDateTime ofInstant(java.time.Instant, java.time.ZoneId); 11843 method public static java.time.OffsetDateTime parse(CharSequence); 11844 method public static java.time.OffsetDateTime parse(CharSequence, java.time.format.DateTimeFormatter); 11845 method public java.time.OffsetDateTime plus(java.time.temporal.TemporalAmount); 11846 method public java.time.OffsetDateTime plus(long, java.time.temporal.TemporalUnit); 11847 method public java.time.OffsetDateTime plusDays(long); 11848 method public java.time.OffsetDateTime plusHours(long); 11849 method public java.time.OffsetDateTime plusMinutes(long); 11850 method public java.time.OffsetDateTime plusMonths(long); 11851 method public java.time.OffsetDateTime plusNanos(long); 11852 method public java.time.OffsetDateTime plusSeconds(long); 11853 method public java.time.OffsetDateTime plusWeeks(long); 11854 method public java.time.OffsetDateTime plusYears(long); 11855 method public <R> R query(java.time.temporal.TemporalQuery<R>); 11856 method public java.time.temporal.ValueRange range(java.time.temporal.TemporalField); 11857 method public static java.util.Comparator<java.time.OffsetDateTime> timeLineOrder(); 11858 method public long toEpochSecond(); 11859 method public java.time.Instant toInstant(); 11860 method public java.time.LocalDate toLocalDate(); 11861 method public java.time.LocalDateTime toLocalDateTime(); 11862 method public java.time.LocalTime toLocalTime(); 11863 method public java.time.OffsetTime toOffsetTime(); 11864 method public java.time.ZonedDateTime toZonedDateTime(); 11865 method public java.time.OffsetDateTime truncatedTo(java.time.temporal.TemporalUnit); 11866 method public long until(java.time.temporal.Temporal, java.time.temporal.TemporalUnit); 11867 method public java.time.OffsetDateTime with(java.time.temporal.TemporalAdjuster); 11868 method public java.time.OffsetDateTime with(java.time.temporal.TemporalField, long); 11869 method public java.time.OffsetDateTime withDayOfMonth(int); 11870 method public java.time.OffsetDateTime withDayOfYear(int); 11871 method public java.time.OffsetDateTime withHour(int); 11872 method public java.time.OffsetDateTime withMinute(int); 11873 method public java.time.OffsetDateTime withMonth(int); 11874 method public java.time.OffsetDateTime withNano(int); 11875 method public java.time.OffsetDateTime withOffsetSameInstant(java.time.ZoneOffset); 11876 method public java.time.OffsetDateTime withOffsetSameLocal(java.time.ZoneOffset); 11877 method public java.time.OffsetDateTime withSecond(int); 11878 method public java.time.OffsetDateTime withYear(int); 11879 field public static final java.time.OffsetDateTime MAX; 11880 field public static final java.time.OffsetDateTime MIN; 11881 } 11882 11883 public final class OffsetTime implements java.lang.Comparable<java.time.OffsetTime> java.io.Serializable java.time.temporal.Temporal java.time.temporal.TemporalAdjuster { 11884 method public java.time.temporal.Temporal adjustInto(java.time.temporal.Temporal); 11885 method public java.time.OffsetDateTime atDate(java.time.LocalDate); 11886 method public int compareTo(java.time.OffsetTime); 11887 method public String format(java.time.format.DateTimeFormatter); 11888 method public static java.time.OffsetTime from(java.time.temporal.TemporalAccessor); 11889 method public int get(java.time.temporal.TemporalField); 11890 method public int getHour(); 11891 method public long getLong(java.time.temporal.TemporalField); 11892 method public int getMinute(); 11893 method public int getNano(); 11894 method public java.time.ZoneOffset getOffset(); 11895 method public int getSecond(); 11896 method public boolean isAfter(java.time.OffsetTime); 11897 method public boolean isBefore(java.time.OffsetTime); 11898 method public boolean isEqual(java.time.OffsetTime); 11899 method public boolean isSupported(java.time.temporal.TemporalField); 11900 method public boolean isSupported(java.time.temporal.TemporalUnit); 11901 method public java.time.OffsetTime minus(java.time.temporal.TemporalAmount); 11902 method public java.time.OffsetTime minus(long, java.time.temporal.TemporalUnit); 11903 method public java.time.OffsetTime minusHours(long); 11904 method public java.time.OffsetTime minusMinutes(long); 11905 method public java.time.OffsetTime minusNanos(long); 11906 method public java.time.OffsetTime minusSeconds(long); 11907 method public static java.time.OffsetTime now(); 11908 method public static java.time.OffsetTime now(java.time.ZoneId); 11909 method public static java.time.OffsetTime now(java.time.Clock); 11910 method public static java.time.OffsetTime of(java.time.LocalTime, java.time.ZoneOffset); 11911 method public static java.time.OffsetTime of(int, int, int, int, java.time.ZoneOffset); 11912 method public static java.time.OffsetTime ofInstant(java.time.Instant, java.time.ZoneId); 11913 method public static java.time.OffsetTime parse(CharSequence); 11914 method public static java.time.OffsetTime parse(CharSequence, java.time.format.DateTimeFormatter); 11915 method public java.time.OffsetTime plus(java.time.temporal.TemporalAmount); 11916 method public java.time.OffsetTime plus(long, java.time.temporal.TemporalUnit); 11917 method public java.time.OffsetTime plusHours(long); 11918 method public java.time.OffsetTime plusMinutes(long); 11919 method public java.time.OffsetTime plusNanos(long); 11920 method public java.time.OffsetTime plusSeconds(long); 11921 method public <R> R query(java.time.temporal.TemporalQuery<R>); 11922 method public java.time.temporal.ValueRange range(java.time.temporal.TemporalField); 11923 method public long toEpochSecond(java.time.LocalDate); 11924 method public java.time.LocalTime toLocalTime(); 11925 method public java.time.OffsetTime truncatedTo(java.time.temporal.TemporalUnit); 11926 method public long until(java.time.temporal.Temporal, java.time.temporal.TemporalUnit); 11927 method public java.time.OffsetTime with(java.time.temporal.TemporalAdjuster); 11928 method public java.time.OffsetTime with(java.time.temporal.TemporalField, long); 11929 method public java.time.OffsetTime withHour(int); 11930 method public java.time.OffsetTime withMinute(int); 11931 method public java.time.OffsetTime withNano(int); 11932 method public java.time.OffsetTime withOffsetSameInstant(java.time.ZoneOffset); 11933 method public java.time.OffsetTime withOffsetSameLocal(java.time.ZoneOffset); 11934 method public java.time.OffsetTime withSecond(int); 11935 field public static final java.time.OffsetTime MAX; 11936 field public static final java.time.OffsetTime MIN; 11937 } 11938 11939 public final class Period implements java.time.chrono.ChronoPeriod java.io.Serializable { 11940 method public java.time.temporal.Temporal addTo(java.time.temporal.Temporal); 11941 method public static java.time.Period between(java.time.LocalDate, java.time.LocalDate); 11942 method public boolean equals(Object); 11943 method public static java.time.Period from(java.time.temporal.TemporalAmount); 11944 method public long get(java.time.temporal.TemporalUnit); 11945 method public java.time.chrono.IsoChronology getChronology(); 11946 method public int getDays(); 11947 method public int getMonths(); 11948 method public java.util.List<java.time.temporal.TemporalUnit> getUnits(); 11949 method public int getYears(); 11950 method public int hashCode(); 11951 method public boolean isNegative(); 11952 method public boolean isZero(); 11953 method public java.time.Period minus(java.time.temporal.TemporalAmount); 11954 method public java.time.Period minusDays(long); 11955 method public java.time.Period minusMonths(long); 11956 method public java.time.Period minusYears(long); 11957 method public java.time.Period multipliedBy(int); 11958 method public java.time.Period negated(); 11959 method public java.time.Period normalized(); 11960 method public static java.time.Period of(int, int, int); 11961 method public static java.time.Period ofDays(int); 11962 method public static java.time.Period ofMonths(int); 11963 method public static java.time.Period ofWeeks(int); 11964 method public static java.time.Period ofYears(int); 11965 method public static java.time.Period parse(CharSequence); 11966 method public java.time.Period plus(java.time.temporal.TemporalAmount); 11967 method public java.time.Period plusDays(long); 11968 method public java.time.Period plusMonths(long); 11969 method public java.time.Period plusYears(long); 11970 method public java.time.temporal.Temporal subtractFrom(java.time.temporal.Temporal); 11971 method public String toString(); 11972 method public long toTotalMonths(); 11973 method public java.time.Period withDays(int); 11974 method public java.time.Period withMonths(int); 11975 method public java.time.Period withYears(int); 11976 field public static final java.time.Period ZERO; 11977 } 11978 11979 public final class Year implements java.lang.Comparable<java.time.Year> java.io.Serializable java.time.temporal.Temporal java.time.temporal.TemporalAdjuster { 11980 method public java.time.temporal.Temporal adjustInto(java.time.temporal.Temporal); 11981 method public java.time.LocalDate atDay(int); 11982 method public java.time.YearMonth atMonth(java.time.Month); 11983 method public java.time.YearMonth atMonth(int); 11984 method public java.time.LocalDate atMonthDay(java.time.MonthDay); 11985 method public int compareTo(java.time.Year); 11986 method public String format(java.time.format.DateTimeFormatter); 11987 method public static java.time.Year from(java.time.temporal.TemporalAccessor); 11988 method public int get(java.time.temporal.TemporalField); 11989 method public long getLong(java.time.temporal.TemporalField); 11990 method public int getValue(); 11991 method public boolean isAfter(java.time.Year); 11992 method public boolean isBefore(java.time.Year); 11993 method public static boolean isLeap(long); 11994 method public boolean isLeap(); 11995 method public boolean isSupported(java.time.temporal.TemporalField); 11996 method public boolean isSupported(java.time.temporal.TemporalUnit); 11997 method public boolean isValidMonthDay(java.time.MonthDay); 11998 method public int length(); 11999 method public java.time.Year minus(java.time.temporal.TemporalAmount); 12000 method public java.time.Year minus(long, java.time.temporal.TemporalUnit); 12001 method public java.time.Year minusYears(long); 12002 method public static java.time.Year now(); 12003 method public static java.time.Year now(java.time.ZoneId); 12004 method public static java.time.Year now(java.time.Clock); 12005 method public static java.time.Year of(int); 12006 method public static java.time.Year parse(CharSequence); 12007 method public static java.time.Year parse(CharSequence, java.time.format.DateTimeFormatter); 12008 method public java.time.Year plus(java.time.temporal.TemporalAmount); 12009 method public java.time.Year plus(long, java.time.temporal.TemporalUnit); 12010 method public java.time.Year plusYears(long); 12011 method public <R> R query(java.time.temporal.TemporalQuery<R>); 12012 method public java.time.temporal.ValueRange range(java.time.temporal.TemporalField); 12013 method public long until(java.time.temporal.Temporal, java.time.temporal.TemporalUnit); 12014 method public java.time.Year with(java.time.temporal.TemporalAdjuster); 12015 method public java.time.Year with(java.time.temporal.TemporalField, long); 12016 field public static final int MAX_VALUE = 999999999; // 0x3b9ac9ff 12017 field public static final int MIN_VALUE = -999999999; // 0xc4653601 12018 } 12019 12020 public final class YearMonth implements java.lang.Comparable<java.time.YearMonth> java.io.Serializable java.time.temporal.Temporal java.time.temporal.TemporalAdjuster { 12021 method public java.time.temporal.Temporal adjustInto(java.time.temporal.Temporal); 12022 method public java.time.LocalDate atDay(int); 12023 method public java.time.LocalDate atEndOfMonth(); 12024 method public int compareTo(java.time.YearMonth); 12025 method public String format(java.time.format.DateTimeFormatter); 12026 method public static java.time.YearMonth from(java.time.temporal.TemporalAccessor); 12027 method public int get(java.time.temporal.TemporalField); 12028 method public long getLong(java.time.temporal.TemporalField); 12029 method public java.time.Month getMonth(); 12030 method public int getMonthValue(); 12031 method public int getYear(); 12032 method public boolean isAfter(java.time.YearMonth); 12033 method public boolean isBefore(java.time.YearMonth); 12034 method public boolean isLeapYear(); 12035 method public boolean isSupported(java.time.temporal.TemporalField); 12036 method public boolean isSupported(java.time.temporal.TemporalUnit); 12037 method public boolean isValidDay(int); 12038 method public int lengthOfMonth(); 12039 method public int lengthOfYear(); 12040 method public java.time.YearMonth minus(java.time.temporal.TemporalAmount); 12041 method public java.time.YearMonth minus(long, java.time.temporal.TemporalUnit); 12042 method public java.time.YearMonth minusMonths(long); 12043 method public java.time.YearMonth minusYears(long); 12044 method public static java.time.YearMonth now(); 12045 method public static java.time.YearMonth now(java.time.ZoneId); 12046 method public static java.time.YearMonth now(java.time.Clock); 12047 method public static java.time.YearMonth of(int, java.time.Month); 12048 method public static java.time.YearMonth of(int, int); 12049 method public static java.time.YearMonth parse(CharSequence); 12050 method public static java.time.YearMonth parse(CharSequence, java.time.format.DateTimeFormatter); 12051 method public java.time.YearMonth plus(java.time.temporal.TemporalAmount); 12052 method public java.time.YearMonth plus(long, java.time.temporal.TemporalUnit); 12053 method public java.time.YearMonth plusMonths(long); 12054 method public java.time.YearMonth plusYears(long); 12055 method public <R> R query(java.time.temporal.TemporalQuery<R>); 12056 method public java.time.temporal.ValueRange range(java.time.temporal.TemporalField); 12057 method public long until(java.time.temporal.Temporal, java.time.temporal.TemporalUnit); 12058 method public java.time.YearMonth with(java.time.temporal.TemporalAdjuster); 12059 method public java.time.YearMonth with(java.time.temporal.TemporalField, long); 12060 method public java.time.YearMonth withMonth(int); 12061 method public java.time.YearMonth withYear(int); 12062 } 12063 12064 public abstract class ZoneId implements java.io.Serializable { 12065 method public static java.time.ZoneId from(java.time.temporal.TemporalAccessor); 12066 method public static java.util.Set<java.lang.String> getAvailableZoneIds(); 12067 method public String getDisplayName(java.time.format.TextStyle, java.util.Locale); 12068 method public abstract String getId(); 12069 method public abstract java.time.zone.ZoneRules getRules(); 12070 method public java.time.ZoneId normalized(); 12071 method public static java.time.ZoneId of(String, java.util.Map<java.lang.String,java.lang.String>); 12072 method public static java.time.ZoneId of(String); 12073 method public static java.time.ZoneId ofOffset(String, java.time.ZoneOffset); 12074 method public static java.time.ZoneId systemDefault(); 12075 field public static final java.util.Map<java.lang.String,java.lang.String> SHORT_IDS; 12076 } 12077 12078 public final class ZoneOffset extends java.time.ZoneId implements java.lang.Comparable<java.time.ZoneOffset> java.io.Serializable java.time.temporal.TemporalAccessor java.time.temporal.TemporalAdjuster { 12079 method public java.time.temporal.Temporal adjustInto(java.time.temporal.Temporal); 12080 method public int compareTo(java.time.ZoneOffset); 12081 method public static java.time.ZoneOffset from(java.time.temporal.TemporalAccessor); 12082 method public int get(java.time.temporal.TemporalField); 12083 method public String getId(); 12084 method public long getLong(java.time.temporal.TemporalField); 12085 method public java.time.zone.ZoneRules getRules(); 12086 method public int getTotalSeconds(); 12087 method public boolean isSupported(java.time.temporal.TemporalField); 12088 method public static java.time.ZoneOffset of(String); 12089 method public static java.time.ZoneOffset ofHours(int); 12090 method public static java.time.ZoneOffset ofHoursMinutes(int, int); 12091 method public static java.time.ZoneOffset ofHoursMinutesSeconds(int, int, int); 12092 method public static java.time.ZoneOffset ofTotalSeconds(int); 12093 method public <R> R query(java.time.temporal.TemporalQuery<R>); 12094 method public java.time.temporal.ValueRange range(java.time.temporal.TemporalField); 12095 field public static final java.time.ZoneOffset MAX; 12096 field public static final java.time.ZoneOffset MIN; 12097 field public static final java.time.ZoneOffset UTC; 12098 } 12099 12100 public final class ZonedDateTime implements java.time.chrono.ChronoZonedDateTime<java.time.LocalDate> java.io.Serializable java.time.temporal.Temporal { 12101 method public boolean equals(Object); 12102 method public String format(java.time.format.DateTimeFormatter); 12103 method public static java.time.ZonedDateTime from(java.time.temporal.TemporalAccessor); 12104 method public int get(java.time.temporal.TemporalField); 12105 method public int getDayOfMonth(); 12106 method public java.time.DayOfWeek getDayOfWeek(); 12107 method public int getDayOfYear(); 12108 method public int getHour(); 12109 method public long getLong(java.time.temporal.TemporalField); 12110 method public int getMinute(); 12111 method public java.time.Month getMonth(); 12112 method public int getMonthValue(); 12113 method public int getNano(); 12114 method public java.time.ZoneOffset getOffset(); 12115 method public int getSecond(); 12116 method public int getYear(); 12117 method public java.time.ZoneId getZone(); 12118 method public int hashCode(); 12119 method public boolean isSupported(java.time.temporal.TemporalField); 12120 method public boolean isSupported(java.time.temporal.TemporalUnit); 12121 method public java.time.ZonedDateTime minus(java.time.temporal.TemporalAmount); 12122 method public java.time.ZonedDateTime minus(long, java.time.temporal.TemporalUnit); 12123 method public java.time.ZonedDateTime minusDays(long); 12124 method public java.time.ZonedDateTime minusHours(long); 12125 method public java.time.ZonedDateTime minusMinutes(long); 12126 method public java.time.ZonedDateTime minusMonths(long); 12127 method public java.time.ZonedDateTime minusNanos(long); 12128 method public java.time.ZonedDateTime minusSeconds(long); 12129 method public java.time.ZonedDateTime minusWeeks(long); 12130 method public java.time.ZonedDateTime minusYears(long); 12131 method public static java.time.ZonedDateTime now(); 12132 method public static java.time.ZonedDateTime now(java.time.ZoneId); 12133 method public static java.time.ZonedDateTime now(java.time.Clock); 12134 method public static java.time.ZonedDateTime of(java.time.LocalDate, java.time.LocalTime, java.time.ZoneId); 12135 method public static java.time.ZonedDateTime of(java.time.LocalDateTime, java.time.ZoneId); 12136 method public static java.time.ZonedDateTime of(int, int, int, int, int, int, int, java.time.ZoneId); 12137 method public static java.time.ZonedDateTime ofInstant(java.time.Instant, java.time.ZoneId); 12138 method public static java.time.ZonedDateTime ofInstant(java.time.LocalDateTime, java.time.ZoneOffset, java.time.ZoneId); 12139 method public static java.time.ZonedDateTime ofLocal(java.time.LocalDateTime, java.time.ZoneId, java.time.ZoneOffset); 12140 method public static java.time.ZonedDateTime ofStrict(java.time.LocalDateTime, java.time.ZoneOffset, java.time.ZoneId); 12141 method public static java.time.ZonedDateTime parse(CharSequence); 12142 method public static java.time.ZonedDateTime parse(CharSequence, java.time.format.DateTimeFormatter); 12143 method public java.time.ZonedDateTime plus(java.time.temporal.TemporalAmount); 12144 method public java.time.ZonedDateTime plus(long, java.time.temporal.TemporalUnit); 12145 method public java.time.ZonedDateTime plusDays(long); 12146 method public java.time.ZonedDateTime plusHours(long); 12147 method public java.time.ZonedDateTime plusMinutes(long); 12148 method public java.time.ZonedDateTime plusMonths(long); 12149 method public java.time.ZonedDateTime plusNanos(long); 12150 method public java.time.ZonedDateTime plusSeconds(long); 12151 method public java.time.ZonedDateTime plusWeeks(long); 12152 method public java.time.ZonedDateTime plusYears(long); 12153 method public <R> R query(java.time.temporal.TemporalQuery<R>); 12154 method public java.time.temporal.ValueRange range(java.time.temporal.TemporalField); 12155 method public java.time.LocalDate toLocalDate(); 12156 method public java.time.LocalDateTime toLocalDateTime(); 12157 method public java.time.LocalTime toLocalTime(); 12158 method public java.time.OffsetDateTime toOffsetDateTime(); 12159 method public String toString(); 12160 method public java.time.ZonedDateTime truncatedTo(java.time.temporal.TemporalUnit); 12161 method public long until(java.time.temporal.Temporal, java.time.temporal.TemporalUnit); 12162 method public java.time.ZonedDateTime with(java.time.temporal.TemporalAdjuster); 12163 method public java.time.ZonedDateTime with(java.time.temporal.TemporalField, long); 12164 method public java.time.ZonedDateTime withDayOfMonth(int); 12165 method public java.time.ZonedDateTime withDayOfYear(int); 12166 method public java.time.ZonedDateTime withEarlierOffsetAtOverlap(); 12167 method public java.time.ZonedDateTime withFixedOffsetZone(); 12168 method public java.time.ZonedDateTime withHour(int); 12169 method public java.time.ZonedDateTime withLaterOffsetAtOverlap(); 12170 method public java.time.ZonedDateTime withMinute(int); 12171 method public java.time.ZonedDateTime withMonth(int); 12172 method public java.time.ZonedDateTime withNano(int); 12173 method public java.time.ZonedDateTime withSecond(int); 12174 method public java.time.ZonedDateTime withYear(int); 12175 method public java.time.ZonedDateTime withZoneSameInstant(java.time.ZoneId); 12176 method public java.time.ZonedDateTime withZoneSameLocal(java.time.ZoneId); 12177 } 12178 12179} 12180 12181package java.time.chrono { 12182 12183 public abstract class AbstractChronology implements java.time.chrono.Chronology { 12184 ctor protected AbstractChronology(); 12185 method public int compareTo(java.time.chrono.Chronology); 12186 method public boolean equals(Object); 12187 method public int hashCode(); 12188 method public java.time.chrono.ChronoLocalDate resolveDate(java.util.Map<java.time.temporal.TemporalField,java.lang.Long>, java.time.format.ResolverStyle); 12189 method public String toString(); 12190 } 12191 12192 public interface ChronoLocalDate extends java.time.temporal.Temporal java.lang.Comparable<java.time.chrono.ChronoLocalDate> java.time.temporal.TemporalAdjuster { 12193 method public default java.time.temporal.Temporal adjustInto(java.time.temporal.Temporal); 12194 method public default java.time.chrono.ChronoLocalDateTime<?> atTime(java.time.LocalTime); 12195 method public default int compareTo(java.time.chrono.ChronoLocalDate); 12196 method public boolean equals(Object); 12197 method public default String format(java.time.format.DateTimeFormatter); 12198 method public static java.time.chrono.ChronoLocalDate from(java.time.temporal.TemporalAccessor); 12199 method public java.time.chrono.Chronology getChronology(); 12200 method public default java.time.chrono.Era getEra(); 12201 method public int hashCode(); 12202 method public default boolean isAfter(java.time.chrono.ChronoLocalDate); 12203 method public default boolean isBefore(java.time.chrono.ChronoLocalDate); 12204 method public default boolean isEqual(java.time.chrono.ChronoLocalDate); 12205 method public default boolean isLeapYear(); 12206 method public default boolean isSupported(java.time.temporal.TemporalField); 12207 method public default boolean isSupported(java.time.temporal.TemporalUnit); 12208 method public int lengthOfMonth(); 12209 method public default int lengthOfYear(); 12210 method public default java.time.chrono.ChronoLocalDate minus(java.time.temporal.TemporalAmount); 12211 method public default java.time.chrono.ChronoLocalDate minus(long, java.time.temporal.TemporalUnit); 12212 method public default java.time.chrono.ChronoLocalDate plus(java.time.temporal.TemporalAmount); 12213 method public default java.time.chrono.ChronoLocalDate plus(long, java.time.temporal.TemporalUnit); 12214 method public static java.util.Comparator<java.time.chrono.ChronoLocalDate> timeLineOrder(); 12215 method public default long toEpochDay(); 12216 method public String toString(); 12217 method public java.time.chrono.ChronoPeriod until(java.time.chrono.ChronoLocalDate); 12218 method public default java.time.chrono.ChronoLocalDate with(java.time.temporal.TemporalAdjuster); 12219 method public default java.time.chrono.ChronoLocalDate with(java.time.temporal.TemporalField, long); 12220 } 12221 12222 public interface ChronoLocalDateTime<D extends java.time.chrono.ChronoLocalDate> extends java.time.temporal.Temporal java.lang.Comparable<java.time.chrono.ChronoLocalDateTime<?>> java.time.temporal.TemporalAdjuster { 12223 method public default java.time.temporal.Temporal adjustInto(java.time.temporal.Temporal); 12224 method public java.time.chrono.ChronoZonedDateTime<D> atZone(java.time.ZoneId); 12225 method public default int compareTo(java.time.chrono.ChronoLocalDateTime<?>); 12226 method public boolean equals(Object); 12227 method public default String format(java.time.format.DateTimeFormatter); 12228 method public static java.time.chrono.ChronoLocalDateTime<?> from(java.time.temporal.TemporalAccessor); 12229 method public default java.time.chrono.Chronology getChronology(); 12230 method public int hashCode(); 12231 method public default boolean isAfter(java.time.chrono.ChronoLocalDateTime<?>); 12232 method public default boolean isBefore(java.time.chrono.ChronoLocalDateTime<?>); 12233 method public default boolean isEqual(java.time.chrono.ChronoLocalDateTime<?>); 12234 method public default boolean isSupported(java.time.temporal.TemporalUnit); 12235 method public default java.time.chrono.ChronoLocalDateTime<D> minus(java.time.temporal.TemporalAmount); 12236 method public default java.time.chrono.ChronoLocalDateTime<D> minus(long, java.time.temporal.TemporalUnit); 12237 method public default java.time.chrono.ChronoLocalDateTime<D> plus(java.time.temporal.TemporalAmount); 12238 method public java.time.chrono.ChronoLocalDateTime<D> plus(long, java.time.temporal.TemporalUnit); 12239 method public static java.util.Comparator<java.time.chrono.ChronoLocalDateTime<?>> timeLineOrder(); 12240 method public default long toEpochSecond(java.time.ZoneOffset); 12241 method public default java.time.Instant toInstant(java.time.ZoneOffset); 12242 method public D toLocalDate(); 12243 method public java.time.LocalTime toLocalTime(); 12244 method public String toString(); 12245 method public default java.time.chrono.ChronoLocalDateTime<D> with(java.time.temporal.TemporalAdjuster); 12246 method public java.time.chrono.ChronoLocalDateTime<D> with(java.time.temporal.TemporalField, long); 12247 } 12248 12249 public interface ChronoPeriod extends java.time.temporal.TemporalAmount { 12250 method public static java.time.chrono.ChronoPeriod between(java.time.chrono.ChronoLocalDate, java.time.chrono.ChronoLocalDate); 12251 method public boolean equals(Object); 12252 method public java.time.chrono.Chronology getChronology(); 12253 method public int hashCode(); 12254 method public default boolean isNegative(); 12255 method public default boolean isZero(); 12256 method public java.time.chrono.ChronoPeriod minus(java.time.temporal.TemporalAmount); 12257 method public java.time.chrono.ChronoPeriod multipliedBy(int); 12258 method public default java.time.chrono.ChronoPeriod negated(); 12259 method public java.time.chrono.ChronoPeriod normalized(); 12260 method public java.time.chrono.ChronoPeriod plus(java.time.temporal.TemporalAmount); 12261 method public String toString(); 12262 } 12263 12264 public interface ChronoZonedDateTime<D extends java.time.chrono.ChronoLocalDate> extends java.time.temporal.Temporal java.lang.Comparable<java.time.chrono.ChronoZonedDateTime<?>> { 12265 method public default int compareTo(java.time.chrono.ChronoZonedDateTime<?>); 12266 method public boolean equals(Object); 12267 method public default String format(java.time.format.DateTimeFormatter); 12268 method public static java.time.chrono.ChronoZonedDateTime<?> from(java.time.temporal.TemporalAccessor); 12269 method public default java.time.chrono.Chronology getChronology(); 12270 method public default long getLong(java.time.temporal.TemporalField); 12271 method public java.time.ZoneOffset getOffset(); 12272 method public java.time.ZoneId getZone(); 12273 method public int hashCode(); 12274 method public default boolean isAfter(java.time.chrono.ChronoZonedDateTime<?>); 12275 method public default boolean isBefore(java.time.chrono.ChronoZonedDateTime<?>); 12276 method public default boolean isEqual(java.time.chrono.ChronoZonedDateTime<?>); 12277 method public default boolean isSupported(java.time.temporal.TemporalUnit); 12278 method public default java.time.chrono.ChronoZonedDateTime<D> minus(java.time.temporal.TemporalAmount); 12279 method public default java.time.chrono.ChronoZonedDateTime<D> minus(long, java.time.temporal.TemporalUnit); 12280 method public default java.time.chrono.ChronoZonedDateTime<D> plus(java.time.temporal.TemporalAmount); 12281 method public java.time.chrono.ChronoZonedDateTime<D> plus(long, java.time.temporal.TemporalUnit); 12282 method public static java.util.Comparator<java.time.chrono.ChronoZonedDateTime<?>> timeLineOrder(); 12283 method public default long toEpochSecond(); 12284 method public default java.time.Instant toInstant(); 12285 method public default D toLocalDate(); 12286 method public java.time.chrono.ChronoLocalDateTime<D> toLocalDateTime(); 12287 method public default java.time.LocalTime toLocalTime(); 12288 method public String toString(); 12289 method public default java.time.chrono.ChronoZonedDateTime<D> with(java.time.temporal.TemporalAdjuster); 12290 method public java.time.chrono.ChronoZonedDateTime<D> with(java.time.temporal.TemporalField, long); 12291 method public java.time.chrono.ChronoZonedDateTime<D> withEarlierOffsetAtOverlap(); 12292 method public java.time.chrono.ChronoZonedDateTime<D> withLaterOffsetAtOverlap(); 12293 method public java.time.chrono.ChronoZonedDateTime<D> withZoneSameInstant(java.time.ZoneId); 12294 method public java.time.chrono.ChronoZonedDateTime<D> withZoneSameLocal(java.time.ZoneId); 12295 } 12296 12297 public interface Chronology extends java.lang.Comparable<java.time.chrono.Chronology> { 12298 method public int compareTo(java.time.chrono.Chronology); 12299 method public default java.time.chrono.ChronoLocalDate date(java.time.chrono.Era, int, int, int); 12300 method public java.time.chrono.ChronoLocalDate date(int, int, int); 12301 method public java.time.chrono.ChronoLocalDate date(java.time.temporal.TemporalAccessor); 12302 method public java.time.chrono.ChronoLocalDate dateEpochDay(long); 12303 method public default java.time.chrono.ChronoLocalDate dateNow(); 12304 method public default java.time.chrono.ChronoLocalDate dateNow(java.time.ZoneId); 12305 method public default java.time.chrono.ChronoLocalDate dateNow(java.time.Clock); 12306 method public default java.time.chrono.ChronoLocalDate dateYearDay(java.time.chrono.Era, int, int); 12307 method public java.time.chrono.ChronoLocalDate dateYearDay(int, int); 12308 method public default long epochSecond(int, int, int, int, int, int, java.time.ZoneOffset); 12309 method public default long epochSecond(java.time.chrono.Era, int, int, int, int, int, int, java.time.ZoneOffset); 12310 method public boolean equals(Object); 12311 method public java.time.chrono.Era eraOf(int); 12312 method public java.util.List<java.time.chrono.Era> eras(); 12313 method public static java.time.chrono.Chronology from(java.time.temporal.TemporalAccessor); 12314 method public static java.util.Set<java.time.chrono.Chronology> getAvailableChronologies(); 12315 method public String getCalendarType(); 12316 method public default String getDisplayName(java.time.format.TextStyle, java.util.Locale); 12317 method public String getId(); 12318 method public int hashCode(); 12319 method public boolean isLeapYear(long); 12320 method public default java.time.chrono.ChronoLocalDateTime<? extends java.time.chrono.ChronoLocalDate> localDateTime(java.time.temporal.TemporalAccessor); 12321 method public static java.time.chrono.Chronology of(String); 12322 method public static java.time.chrono.Chronology ofLocale(java.util.Locale); 12323 method public default java.time.chrono.ChronoPeriod period(int, int, int); 12324 method public int prolepticYear(java.time.chrono.Era, int); 12325 method public java.time.temporal.ValueRange range(java.time.temporal.ChronoField); 12326 method public java.time.chrono.ChronoLocalDate resolveDate(java.util.Map<java.time.temporal.TemporalField,java.lang.Long>, java.time.format.ResolverStyle); 12327 method public String toString(); 12328 method public default java.time.chrono.ChronoZonedDateTime<? extends java.time.chrono.ChronoLocalDate> zonedDateTime(java.time.temporal.TemporalAccessor); 12329 method public default java.time.chrono.ChronoZonedDateTime<? extends java.time.chrono.ChronoLocalDate> zonedDateTime(java.time.Instant, java.time.ZoneId); 12330 } 12331 12332 public interface Era extends java.time.temporal.TemporalAccessor java.time.temporal.TemporalAdjuster { 12333 method public default java.time.temporal.Temporal adjustInto(java.time.temporal.Temporal); 12334 method public default String getDisplayName(java.time.format.TextStyle, java.util.Locale); 12335 method public default long getLong(java.time.temporal.TemporalField); 12336 method public int getValue(); 12337 method public default boolean isSupported(java.time.temporal.TemporalField); 12338 } 12339 12340 public final class HijrahChronology extends java.time.chrono.AbstractChronology implements java.io.Serializable { 12341 method public java.time.chrono.HijrahDate date(java.time.chrono.Era, int, int, int); 12342 method public java.time.chrono.HijrahDate date(int, int, int); 12343 method public java.time.chrono.HijrahDate date(java.time.temporal.TemporalAccessor); 12344 method public java.time.chrono.HijrahDate dateEpochDay(long); 12345 method public java.time.chrono.HijrahDate dateNow(); 12346 method public java.time.chrono.HijrahDate dateNow(java.time.ZoneId); 12347 method public java.time.chrono.HijrahDate dateNow(java.time.Clock); 12348 method public java.time.chrono.HijrahDate dateYearDay(java.time.chrono.Era, int, int); 12349 method public java.time.chrono.HijrahDate dateYearDay(int, int); 12350 method public java.time.chrono.HijrahEra eraOf(int); 12351 method public java.util.List<java.time.chrono.Era> eras(); 12352 method public String getCalendarType(); 12353 method public String getId(); 12354 method public boolean isLeapYear(long); 12355 method public java.time.chrono.ChronoLocalDateTime<java.time.chrono.HijrahDate> localDateTime(java.time.temporal.TemporalAccessor); 12356 method public int prolepticYear(java.time.chrono.Era, int); 12357 method public java.time.temporal.ValueRange range(java.time.temporal.ChronoField); 12358 method public java.time.chrono.HijrahDate resolveDate(java.util.Map<java.time.temporal.TemporalField,java.lang.Long>, java.time.format.ResolverStyle); 12359 method public java.time.chrono.ChronoZonedDateTime<java.time.chrono.HijrahDate> zonedDateTime(java.time.temporal.TemporalAccessor); 12360 method public java.time.chrono.ChronoZonedDateTime<java.time.chrono.HijrahDate> zonedDateTime(java.time.Instant, java.time.ZoneId); 12361 field public static final java.time.chrono.HijrahChronology INSTANCE; 12362 } 12363 12364 public final class HijrahDate implements java.time.chrono.ChronoLocalDate java.io.Serializable java.time.temporal.Temporal java.time.temporal.TemporalAdjuster { 12365 method public java.time.chrono.ChronoLocalDateTime<java.time.chrono.HijrahDate> atTime(java.time.LocalTime); 12366 method public static java.time.chrono.HijrahDate from(java.time.temporal.TemporalAccessor); 12367 method public java.time.chrono.HijrahChronology getChronology(); 12368 method public java.time.chrono.HijrahEra getEra(); 12369 method public long getLong(java.time.temporal.TemporalField); 12370 method public boolean isLeapYear(); 12371 method public int lengthOfMonth(); 12372 method public int lengthOfYear(); 12373 method public java.time.chrono.HijrahDate minus(java.time.temporal.TemporalAmount); 12374 method public java.time.chrono.HijrahDate minus(long, java.time.temporal.TemporalUnit); 12375 method public static java.time.chrono.HijrahDate now(); 12376 method public static java.time.chrono.HijrahDate now(java.time.ZoneId); 12377 method public static java.time.chrono.HijrahDate now(java.time.Clock); 12378 method public static java.time.chrono.HijrahDate of(int, int, int); 12379 method public java.time.chrono.HijrahDate plus(java.time.temporal.TemporalAmount); 12380 method public java.time.chrono.HijrahDate plus(long, java.time.temporal.TemporalUnit); 12381 method public java.time.temporal.ValueRange range(java.time.temporal.TemporalField); 12382 method public long toEpochDay(); 12383 method public String toString(); 12384 method public java.time.chrono.ChronoPeriod until(java.time.chrono.ChronoLocalDate); 12385 method public long until(java.time.temporal.Temporal, java.time.temporal.TemporalUnit); 12386 method public java.time.chrono.HijrahDate with(java.time.temporal.TemporalField, long); 12387 method public java.time.chrono.HijrahDate with(java.time.temporal.TemporalAdjuster); 12388 method public java.time.chrono.HijrahDate withVariant(java.time.chrono.HijrahChronology); 12389 } 12390 12391 public enum HijrahEra implements java.time.chrono.Era { 12392 method public int getValue(); 12393 method public static java.time.chrono.HijrahEra of(int); 12394 enum_constant public static final java.time.chrono.HijrahEra AH; 12395 } 12396 12397 public final class IsoChronology extends java.time.chrono.AbstractChronology implements java.io.Serializable { 12398 method public java.time.LocalDate date(java.time.chrono.Era, int, int, int); 12399 method public java.time.LocalDate date(int, int, int); 12400 method public java.time.LocalDate date(java.time.temporal.TemporalAccessor); 12401 method public java.time.LocalDate dateEpochDay(long); 12402 method public java.time.LocalDate dateNow(); 12403 method public java.time.LocalDate dateNow(java.time.ZoneId); 12404 method public java.time.LocalDate dateNow(java.time.Clock); 12405 method public java.time.LocalDate dateYearDay(java.time.chrono.Era, int, int); 12406 method public java.time.LocalDate dateYearDay(int, int); 12407 method public long epochSecond(int, int, int, int, int, int, java.time.ZoneOffset); 12408 method public java.time.chrono.IsoEra eraOf(int); 12409 method public java.util.List<java.time.chrono.Era> eras(); 12410 method public String getCalendarType(); 12411 method public String getId(); 12412 method public boolean isLeapYear(long); 12413 method public java.time.LocalDateTime localDateTime(java.time.temporal.TemporalAccessor); 12414 method public java.time.Period period(int, int, int); 12415 method public int prolepticYear(java.time.chrono.Era, int); 12416 method public java.time.temporal.ValueRange range(java.time.temporal.ChronoField); 12417 method public java.time.LocalDate resolveDate(java.util.Map<java.time.temporal.TemporalField,java.lang.Long>, java.time.format.ResolverStyle); 12418 method public java.time.ZonedDateTime zonedDateTime(java.time.temporal.TemporalAccessor); 12419 method public java.time.ZonedDateTime zonedDateTime(java.time.Instant, java.time.ZoneId); 12420 field public static final java.time.chrono.IsoChronology INSTANCE; 12421 } 12422 12423 public enum IsoEra implements java.time.chrono.Era { 12424 method public int getValue(); 12425 method public static java.time.chrono.IsoEra of(int); 12426 enum_constant public static final java.time.chrono.IsoEra BCE; 12427 enum_constant public static final java.time.chrono.IsoEra CE; 12428 } 12429 12430 public final class JapaneseChronology extends java.time.chrono.AbstractChronology implements java.io.Serializable { 12431 method public java.time.chrono.JapaneseDate date(java.time.chrono.Era, int, int, int); 12432 method public java.time.chrono.JapaneseDate date(int, int, int); 12433 method public java.time.chrono.JapaneseDate date(java.time.temporal.TemporalAccessor); 12434 method public java.time.chrono.JapaneseDate dateEpochDay(long); 12435 method public java.time.chrono.JapaneseDate dateNow(); 12436 method public java.time.chrono.JapaneseDate dateNow(java.time.ZoneId); 12437 method public java.time.chrono.JapaneseDate dateNow(java.time.Clock); 12438 method public java.time.chrono.JapaneseDate dateYearDay(java.time.chrono.Era, int, int); 12439 method public java.time.chrono.JapaneseDate dateYearDay(int, int); 12440 method public java.time.chrono.JapaneseEra eraOf(int); 12441 method public java.util.List<java.time.chrono.Era> eras(); 12442 method public String getCalendarType(); 12443 method public String getId(); 12444 method public boolean isLeapYear(long); 12445 method public java.time.chrono.ChronoLocalDateTime<java.time.chrono.JapaneseDate> localDateTime(java.time.temporal.TemporalAccessor); 12446 method public int prolepticYear(java.time.chrono.Era, int); 12447 method public java.time.temporal.ValueRange range(java.time.temporal.ChronoField); 12448 method public java.time.chrono.JapaneseDate resolveDate(java.util.Map<java.time.temporal.TemporalField,java.lang.Long>, java.time.format.ResolverStyle); 12449 method public java.time.chrono.ChronoZonedDateTime<java.time.chrono.JapaneseDate> zonedDateTime(java.time.temporal.TemporalAccessor); 12450 method public java.time.chrono.ChronoZonedDateTime<java.time.chrono.JapaneseDate> zonedDateTime(java.time.Instant, java.time.ZoneId); 12451 field public static final java.time.chrono.JapaneseChronology INSTANCE; 12452 } 12453 12454 public final class JapaneseDate implements java.time.chrono.ChronoLocalDate java.io.Serializable java.time.temporal.Temporal java.time.temporal.TemporalAdjuster { 12455 method public java.time.chrono.ChronoLocalDateTime<java.time.chrono.JapaneseDate> atTime(java.time.LocalTime); 12456 method public static java.time.chrono.JapaneseDate from(java.time.temporal.TemporalAccessor); 12457 method public java.time.chrono.JapaneseChronology getChronology(); 12458 method public java.time.chrono.JapaneseEra getEra(); 12459 method public long getLong(java.time.temporal.TemporalField); 12460 method public boolean isSupported(java.time.temporal.TemporalField); 12461 method public int lengthOfMonth(); 12462 method public int lengthOfYear(); 12463 method public java.time.chrono.JapaneseDate minus(java.time.temporal.TemporalAmount); 12464 method public java.time.chrono.JapaneseDate minus(long, java.time.temporal.TemporalUnit); 12465 method public static java.time.chrono.JapaneseDate now(); 12466 method public static java.time.chrono.JapaneseDate now(java.time.ZoneId); 12467 method public static java.time.chrono.JapaneseDate now(java.time.Clock); 12468 method public static java.time.chrono.JapaneseDate of(java.time.chrono.JapaneseEra, int, int, int); 12469 method public static java.time.chrono.JapaneseDate of(int, int, int); 12470 method public java.time.chrono.JapaneseDate plus(java.time.temporal.TemporalAmount); 12471 method public java.time.chrono.JapaneseDate plus(long, java.time.temporal.TemporalUnit); 12472 method public java.time.temporal.ValueRange range(java.time.temporal.TemporalField); 12473 method public long toEpochDay(); 12474 method public String toString(); 12475 method public java.time.chrono.ChronoPeriod until(java.time.chrono.ChronoLocalDate); 12476 method public long until(java.time.temporal.Temporal, java.time.temporal.TemporalUnit); 12477 method public java.time.chrono.JapaneseDate with(java.time.temporal.TemporalField, long); 12478 method public java.time.chrono.JapaneseDate with(java.time.temporal.TemporalAdjuster); 12479 } 12480 12481 public final class JapaneseEra implements java.time.chrono.Era java.io.Serializable { 12482 method public String getDisplayName(java.time.format.TextStyle, java.util.Locale); 12483 method public int getValue(); 12484 method public static java.time.chrono.JapaneseEra of(int); 12485 method public java.time.temporal.ValueRange range(java.time.temporal.TemporalField); 12486 method public static java.time.chrono.JapaneseEra valueOf(String); 12487 method public static java.time.chrono.JapaneseEra[] values(); 12488 field public static final java.time.chrono.JapaneseEra HEISEI; 12489 field public static final java.time.chrono.JapaneseEra MEIJI; 12490 field public static final java.time.chrono.JapaneseEra REIWA; 12491 field public static final java.time.chrono.JapaneseEra SHOWA; 12492 field public static final java.time.chrono.JapaneseEra TAISHO; 12493 } 12494 12495 public final class MinguoChronology extends java.time.chrono.AbstractChronology implements java.io.Serializable { 12496 method public java.time.chrono.MinguoDate date(java.time.chrono.Era, int, int, int); 12497 method public java.time.chrono.MinguoDate date(int, int, int); 12498 method public java.time.chrono.MinguoDate date(java.time.temporal.TemporalAccessor); 12499 method public java.time.chrono.MinguoDate dateEpochDay(long); 12500 method public java.time.chrono.MinguoDate dateNow(); 12501 method public java.time.chrono.MinguoDate dateNow(java.time.ZoneId); 12502 method public java.time.chrono.MinguoDate dateNow(java.time.Clock); 12503 method public java.time.chrono.MinguoDate dateYearDay(java.time.chrono.Era, int, int); 12504 method public java.time.chrono.MinguoDate dateYearDay(int, int); 12505 method public java.time.chrono.MinguoEra eraOf(int); 12506 method public java.util.List<java.time.chrono.Era> eras(); 12507 method public String getCalendarType(); 12508 method public String getId(); 12509 method public boolean isLeapYear(long); 12510 method public java.time.chrono.ChronoLocalDateTime<java.time.chrono.MinguoDate> localDateTime(java.time.temporal.TemporalAccessor); 12511 method public int prolepticYear(java.time.chrono.Era, int); 12512 method public java.time.temporal.ValueRange range(java.time.temporal.ChronoField); 12513 method public java.time.chrono.MinguoDate resolveDate(java.util.Map<java.time.temporal.TemporalField,java.lang.Long>, java.time.format.ResolverStyle); 12514 method public java.time.chrono.ChronoZonedDateTime<java.time.chrono.MinguoDate> zonedDateTime(java.time.temporal.TemporalAccessor); 12515 method public java.time.chrono.ChronoZonedDateTime<java.time.chrono.MinguoDate> zonedDateTime(java.time.Instant, java.time.ZoneId); 12516 field public static final java.time.chrono.MinguoChronology INSTANCE; 12517 } 12518 12519 public final class MinguoDate implements java.time.chrono.ChronoLocalDate java.io.Serializable java.time.temporal.Temporal java.time.temporal.TemporalAdjuster { 12520 method public java.time.chrono.ChronoLocalDateTime<java.time.chrono.MinguoDate> atTime(java.time.LocalTime); 12521 method public static java.time.chrono.MinguoDate from(java.time.temporal.TemporalAccessor); 12522 method public java.time.chrono.MinguoChronology getChronology(); 12523 method public java.time.chrono.MinguoEra getEra(); 12524 method public long getLong(java.time.temporal.TemporalField); 12525 method public int lengthOfMonth(); 12526 method public java.time.chrono.MinguoDate minus(java.time.temporal.TemporalAmount); 12527 method public java.time.chrono.MinguoDate minus(long, java.time.temporal.TemporalUnit); 12528 method public static java.time.chrono.MinguoDate now(); 12529 method public static java.time.chrono.MinguoDate now(java.time.ZoneId); 12530 method public static java.time.chrono.MinguoDate now(java.time.Clock); 12531 method public static java.time.chrono.MinguoDate of(int, int, int); 12532 method public java.time.chrono.MinguoDate plus(java.time.temporal.TemporalAmount); 12533 method public java.time.chrono.MinguoDate plus(long, java.time.temporal.TemporalUnit); 12534 method public java.time.temporal.ValueRange range(java.time.temporal.TemporalField); 12535 method public long toEpochDay(); 12536 method public String toString(); 12537 method public java.time.chrono.ChronoPeriod until(java.time.chrono.ChronoLocalDate); 12538 method public long until(java.time.temporal.Temporal, java.time.temporal.TemporalUnit); 12539 method public java.time.chrono.MinguoDate with(java.time.temporal.TemporalField, long); 12540 method public java.time.chrono.MinguoDate with(java.time.temporal.TemporalAdjuster); 12541 } 12542 12543 public enum MinguoEra implements java.time.chrono.Era { 12544 method public int getValue(); 12545 method public static java.time.chrono.MinguoEra of(int); 12546 enum_constant public static final java.time.chrono.MinguoEra BEFORE_ROC; 12547 enum_constant public static final java.time.chrono.MinguoEra ROC; 12548 } 12549 12550 public final class ThaiBuddhistChronology extends java.time.chrono.AbstractChronology implements java.io.Serializable { 12551 method public java.time.chrono.ThaiBuddhistDate date(java.time.chrono.Era, int, int, int); 12552 method public java.time.chrono.ThaiBuddhistDate date(int, int, int); 12553 method public java.time.chrono.ThaiBuddhistDate date(java.time.temporal.TemporalAccessor); 12554 method public java.time.chrono.ThaiBuddhistDate dateEpochDay(long); 12555 method public java.time.chrono.ThaiBuddhistDate dateNow(); 12556 method public java.time.chrono.ThaiBuddhistDate dateNow(java.time.ZoneId); 12557 method public java.time.chrono.ThaiBuddhistDate dateNow(java.time.Clock); 12558 method public java.time.chrono.ThaiBuddhistDate dateYearDay(java.time.chrono.Era, int, int); 12559 method public java.time.chrono.ThaiBuddhistDate dateYearDay(int, int); 12560 method public java.time.chrono.ThaiBuddhistEra eraOf(int); 12561 method public java.util.List<java.time.chrono.Era> eras(); 12562 method public String getCalendarType(); 12563 method public String getId(); 12564 method public boolean isLeapYear(long); 12565 method public java.time.chrono.ChronoLocalDateTime<java.time.chrono.ThaiBuddhistDate> localDateTime(java.time.temporal.TemporalAccessor); 12566 method public int prolepticYear(java.time.chrono.Era, int); 12567 method public java.time.temporal.ValueRange range(java.time.temporal.ChronoField); 12568 method public java.time.chrono.ThaiBuddhistDate resolveDate(java.util.Map<java.time.temporal.TemporalField,java.lang.Long>, java.time.format.ResolverStyle); 12569 method public java.time.chrono.ChronoZonedDateTime<java.time.chrono.ThaiBuddhistDate> zonedDateTime(java.time.temporal.TemporalAccessor); 12570 method public java.time.chrono.ChronoZonedDateTime<java.time.chrono.ThaiBuddhistDate> zonedDateTime(java.time.Instant, java.time.ZoneId); 12571 field public static final java.time.chrono.ThaiBuddhistChronology INSTANCE; 12572 } 12573 12574 public final class ThaiBuddhistDate implements java.time.chrono.ChronoLocalDate java.io.Serializable java.time.temporal.Temporal java.time.temporal.TemporalAdjuster { 12575 method public java.time.chrono.ChronoLocalDateTime<java.time.chrono.ThaiBuddhistDate> atTime(java.time.LocalTime); 12576 method public static java.time.chrono.ThaiBuddhistDate from(java.time.temporal.TemporalAccessor); 12577 method public java.time.chrono.ThaiBuddhistChronology getChronology(); 12578 method public java.time.chrono.ThaiBuddhistEra getEra(); 12579 method public long getLong(java.time.temporal.TemporalField); 12580 method public int lengthOfMonth(); 12581 method public java.time.chrono.ThaiBuddhistDate minus(java.time.temporal.TemporalAmount); 12582 method public java.time.chrono.ThaiBuddhistDate minus(long, java.time.temporal.TemporalUnit); 12583 method public static java.time.chrono.ThaiBuddhistDate now(); 12584 method public static java.time.chrono.ThaiBuddhistDate now(java.time.ZoneId); 12585 method public static java.time.chrono.ThaiBuddhistDate now(java.time.Clock); 12586 method public static java.time.chrono.ThaiBuddhistDate of(int, int, int); 12587 method public java.time.chrono.ThaiBuddhistDate plus(java.time.temporal.TemporalAmount); 12588 method public java.time.chrono.ThaiBuddhistDate plus(long, java.time.temporal.TemporalUnit); 12589 method public java.time.temporal.ValueRange range(java.time.temporal.TemporalField); 12590 method public long toEpochDay(); 12591 method public String toString(); 12592 method public java.time.chrono.ChronoPeriod until(java.time.chrono.ChronoLocalDate); 12593 method public long until(java.time.temporal.Temporal, java.time.temporal.TemporalUnit); 12594 method public java.time.chrono.ThaiBuddhistDate with(java.time.temporal.TemporalField, long); 12595 method public java.time.chrono.ThaiBuddhistDate with(java.time.temporal.TemporalAdjuster); 12596 } 12597 12598 public enum ThaiBuddhistEra implements java.time.chrono.Era { 12599 method public int getValue(); 12600 method public static java.time.chrono.ThaiBuddhistEra of(int); 12601 enum_constant public static final java.time.chrono.ThaiBuddhistEra BE; 12602 enum_constant public static final java.time.chrono.ThaiBuddhistEra BEFORE_BE; 12603 } 12604 12605} 12606 12607package java.time.format { 12608 12609 public final class DateTimeFormatter { 12610 method public String format(java.time.temporal.TemporalAccessor); 12611 method public void formatTo(java.time.temporal.TemporalAccessor, Appendable); 12612 method public java.time.chrono.Chronology getChronology(); 12613 method public java.time.format.DecimalStyle getDecimalStyle(); 12614 method public java.util.Locale getLocale(); 12615 method public java.util.Set<java.time.temporal.TemporalField> getResolverFields(); 12616 method public java.time.format.ResolverStyle getResolverStyle(); 12617 method public java.time.ZoneId getZone(); 12618 method public java.time.format.DateTimeFormatter localizedBy(java.util.Locale); 12619 method public static java.time.format.DateTimeFormatter ofLocalizedDate(java.time.format.FormatStyle); 12620 method public static java.time.format.DateTimeFormatter ofLocalizedDateTime(java.time.format.FormatStyle); 12621 method public static java.time.format.DateTimeFormatter ofLocalizedDateTime(java.time.format.FormatStyle, java.time.format.FormatStyle); 12622 method public static java.time.format.DateTimeFormatter ofLocalizedTime(java.time.format.FormatStyle); 12623 method public static java.time.format.DateTimeFormatter ofPattern(String); 12624 method public static java.time.format.DateTimeFormatter ofPattern(String, java.util.Locale); 12625 method public java.time.temporal.TemporalAccessor parse(CharSequence); 12626 method public java.time.temporal.TemporalAccessor parse(CharSequence, java.text.ParsePosition); 12627 method public <T> T parse(CharSequence, java.time.temporal.TemporalQuery<T>); 12628 method public java.time.temporal.TemporalAccessor parseBest(CharSequence, java.time.temporal.TemporalQuery<?>...); 12629 method public java.time.temporal.TemporalAccessor parseUnresolved(CharSequence, java.text.ParsePosition); 12630 method public static java.time.temporal.TemporalQuery<java.time.Period> parsedExcessDays(); 12631 method public static java.time.temporal.TemporalQuery<java.lang.Boolean> parsedLeapSecond(); 12632 method public java.text.Format toFormat(); 12633 method public java.text.Format toFormat(java.time.temporal.TemporalQuery<?>); 12634 method public java.time.format.DateTimeFormatter withChronology(java.time.chrono.Chronology); 12635 method public java.time.format.DateTimeFormatter withDecimalStyle(java.time.format.DecimalStyle); 12636 method public java.time.format.DateTimeFormatter withLocale(java.util.Locale); 12637 method public java.time.format.DateTimeFormatter withResolverFields(java.time.temporal.TemporalField...); 12638 method public java.time.format.DateTimeFormatter withResolverFields(java.util.Set<java.time.temporal.TemporalField>); 12639 method public java.time.format.DateTimeFormatter withResolverStyle(java.time.format.ResolverStyle); 12640 method public java.time.format.DateTimeFormatter withZone(java.time.ZoneId); 12641 field public static final java.time.format.DateTimeFormatter BASIC_ISO_DATE; 12642 field public static final java.time.format.DateTimeFormatter ISO_DATE; 12643 field public static final java.time.format.DateTimeFormatter ISO_DATE_TIME; 12644 field public static final java.time.format.DateTimeFormatter ISO_INSTANT; 12645 field public static final java.time.format.DateTimeFormatter ISO_LOCAL_DATE; 12646 field public static final java.time.format.DateTimeFormatter ISO_LOCAL_DATE_TIME; 12647 field public static final java.time.format.DateTimeFormatter ISO_LOCAL_TIME; 12648 field public static final java.time.format.DateTimeFormatter ISO_OFFSET_DATE; 12649 field public static final java.time.format.DateTimeFormatter ISO_OFFSET_DATE_TIME; 12650 field public static final java.time.format.DateTimeFormatter ISO_OFFSET_TIME; 12651 field public static final java.time.format.DateTimeFormatter ISO_ORDINAL_DATE; 12652 field public static final java.time.format.DateTimeFormatter ISO_TIME; 12653 field public static final java.time.format.DateTimeFormatter ISO_WEEK_DATE; 12654 field public static final java.time.format.DateTimeFormatter ISO_ZONED_DATE_TIME; 12655 field public static final java.time.format.DateTimeFormatter RFC_1123_DATE_TIME; 12656 } 12657 12658 public final class DateTimeFormatterBuilder { 12659 ctor public DateTimeFormatterBuilder(); 12660 method public java.time.format.DateTimeFormatterBuilder append(java.time.format.DateTimeFormatter); 12661 method public java.time.format.DateTimeFormatterBuilder appendChronologyId(); 12662 method public java.time.format.DateTimeFormatterBuilder appendChronologyText(java.time.format.TextStyle); 12663 method public java.time.format.DateTimeFormatterBuilder appendFraction(java.time.temporal.TemporalField, int, int, boolean); 12664 method public java.time.format.DateTimeFormatterBuilder appendGenericZoneText(java.time.format.TextStyle); 12665 method public java.time.format.DateTimeFormatterBuilder appendGenericZoneText(java.time.format.TextStyle, java.util.Set<java.time.ZoneId>); 12666 method public java.time.format.DateTimeFormatterBuilder appendInstant(); 12667 method public java.time.format.DateTimeFormatterBuilder appendInstant(int); 12668 method public java.time.format.DateTimeFormatterBuilder appendLiteral(char); 12669 method public java.time.format.DateTimeFormatterBuilder appendLiteral(String); 12670 method public java.time.format.DateTimeFormatterBuilder appendLocalized(java.time.format.FormatStyle, java.time.format.FormatStyle); 12671 method public java.time.format.DateTimeFormatterBuilder appendLocalizedOffset(java.time.format.TextStyle); 12672 method public java.time.format.DateTimeFormatterBuilder appendOffset(String, String); 12673 method public java.time.format.DateTimeFormatterBuilder appendOffsetId(); 12674 method public java.time.format.DateTimeFormatterBuilder appendOptional(java.time.format.DateTimeFormatter); 12675 method public java.time.format.DateTimeFormatterBuilder appendPattern(String); 12676 method public java.time.format.DateTimeFormatterBuilder appendText(java.time.temporal.TemporalField); 12677 method public java.time.format.DateTimeFormatterBuilder appendText(java.time.temporal.TemporalField, java.time.format.TextStyle); 12678 method public java.time.format.DateTimeFormatterBuilder appendText(java.time.temporal.TemporalField, java.util.Map<java.lang.Long,java.lang.String>); 12679 method public java.time.format.DateTimeFormatterBuilder appendValue(java.time.temporal.TemporalField); 12680 method public java.time.format.DateTimeFormatterBuilder appendValue(java.time.temporal.TemporalField, int); 12681 method public java.time.format.DateTimeFormatterBuilder appendValue(java.time.temporal.TemporalField, int, int, java.time.format.SignStyle); 12682 method public java.time.format.DateTimeFormatterBuilder appendValueReduced(java.time.temporal.TemporalField, int, int, int); 12683 method public java.time.format.DateTimeFormatterBuilder appendValueReduced(java.time.temporal.TemporalField, int, int, java.time.chrono.ChronoLocalDate); 12684 method public java.time.format.DateTimeFormatterBuilder appendZoneId(); 12685 method public java.time.format.DateTimeFormatterBuilder appendZoneOrOffsetId(); 12686 method public java.time.format.DateTimeFormatterBuilder appendZoneRegionId(); 12687 method public java.time.format.DateTimeFormatterBuilder appendZoneText(java.time.format.TextStyle); 12688 method public java.time.format.DateTimeFormatterBuilder appendZoneText(java.time.format.TextStyle, java.util.Set<java.time.ZoneId>); 12689 method public static String getLocalizedDateTimePattern(java.time.format.FormatStyle, java.time.format.FormatStyle, java.time.chrono.Chronology, java.util.Locale); 12690 method public java.time.format.DateTimeFormatterBuilder optionalEnd(); 12691 method public java.time.format.DateTimeFormatterBuilder optionalStart(); 12692 method public java.time.format.DateTimeFormatterBuilder padNext(int); 12693 method public java.time.format.DateTimeFormatterBuilder padNext(int, char); 12694 method public java.time.format.DateTimeFormatterBuilder parseCaseInsensitive(); 12695 method public java.time.format.DateTimeFormatterBuilder parseCaseSensitive(); 12696 method public java.time.format.DateTimeFormatterBuilder parseDefaulting(java.time.temporal.TemporalField, long); 12697 method public java.time.format.DateTimeFormatterBuilder parseLenient(); 12698 method public java.time.format.DateTimeFormatterBuilder parseStrict(); 12699 method public java.time.format.DateTimeFormatter toFormatter(); 12700 method public java.time.format.DateTimeFormatter toFormatter(java.util.Locale); 12701 } 12702 12703 public class DateTimeParseException extends java.time.DateTimeException { 12704 ctor public DateTimeParseException(String, CharSequence, int); 12705 ctor public DateTimeParseException(String, CharSequence, int, Throwable); 12706 method public int getErrorIndex(); 12707 method public String getParsedString(); 12708 } 12709 12710 public final class DecimalStyle { 12711 method public static java.util.Set<java.util.Locale> getAvailableLocales(); 12712 method public char getDecimalSeparator(); 12713 method public char getNegativeSign(); 12714 method public char getPositiveSign(); 12715 method public char getZeroDigit(); 12716 method public static java.time.format.DecimalStyle of(java.util.Locale); 12717 method public static java.time.format.DecimalStyle ofDefaultLocale(); 12718 method public java.time.format.DecimalStyle withDecimalSeparator(char); 12719 method public java.time.format.DecimalStyle withNegativeSign(char); 12720 method public java.time.format.DecimalStyle withPositiveSign(char); 12721 method public java.time.format.DecimalStyle withZeroDigit(char); 12722 field public static final java.time.format.DecimalStyle STANDARD; 12723 } 12724 12725 public enum FormatStyle { 12726 enum_constant public static final java.time.format.FormatStyle FULL; 12727 enum_constant public static final java.time.format.FormatStyle LONG; 12728 enum_constant public static final java.time.format.FormatStyle MEDIUM; 12729 enum_constant public static final java.time.format.FormatStyle SHORT; 12730 } 12731 12732 public enum ResolverStyle { 12733 enum_constant public static final java.time.format.ResolverStyle LENIENT; 12734 enum_constant public static final java.time.format.ResolverStyle SMART; 12735 enum_constant public static final java.time.format.ResolverStyle STRICT; 12736 } 12737 12738 public enum SignStyle { 12739 enum_constant public static final java.time.format.SignStyle ALWAYS; 12740 enum_constant public static final java.time.format.SignStyle EXCEEDS_PAD; 12741 enum_constant public static final java.time.format.SignStyle NEVER; 12742 enum_constant public static final java.time.format.SignStyle NORMAL; 12743 enum_constant public static final java.time.format.SignStyle NOT_NEGATIVE; 12744 } 12745 12746 public enum TextStyle { 12747 method public java.time.format.TextStyle asNormal(); 12748 method public java.time.format.TextStyle asStandalone(); 12749 method public boolean isStandalone(); 12750 enum_constant public static final java.time.format.TextStyle FULL; 12751 enum_constant public static final java.time.format.TextStyle FULL_STANDALONE; 12752 enum_constant public static final java.time.format.TextStyle NARROW; 12753 enum_constant public static final java.time.format.TextStyle NARROW_STANDALONE; 12754 enum_constant public static final java.time.format.TextStyle SHORT; 12755 enum_constant public static final java.time.format.TextStyle SHORT_STANDALONE; 12756 } 12757 12758} 12759 12760package java.time.temporal { 12761 12762 public enum ChronoField implements java.time.temporal.TemporalField { 12763 method public <R extends java.time.temporal.Temporal> R adjustInto(R, long); 12764 method public int checkValidIntValue(long); 12765 method public long checkValidValue(long); 12766 method public java.time.temporal.TemporalUnit getBaseUnit(); 12767 method public long getFrom(java.time.temporal.TemporalAccessor); 12768 method public java.time.temporal.TemporalUnit getRangeUnit(); 12769 method public boolean isDateBased(); 12770 method public boolean isSupportedBy(java.time.temporal.TemporalAccessor); 12771 method public boolean isTimeBased(); 12772 method public java.time.temporal.ValueRange range(); 12773 method public java.time.temporal.ValueRange rangeRefinedBy(java.time.temporal.TemporalAccessor); 12774 enum_constant public static final java.time.temporal.ChronoField ALIGNED_DAY_OF_WEEK_IN_MONTH; 12775 enum_constant public static final java.time.temporal.ChronoField ALIGNED_DAY_OF_WEEK_IN_YEAR; 12776 enum_constant public static final java.time.temporal.ChronoField ALIGNED_WEEK_OF_MONTH; 12777 enum_constant public static final java.time.temporal.ChronoField ALIGNED_WEEK_OF_YEAR; 12778 enum_constant public static final java.time.temporal.ChronoField AMPM_OF_DAY; 12779 enum_constant public static final java.time.temporal.ChronoField CLOCK_HOUR_OF_AMPM; 12780 enum_constant public static final java.time.temporal.ChronoField CLOCK_HOUR_OF_DAY; 12781 enum_constant public static final java.time.temporal.ChronoField DAY_OF_MONTH; 12782 enum_constant public static final java.time.temporal.ChronoField DAY_OF_WEEK; 12783 enum_constant public static final java.time.temporal.ChronoField DAY_OF_YEAR; 12784 enum_constant public static final java.time.temporal.ChronoField EPOCH_DAY; 12785 enum_constant public static final java.time.temporal.ChronoField ERA; 12786 enum_constant public static final java.time.temporal.ChronoField HOUR_OF_AMPM; 12787 enum_constant public static final java.time.temporal.ChronoField HOUR_OF_DAY; 12788 enum_constant public static final java.time.temporal.ChronoField INSTANT_SECONDS; 12789 enum_constant public static final java.time.temporal.ChronoField MICRO_OF_DAY; 12790 enum_constant public static final java.time.temporal.ChronoField MICRO_OF_SECOND; 12791 enum_constant public static final java.time.temporal.ChronoField MILLI_OF_DAY; 12792 enum_constant public static final java.time.temporal.ChronoField MILLI_OF_SECOND; 12793 enum_constant public static final java.time.temporal.ChronoField MINUTE_OF_DAY; 12794 enum_constant public static final java.time.temporal.ChronoField MINUTE_OF_HOUR; 12795 enum_constant public static final java.time.temporal.ChronoField MONTH_OF_YEAR; 12796 enum_constant public static final java.time.temporal.ChronoField NANO_OF_DAY; 12797 enum_constant public static final java.time.temporal.ChronoField NANO_OF_SECOND; 12798 enum_constant public static final java.time.temporal.ChronoField OFFSET_SECONDS; 12799 enum_constant public static final java.time.temporal.ChronoField PROLEPTIC_MONTH; 12800 enum_constant public static final java.time.temporal.ChronoField SECOND_OF_DAY; 12801 enum_constant public static final java.time.temporal.ChronoField SECOND_OF_MINUTE; 12802 enum_constant public static final java.time.temporal.ChronoField YEAR; 12803 enum_constant public static final java.time.temporal.ChronoField YEAR_OF_ERA; 12804 } 12805 12806 public enum ChronoUnit implements java.time.temporal.TemporalUnit { 12807 method public <R extends java.time.temporal.Temporal> R addTo(R, long); 12808 method public long between(java.time.temporal.Temporal, java.time.temporal.Temporal); 12809 method public java.time.Duration getDuration(); 12810 method public boolean isDateBased(); 12811 method public boolean isDurationEstimated(); 12812 method public boolean isTimeBased(); 12813 enum_constant public static final java.time.temporal.ChronoUnit CENTURIES; 12814 enum_constant public static final java.time.temporal.ChronoUnit DAYS; 12815 enum_constant public static final java.time.temporal.ChronoUnit DECADES; 12816 enum_constant public static final java.time.temporal.ChronoUnit ERAS; 12817 enum_constant public static final java.time.temporal.ChronoUnit FOREVER; 12818 enum_constant public static final java.time.temporal.ChronoUnit HALF_DAYS; 12819 enum_constant public static final java.time.temporal.ChronoUnit HOURS; 12820 enum_constant public static final java.time.temporal.ChronoUnit MICROS; 12821 enum_constant public static final java.time.temporal.ChronoUnit MILLENNIA; 12822 enum_constant public static final java.time.temporal.ChronoUnit MILLIS; 12823 enum_constant public static final java.time.temporal.ChronoUnit MINUTES; 12824 enum_constant public static final java.time.temporal.ChronoUnit MONTHS; 12825 enum_constant public static final java.time.temporal.ChronoUnit NANOS; 12826 enum_constant public static final java.time.temporal.ChronoUnit SECONDS; 12827 enum_constant public static final java.time.temporal.ChronoUnit WEEKS; 12828 enum_constant public static final java.time.temporal.ChronoUnit YEARS; 12829 } 12830 12831 public final class IsoFields { 12832 field public static final java.time.temporal.TemporalField DAY_OF_QUARTER; 12833 field public static final java.time.temporal.TemporalField QUARTER_OF_YEAR; 12834 field public static final java.time.temporal.TemporalUnit QUARTER_YEARS; 12835 field public static final java.time.temporal.TemporalField WEEK_BASED_YEAR; 12836 field public static final java.time.temporal.TemporalUnit WEEK_BASED_YEARS; 12837 field public static final java.time.temporal.TemporalField WEEK_OF_WEEK_BASED_YEAR; 12838 } 12839 12840 public final class JulianFields { 12841 field public static final java.time.temporal.TemporalField JULIAN_DAY; 12842 field public static final java.time.temporal.TemporalField MODIFIED_JULIAN_DAY; 12843 field public static final java.time.temporal.TemporalField RATA_DIE; 12844 } 12845 12846 public interface Temporal extends java.time.temporal.TemporalAccessor { 12847 method public boolean isSupported(java.time.temporal.TemporalUnit); 12848 method public default java.time.temporal.Temporal minus(java.time.temporal.TemporalAmount); 12849 method public default java.time.temporal.Temporal minus(long, java.time.temporal.TemporalUnit); 12850 method public default java.time.temporal.Temporal plus(java.time.temporal.TemporalAmount); 12851 method public java.time.temporal.Temporal plus(long, java.time.temporal.TemporalUnit); 12852 method public long until(java.time.temporal.Temporal, java.time.temporal.TemporalUnit); 12853 method public default java.time.temporal.Temporal with(java.time.temporal.TemporalAdjuster); 12854 method public java.time.temporal.Temporal with(java.time.temporal.TemporalField, long); 12855 } 12856 12857 public interface TemporalAccessor { 12858 method public default int get(java.time.temporal.TemporalField); 12859 method public long getLong(java.time.temporal.TemporalField); 12860 method public boolean isSupported(java.time.temporal.TemporalField); 12861 method public default <R> R query(java.time.temporal.TemporalQuery<R>); 12862 method public default java.time.temporal.ValueRange range(java.time.temporal.TemporalField); 12863 } 12864 12865 @java.lang.FunctionalInterface public interface TemporalAdjuster { 12866 method public java.time.temporal.Temporal adjustInto(java.time.temporal.Temporal); 12867 } 12868 12869 public final class TemporalAdjusters { 12870 method public static java.time.temporal.TemporalAdjuster dayOfWeekInMonth(int, java.time.DayOfWeek); 12871 method public static java.time.temporal.TemporalAdjuster firstDayOfMonth(); 12872 method public static java.time.temporal.TemporalAdjuster firstDayOfNextMonth(); 12873 method public static java.time.temporal.TemporalAdjuster firstDayOfNextYear(); 12874 method public static java.time.temporal.TemporalAdjuster firstDayOfYear(); 12875 method public static java.time.temporal.TemporalAdjuster firstInMonth(java.time.DayOfWeek); 12876 method public static java.time.temporal.TemporalAdjuster lastDayOfMonth(); 12877 method public static java.time.temporal.TemporalAdjuster lastDayOfYear(); 12878 method public static java.time.temporal.TemporalAdjuster lastInMonth(java.time.DayOfWeek); 12879 method public static java.time.temporal.TemporalAdjuster next(java.time.DayOfWeek); 12880 method public static java.time.temporal.TemporalAdjuster nextOrSame(java.time.DayOfWeek); 12881 method public static java.time.temporal.TemporalAdjuster ofDateAdjuster(java.util.function.UnaryOperator<java.time.LocalDate>); 12882 method public static java.time.temporal.TemporalAdjuster previous(java.time.DayOfWeek); 12883 method public static java.time.temporal.TemporalAdjuster previousOrSame(java.time.DayOfWeek); 12884 } 12885 12886 public interface TemporalAmount { 12887 method public java.time.temporal.Temporal addTo(java.time.temporal.Temporal); 12888 method public long get(java.time.temporal.TemporalUnit); 12889 method public java.util.List<java.time.temporal.TemporalUnit> getUnits(); 12890 method public java.time.temporal.Temporal subtractFrom(java.time.temporal.Temporal); 12891 } 12892 12893 public interface TemporalField { 12894 method public <R extends java.time.temporal.Temporal> R adjustInto(R, long); 12895 method public java.time.temporal.TemporalUnit getBaseUnit(); 12896 method public default String getDisplayName(java.util.Locale); 12897 method public long getFrom(java.time.temporal.TemporalAccessor); 12898 method public java.time.temporal.TemporalUnit getRangeUnit(); 12899 method public boolean isDateBased(); 12900 method public boolean isSupportedBy(java.time.temporal.TemporalAccessor); 12901 method public boolean isTimeBased(); 12902 method public java.time.temporal.ValueRange range(); 12903 method public java.time.temporal.ValueRange rangeRefinedBy(java.time.temporal.TemporalAccessor); 12904 method public default java.time.temporal.TemporalAccessor resolve(java.util.Map<java.time.temporal.TemporalField,java.lang.Long>, java.time.temporal.TemporalAccessor, java.time.format.ResolverStyle); 12905 method public String toString(); 12906 } 12907 12908 public final class TemporalQueries { 12909 method public static java.time.temporal.TemporalQuery<java.time.chrono.Chronology> chronology(); 12910 method public static java.time.temporal.TemporalQuery<java.time.LocalDate> localDate(); 12911 method public static java.time.temporal.TemporalQuery<java.time.LocalTime> localTime(); 12912 method public static java.time.temporal.TemporalQuery<java.time.ZoneOffset> offset(); 12913 method public static java.time.temporal.TemporalQuery<java.time.temporal.TemporalUnit> precision(); 12914 method public static java.time.temporal.TemporalQuery<java.time.ZoneId> zone(); 12915 method public static java.time.temporal.TemporalQuery<java.time.ZoneId> zoneId(); 12916 } 12917 12918 @java.lang.FunctionalInterface public interface TemporalQuery<R> { 12919 method public R queryFrom(java.time.temporal.TemporalAccessor); 12920 } 12921 12922 public interface TemporalUnit { 12923 method public <R extends java.time.temporal.Temporal> R addTo(R, long); 12924 method public long between(java.time.temporal.Temporal, java.time.temporal.Temporal); 12925 method public java.time.Duration getDuration(); 12926 method public boolean isDateBased(); 12927 method public boolean isDurationEstimated(); 12928 method public default boolean isSupportedBy(java.time.temporal.Temporal); 12929 method public boolean isTimeBased(); 12930 method public String toString(); 12931 } 12932 12933 public class UnsupportedTemporalTypeException extends java.time.DateTimeException { 12934 ctor public UnsupportedTemporalTypeException(String); 12935 ctor public UnsupportedTemporalTypeException(String, Throwable); 12936 } 12937 12938 public final class ValueRange implements java.io.Serializable { 12939 method public int checkValidIntValue(long, java.time.temporal.TemporalField); 12940 method public long checkValidValue(long, java.time.temporal.TemporalField); 12941 method public long getLargestMinimum(); 12942 method public long getMaximum(); 12943 method public long getMinimum(); 12944 method public long getSmallestMaximum(); 12945 method public boolean isFixed(); 12946 method public boolean isIntValue(); 12947 method public boolean isValidIntValue(long); 12948 method public boolean isValidValue(long); 12949 method public static java.time.temporal.ValueRange of(long, long); 12950 method public static java.time.temporal.ValueRange of(long, long, long); 12951 method public static java.time.temporal.ValueRange of(long, long, long, long); 12952 } 12953 12954 public final class WeekFields implements java.io.Serializable { 12955 method public java.time.temporal.TemporalField dayOfWeek(); 12956 method public java.time.DayOfWeek getFirstDayOfWeek(); 12957 method public int getMinimalDaysInFirstWeek(); 12958 method public static java.time.temporal.WeekFields of(java.util.Locale); 12959 method public static java.time.temporal.WeekFields of(java.time.DayOfWeek, int); 12960 method public java.time.temporal.TemporalField weekBasedYear(); 12961 method public java.time.temporal.TemporalField weekOfMonth(); 12962 method public java.time.temporal.TemporalField weekOfWeekBasedYear(); 12963 method public java.time.temporal.TemporalField weekOfYear(); 12964 field public static final java.time.temporal.WeekFields ISO; 12965 field public static final java.time.temporal.WeekFields SUNDAY_START; 12966 field public static final java.time.temporal.TemporalUnit WEEK_BASED_YEARS; 12967 } 12968 12969} 12970 12971package java.time.zone { 12972 12973 public final class ZoneOffsetTransition implements java.lang.Comparable<java.time.zone.ZoneOffsetTransition> java.io.Serializable { 12974 method public int compareTo(java.time.zone.ZoneOffsetTransition); 12975 method public java.time.LocalDateTime getDateTimeAfter(); 12976 method public java.time.LocalDateTime getDateTimeBefore(); 12977 method public java.time.Duration getDuration(); 12978 method public java.time.Instant getInstant(); 12979 method public java.time.ZoneOffset getOffsetAfter(); 12980 method public java.time.ZoneOffset getOffsetBefore(); 12981 method public boolean isGap(); 12982 method public boolean isOverlap(); 12983 method public boolean isValidOffset(java.time.ZoneOffset); 12984 method public static java.time.zone.ZoneOffsetTransition of(java.time.LocalDateTime, java.time.ZoneOffset, java.time.ZoneOffset); 12985 method public long toEpochSecond(); 12986 } 12987 12988 public final class ZoneOffsetTransitionRule implements java.io.Serializable { 12989 method public java.time.zone.ZoneOffsetTransition createTransition(int); 12990 method public int getDayOfMonthIndicator(); 12991 method public java.time.DayOfWeek getDayOfWeek(); 12992 method public java.time.LocalTime getLocalTime(); 12993 method public java.time.Month getMonth(); 12994 method public java.time.ZoneOffset getOffsetAfter(); 12995 method public java.time.ZoneOffset getOffsetBefore(); 12996 method public java.time.ZoneOffset getStandardOffset(); 12997 method public java.time.zone.ZoneOffsetTransitionRule.TimeDefinition getTimeDefinition(); 12998 method public boolean isMidnightEndOfDay(); 12999 method public static java.time.zone.ZoneOffsetTransitionRule of(java.time.Month, int, java.time.DayOfWeek, java.time.LocalTime, boolean, java.time.zone.ZoneOffsetTransitionRule.TimeDefinition, java.time.ZoneOffset, java.time.ZoneOffset, java.time.ZoneOffset); 13000 } 13001 13002 public enum ZoneOffsetTransitionRule.TimeDefinition { 13003 method public java.time.LocalDateTime createDateTime(java.time.LocalDateTime, java.time.ZoneOffset, java.time.ZoneOffset); 13004 enum_constant public static final java.time.zone.ZoneOffsetTransitionRule.TimeDefinition STANDARD; 13005 enum_constant public static final java.time.zone.ZoneOffsetTransitionRule.TimeDefinition UTC; 13006 enum_constant public static final java.time.zone.ZoneOffsetTransitionRule.TimeDefinition WALL; 13007 } 13008 13009 public final class ZoneRules implements java.io.Serializable { 13010 method public java.time.Duration getDaylightSavings(java.time.Instant); 13011 method public java.time.ZoneOffset getOffset(java.time.Instant); 13012 method public java.time.ZoneOffset getOffset(java.time.LocalDateTime); 13013 method public java.time.ZoneOffset getStandardOffset(java.time.Instant); 13014 method public java.time.zone.ZoneOffsetTransition getTransition(java.time.LocalDateTime); 13015 method public java.util.List<java.time.zone.ZoneOffsetTransitionRule> getTransitionRules(); 13016 method public java.util.List<java.time.zone.ZoneOffsetTransition> getTransitions(); 13017 method public java.util.List<java.time.ZoneOffset> getValidOffsets(java.time.LocalDateTime); 13018 method public boolean isDaylightSavings(java.time.Instant); 13019 method public boolean isFixedOffset(); 13020 method public boolean isValidOffset(java.time.LocalDateTime, java.time.ZoneOffset); 13021 method public java.time.zone.ZoneOffsetTransition nextTransition(java.time.Instant); 13022 method public static java.time.zone.ZoneRules of(java.time.ZoneOffset, java.time.ZoneOffset, java.util.List<java.time.zone.ZoneOffsetTransition>, java.util.List<java.time.zone.ZoneOffsetTransition>, java.util.List<java.time.zone.ZoneOffsetTransitionRule>); 13023 method public static java.time.zone.ZoneRules of(java.time.ZoneOffset); 13024 method public java.time.zone.ZoneOffsetTransition previousTransition(java.time.Instant); 13025 } 13026 13027 public class ZoneRulesException extends java.time.DateTimeException { 13028 ctor public ZoneRulesException(String); 13029 ctor public ZoneRulesException(String, Throwable); 13030 } 13031 13032} 13033 13034package java.util { 13035 13036 public abstract class AbstractCollection<E> implements java.util.Collection<E> { 13037 ctor protected AbstractCollection(); 13038 method public boolean add(E); 13039 method public boolean addAll(@NonNull java.util.Collection<? extends E>); 13040 method public void clear(); 13041 method public boolean contains(@Nullable Object); 13042 method public boolean containsAll(@NonNull java.util.Collection<?>); 13043 method public boolean isEmpty(); 13044 method public boolean remove(@Nullable Object); 13045 method public boolean removeAll(@NonNull java.util.Collection<?>); 13046 method public boolean retainAll(@NonNull java.util.Collection<?>); 13047 method @NonNull public Object[] toArray(); 13048 method @NonNull public <T> T[] toArray(@NonNull T[]); 13049 } 13050 13051 public abstract class AbstractList<E> extends java.util.AbstractCollection<E> implements java.util.List<E> { 13052 ctor protected AbstractList(); 13053 method public void add(int, E); 13054 method public boolean addAll(int, @NonNull java.util.Collection<? extends E>); 13055 method public boolean equals(@Nullable Object); 13056 method public int hashCode(); 13057 method public int indexOf(@Nullable Object); 13058 method @NonNull public java.util.Iterator<E> iterator(); 13059 method public int lastIndexOf(@Nullable Object); 13060 method @NonNull public java.util.ListIterator<E> listIterator(); 13061 method @NonNull public java.util.ListIterator<E> listIterator(int); 13062 method public E remove(int); 13063 method protected void removeRange(int, int); 13064 method public E set(int, E); 13065 method @NonNull public java.util.List<E> subList(int, int); 13066 field protected transient int modCount; 13067 } 13068 13069 public abstract class AbstractMap<K, V> implements java.util.Map<K,V> { 13070 ctor protected AbstractMap(); 13071 method public void clear(); 13072 method public boolean containsKey(@Nullable Object); 13073 method public boolean containsValue(@Nullable Object); 13074 method public boolean equals(@Nullable Object); 13075 method @Nullable public V get(@Nullable Object); 13076 method public int hashCode(); 13077 method public boolean isEmpty(); 13078 method @NonNull public java.util.Set<K> keySet(); 13079 method @Nullable public V put(K, V); 13080 method public void putAll(@NonNull java.util.Map<? extends K,? extends V>); 13081 method @Nullable public V remove(@Nullable Object); 13082 method public int size(); 13083 method @NonNull public java.util.Collection<V> values(); 13084 } 13085 13086 public static class AbstractMap.SimpleEntry<K, V> implements java.util.Map.Entry<K,V> java.io.Serializable { 13087 ctor public AbstractMap.SimpleEntry(K, V); 13088 ctor public AbstractMap.SimpleEntry(@NonNull java.util.Map.Entry<? extends K,? extends V>); 13089 method public boolean equals(@Nullable Object); 13090 method public K getKey(); 13091 method public V getValue(); 13092 method public int hashCode(); 13093 method public V setValue(V); 13094 } 13095 13096 public static class AbstractMap.SimpleImmutableEntry<K, V> implements java.util.Map.Entry<K,V> java.io.Serializable { 13097 ctor public AbstractMap.SimpleImmutableEntry(K, V); 13098 ctor public AbstractMap.SimpleImmutableEntry(@NonNull java.util.Map.Entry<? extends K,? extends V>); 13099 method public boolean equals(@Nullable Object); 13100 method public K getKey(); 13101 method public V getValue(); 13102 method public int hashCode(); 13103 method public V setValue(V); 13104 } 13105 13106 public abstract class AbstractQueue<E> extends java.util.AbstractCollection<E> implements java.util.Queue<E> { 13107 ctor protected AbstractQueue(); 13108 method public E element(); 13109 method public E remove(); 13110 } 13111 13112 public abstract class AbstractSequentialList<E> extends java.util.AbstractList<E> { 13113 ctor protected AbstractSequentialList(); 13114 method public E get(int); 13115 } 13116 13117 public abstract class AbstractSet<E> extends java.util.AbstractCollection<E> implements java.util.Set<E> { 13118 ctor protected AbstractSet(); 13119 method public boolean equals(@Nullable Object); 13120 method public int hashCode(); 13121 } 13122 13123 public class ArrayDeque<E> extends java.util.AbstractCollection<E> implements java.lang.Cloneable java.util.Deque<E> java.io.Serializable { 13124 ctor public ArrayDeque(); 13125 ctor public ArrayDeque(int); 13126 ctor public ArrayDeque(@NonNull java.util.Collection<? extends E>); 13127 method public void addFirst(E); 13128 method public void addLast(E); 13129 method @NonNull public java.util.ArrayDeque<E> clone(); 13130 method @NonNull public java.util.Iterator<E> descendingIterator(); 13131 method public E element(); 13132 method public void forEach(@NonNull java.util.function.Consumer<? super E>); 13133 method public E getFirst(); 13134 method public E getLast(); 13135 method @NonNull public java.util.Iterator<E> iterator(); 13136 method public boolean offer(E); 13137 method public boolean offerFirst(E); 13138 method public boolean offerLast(E); 13139 method @Nullable public E peek(); 13140 method @Nullable public E peekFirst(); 13141 method @Nullable public E peekLast(); 13142 method @Nullable public E poll(); 13143 method @Nullable public E pollFirst(); 13144 method @Nullable public E pollLast(); 13145 method public E pop(); 13146 method public void push(E); 13147 method public E remove(); 13148 method public E removeFirst(); 13149 method public boolean removeFirstOccurrence(@Nullable Object); 13150 method public boolean removeIf(@NonNull java.util.function.Predicate<? super E>); 13151 method public E removeLast(); 13152 method public boolean removeLastOccurrence(@Nullable Object); 13153 method public int size(); 13154 method @NonNull public java.util.Spliterator<E> spliterator(); 13155 } 13156 13157 public class ArrayList<E> extends java.util.AbstractList<E> implements java.lang.Cloneable java.util.List<E> java.util.RandomAccess java.io.Serializable { 13158 ctor public ArrayList(int); 13159 ctor public ArrayList(); 13160 ctor public ArrayList(@NonNull java.util.Collection<? extends E>); 13161 method @FlaggedApi("com.android.libcore.v_apis") public void addFirst(E); 13162 method @FlaggedApi("com.android.libcore.v_apis") public void addLast(E); 13163 method @NonNull public Object clone(); 13164 method public void ensureCapacity(int); 13165 method public void forEach(@NonNull java.util.function.Consumer<? super E>); 13166 method public E get(int); 13167 method @FlaggedApi("com.android.libcore.v_apis") public E getFirst(); 13168 method @FlaggedApi("com.android.libcore.v_apis") public E getLast(); 13169 method @FlaggedApi("com.android.libcore.v_apis") public E removeFirst(); 13170 method public boolean removeIf(@NonNull java.util.function.Predicate<? super E>); 13171 method @FlaggedApi("com.android.libcore.v_apis") public E removeLast(); 13172 method public void replaceAll(@NonNull java.util.function.UnaryOperator<E>); 13173 method public int size(); 13174 method public void sort(@Nullable java.util.Comparator<? super E>); 13175 method @NonNull public java.util.Spliterator<E> spliterator(); 13176 method public void trimToSize(); 13177 } 13178 13179 public class Arrays { 13180 method @NonNull @java.lang.SafeVarargs public static <T> java.util.List<T> asList(@NonNull T...); 13181 method public static int binarySearch(@NonNull long[], long); 13182 method public static int binarySearch(@NonNull long[], int, int, long); 13183 method public static int binarySearch(@NonNull int[], int); 13184 method public static int binarySearch(@NonNull int[], int, int, int); 13185 method public static int binarySearch(@NonNull short[], short); 13186 method public static int binarySearch(@NonNull short[], int, int, short); 13187 method public static int binarySearch(@NonNull char[], char); 13188 method public static int binarySearch(@NonNull char[], int, int, char); 13189 method public static int binarySearch(@NonNull byte[], byte); 13190 method public static int binarySearch(@NonNull byte[], int, int, byte); 13191 method public static int binarySearch(@NonNull double[], double); 13192 method public static int binarySearch(@NonNull double[], int, int, double); 13193 method public static int binarySearch(@NonNull float[], float); 13194 method public static int binarySearch(@NonNull float[], int, int, float); 13195 method public static int binarySearch(@NonNull Object[], @NonNull Object); 13196 method public static int binarySearch(@NonNull Object[], int, int, @NonNull Object); 13197 method public static <T> int binarySearch(@NonNull T[], T, @Nullable java.util.Comparator<? super T>); 13198 method public static <T> int binarySearch(@NonNull T[], int, int, T, @Nullable java.util.Comparator<? super T>); 13199 method public static int compare(@Nullable boolean[], @Nullable boolean[]); 13200 method public static int compare(@NonNull boolean[], int, int, @NonNull boolean[], int, int); 13201 method public static int compare(@Nullable byte[], @Nullable byte[]); 13202 method public static int compare(@NonNull byte[], int, int, @NonNull byte[], int, int); 13203 method public static int compare(@Nullable short[], @Nullable short[]); 13204 method public static int compare(@NonNull short[], int, int, @NonNull short[], int, int); 13205 method public static int compare(@Nullable char[], @Nullable char[]); 13206 method public static int compare(@NonNull char[], int, int, @NonNull char[], int, int); 13207 method public static int compare(@Nullable int[], @Nullable int[]); 13208 method public static int compare(@NonNull int[], int, int, @NonNull int[], int, int); 13209 method public static int compare(@Nullable long[], @Nullable long[]); 13210 method public static int compare(@NonNull long[], int, int, @NonNull long[], int, int); 13211 method public static int compare(@Nullable float[], @Nullable float[]); 13212 method public static int compare(@NonNull float[], int, int, @NonNull float[], int, int); 13213 method public static int compare(@Nullable double[], @Nullable double[]); 13214 method public static int compare(@NonNull double[], int, int, @NonNull double[], int, int); 13215 method public static <T extends java.lang.Comparable<? super T>> int compare(@Nullable T[], @Nullable T[]); 13216 method public static <T extends java.lang.Comparable<? super T>> int compare(@NonNull T[], int, int, @NonNull T[], int, int); 13217 method public static <T> int compare(@Nullable T[], @Nullable T[], @NonNull java.util.Comparator<? super T>); 13218 method public static <T> int compare(@NonNull T[], int, int, @NonNull T[], int, int, @NonNull java.util.Comparator<? super T>); 13219 method public static int compareUnsigned(@Nullable byte[], @Nullable byte[]); 13220 method public static int compareUnsigned(@NonNull byte[], int, int, @NonNull byte[], int, int); 13221 method public static int compareUnsigned(@Nullable short[], @Nullable short[]); 13222 method public static int compareUnsigned(@NonNull short[], int, int, @NonNull short[], int, int); 13223 method public static int compareUnsigned(@Nullable int[], @Nullable int[]); 13224 method public static int compareUnsigned(@NonNull int[], int, int, @NonNull int[], int, int); 13225 method public static int compareUnsigned(@Nullable long[], @Nullable long[]); 13226 method public static int compareUnsigned(@NonNull long[], int, int, @NonNull long[], int, int); 13227 method @NonNull public static <T> T[] copyOf(@NonNull T[], int); 13228 method @NonNull public static <T, U> T[] copyOf(@NonNull U[], int, @NonNull Class<? extends T[]>); 13229 method @NonNull public static byte[] copyOf(@NonNull byte[], int); 13230 method @NonNull public static short[] copyOf(@NonNull short[], int); 13231 method @NonNull public static int[] copyOf(@NonNull int[], int); 13232 method @NonNull public static long[] copyOf(@NonNull long[], int); 13233 method @NonNull public static char[] copyOf(@NonNull char[], int); 13234 method @NonNull public static float[] copyOf(@NonNull float[], int); 13235 method @NonNull public static double[] copyOf(@NonNull double[], int); 13236 method @NonNull public static boolean[] copyOf(@NonNull boolean[], int); 13237 method @NonNull public static <T> T[] copyOfRange(@NonNull T[], int, int); 13238 method @NonNull public static <T, U> T[] copyOfRange(@NonNull U[], int, int, @NonNull Class<? extends T[]>); 13239 method @NonNull public static byte[] copyOfRange(@NonNull byte[], int, int); 13240 method @NonNull public static short[] copyOfRange(@NonNull short[], int, int); 13241 method @NonNull public static int[] copyOfRange(@NonNull int[], int, int); 13242 method @NonNull public static long[] copyOfRange(@NonNull long[], int, int); 13243 method @NonNull public static char[] copyOfRange(@NonNull char[], int, int); 13244 method @NonNull public static float[] copyOfRange(@NonNull float[], int, int); 13245 method @NonNull public static double[] copyOfRange(@NonNull double[], int, int); 13246 method @NonNull public static boolean[] copyOfRange(@NonNull boolean[], int, int); 13247 method public static boolean deepEquals(@Nullable Object[], @Nullable Object[]); 13248 method public static int deepHashCode(@Nullable Object[]); 13249 method @NonNull public static String deepToString(@Nullable Object[]); 13250 method public static boolean equals(@Nullable long[], @Nullable long[]); 13251 method public static boolean equals(@NonNull long[], int, int, @NonNull long[], int, int); 13252 method public static boolean equals(@Nullable int[], @Nullable int[]); 13253 method public static boolean equals(@NonNull int[], int, int, @NonNull int[], int, int); 13254 method public static boolean equals(@Nullable short[], @Nullable short[]); 13255 method public static boolean equals(@NonNull short[], int, int, @NonNull short[], int, int); 13256 method public static boolean equals(@Nullable char[], @Nullable char[]); 13257 method public static boolean equals(@NonNull char[], int, int, @NonNull char[], int, int); 13258 method public static boolean equals(@Nullable byte[], @Nullable byte[]); 13259 method public static boolean equals(@NonNull byte[], int, int, @NonNull byte[], int, int); 13260 method public static boolean equals(@Nullable boolean[], @Nullable boolean[]); 13261 method public static boolean equals(@NonNull boolean[], int, int, @NonNull boolean[], int, int); 13262 method public static boolean equals(@Nullable double[], @Nullable double[]); 13263 method public static boolean equals(@NonNull double[], int, int, @NonNull double[], int, int); 13264 method public static boolean equals(@Nullable float[], @Nullable float[]); 13265 method public static boolean equals(@NonNull float[], int, int, @NonNull float[], int, int); 13266 method public static boolean equals(@Nullable Object[], @Nullable Object[]); 13267 method public static boolean equals(@NonNull Object[], int, int, @NonNull Object[], int, int); 13268 method public static <T> boolean equals(@Nullable T[], @Nullable T[], @NonNull java.util.Comparator<? super T>); 13269 method public static <T> boolean equals(@NonNull T[], int, int, @NonNull T[], int, int, @NonNull java.util.Comparator<? super T>); 13270 method public static void fill(@NonNull long[], long); 13271 method public static void fill(@NonNull long[], int, int, long); 13272 method public static void fill(@NonNull int[], int); 13273 method public static void fill(@NonNull int[], int, int, int); 13274 method public static void fill(@NonNull short[], short); 13275 method public static void fill(@NonNull short[], int, int, short); 13276 method public static void fill(@NonNull char[], char); 13277 method public static void fill(@NonNull char[], int, int, char); 13278 method public static void fill(@NonNull byte[], byte); 13279 method public static void fill(@NonNull byte[], int, int, byte); 13280 method public static void fill(@NonNull boolean[], boolean); 13281 method public static void fill(@NonNull boolean[], int, int, boolean); 13282 method public static void fill(@NonNull double[], double); 13283 method public static void fill(@NonNull double[], int, int, double); 13284 method public static void fill(@NonNull float[], float); 13285 method public static void fill(@NonNull float[], int, int, float); 13286 method public static void fill(@NonNull Object[], @Nullable Object); 13287 method public static void fill(@NonNull Object[], int, int, @Nullable Object); 13288 method public static int hashCode(@Nullable long[]); 13289 method public static int hashCode(@Nullable int[]); 13290 method public static int hashCode(@Nullable short[]); 13291 method public static int hashCode(@Nullable char[]); 13292 method public static int hashCode(@Nullable byte[]); 13293 method public static int hashCode(@Nullable boolean[]); 13294 method public static int hashCode(@Nullable float[]); 13295 method public static int hashCode(@Nullable double[]); 13296 method public static int hashCode(@Nullable Object[]); 13297 method public static int mismatch(@NonNull boolean[], @NonNull boolean[]); 13298 method public static int mismatch(@NonNull boolean[], int, int, @NonNull boolean[], int, int); 13299 method public static int mismatch(@NonNull byte[], @NonNull byte[]); 13300 method public static int mismatch(byte[], int, int, byte[], int, int); 13301 method public static int mismatch(@NonNull char[], @NonNull char[]); 13302 method public static int mismatch(@NonNull char[], int, int, @NonNull char[], int, int); 13303 method public static int mismatch(@NonNull short[], @NonNull short[]); 13304 method public static int mismatch(@NonNull short[], int, int, @NonNull short[], int, int); 13305 method public static int mismatch(@NonNull int[], @NonNull int[]); 13306 method public static int mismatch(@NonNull int[], int, int, @NonNull int[], int, int); 13307 method public static int mismatch(@NonNull long[], @NonNull long[]); 13308 method public static int mismatch(@NonNull long[], int, int, @NonNull long[], int, int); 13309 method public static int mismatch(@NonNull float[], @NonNull float[]); 13310 method public static int mismatch(@NonNull float[], int, int, @NonNull float[], int, int); 13311 method public static int mismatch(@NonNull double[], @NonNull double[]); 13312 method public static int mismatch(@NonNull double[], int, int, @NonNull double[], int, int); 13313 method public static int mismatch(@NonNull Object[], @NonNull Object[]); 13314 method public static int mismatch(@NonNull Object[], int, int, @NonNull Object[], int, int); 13315 method public static <T> int mismatch(@NonNull T[], @NonNull T[], @NonNull java.util.Comparator<? super T>); 13316 method public static <T> int mismatch(@NonNull T[], int, int, @NonNull T[], int, int, @NonNull java.util.Comparator<? super T>); 13317 method public static <T> void parallelPrefix(@NonNull T[], @NonNull java.util.function.BinaryOperator<T>); 13318 method public static <T> void parallelPrefix(@NonNull T[], int, int, @NonNull java.util.function.BinaryOperator<T>); 13319 method public static void parallelPrefix(@NonNull long[], @NonNull java.util.function.LongBinaryOperator); 13320 method public static void parallelPrefix(@NonNull long[], int, int, @NonNull java.util.function.LongBinaryOperator); 13321 method public static void parallelPrefix(@NonNull double[], @NonNull java.util.function.DoubleBinaryOperator); 13322 method public static void parallelPrefix(@NonNull double[], int, int, @NonNull java.util.function.DoubleBinaryOperator); 13323 method public static void parallelPrefix(@NonNull int[], @NonNull java.util.function.IntBinaryOperator); 13324 method public static void parallelPrefix(@NonNull int[], int, int, @NonNull java.util.function.IntBinaryOperator); 13325 method public static <T> void parallelSetAll(@NonNull T[], @NonNull java.util.function.IntFunction<? extends T>); 13326 method public static void parallelSetAll(@NonNull int[], @NonNull java.util.function.IntUnaryOperator); 13327 method public static void parallelSetAll(@NonNull long[], @NonNull java.util.function.IntToLongFunction); 13328 method public static void parallelSetAll(@NonNull double[], @NonNull java.util.function.IntToDoubleFunction); 13329 method public static void parallelSort(@NonNull byte[]); 13330 method public static void parallelSort(@NonNull byte[], int, int); 13331 method public static void parallelSort(@NonNull char[]); 13332 method public static void parallelSort(@NonNull char[], int, int); 13333 method public static void parallelSort(@NonNull short[]); 13334 method public static void parallelSort(@NonNull short[], int, int); 13335 method public static void parallelSort(@NonNull int[]); 13336 method public static void parallelSort(@NonNull int[], int, int); 13337 method public static void parallelSort(@NonNull long[]); 13338 method public static void parallelSort(@NonNull long[], int, int); 13339 method public static void parallelSort(@NonNull float[]); 13340 method public static void parallelSort(@NonNull float[], int, int); 13341 method public static void parallelSort(@NonNull double[]); 13342 method public static void parallelSort(@NonNull double[], int, int); 13343 method public static <T extends java.lang.Comparable<? super T>> void parallelSort(@NonNull T[]); 13344 method public static <T extends java.lang.Comparable<? super T>> void parallelSort(@NonNull T[], int, int); 13345 method public static <T> void parallelSort(@NonNull T[], @Nullable java.util.Comparator<? super T>); 13346 method public static <T> void parallelSort(@NonNull T[], int, int, @Nullable java.util.Comparator<? super T>); 13347 method public static <T> void setAll(@NonNull T[], @NonNull java.util.function.IntFunction<? extends T>); 13348 method public static void setAll(@NonNull int[], @NonNull java.util.function.IntUnaryOperator); 13349 method public static void setAll(@NonNull long[], @NonNull java.util.function.IntToLongFunction); 13350 method public static void setAll(@NonNull double[], @NonNull java.util.function.IntToDoubleFunction); 13351 method public static void sort(@NonNull int[]); 13352 method public static void sort(@NonNull int[], int, int); 13353 method public static void sort(@NonNull long[]); 13354 method public static void sort(@NonNull long[], int, int); 13355 method public static void sort(@NonNull short[]); 13356 method public static void sort(@NonNull short[], int, int); 13357 method public static void sort(@NonNull char[]); 13358 method public static void sort(@NonNull char[], int, int); 13359 method public static void sort(@NonNull byte[]); 13360 method public static void sort(@NonNull byte[], int, int); 13361 method public static void sort(@NonNull float[]); 13362 method public static void sort(@NonNull float[], int, int); 13363 method public static void sort(@NonNull double[]); 13364 method public static void sort(@NonNull double[], int, int); 13365 method public static void sort(@NonNull Object[]); 13366 method public static void sort(@NonNull Object[], int, int); 13367 method public static <T> void sort(@NonNull T[], @Nullable java.util.Comparator<? super T>); 13368 method public static <T> void sort(@NonNull T[], int, int, @Nullable java.util.Comparator<? super T>); 13369 method @NonNull public static <T> java.util.Spliterator<T> spliterator(@NonNull T[]); 13370 method @NonNull public static <T> java.util.Spliterator<T> spliterator(@NonNull T[], int, int); 13371 method @NonNull public static java.util.Spliterator.OfInt spliterator(@NonNull int[]); 13372 method @NonNull public static java.util.Spliterator.OfInt spliterator(@NonNull int[], int, int); 13373 method @NonNull public static java.util.Spliterator.OfLong spliterator(@NonNull long[]); 13374 method @NonNull public static java.util.Spliterator.OfLong spliterator(@NonNull long[], int, int); 13375 method @NonNull public static java.util.Spliterator.OfDouble spliterator(@NonNull double[]); 13376 method @NonNull public static java.util.Spliterator.OfDouble spliterator(@NonNull double[], int, int); 13377 method @NonNull public static <T> java.util.stream.Stream<T> stream(@NonNull T[]); 13378 method @NonNull public static <T> java.util.stream.Stream<T> stream(@NonNull T[], int, int); 13379 method @NonNull public static java.util.stream.IntStream stream(@NonNull int[]); 13380 method @NonNull public static java.util.stream.IntStream stream(@NonNull int[], int, int); 13381 method @NonNull public static java.util.stream.LongStream stream(@NonNull long[]); 13382 method @NonNull public static java.util.stream.LongStream stream(@NonNull long[], int, int); 13383 method @NonNull public static java.util.stream.DoubleStream stream(@NonNull double[]); 13384 method @NonNull public static java.util.stream.DoubleStream stream(@NonNull double[], int, int); 13385 method @NonNull public static String toString(@Nullable long[]); 13386 method @NonNull public static String toString(@Nullable int[]); 13387 method @NonNull public static String toString(@Nullable short[]); 13388 method @NonNull public static String toString(@Nullable char[]); 13389 method @NonNull public static String toString(@Nullable byte[]); 13390 method @NonNull public static String toString(@Nullable boolean[]); 13391 method @NonNull public static String toString(@Nullable float[]); 13392 method @NonNull public static String toString(@Nullable double[]); 13393 method @NonNull public static String toString(@Nullable Object[]); 13394 } 13395 13396 public class Base64 { 13397 method public static java.util.Base64.Decoder getDecoder(); 13398 method public static java.util.Base64.Encoder getEncoder(); 13399 method public static java.util.Base64.Decoder getMimeDecoder(); 13400 method public static java.util.Base64.Encoder getMimeEncoder(); 13401 method public static java.util.Base64.Encoder getMimeEncoder(int, byte[]); 13402 method public static java.util.Base64.Decoder getUrlDecoder(); 13403 method public static java.util.Base64.Encoder getUrlEncoder(); 13404 } 13405 13406 public static class Base64.Decoder { 13407 method public byte[] decode(byte[]); 13408 method public byte[] decode(String); 13409 method public int decode(byte[], byte[]); 13410 method public java.nio.ByteBuffer decode(java.nio.ByteBuffer); 13411 method public java.io.InputStream wrap(java.io.InputStream); 13412 } 13413 13414 public static class Base64.Encoder { 13415 method public byte[] encode(byte[]); 13416 method public int encode(byte[], byte[]); 13417 method public java.nio.ByteBuffer encode(java.nio.ByteBuffer); 13418 method public String encodeToString(byte[]); 13419 method public java.util.Base64.Encoder withoutPadding(); 13420 method public java.io.OutputStream wrap(java.io.OutputStream); 13421 } 13422 13423 public class BitSet implements java.lang.Cloneable java.io.Serializable { 13424 ctor public BitSet(); 13425 ctor public BitSet(int); 13426 method public void and(java.util.BitSet); 13427 method public void andNot(java.util.BitSet); 13428 method public int cardinality(); 13429 method public void clear(int); 13430 method public void clear(int, int); 13431 method public void clear(); 13432 method public Object clone(); 13433 method public void flip(int); 13434 method public void flip(int, int); 13435 method public boolean get(int); 13436 method public java.util.BitSet get(int, int); 13437 method public boolean intersects(java.util.BitSet); 13438 method public boolean isEmpty(); 13439 method public int length(); 13440 method public int nextClearBit(int); 13441 method public int nextSetBit(int); 13442 method public void or(java.util.BitSet); 13443 method public int previousClearBit(int); 13444 method public int previousSetBit(int); 13445 method public void set(int); 13446 method public void set(int, boolean); 13447 method public void set(int, int); 13448 method public void set(int, int, boolean); 13449 method public int size(); 13450 method public java.util.stream.IntStream stream(); 13451 method public byte[] toByteArray(); 13452 method public long[] toLongArray(); 13453 method public static java.util.BitSet valueOf(long[]); 13454 method public static java.util.BitSet valueOf(java.nio.LongBuffer); 13455 method public static java.util.BitSet valueOf(byte[]); 13456 method public static java.util.BitSet valueOf(java.nio.ByteBuffer); 13457 method public void xor(java.util.BitSet); 13458 } 13459 13460 public abstract class Calendar implements java.lang.Cloneable java.lang.Comparable<java.util.Calendar> java.io.Serializable { 13461 ctor protected Calendar(); 13462 ctor protected Calendar(@NonNull java.util.TimeZone, @NonNull java.util.Locale); 13463 method public abstract void add(int, int); 13464 method public boolean after(@Nullable Object); 13465 method public boolean before(@Nullable Object); 13466 method public final void clear(); 13467 method public final void clear(int); 13468 method @NonNull public Object clone(); 13469 method public int compareTo(@NonNull java.util.Calendar); 13470 method protected void complete(); 13471 method protected abstract void computeFields(); 13472 method protected abstract void computeTime(); 13473 method public int get(int); 13474 method public int getActualMaximum(int); 13475 method public int getActualMinimum(int); 13476 method @NonNull public static java.util.Set<java.lang.String> getAvailableCalendarTypes(); 13477 method @NonNull public static java.util.Locale[] getAvailableLocales(); 13478 method @NonNull public String getCalendarType(); 13479 method @Nullable public String getDisplayName(int, int, @NonNull java.util.Locale); 13480 method @Nullable public java.util.Map<java.lang.String,java.lang.Integer> getDisplayNames(int, int, @NonNull java.util.Locale); 13481 method public int getFirstDayOfWeek(); 13482 method public abstract int getGreatestMinimum(int); 13483 method @NonNull public static java.util.Calendar getInstance(); 13484 method @NonNull public static java.util.Calendar getInstance(@NonNull java.util.TimeZone); 13485 method @NonNull public static java.util.Calendar getInstance(@NonNull java.util.Locale); 13486 method @NonNull public static java.util.Calendar getInstance(@NonNull java.util.TimeZone, @NonNull java.util.Locale); 13487 method public abstract int getLeastMaximum(int); 13488 method public abstract int getMaximum(int); 13489 method public int getMinimalDaysInFirstWeek(); 13490 method public abstract int getMinimum(int); 13491 method @NonNull public final java.util.Date getTime(); 13492 method public long getTimeInMillis(); 13493 method @NonNull public java.util.TimeZone getTimeZone(); 13494 method public int getWeekYear(); 13495 method public int getWeeksInWeekYear(); 13496 method protected final int internalGet(int); 13497 method public boolean isLenient(); 13498 method public final boolean isSet(int); 13499 method public boolean isWeekDateSupported(); 13500 method public abstract void roll(int, boolean); 13501 method public void roll(int, int); 13502 method public void set(int, int); 13503 method public final void set(int, int, int); 13504 method public final void set(int, int, int, int, int); 13505 method public final void set(int, int, int, int, int, int); 13506 method public void setFirstDayOfWeek(int); 13507 method public void setLenient(boolean); 13508 method public void setMinimalDaysInFirstWeek(int); 13509 method public final void setTime(@NonNull java.util.Date); 13510 method public void setTimeInMillis(long); 13511 method public void setTimeZone(@NonNull java.util.TimeZone); 13512 method public void setWeekDate(int, int, int); 13513 method @NonNull public final java.time.Instant toInstant(); 13514 field public static final int ALL_STYLES = 0; // 0x0 13515 field public static final int AM = 0; // 0x0 13516 field public static final int AM_PM = 9; // 0x9 13517 field public static final int APRIL = 3; // 0x3 13518 field public static final int AUGUST = 7; // 0x7 13519 field public static final int DATE = 5; // 0x5 13520 field public static final int DAY_OF_MONTH = 5; // 0x5 13521 field public static final int DAY_OF_WEEK = 7; // 0x7 13522 field public static final int DAY_OF_WEEK_IN_MONTH = 8; // 0x8 13523 field public static final int DAY_OF_YEAR = 6; // 0x6 13524 field public static final int DECEMBER = 11; // 0xb 13525 field public static final int DST_OFFSET = 16; // 0x10 13526 field public static final int ERA = 0; // 0x0 13527 field public static final int FEBRUARY = 1; // 0x1 13528 field public static final int FIELD_COUNT = 17; // 0x11 13529 field public static final int FRIDAY = 6; // 0x6 13530 field public static final int HOUR = 10; // 0xa 13531 field public static final int HOUR_OF_DAY = 11; // 0xb 13532 field public static final int JANUARY = 0; // 0x0 13533 field public static final int JULY = 6; // 0x6 13534 field public static final int JUNE = 5; // 0x5 13535 field public static final int LONG = 2; // 0x2 13536 field public static final int LONG_FORMAT = 2; // 0x2 13537 field public static final int LONG_STANDALONE = 32770; // 0x8002 13538 field public static final int MARCH = 2; // 0x2 13539 field public static final int MAY = 4; // 0x4 13540 field public static final int MILLISECOND = 14; // 0xe 13541 field public static final int MINUTE = 12; // 0xc 13542 field public static final int MONDAY = 2; // 0x2 13543 field public static final int MONTH = 2; // 0x2 13544 field public static final int NARROW_FORMAT = 4; // 0x4 13545 field public static final int NARROW_STANDALONE = 32772; // 0x8004 13546 field public static final int NOVEMBER = 10; // 0xa 13547 field public static final int OCTOBER = 9; // 0x9 13548 field public static final int PM = 1; // 0x1 13549 field public static final int SATURDAY = 7; // 0x7 13550 field public static final int SECOND = 13; // 0xd 13551 field public static final int SEPTEMBER = 8; // 0x8 13552 field public static final int SHORT = 1; // 0x1 13553 field public static final int SHORT_FORMAT = 1; // 0x1 13554 field public static final int SHORT_STANDALONE = 32769; // 0x8001 13555 field public static final int SUNDAY = 1; // 0x1 13556 field public static final int THURSDAY = 5; // 0x5 13557 field public static final int TUESDAY = 3; // 0x3 13558 field public static final int UNDECIMBER = 12; // 0xc 13559 field public static final int WEDNESDAY = 4; // 0x4 13560 field public static final int WEEK_OF_MONTH = 4; // 0x4 13561 field public static final int WEEK_OF_YEAR = 3; // 0x3 13562 field public static final int YEAR = 1; // 0x1 13563 field public static final int ZONE_OFFSET = 15; // 0xf 13564 field protected boolean areFieldsSet; 13565 field @NonNull protected int[] fields; 13566 field @NonNull protected boolean[] isSet; 13567 field protected boolean isTimeSet; 13568 field protected long time; 13569 } 13570 13571 public static class Calendar.Builder { 13572 ctor public Calendar.Builder(); 13573 method @NonNull public java.util.Calendar build(); 13574 method @NonNull public java.util.Calendar.Builder set(int, int); 13575 method @NonNull public java.util.Calendar.Builder setCalendarType(@NonNull String); 13576 method @NonNull public java.util.Calendar.Builder setDate(int, int, int); 13577 method @NonNull public java.util.Calendar.Builder setFields(@NonNull int...); 13578 method @NonNull public java.util.Calendar.Builder setInstant(long); 13579 method @NonNull public java.util.Calendar.Builder setInstant(@NonNull java.util.Date); 13580 method @NonNull public java.util.Calendar.Builder setLenient(boolean); 13581 method @NonNull public java.util.Calendar.Builder setLocale(@NonNull java.util.Locale); 13582 method @NonNull public java.util.Calendar.Builder setTimeOfDay(int, int, int); 13583 method @NonNull public java.util.Calendar.Builder setTimeOfDay(int, int, int, int); 13584 method @NonNull public java.util.Calendar.Builder setTimeZone(@NonNull java.util.TimeZone); 13585 method @NonNull public java.util.Calendar.Builder setWeekDate(int, int, int); 13586 method @NonNull public java.util.Calendar.Builder setWeekDefinition(int, int); 13587 } 13588 13589 public interface Collection<E> extends java.lang.Iterable<E> { 13590 method public boolean add(E); 13591 method public boolean addAll(@NonNull java.util.Collection<? extends E>); 13592 method public void clear(); 13593 method public boolean contains(@Nullable Object); 13594 method public boolean containsAll(@NonNull java.util.Collection<?>); 13595 method public boolean equals(@Nullable Object); 13596 method public int hashCode(); 13597 method public boolean isEmpty(); 13598 method @NonNull public java.util.Iterator<E> iterator(); 13599 method @NonNull public default java.util.stream.Stream<E> parallelStream(); 13600 method public boolean remove(@Nullable Object); 13601 method public boolean removeAll(@NonNull java.util.Collection<?>); 13602 method public default boolean removeIf(@NonNull java.util.function.Predicate<? super E>); 13603 method public boolean retainAll(@NonNull java.util.Collection<?>); 13604 method public int size(); 13605 method @NonNull public default java.util.Spliterator<E> spliterator(); 13606 method @NonNull public default java.util.stream.Stream<E> stream(); 13607 method @NonNull public Object[] toArray(); 13608 method @NonNull public <T> T[] toArray(@NonNull T[]); 13609 method @NonNull public default <T> T[] toArray(@NonNull java.util.function.IntFunction<T[]>); 13610 } 13611 13612 public class Collections { 13613 method @java.lang.SafeVarargs public static <T> boolean addAll(@NonNull java.util.Collection<? super T>, @NonNull T...); 13614 method @NonNull public static <T> java.util.Queue<T> asLifoQueue(@NonNull java.util.Deque<T>); 13615 method public static <T> int binarySearch(@NonNull java.util.List<? extends java.lang.Comparable<? super T>>, @NonNull T); 13616 method public static <T> int binarySearch(@NonNull java.util.List<? extends T>, T, @Nullable java.util.Comparator<? super T>); 13617 method @NonNull public static <E> java.util.Collection<E> checkedCollection(@NonNull java.util.Collection<E>, @NonNull Class<E>); 13618 method @NonNull public static <E> java.util.List<E> checkedList(@NonNull java.util.List<E>, @NonNull Class<E>); 13619 method @NonNull public static <K, V> java.util.Map<K,V> checkedMap(@NonNull java.util.Map<K,V>, @NonNull Class<K>, @NonNull Class<V>); 13620 method @NonNull public static <K, V> java.util.NavigableMap<K,V> checkedNavigableMap(@NonNull java.util.NavigableMap<K,V>, @NonNull Class<K>, @NonNull Class<V>); 13621 method @NonNull public static <E> java.util.NavigableSet<E> checkedNavigableSet(@NonNull java.util.NavigableSet<E>, @NonNull Class<E>); 13622 method @NonNull public static <E> java.util.Queue<E> checkedQueue(@NonNull java.util.Queue<E>, @NonNull Class<E>); 13623 method @NonNull public static <E> java.util.Set<E> checkedSet(@NonNull java.util.Set<E>, @NonNull Class<E>); 13624 method @NonNull public static <K, V> java.util.SortedMap<K,V> checkedSortedMap(@NonNull java.util.SortedMap<K,V>, @NonNull Class<K>, @NonNull Class<V>); 13625 method @NonNull public static <E> java.util.SortedSet<E> checkedSortedSet(@NonNull java.util.SortedSet<E>, @NonNull Class<E>); 13626 method public static <T> void copy(@NonNull java.util.List<? super T>, @NonNull java.util.List<? extends T>); 13627 method public static boolean disjoint(@NonNull java.util.Collection<?>, @NonNull java.util.Collection<?>); 13628 method @NonNull public static <T> java.util.Enumeration<T> emptyEnumeration(); 13629 method @NonNull public static <T> java.util.Iterator<T> emptyIterator(); 13630 method @NonNull public static final <T> java.util.List<T> emptyList(); 13631 method @NonNull public static <T> java.util.ListIterator<T> emptyListIterator(); 13632 method @NonNull public static final <K, V> java.util.Map<K,V> emptyMap(); 13633 method @NonNull public static final <K, V> java.util.NavigableMap<K,V> emptyNavigableMap(); 13634 method @NonNull public static <E> java.util.NavigableSet<E> emptyNavigableSet(); 13635 method @NonNull public static final <T> java.util.Set<T> emptySet(); 13636 method @NonNull public static final <K, V> java.util.SortedMap<K,V> emptySortedMap(); 13637 method @NonNull public static <E> java.util.SortedSet<E> emptySortedSet(); 13638 method @NonNull public static <T> java.util.Enumeration<T> enumeration(@NonNull java.util.Collection<T>); 13639 method public static <T> void fill(@NonNull java.util.List<? super T>, T); 13640 method public static int frequency(@NonNull java.util.Collection<?>, @Nullable Object); 13641 method public static int indexOfSubList(@NonNull java.util.List<?>, @NonNull java.util.List<?>); 13642 method public static int lastIndexOfSubList(@NonNull java.util.List<?>, @NonNull java.util.List<?>); 13643 method @NonNull public static <T> java.util.ArrayList<T> list(@NonNull java.util.Enumeration<T>); 13644 method @NonNull public static <T extends java.lang.Object & java.lang.Comparable<? super T>> T max(@NonNull java.util.Collection<? extends T>); 13645 method public static <T> T max(@NonNull java.util.Collection<? extends T>, @Nullable java.util.Comparator<? super T>); 13646 method @NonNull public static <T extends java.lang.Object & java.lang.Comparable<? super T>> T min(@NonNull java.util.Collection<? extends T>); 13647 method public static <T> T min(@NonNull java.util.Collection<? extends T>, @Nullable java.util.Comparator<? super T>); 13648 method @NonNull public static <T> java.util.List<T> nCopies(int, T); 13649 method @FlaggedApi("com.android.libcore.v_apis") @NonNull public static <E> java.util.SequencedSet<E> newSequencedSetFromMap(@NonNull java.util.SequencedMap<E,java.lang.Boolean>); 13650 method @NonNull public static <E> java.util.Set<E> newSetFromMap(@NonNull java.util.Map<E,java.lang.Boolean>); 13651 method public static <T> boolean replaceAll(@NonNull java.util.List<T>, T, T); 13652 method public static void reverse(@NonNull java.util.List<?>); 13653 method @NonNull public static <T> java.util.Comparator<T> reverseOrder(); 13654 method @NonNull public static <T> java.util.Comparator<T> reverseOrder(@Nullable java.util.Comparator<T>); 13655 method public static void rotate(@NonNull java.util.List<?>, int); 13656 method public static void shuffle(@NonNull java.util.List<?>); 13657 method public static void shuffle(@NonNull java.util.List<?>, @NonNull java.util.Random); 13658 method @FlaggedApi("com.android.libcore.v_apis") public static void shuffle(@NonNull java.util.List<?>, @NonNull java.util.random.RandomGenerator); 13659 method @NonNull public static <T> java.util.Set<T> singleton(T); 13660 method @NonNull public static <T> java.util.List<T> singletonList(T); 13661 method @NonNull public static <K, V> java.util.Map<K,V> singletonMap(K, V); 13662 method public static <T extends java.lang.Comparable<? super T>> void sort(@NonNull java.util.List<T>); 13663 method public static <T> void sort(@NonNull java.util.List<T>, @Nullable java.util.Comparator<? super T>); 13664 method public static void swap(@NonNull java.util.List<?>, int, int); 13665 method @NonNull public static <T> java.util.Collection<T> synchronizedCollection(@NonNull java.util.Collection<T>); 13666 method @NonNull public static <T> java.util.List<T> synchronizedList(@NonNull java.util.List<T>); 13667 method @NonNull public static <K, V> java.util.Map<K,V> synchronizedMap(@NonNull java.util.Map<K,V>); 13668 method @NonNull public static <K, V> java.util.NavigableMap<K,V> synchronizedNavigableMap(@NonNull java.util.NavigableMap<K,V>); 13669 method @NonNull public static <T> java.util.NavigableSet<T> synchronizedNavigableSet(@NonNull java.util.NavigableSet<T>); 13670 method @NonNull public static <T> java.util.Set<T> synchronizedSet(@NonNull java.util.Set<T>); 13671 method @NonNull public static <K, V> java.util.SortedMap<K,V> synchronizedSortedMap(@NonNull java.util.SortedMap<K,V>); 13672 method @NonNull public static <T> java.util.SortedSet<T> synchronizedSortedSet(@NonNull java.util.SortedSet<T>); 13673 method @NonNull public static <T> java.util.Collection<T> unmodifiableCollection(@NonNull java.util.Collection<? extends T>); 13674 method @NonNull public static <T> java.util.List<T> unmodifiableList(@NonNull java.util.List<? extends T>); 13675 method @NonNull public static <K, V> java.util.Map<K,V> unmodifiableMap(@NonNull java.util.Map<? extends K,? extends V>); 13676 method @NonNull public static <K, V> java.util.NavigableMap<K,V> unmodifiableNavigableMap(@NonNull java.util.NavigableMap<K,? extends V>); 13677 method @NonNull public static <T> java.util.NavigableSet<T> unmodifiableNavigableSet(@NonNull java.util.NavigableSet<T>); 13678 method @FlaggedApi("com.android.libcore.v_apis") @NonNull public static <T> java.util.SequencedCollection<T> unmodifiableSequencedCollection(@NonNull java.util.SequencedCollection<? extends T>); 13679 method @FlaggedApi("com.android.libcore.v_apis") @NonNull public static <K, V> java.util.SequencedMap<K,V> unmodifiableSequencedMap(@NonNull java.util.SequencedMap<? extends K,? extends V>); 13680 method @FlaggedApi("com.android.libcore.v_apis") @NonNull public static <T> java.util.SequencedSet<T> unmodifiableSequencedSet(@NonNull java.util.SequencedSet<? extends T>); 13681 method @NonNull public static <T> java.util.Set<T> unmodifiableSet(@NonNull java.util.Set<? extends T>); 13682 method @NonNull public static <K, V> java.util.SortedMap<K,V> unmodifiableSortedMap(@NonNull java.util.SortedMap<K,? extends V>); 13683 method @NonNull public static <T> java.util.SortedSet<T> unmodifiableSortedSet(@NonNull java.util.SortedSet<T>); 13684 field @NonNull public static final java.util.List EMPTY_LIST; 13685 field @NonNull public static final java.util.Map EMPTY_MAP; 13686 field @NonNull public static final java.util.Set EMPTY_SET; 13687 } 13688 13689 @java.lang.FunctionalInterface public interface Comparator<T> { 13690 method public int compare(T, T); 13691 method public static <T, U> java.util.Comparator<T> comparing(java.util.function.Function<? super T,? extends U>, java.util.Comparator<? super U>); 13692 method public static <T, U extends java.lang.Comparable<? super U>> java.util.Comparator<T> comparing(java.util.function.Function<? super T,? extends U>); 13693 method public static <T> java.util.Comparator<T> comparingDouble(java.util.function.ToDoubleFunction<? super T>); 13694 method public static <T> java.util.Comparator<T> comparingInt(java.util.function.ToIntFunction<? super T>); 13695 method public static <T> java.util.Comparator<T> comparingLong(java.util.function.ToLongFunction<? super T>); 13696 method public boolean equals(Object); 13697 method public static <T extends java.lang.Comparable<? super T>> java.util.Comparator<T> naturalOrder(); 13698 method public static <T> java.util.Comparator<T> nullsFirst(java.util.Comparator<? super T>); 13699 method public static <T> java.util.Comparator<T> nullsLast(java.util.Comparator<? super T>); 13700 method public static <T extends java.lang.Comparable<? super T>> java.util.Comparator<T> reverseOrder(); 13701 method public default java.util.Comparator<T> reversed(); 13702 method public default java.util.Comparator<T> thenComparing(java.util.Comparator<? super T>); 13703 method public default <U> java.util.Comparator<T> thenComparing(java.util.function.Function<? super T,? extends U>, java.util.Comparator<? super U>); 13704 method public default <U extends java.lang.Comparable<? super U>> java.util.Comparator<T> thenComparing(java.util.function.Function<? super T,? extends U>); 13705 method public default java.util.Comparator<T> thenComparingDouble(java.util.function.ToDoubleFunction<? super T>); 13706 method public default java.util.Comparator<T> thenComparingInt(java.util.function.ToIntFunction<? super T>); 13707 method public default java.util.Comparator<T> thenComparingLong(java.util.function.ToLongFunction<? super T>); 13708 } 13709 13710 public class ConcurrentModificationException extends java.lang.RuntimeException { 13711 ctor public ConcurrentModificationException(); 13712 ctor public ConcurrentModificationException(String); 13713 ctor public ConcurrentModificationException(Throwable); 13714 ctor public ConcurrentModificationException(String, Throwable); 13715 } 13716 13717 public final class Currency implements java.io.Serializable { 13718 method public static java.util.Set<java.util.Currency> getAvailableCurrencies(); 13719 method public String getCurrencyCode(); 13720 method public int getDefaultFractionDigits(); 13721 method public String getDisplayName(); 13722 method public String getDisplayName(java.util.Locale); 13723 method public static java.util.Currency getInstance(String); 13724 method public static java.util.Currency getInstance(java.util.Locale); 13725 method public int getNumericCode(); 13726 method public String getNumericCodeAsString(); 13727 method public String getSymbol(); 13728 method public String getSymbol(java.util.Locale); 13729 } 13730 13731 public class Date implements java.lang.Cloneable java.lang.Comparable<java.util.Date> java.io.Serializable { 13732 ctor public Date(); 13733 ctor public Date(long); 13734 ctor @Deprecated public Date(int, int, int); 13735 ctor @Deprecated public Date(int, int, int, int, int); 13736 ctor @Deprecated public Date(int, int, int, int, int, int); 13737 ctor @Deprecated public Date(String); 13738 method @Deprecated public static long UTC(int, int, int, int, int, int); 13739 method public boolean after(java.util.Date); 13740 method public boolean before(java.util.Date); 13741 method public Object clone(); 13742 method public int compareTo(java.util.Date); 13743 method public static java.util.Date from(java.time.Instant); 13744 method @Deprecated public int getDate(); 13745 method @Deprecated public int getDay(); 13746 method @Deprecated public int getHours(); 13747 method @Deprecated public int getMinutes(); 13748 method @Deprecated public int getMonth(); 13749 method @Deprecated public int getSeconds(); 13750 method public long getTime(); 13751 method @Deprecated public int getTimezoneOffset(); 13752 method @Deprecated public int getYear(); 13753 method @Deprecated public static long parse(String); 13754 method @Deprecated public void setDate(int); 13755 method @Deprecated public void setHours(int); 13756 method @Deprecated public void setMinutes(int); 13757 method @Deprecated public void setMonth(int); 13758 method @Deprecated public void setSeconds(int); 13759 method public void setTime(long); 13760 method @Deprecated public void setYear(int); 13761 method @Deprecated public String toGMTString(); 13762 method public java.time.Instant toInstant(); 13763 method @Deprecated public String toLocaleString(); 13764 } 13765 13766 public interface Deque<E> extends java.util.Queue<E> java.util.SequencedCollection<E> { 13767 method @FlaggedApi("com.android.libcore.v_apis") public boolean add(E); 13768 method public void addFirst(E); 13769 method public void addLast(E); 13770 method @NonNull public java.util.Iterator<E> descendingIterator(); 13771 method public E getFirst(); 13772 method public E getLast(); 13773 method public boolean offerFirst(E); 13774 method public boolean offerLast(E); 13775 method @Nullable public E peekFirst(); 13776 method @Nullable public E peekLast(); 13777 method @Nullable public E pollFirst(); 13778 method @Nullable public E pollLast(); 13779 method public E pop(); 13780 method public void push(E); 13781 method public E removeFirst(); 13782 method public boolean removeFirstOccurrence(@Nullable Object); 13783 method public E removeLast(); 13784 method public boolean removeLastOccurrence(@Nullable Object); 13785 method @FlaggedApi("com.android.libcore.v_apis") @NonNull public default java.util.Deque<E> reversed(); 13786 } 13787 13788 public abstract class Dictionary<K, V> { 13789 ctor public Dictionary(); 13790 method public abstract java.util.Enumeration<V> elements(); 13791 method public abstract V get(Object); 13792 method public abstract boolean isEmpty(); 13793 method public abstract java.util.Enumeration<K> keys(); 13794 method public abstract V put(K, V); 13795 method public abstract V remove(Object); 13796 method public abstract int size(); 13797 } 13798 13799 public class DoubleSummaryStatistics implements java.util.function.DoubleConsumer { 13800 ctor public DoubleSummaryStatistics(); 13801 ctor public DoubleSummaryStatistics(long, double, double, double) throws java.lang.IllegalArgumentException; 13802 method public void accept(double); 13803 method public void combine(java.util.DoubleSummaryStatistics); 13804 method public final double getAverage(); 13805 method public final long getCount(); 13806 method public final double getMax(); 13807 method public final double getMin(); 13808 method public final double getSum(); 13809 } 13810 13811 public class DuplicateFormatFlagsException extends java.util.IllegalFormatException { 13812 ctor public DuplicateFormatFlagsException(String); 13813 method public String getFlags(); 13814 } 13815 13816 public class EmptyStackException extends java.lang.RuntimeException { 13817 ctor public EmptyStackException(); 13818 } 13819 13820 public class EnumMap<K extends java.lang.Enum<K>, V> extends java.util.AbstractMap<K,V> implements java.lang.Cloneable java.io.Serializable { 13821 ctor public EnumMap(Class<K>); 13822 ctor public EnumMap(java.util.EnumMap<K,? extends V>); 13823 ctor public EnumMap(java.util.Map<K,? extends V>); 13824 method public java.util.EnumMap<K,V> clone(); 13825 method public java.util.Set<java.util.Map.Entry<K,V>> entrySet(); 13826 method public V put(K, V); 13827 } 13828 13829 public abstract class EnumSet<E extends java.lang.Enum<E>> extends java.util.AbstractSet<E> implements java.lang.Cloneable java.io.Serializable { 13830 method public static <E extends java.lang.Enum<E>> java.util.EnumSet<E> allOf(Class<E>); 13831 method public java.util.EnumSet<E> clone(); 13832 method public static <E extends java.lang.Enum<E>> java.util.EnumSet<E> complementOf(java.util.EnumSet<E>); 13833 method public static <E extends java.lang.Enum<E>> java.util.EnumSet<E> copyOf(java.util.EnumSet<E>); 13834 method public static <E extends java.lang.Enum<E>> java.util.EnumSet<E> copyOf(java.util.Collection<E>); 13835 method public static <E extends java.lang.Enum<E>> java.util.EnumSet<E> noneOf(Class<E>); 13836 method public static <E extends java.lang.Enum<E>> java.util.EnumSet<E> of(E); 13837 method public static <E extends java.lang.Enum<E>> java.util.EnumSet<E> of(E, E); 13838 method public static <E extends java.lang.Enum<E>> java.util.EnumSet<E> of(E, E, E); 13839 method public static <E extends java.lang.Enum<E>> java.util.EnumSet<E> of(E, E, E, E); 13840 method public static <E extends java.lang.Enum<E>> java.util.EnumSet<E> of(E, E, E, E, E); 13841 method @java.lang.SafeVarargs public static <E extends java.lang.Enum<E>> java.util.EnumSet<E> of(E, E...); 13842 method public static <E extends java.lang.Enum<E>> java.util.EnumSet<E> range(E, E); 13843 } 13844 13845 public interface Enumeration<E> { 13846 method public default java.util.Iterator<E> asIterator(); 13847 method public boolean hasMoreElements(); 13848 method public E nextElement(); 13849 } 13850 13851 public interface EventListener { 13852 } 13853 13854 public abstract class EventListenerProxy<T extends java.util.EventListener> implements java.util.EventListener { 13855 ctor public EventListenerProxy(T); 13856 method public T getListener(); 13857 } 13858 13859 public class EventObject implements java.io.Serializable { 13860 ctor public EventObject(Object); 13861 method public Object getSource(); 13862 field protected transient Object source; 13863 } 13864 13865 public class FormatFlagsConversionMismatchException extends java.util.IllegalFormatException { 13866 ctor public FormatFlagsConversionMismatchException(String, char); 13867 method public char getConversion(); 13868 method public String getFlags(); 13869 } 13870 13871 public interface Formattable { 13872 method public void formatTo(java.util.Formatter, int, int, int); 13873 } 13874 13875 public class FormattableFlags { 13876 field public static final int ALTERNATE = 4; // 0x4 13877 field public static final int LEFT_JUSTIFY = 1; // 0x1 13878 field public static final int UPPERCASE = 2; // 0x2 13879 } 13880 13881 public final class Formatter implements java.io.Closeable java.io.Flushable { 13882 ctor public Formatter(); 13883 ctor public Formatter(Appendable); 13884 ctor public Formatter(java.util.Locale); 13885 ctor public Formatter(Appendable, java.util.Locale); 13886 ctor public Formatter(String) throws java.io.FileNotFoundException; 13887 ctor public Formatter(String, String) throws java.io.FileNotFoundException, java.io.UnsupportedEncodingException; 13888 ctor public Formatter(String, String, java.util.Locale) throws java.io.FileNotFoundException, java.io.UnsupportedEncodingException; 13889 ctor public Formatter(String, java.nio.charset.Charset, java.util.Locale) throws java.io.IOException; 13890 ctor public Formatter(java.io.File) throws java.io.FileNotFoundException; 13891 ctor public Formatter(java.io.File, String) throws java.io.FileNotFoundException, java.io.UnsupportedEncodingException; 13892 ctor public Formatter(java.io.File, String, java.util.Locale) throws java.io.FileNotFoundException, java.io.UnsupportedEncodingException; 13893 ctor public Formatter(java.io.File, java.nio.charset.Charset, java.util.Locale) throws java.io.IOException; 13894 ctor public Formatter(java.io.PrintStream); 13895 ctor public Formatter(java.io.OutputStream); 13896 ctor public Formatter(java.io.OutputStream, String) throws java.io.UnsupportedEncodingException; 13897 ctor public Formatter(java.io.OutputStream, String, java.util.Locale) throws java.io.UnsupportedEncodingException; 13898 ctor public Formatter(java.io.OutputStream, java.nio.charset.Charset, java.util.Locale); 13899 method public void close(); 13900 method public void flush(); 13901 method public java.util.Formatter format(String, java.lang.Object...); 13902 method public java.util.Formatter format(java.util.Locale, String, java.lang.Object...); 13903 method public java.io.IOException ioException(); 13904 method public java.util.Locale locale(); 13905 method public Appendable out(); 13906 } 13907 13908 public enum Formatter.BigDecimalLayoutForm { 13909 enum_constant public static final java.util.Formatter.BigDecimalLayoutForm DECIMAL_FLOAT; 13910 enum_constant public static final java.util.Formatter.BigDecimalLayoutForm SCIENTIFIC; 13911 } 13912 13913 public class FormatterClosedException extends java.lang.IllegalStateException { 13914 ctor public FormatterClosedException(); 13915 } 13916 13917 public class GregorianCalendar extends java.util.Calendar { 13918 ctor public GregorianCalendar(); 13919 ctor public GregorianCalendar(java.util.TimeZone); 13920 ctor public GregorianCalendar(java.util.Locale); 13921 ctor public GregorianCalendar(java.util.TimeZone, java.util.Locale); 13922 ctor public GregorianCalendar(int, int, int); 13923 ctor public GregorianCalendar(int, int, int, int, int); 13924 ctor public GregorianCalendar(int, int, int, int, int, int); 13925 method public void add(int, int); 13926 method protected void computeFields(); 13927 method protected void computeTime(); 13928 method public static java.util.GregorianCalendar from(java.time.ZonedDateTime); 13929 method public int getGreatestMinimum(int); 13930 method public final java.util.Date getGregorianChange(); 13931 method public int getLeastMaximum(int); 13932 method public int getMaximum(int); 13933 method public int getMinimum(int); 13934 method public boolean isLeapYear(int); 13935 method public final boolean isWeekDateSupported(); 13936 method public void roll(int, boolean); 13937 method public void setGregorianChange(java.util.Date); 13938 method public java.time.ZonedDateTime toZonedDateTime(); 13939 field public static final int AD = 1; // 0x1 13940 field public static final int BC = 0; // 0x0 13941 } 13942 13943 public class HashMap<K, V> extends java.util.AbstractMap<K,V> implements java.lang.Cloneable java.util.Map<K,V> java.io.Serializable { 13944 ctor public HashMap(int, float); 13945 ctor public HashMap(int); 13946 ctor public HashMap(); 13947 ctor public HashMap(@NonNull java.util.Map<? extends K,? extends V>); 13948 method @NonNull public Object clone(); 13949 method @Nullable public V compute(K, @NonNull java.util.function.BiFunction<? super K,? super V,? extends V>); 13950 method @Nullable public V computeIfAbsent(K, @NonNull java.util.function.Function<? super K,? extends V>); 13951 method @Nullable public V computeIfPresent(K, @NonNull java.util.function.BiFunction<? super K,? super V,? extends V>); 13952 method @NonNull public java.util.Set<java.util.Map.Entry<K,V>> entrySet(); 13953 method public void forEach(@NonNull java.util.function.BiConsumer<? super K,? super V>); 13954 method @Nullable public V getOrDefault(@Nullable Object, @Nullable V); 13955 method @Nullable public V merge(K, @NonNull V, @NonNull java.util.function.BiFunction<? super V,? super V,? extends V>); 13956 method @FlaggedApi("com.android.libcore.v_apis") @NonNull public static <K, V> java.util.HashMap<K,V> newHashMap(int); 13957 method @Nullable public V putIfAbsent(K, V); 13958 method public boolean remove(@Nullable Object, @Nullable Object); 13959 method public boolean replace(K, @Nullable V, V); 13960 method @Nullable public V replace(K, V); 13961 method public void replaceAll(@NonNull java.util.function.BiFunction<? super K,? super V,? extends V>); 13962 } 13963 13964 public class HashSet<E> extends java.util.AbstractSet<E> implements java.lang.Cloneable java.io.Serializable java.util.Set<E> { 13965 ctor public HashSet(); 13966 ctor public HashSet(@NonNull java.util.Collection<? extends E>); 13967 ctor public HashSet(int, float); 13968 ctor public HashSet(int); 13969 method @NonNull public Object clone(); 13970 method @NonNull public java.util.Iterator<E> iterator(); 13971 method @FlaggedApi("com.android.libcore.v_apis") @NonNull public static <T> java.util.HashSet<T> newHashSet(int); 13972 method public int size(); 13973 method @NonNull public java.util.Spliterator<E> spliterator(); 13974 } 13975 13976 public class Hashtable<K, V> extends java.util.Dictionary<K,V> implements java.lang.Cloneable java.util.Map<K,V> java.io.Serializable { 13977 ctor public Hashtable(int, float); 13978 ctor public Hashtable(int); 13979 ctor public Hashtable(); 13980 ctor public Hashtable(java.util.Map<? extends K,? extends V>); 13981 method public void clear(); 13982 method public Object clone(); 13983 method public V compute(K, java.util.function.BiFunction<? super K,? super V,? extends V>); 13984 method public V computeIfAbsent(K, java.util.function.Function<? super K,? extends V>); 13985 method public V computeIfPresent(K, java.util.function.BiFunction<? super K,? super V,? extends V>); 13986 method public boolean contains(Object); 13987 method public boolean containsKey(Object); 13988 method public boolean containsValue(Object); 13989 method public java.util.Enumeration<V> elements(); 13990 method public java.util.Set<java.util.Map.Entry<K,V>> entrySet(); 13991 method public boolean equals(Object); 13992 method public void forEach(java.util.function.BiConsumer<? super K,? super V>); 13993 method public V get(Object); 13994 method public V getOrDefault(Object, V); 13995 method public int hashCode(); 13996 method public boolean isEmpty(); 13997 method public java.util.Set<K> keySet(); 13998 method public java.util.Enumeration<K> keys(); 13999 method public V merge(K, V, java.util.function.BiFunction<? super V,? super V,? extends V>); 14000 method public V put(K, V); 14001 method public void putAll(java.util.Map<? extends K,? extends V>); 14002 method public V putIfAbsent(K, V); 14003 method protected void rehash(); 14004 method public V remove(Object); 14005 method public boolean remove(Object, Object); 14006 method public boolean replace(K, V, V); 14007 method public V replace(K, V); 14008 method public void replaceAll(java.util.function.BiFunction<? super K,? super V,? extends V>); 14009 method public int size(); 14010 method public java.util.Collection<V> values(); 14011 } 14012 14013 public final class HexFormat { 14014 method public String delimiter(); 14015 method public String formatHex(byte[]); 14016 method public String formatHex(byte[], int, int); 14017 method public <A extends java.lang.Appendable> A formatHex(A, byte[]); 14018 method public <A extends java.lang.Appendable> A formatHex(A, byte[], int, int); 14019 method public static int fromHexDigit(int); 14020 method public static int fromHexDigits(CharSequence); 14021 method public static int fromHexDigits(CharSequence, int, int); 14022 method public static long fromHexDigitsToLong(CharSequence); 14023 method public static long fromHexDigitsToLong(CharSequence, int, int); 14024 method public static boolean isHexDigit(int); 14025 method public boolean isUpperCase(); 14026 method public static java.util.HexFormat of(); 14027 method public static java.util.HexFormat ofDelimiter(String); 14028 method public byte[] parseHex(CharSequence); 14029 method public byte[] parseHex(CharSequence, int, int); 14030 method public byte[] parseHex(char[], int, int); 14031 method public String prefix(); 14032 method public String suffix(); 14033 method public <A extends java.lang.Appendable> A toHexDigits(A, byte); 14034 method public String toHexDigits(byte); 14035 method public String toHexDigits(char); 14036 method public String toHexDigits(short); 14037 method public String toHexDigits(int); 14038 method public String toHexDigits(long); 14039 method public String toHexDigits(long, int); 14040 method public char toHighHexDigit(int); 14041 method public char toLowHexDigit(int); 14042 method public java.util.HexFormat withDelimiter(String); 14043 method public java.util.HexFormat withLowerCase(); 14044 method public java.util.HexFormat withPrefix(String); 14045 method public java.util.HexFormat withSuffix(String); 14046 method public java.util.HexFormat withUpperCase(); 14047 } 14048 14049 public class IdentityHashMap<K, V> extends java.util.AbstractMap<K,V> implements java.lang.Cloneable java.util.Map<K,V> java.io.Serializable { 14050 ctor public IdentityHashMap(); 14051 ctor public IdentityHashMap(int); 14052 ctor public IdentityHashMap(java.util.Map<? extends K,? extends V>); 14053 method public Object clone(); 14054 method public java.util.Set<java.util.Map.Entry<K,V>> entrySet(); 14055 method public void forEach(java.util.function.BiConsumer<? super K,? super V>); 14056 method public void replaceAll(java.util.function.BiFunction<? super K,? super V,? extends V>); 14057 } 14058 14059 public class IllegalFormatCodePointException extends java.util.IllegalFormatException { 14060 ctor public IllegalFormatCodePointException(int); 14061 method public int getCodePoint(); 14062 } 14063 14064 public class IllegalFormatConversionException extends java.util.IllegalFormatException { 14065 ctor public IllegalFormatConversionException(char, Class<?>); 14066 method public Class<?> getArgumentClass(); 14067 method public char getConversion(); 14068 } 14069 14070 public class IllegalFormatException extends java.lang.IllegalArgumentException { 14071 } 14072 14073 public class IllegalFormatFlagsException extends java.util.IllegalFormatException { 14074 ctor public IllegalFormatFlagsException(String); 14075 method public String getFlags(); 14076 } 14077 14078 public class IllegalFormatPrecisionException extends java.util.IllegalFormatException { 14079 ctor public IllegalFormatPrecisionException(int); 14080 method public int getPrecision(); 14081 } 14082 14083 public class IllegalFormatWidthException extends java.util.IllegalFormatException { 14084 ctor public IllegalFormatWidthException(int); 14085 method public int getWidth(); 14086 } 14087 14088 public class IllformedLocaleException extends java.lang.RuntimeException { 14089 ctor public IllformedLocaleException(); 14090 ctor public IllformedLocaleException(String); 14091 ctor public IllformedLocaleException(String, int); 14092 method public int getErrorIndex(); 14093 } 14094 14095 public class InputMismatchException extends java.util.NoSuchElementException { 14096 ctor public InputMismatchException(); 14097 ctor public InputMismatchException(String); 14098 } 14099 14100 public class IntSummaryStatistics implements java.util.function.IntConsumer { 14101 ctor public IntSummaryStatistics(); 14102 ctor public IntSummaryStatistics(long, int, int, long) throws java.lang.IllegalArgumentException; 14103 method public void accept(int); 14104 method public void combine(java.util.IntSummaryStatistics); 14105 method public final double getAverage(); 14106 method public final long getCount(); 14107 method public final int getMax(); 14108 method public final int getMin(); 14109 method public final long getSum(); 14110 } 14111 14112 public class InvalidPropertiesFormatException extends java.io.IOException { 14113 ctor public InvalidPropertiesFormatException(Throwable); 14114 ctor public InvalidPropertiesFormatException(String); 14115 } 14116 14117 public interface Iterator<E> { 14118 method public default void forEachRemaining(@NonNull java.util.function.Consumer<? super E>); 14119 method public boolean hasNext(); 14120 method public E next(); 14121 method public default void remove(); 14122 } 14123 14124 public class LinkedHashMap<K, V> extends java.util.HashMap<K,V> implements java.util.Map<K,V> java.util.SequencedMap<K,V> { 14125 ctor public LinkedHashMap(int, float); 14126 ctor public LinkedHashMap(int); 14127 ctor public LinkedHashMap(); 14128 ctor public LinkedHashMap(java.util.Map<? extends K,? extends V>); 14129 ctor public LinkedHashMap(int, float, boolean); 14130 method @FlaggedApi("com.android.libcore.v_apis") public static <K, V> java.util.LinkedHashMap<K,V> newLinkedHashMap(int); 14131 method @FlaggedApi("com.android.libcore.v_apis") public V putFirst(K, V); 14132 method @FlaggedApi("com.android.libcore.v_apis") public V putLast(K, V); 14133 method protected boolean removeEldestEntry(java.util.Map.Entry<K,V>); 14134 method @FlaggedApi("com.android.libcore.v_apis") public java.util.SequencedMap<K,V> reversed(); 14135 method @FlaggedApi("com.android.libcore.v_apis") public java.util.SequencedSet<java.util.Map.Entry<K,V>> sequencedEntrySet(); 14136 method @FlaggedApi("com.android.libcore.v_apis") public java.util.SequencedSet<K> sequencedKeySet(); 14137 method @FlaggedApi("com.android.libcore.v_apis") public java.util.SequencedCollection<V> sequencedValues(); 14138 } 14139 14140 public class LinkedHashSet<E> extends java.util.HashSet<E> implements java.lang.Cloneable java.util.SequencedSet<E> java.io.Serializable java.util.Set<E> { 14141 ctor public LinkedHashSet(int, float); 14142 ctor public LinkedHashSet(int); 14143 ctor public LinkedHashSet(); 14144 ctor public LinkedHashSet(java.util.Collection<? extends E>); 14145 method @FlaggedApi("com.android.libcore.v_apis") public void addFirst(E); 14146 method @FlaggedApi("com.android.libcore.v_apis") public void addLast(E); 14147 method @FlaggedApi("com.android.libcore.v_apis") public E getFirst(); 14148 method @FlaggedApi("com.android.libcore.v_apis") public E getLast(); 14149 method @FlaggedApi("com.android.libcore.v_apis") public static <T> java.util.LinkedHashSet<T> newLinkedHashSet(int); 14150 method @FlaggedApi("com.android.libcore.v_apis") public E removeFirst(); 14151 method @FlaggedApi("com.android.libcore.v_apis") public E removeLast(); 14152 method @FlaggedApi("com.android.libcore.v_apis") public java.util.SequencedSet<E> reversed(); 14153 } 14154 14155 public class LinkedList<E> extends java.util.AbstractSequentialList<E> implements java.lang.Cloneable java.util.Deque<E> java.util.List<E> java.io.Serializable { 14156 ctor public LinkedList(); 14157 ctor public LinkedList(@NonNull java.util.Collection<? extends E>); 14158 method public void addFirst(E); 14159 method public void addLast(E); 14160 method @NonNull public Object clone(); 14161 method @NonNull public java.util.Iterator<E> descendingIterator(); 14162 method public E element(); 14163 method public E getFirst(); 14164 method public E getLast(); 14165 method @NonNull public java.util.ListIterator<E> listIterator(int); 14166 method public boolean offer(E); 14167 method public boolean offerFirst(E); 14168 method public boolean offerLast(E); 14169 method @Nullable public E peek(); 14170 method @Nullable public E peekFirst(); 14171 method @Nullable public E peekLast(); 14172 method @Nullable public E poll(); 14173 method @Nullable public E pollFirst(); 14174 method @Nullable public E pollLast(); 14175 method public E pop(); 14176 method public void push(E); 14177 method public E remove(); 14178 method public E removeFirst(); 14179 method public boolean removeFirstOccurrence(@Nullable Object); 14180 method public E removeLast(); 14181 method public boolean removeLastOccurrence(@Nullable Object); 14182 method @FlaggedApi("com.android.libcore.v_apis") @NonNull public java.util.LinkedList<E> reversed(); 14183 method public int size(); 14184 method @NonNull public java.util.Spliterator<E> spliterator(); 14185 } 14186 14187 public interface List<E> extends java.util.SequencedCollection<E> java.util.Collection<E> { 14188 method public void add(int, E); 14189 method public boolean addAll(int, @NonNull java.util.Collection<? extends E>); 14190 method @NonNull public static <E> java.util.List<E> copyOf(@NonNull java.util.Collection<? extends E>); 14191 method public E get(int); 14192 method public int indexOf(@Nullable Object); 14193 method public int lastIndexOf(@Nullable Object); 14194 method @NonNull public java.util.ListIterator<E> listIterator(); 14195 method @NonNull public java.util.ListIterator<E> listIterator(int); 14196 method @NonNull public static <E> java.util.List<E> of(); 14197 method @NonNull public static <E> java.util.List<E> of(@NonNull E); 14198 method @NonNull public static <E> java.util.List<E> of(@NonNull E, @NonNull E); 14199 method @NonNull public static <E> java.util.List<E> of(@NonNull E, @NonNull E, @NonNull E); 14200 method @NonNull public static <E> java.util.List<E> of(@NonNull E, @NonNull E, @NonNull E, @NonNull E); 14201 method @NonNull public static <E> java.util.List<E> of(@NonNull E, @NonNull E, @NonNull E, @NonNull E, @NonNull E); 14202 method @NonNull public static <E> java.util.List<E> of(@NonNull E, @NonNull E, @NonNull E, @NonNull E, @NonNull E, @NonNull E); 14203 method @NonNull public static <E> java.util.List<E> of(@NonNull E, @NonNull E, @NonNull E, @NonNull E, @NonNull E, @NonNull E, @NonNull E); 14204 method @NonNull public static <E> java.util.List<E> of(@NonNull E, @NonNull E, @NonNull E, @NonNull E, @NonNull E, @NonNull E, @NonNull E, @NonNull E); 14205 method @NonNull public static <E> java.util.List<E> of(@NonNull E, @NonNull E, @NonNull E, @NonNull E, @NonNull E, @NonNull E, @NonNull E, @NonNull E, @NonNull E); 14206 method @NonNull public static <E> java.util.List<E> of(@NonNull E, @NonNull E, @NonNull E, @NonNull E, @NonNull E, @NonNull E, @NonNull E, @NonNull E, @NonNull E, @NonNull E); 14207 method @NonNull @java.lang.SafeVarargs public static <E> java.util.List<E> of(@NonNull E...); 14208 method public E remove(int); 14209 method public default void replaceAll(@NonNull java.util.function.UnaryOperator<E>); 14210 method @FlaggedApi("com.android.libcore.v_apis") @NonNull public default java.util.List<E> reversed(); 14211 method public E set(int, E); 14212 method public default void sort(@Nullable java.util.Comparator<? super E>); 14213 method @NonNull public java.util.List<E> subList(int, int); 14214 } 14215 14216 public interface ListIterator<E> extends java.util.Iterator<E> { 14217 method public void add(E); 14218 method public boolean hasPrevious(); 14219 method public int nextIndex(); 14220 method public E previous(); 14221 method public int previousIndex(); 14222 method public void remove(); 14223 method public void set(E); 14224 } 14225 14226 public abstract class ListResourceBundle extends java.util.ResourceBundle { 14227 ctor public ListResourceBundle(); 14228 method protected abstract Object[][] getContents(); 14229 method public java.util.Enumeration<java.lang.String> getKeys(); 14230 method public final Object handleGetObject(String); 14231 } 14232 14233 public final class Locale implements java.lang.Cloneable java.io.Serializable { 14234 ctor public Locale(@NonNull String, @NonNull String, @NonNull String); 14235 ctor public Locale(@NonNull String, @NonNull String); 14236 ctor public Locale(@NonNull String); 14237 method @NonNull public Object clone(); 14238 method @NonNull public static java.util.List<java.util.Locale> filter(@NonNull java.util.List<java.util.Locale.LanguageRange>, @NonNull java.util.Collection<java.util.Locale>, @NonNull java.util.Locale.FilteringMode); 14239 method @NonNull public static java.util.List<java.util.Locale> filter(@NonNull java.util.List<java.util.Locale.LanguageRange>, @NonNull java.util.Collection<java.util.Locale>); 14240 method @NonNull public static java.util.List<java.lang.String> filterTags(@NonNull java.util.List<java.util.Locale.LanguageRange>, @NonNull java.util.Collection<java.lang.String>, @NonNull java.util.Locale.FilteringMode); 14241 method @NonNull public static java.util.List<java.lang.String> filterTags(@NonNull java.util.List<java.util.Locale.LanguageRange>, @NonNull java.util.Collection<java.lang.String>); 14242 method @NonNull public static java.util.Locale forLanguageTag(@NonNull String); 14243 method @NonNull public static java.util.Locale[] getAvailableLocales(); 14244 method @NonNull public String getCountry(); 14245 method @NonNull public static java.util.Locale getDefault(); 14246 method @NonNull public static java.util.Locale getDefault(@NonNull java.util.Locale.Category); 14247 method @NonNull public String getDisplayCountry(); 14248 method @NonNull public String getDisplayCountry(@NonNull java.util.Locale); 14249 method @NonNull public String getDisplayLanguage(); 14250 method @NonNull public String getDisplayLanguage(@NonNull java.util.Locale); 14251 method @NonNull public String getDisplayName(); 14252 method @NonNull public String getDisplayName(@NonNull java.util.Locale); 14253 method @NonNull public String getDisplayScript(); 14254 method @NonNull public String getDisplayScript(@NonNull java.util.Locale); 14255 method @NonNull public String getDisplayVariant(); 14256 method @NonNull public String getDisplayVariant(@NonNull java.util.Locale); 14257 method @Nullable public String getExtension(char); 14258 method @NonNull public java.util.Set<java.lang.Character> getExtensionKeys(); 14259 method @NonNull public String getISO3Country() throws java.util.MissingResourceException; 14260 method @NonNull public String getISO3Language() throws java.util.MissingResourceException; 14261 method @NonNull public static String[] getISOCountries(); 14262 method @NonNull public static java.util.Set<java.lang.String> getISOCountries(@NonNull java.util.Locale.IsoCountryCode); 14263 method @NonNull public static String[] getISOLanguages(); 14264 method @NonNull public String getLanguage(); 14265 method @NonNull public String getScript(); 14266 method @NonNull public java.util.Set<java.lang.String> getUnicodeLocaleAttributes(); 14267 method @NonNull public java.util.Set<java.lang.String> getUnicodeLocaleKeys(); 14268 method @Nullable public String getUnicodeLocaleType(@NonNull String); 14269 method @NonNull public String getVariant(); 14270 method public boolean hasExtensions(); 14271 method @Nullable public static java.util.Locale lookup(@NonNull java.util.List<java.util.Locale.LanguageRange>, @NonNull java.util.Collection<java.util.Locale>); 14272 method @Nullable public static String lookupTag(@NonNull java.util.List<java.util.Locale.LanguageRange>, @NonNull java.util.Collection<java.lang.String>); 14273 method public static void setDefault(@NonNull java.util.Locale); 14274 method public static void setDefault(@NonNull java.util.Locale.Category, @NonNull java.util.Locale); 14275 method @NonNull public java.util.Locale stripExtensions(); 14276 method @NonNull public String toLanguageTag(); 14277 field @NonNull public static final java.util.Locale CANADA; 14278 field @NonNull public static final java.util.Locale CANADA_FRENCH; 14279 field @NonNull public static final java.util.Locale CHINA; 14280 field @NonNull public static final java.util.Locale CHINESE; 14281 field @NonNull public static final java.util.Locale ENGLISH; 14282 field @NonNull public static final java.util.Locale FRANCE; 14283 field @NonNull public static final java.util.Locale FRENCH; 14284 field @NonNull public static final java.util.Locale GERMAN; 14285 field @NonNull public static final java.util.Locale GERMANY; 14286 field @NonNull public static final java.util.Locale ITALIAN; 14287 field @NonNull public static final java.util.Locale ITALY; 14288 field @NonNull public static final java.util.Locale JAPAN; 14289 field @NonNull public static final java.util.Locale JAPANESE; 14290 field @NonNull public static final java.util.Locale KOREA; 14291 field @NonNull public static final java.util.Locale KOREAN; 14292 field @NonNull public static final java.util.Locale PRC; 14293 field public static final char PRIVATE_USE_EXTENSION = 120; // 0x0078 'x' 14294 field @NonNull public static final java.util.Locale ROOT; 14295 field @NonNull public static final java.util.Locale SIMPLIFIED_CHINESE; 14296 field @NonNull public static final java.util.Locale TAIWAN; 14297 field @NonNull public static final java.util.Locale TRADITIONAL_CHINESE; 14298 field @NonNull public static final java.util.Locale UK; 14299 field public static final char UNICODE_LOCALE_EXTENSION = 117; // 0x0075 'u' 14300 field @NonNull public static final java.util.Locale US; 14301 } 14302 14303 public static final class Locale.Builder { 14304 ctor public Locale.Builder(); 14305 method @NonNull public java.util.Locale.Builder addUnicodeLocaleAttribute(@NonNull String); 14306 method @NonNull public java.util.Locale build(); 14307 method @NonNull public java.util.Locale.Builder clear(); 14308 method @NonNull public java.util.Locale.Builder clearExtensions(); 14309 method @NonNull public java.util.Locale.Builder removeUnicodeLocaleAttribute(@NonNull String); 14310 method @NonNull public java.util.Locale.Builder setExtension(char, @Nullable String); 14311 method @NonNull public java.util.Locale.Builder setLanguage(@Nullable String); 14312 method @NonNull public java.util.Locale.Builder setLanguageTag(@NonNull String); 14313 method @NonNull public java.util.Locale.Builder setLocale(@NonNull java.util.Locale); 14314 method @NonNull public java.util.Locale.Builder setRegion(@Nullable String); 14315 method @NonNull public java.util.Locale.Builder setScript(@Nullable String); 14316 method @NonNull public java.util.Locale.Builder setUnicodeLocaleKeyword(@NonNull String, @Nullable String); 14317 method @NonNull public java.util.Locale.Builder setVariant(@Nullable String); 14318 } 14319 14320 public enum Locale.Category { 14321 enum_constant public static final java.util.Locale.Category DISPLAY; 14322 enum_constant public static final java.util.Locale.Category FORMAT; 14323 } 14324 14325 public enum Locale.FilteringMode { 14326 enum_constant public static final java.util.Locale.FilteringMode AUTOSELECT_FILTERING; 14327 enum_constant public static final java.util.Locale.FilteringMode EXTENDED_FILTERING; 14328 enum_constant public static final java.util.Locale.FilteringMode IGNORE_EXTENDED_RANGES; 14329 enum_constant public static final java.util.Locale.FilteringMode MAP_EXTENDED_RANGES; 14330 enum_constant public static final java.util.Locale.FilteringMode REJECT_EXTENDED_RANGES; 14331 } 14332 14333 public enum Locale.IsoCountryCode { 14334 enum_constant public static final java.util.Locale.IsoCountryCode PART1_ALPHA2; 14335 enum_constant public static final java.util.Locale.IsoCountryCode PART1_ALPHA3; 14336 enum_constant public static final java.util.Locale.IsoCountryCode PART3; 14337 } 14338 14339 public static final class Locale.LanguageRange { 14340 ctor public Locale.LanguageRange(@NonNull String); 14341 ctor public Locale.LanguageRange(@NonNull String, double); 14342 method @NonNull public String getRange(); 14343 method public double getWeight(); 14344 method @NonNull public static java.util.List<java.util.Locale.LanguageRange> mapEquivalents(@NonNull java.util.List<java.util.Locale.LanguageRange>, @NonNull java.util.Map<java.lang.String,java.util.List<java.lang.String>>); 14345 method @NonNull public static java.util.List<java.util.Locale.LanguageRange> parse(@NonNull String); 14346 method @NonNull public static java.util.List<java.util.Locale.LanguageRange> parse(@NonNull String, @NonNull java.util.Map<java.lang.String,java.util.List<java.lang.String>>); 14347 field public static final double MAX_WEIGHT = 1.0; 14348 field public static final double MIN_WEIGHT = 0.0; 14349 } 14350 14351 public class LongSummaryStatistics implements java.util.function.IntConsumer java.util.function.LongConsumer { 14352 ctor public LongSummaryStatistics(); 14353 ctor public LongSummaryStatistics(long, long, long, long) throws java.lang.IllegalArgumentException; 14354 method public void accept(int); 14355 method public void accept(long); 14356 method public void combine(java.util.LongSummaryStatistics); 14357 method public final double getAverage(); 14358 method public final long getCount(); 14359 method public final long getMax(); 14360 method public final long getMin(); 14361 method public final long getSum(); 14362 } 14363 14364 public interface Map<K, V> { 14365 method public void clear(); 14366 method @Nullable public default V compute(K, @NonNull java.util.function.BiFunction<? super K,? super V,? extends V>); 14367 method @Nullable public default V computeIfAbsent(K, @NonNull java.util.function.Function<? super K,? extends V>); 14368 method @Nullable public default V computeIfPresent(K, @NonNull java.util.function.BiFunction<? super K,? super V,? extends V>); 14369 method public boolean containsKey(@Nullable Object); 14370 method public boolean containsValue(@Nullable Object); 14371 method @NonNull public static <K, V> java.util.Map<K,V> copyOf(@NonNull java.util.Map<? extends K,? extends V>); 14372 method @NonNull public static <K, V> java.util.Map.Entry<K,V> entry(@NonNull K, @NonNull V); 14373 method @NonNull public java.util.Set<java.util.Map.Entry<K,V>> entrySet(); 14374 method public boolean equals(@Nullable Object); 14375 method public default void forEach(@NonNull java.util.function.BiConsumer<? super K,? super V>); 14376 method @Nullable public V get(@Nullable Object); 14377 method @Nullable public default V getOrDefault(@Nullable Object, @Nullable V); 14378 method public int hashCode(); 14379 method public boolean isEmpty(); 14380 method @NonNull public java.util.Set<K> keySet(); 14381 method @Nullable public default V merge(K, @NonNull V, @NonNull java.util.function.BiFunction<? super V,? super V,? extends V>); 14382 method @NonNull public static <K, V> java.util.Map<K,V> of(); 14383 method @NonNull public static <K, V> java.util.Map<K,V> of(@NonNull K, @NonNull V); 14384 method @NonNull public static <K, V> java.util.Map<K,V> of(@NonNull K, @NonNull V, @NonNull K, @NonNull V); 14385 method @NonNull public static <K, V> java.util.Map<K,V> of(@NonNull K, @NonNull V, @NonNull K, @NonNull V, @NonNull K, @NonNull V); 14386 method @NonNull public static <K, V> java.util.Map<K,V> of(@NonNull K, @NonNull V, @NonNull K, @NonNull V, @NonNull K, @NonNull V, @NonNull K, @NonNull V); 14387 method @NonNull public static <K, V> java.util.Map<K,V> of(@NonNull K, @NonNull V, @NonNull K, @NonNull V, @NonNull K, @NonNull V, @NonNull K, @NonNull V, @NonNull K, @NonNull V); 14388 method @NonNull public static <K, V> java.util.Map<K,V> of(@NonNull K, @NonNull V, @NonNull K, @NonNull V, @NonNull K, @NonNull V, @NonNull K, @NonNull V, @NonNull K, @NonNull V, @NonNull K, @NonNull V); 14389 method @NonNull public static <K, V> java.util.Map<K,V> of(@NonNull K, @NonNull V, @NonNull K, @NonNull V, @NonNull K, @NonNull V, @NonNull K, @NonNull V, @NonNull K, @NonNull V, @NonNull K, @NonNull V, @NonNull K, @NonNull V); 14390 method @NonNull public static <K, V> java.util.Map<K,V> of(@NonNull K, @NonNull V, @NonNull K, @NonNull V, @NonNull K, @NonNull V, @NonNull K, @NonNull V, @NonNull K, @NonNull V, @NonNull K, @NonNull V, @NonNull K, @NonNull V, @NonNull K, @NonNull V); 14391 method @NonNull public static <K, V> java.util.Map<K,V> of(@NonNull K, @NonNull V, @NonNull K, @NonNull V, @NonNull K, @NonNull V, @NonNull K, @NonNull V, @NonNull K, @NonNull V, @NonNull K, @NonNull V, @NonNull K, @NonNull V, @NonNull K, @NonNull V, @NonNull K, @NonNull V); 14392 method @NonNull public static <K, V> java.util.Map<K,V> of(@NonNull K, @NonNull V, @NonNull K, @NonNull V, @NonNull K, @NonNull V, @NonNull K, @NonNull V, @NonNull K, @NonNull V, @NonNull K, @NonNull V, @NonNull K, @NonNull V, @NonNull K, @NonNull V, @NonNull K, @NonNull V, @NonNull K, @NonNull V); 14393 method @NonNull @java.lang.SafeVarargs public static <K, V> java.util.Map<K,V> ofEntries(@NonNull java.util.Map.Entry<? extends K,? extends V>...); 14394 method @Nullable public V put(K, V); 14395 method public void putAll(@NonNull java.util.Map<? extends K,? extends V>); 14396 method @Nullable public default V putIfAbsent(K, V); 14397 method @Nullable public V remove(@Nullable Object); 14398 method public default boolean remove(@Nullable Object, @Nullable Object); 14399 method public default boolean replace(K, @Nullable V, V); 14400 method @Nullable public default V replace(K, V); 14401 method public default void replaceAll(@NonNull java.util.function.BiFunction<? super K,? super V,? extends V>); 14402 method public int size(); 14403 method @NonNull public java.util.Collection<V> values(); 14404 } 14405 14406 public static interface Map.Entry<K, V> { 14407 method @NonNull public static <K extends java.lang.Comparable<? super K>, V> java.util.Comparator<java.util.Map.Entry<K,V>> comparingByKey(); 14408 method @NonNull public static <K, V> java.util.Comparator<java.util.Map.Entry<K,V>> comparingByKey(@NonNull java.util.Comparator<? super K>); 14409 method @NonNull public static <K, V extends java.lang.Comparable<? super V>> java.util.Comparator<java.util.Map.Entry<K,V>> comparingByValue(); 14410 method @NonNull public static <K, V> java.util.Comparator<java.util.Map.Entry<K,V>> comparingByValue(@NonNull java.util.Comparator<? super V>); 14411 method @FlaggedApi("com.android.libcore.v_apis") @NonNull public static <K, V> java.util.Map.Entry<K,V> copyOf(@NonNull java.util.Map.Entry<? extends K,? extends V>); 14412 method public boolean equals(@Nullable Object); 14413 method public K getKey(); 14414 method public V getValue(); 14415 method public int hashCode(); 14416 method public V setValue(V); 14417 } 14418 14419 public class MissingFormatArgumentException extends java.util.IllegalFormatException { 14420 ctor public MissingFormatArgumentException(String); 14421 method public String getFormatSpecifier(); 14422 } 14423 14424 public class MissingFormatWidthException extends java.util.IllegalFormatException { 14425 ctor public MissingFormatWidthException(String); 14426 method public String getFormatSpecifier(); 14427 } 14428 14429 public class MissingResourceException extends java.lang.RuntimeException { 14430 ctor public MissingResourceException(String, String, String); 14431 method public String getClassName(); 14432 method public String getKey(); 14433 } 14434 14435 public interface NavigableMap<K, V> extends java.util.SortedMap<K,V> { 14436 method @Nullable public java.util.Map.Entry<K,V> ceilingEntry(K); 14437 method @Nullable public K ceilingKey(K); 14438 method @NonNull public java.util.NavigableSet<K> descendingKeySet(); 14439 method @NonNull public java.util.NavigableMap<K,V> descendingMap(); 14440 method @Nullable public java.util.Map.Entry<K,V> firstEntry(); 14441 method @Nullable public java.util.Map.Entry<K,V> floorEntry(K); 14442 method @Nullable public K floorKey(K); 14443 method @NonNull public java.util.NavigableMap<K,V> headMap(K, boolean); 14444 method @Nullable public java.util.Map.Entry<K,V> higherEntry(K); 14445 method @Nullable public K higherKey(K); 14446 method @Nullable public java.util.Map.Entry<K,V> lastEntry(); 14447 method @Nullable public java.util.Map.Entry<K,V> lowerEntry(K); 14448 method @Nullable public K lowerKey(K); 14449 method @NonNull public java.util.NavigableSet<K> navigableKeySet(); 14450 method @Nullable public java.util.Map.Entry<K,V> pollFirstEntry(); 14451 method @Nullable public java.util.Map.Entry<K,V> pollLastEntry(); 14452 method @FlaggedApi("com.android.libcore.v_apis") @NonNull public default java.util.NavigableMap<K,V> reversed(); 14453 method @NonNull public java.util.NavigableMap<K,V> subMap(K, boolean, K, boolean); 14454 method @NonNull public java.util.NavigableMap<K,V> tailMap(K, boolean); 14455 } 14456 14457 public interface NavigableSet<E> extends java.util.SortedSet<E> { 14458 method public E ceiling(E); 14459 method public java.util.Iterator<E> descendingIterator(); 14460 method public java.util.NavigableSet<E> descendingSet(); 14461 method public E floor(E); 14462 method public java.util.NavigableSet<E> headSet(E, boolean); 14463 method public E higher(E); 14464 method @FlaggedApi("com.android.libcore.v_apis") public java.util.Iterator<E> iterator(); 14465 method public E lower(E); 14466 method public E pollFirst(); 14467 method public E pollLast(); 14468 method @FlaggedApi("com.android.libcore.v_apis") public default java.util.NavigableSet<E> reversed(); 14469 method public java.util.NavigableSet<E> subSet(E, boolean, E, boolean); 14470 method public java.util.NavigableSet<E> tailSet(E, boolean); 14471 } 14472 14473 public class NoSuchElementException extends java.lang.RuntimeException { 14474 ctor public NoSuchElementException(); 14475 ctor public NoSuchElementException(String, Throwable); 14476 ctor public NoSuchElementException(Throwable); 14477 ctor public NoSuchElementException(String); 14478 } 14479 14480 public final class Objects { 14481 method public static int checkFromIndexSize(int, int, int); 14482 method public static long checkFromIndexSize(long, long, long); 14483 method public static int checkFromToIndex(int, int, int); 14484 method public static long checkFromToIndex(long, long, long); 14485 method public static int checkIndex(int, int); 14486 method public static long checkIndex(long, long); 14487 method public static <T> int compare(T, T, @NonNull java.util.Comparator<? super T>); 14488 method public static boolean deepEquals(@Nullable Object, @Nullable Object); 14489 method public static boolean equals(@Nullable Object, @Nullable Object); 14490 method public static int hash(@Nullable java.lang.Object...); 14491 method public static int hashCode(@Nullable Object); 14492 method public static boolean isNull(@Nullable Object); 14493 method public static boolean nonNull(@Nullable Object); 14494 method @NonNull public static <T> T requireNonNull(@Nullable T); 14495 method @NonNull public static <T> T requireNonNull(@Nullable T, @NonNull String); 14496 method @NonNull public static <T> T requireNonNull(@Nullable T, @NonNull java.util.function.Supplier<java.lang.String>); 14497 method @NonNull public static <T> T requireNonNullElse(@Nullable T, @NonNull T); 14498 method @NonNull public static <T> T requireNonNullElseGet(@Nullable T, @NonNull java.util.function.Supplier<? extends T>); 14499 method @NonNull public static String toString(@Nullable Object); 14500 method @NonNull public static String toString(@Nullable Object, @NonNull String); 14501 } 14502 14503 @Deprecated public class Observable { 14504 ctor @Deprecated public Observable(); 14505 method @Deprecated public void addObserver(java.util.Observer); 14506 method @Deprecated protected void clearChanged(); 14507 method @Deprecated public int countObservers(); 14508 method @Deprecated public void deleteObserver(java.util.Observer); 14509 method @Deprecated public void deleteObservers(); 14510 method @Deprecated public boolean hasChanged(); 14511 method @Deprecated public void notifyObservers(); 14512 method @Deprecated public void notifyObservers(Object); 14513 method @Deprecated protected void setChanged(); 14514 } 14515 14516 @Deprecated public interface Observer { 14517 method @Deprecated public void update(java.util.Observable, Object); 14518 } 14519 14520 public final class Optional<T> { 14521 method public static <T> java.util.Optional<T> empty(); 14522 method public java.util.Optional<T> filter(java.util.function.Predicate<? super T>); 14523 method public <U> java.util.Optional<U> flatMap(java.util.function.Function<? super T,? extends java.util.Optional<? extends U>>); 14524 method public T get(); 14525 method public void ifPresent(java.util.function.Consumer<? super T>); 14526 method public void ifPresentOrElse(java.util.function.Consumer<? super T>, Runnable); 14527 method public boolean isEmpty(); 14528 method public boolean isPresent(); 14529 method public <U> java.util.Optional<U> map(java.util.function.Function<? super T,? extends U>); 14530 method public static <T> java.util.Optional<T> of(T); 14531 method public static <T> java.util.Optional<T> ofNullable(T); 14532 method public java.util.Optional<T> or(java.util.function.Supplier<? extends java.util.Optional<? extends T>>); 14533 method public T orElse(T); 14534 method public T orElseGet(java.util.function.Supplier<? extends T>); 14535 method public T orElseThrow(); 14536 method public <X extends java.lang.Throwable> T orElseThrow(java.util.function.Supplier<? extends X>) throws X; 14537 method public java.util.stream.Stream<T> stream(); 14538 } 14539 14540 public final class OptionalDouble { 14541 method public static java.util.OptionalDouble empty(); 14542 method public double getAsDouble(); 14543 method public void ifPresent(java.util.function.DoubleConsumer); 14544 method public void ifPresentOrElse(java.util.function.DoubleConsumer, Runnable); 14545 method public boolean isEmpty(); 14546 method public boolean isPresent(); 14547 method public static java.util.OptionalDouble of(double); 14548 method public double orElse(double); 14549 method public double orElseGet(java.util.function.DoubleSupplier); 14550 method public double orElseThrow(); 14551 method public <X extends java.lang.Throwable> double orElseThrow(java.util.function.Supplier<? extends X>) throws X; 14552 method public java.util.stream.DoubleStream stream(); 14553 } 14554 14555 public final class OptionalInt { 14556 method public static java.util.OptionalInt empty(); 14557 method public int getAsInt(); 14558 method public void ifPresent(java.util.function.IntConsumer); 14559 method public void ifPresentOrElse(java.util.function.IntConsumer, Runnable); 14560 method public boolean isEmpty(); 14561 method public boolean isPresent(); 14562 method public static java.util.OptionalInt of(int); 14563 method public int orElse(int); 14564 method public int orElseGet(java.util.function.IntSupplier); 14565 method public int orElseThrow(); 14566 method public <X extends java.lang.Throwable> int orElseThrow(java.util.function.Supplier<? extends X>) throws X; 14567 method public java.util.stream.IntStream stream(); 14568 } 14569 14570 public final class OptionalLong { 14571 method public static java.util.OptionalLong empty(); 14572 method public long getAsLong(); 14573 method public void ifPresent(java.util.function.LongConsumer); 14574 method public void ifPresentOrElse(java.util.function.LongConsumer, Runnable); 14575 method public boolean isEmpty(); 14576 method public boolean isPresent(); 14577 method public static java.util.OptionalLong of(long); 14578 method public long orElse(long); 14579 method public long orElseGet(java.util.function.LongSupplier); 14580 method public long orElseThrow(); 14581 method public <X extends java.lang.Throwable> long orElseThrow(java.util.function.Supplier<? extends X>) throws X; 14582 method public java.util.stream.LongStream stream(); 14583 } 14584 14585 public interface PrimitiveIterator<T, T_CONS> extends java.util.Iterator<T> { 14586 method public void forEachRemaining(T_CONS); 14587 } 14588 14589 public static interface PrimitiveIterator.OfDouble extends java.util.PrimitiveIterator<java.lang.Double,java.util.function.DoubleConsumer> { 14590 method public default void forEachRemaining(java.util.function.DoubleConsumer); 14591 method public default void forEachRemaining(java.util.function.Consumer<? super java.lang.Double>); 14592 method public default Double next(); 14593 method public double nextDouble(); 14594 } 14595 14596 public static interface PrimitiveIterator.OfInt extends java.util.PrimitiveIterator<java.lang.Integer,java.util.function.IntConsumer> { 14597 method public default void forEachRemaining(java.util.function.IntConsumer); 14598 method public default void forEachRemaining(java.util.function.Consumer<? super java.lang.Integer>); 14599 method public default Integer next(); 14600 method public int nextInt(); 14601 } 14602 14603 public static interface PrimitiveIterator.OfLong extends java.util.PrimitiveIterator<java.lang.Long,java.util.function.LongConsumer> { 14604 method public default void forEachRemaining(java.util.function.LongConsumer); 14605 method public default void forEachRemaining(java.util.function.Consumer<? super java.lang.Long>); 14606 method public default Long next(); 14607 method public long nextLong(); 14608 } 14609 14610 public class PriorityQueue<E> extends java.util.AbstractQueue<E> implements java.io.Serializable { 14611 ctor public PriorityQueue(); 14612 ctor public PriorityQueue(int); 14613 ctor public PriorityQueue(java.util.Comparator<? super E>); 14614 ctor public PriorityQueue(int, java.util.Comparator<? super E>); 14615 ctor public PriorityQueue(java.util.Collection<? extends E>); 14616 ctor public PriorityQueue(java.util.PriorityQueue<? extends E>); 14617 ctor public PriorityQueue(java.util.SortedSet<? extends E>); 14618 method public java.util.Comparator<? super E> comparator(); 14619 method public void forEach(java.util.function.Consumer<? super E>); 14620 method public java.util.Iterator<E> iterator(); 14621 method public boolean offer(E); 14622 method public E peek(); 14623 method public E poll(); 14624 method public boolean removeIf(java.util.function.Predicate<? super E>); 14625 method public int size(); 14626 method public final java.util.Spliterator<E> spliterator(); 14627 } 14628 14629 public class Properties extends java.util.Hashtable<java.lang.Object,java.lang.Object> { 14630 ctor public Properties(); 14631 ctor @FlaggedApi("com.android.libcore.v_apis") public Properties(int); 14632 ctor public Properties(java.util.Properties); 14633 method public Object compute(Object, java.util.function.BiFunction<? super java.lang.Object,? super java.lang.Object,?>); 14634 method public Object computeIfAbsent(Object, java.util.function.Function<? super java.lang.Object,?>); 14635 method public Object computeIfPresent(Object, java.util.function.BiFunction<? super java.lang.Object,? super java.lang.Object,?>); 14636 method public java.util.Enumeration<java.lang.Object> elements(); 14637 method public java.util.Set<java.util.Map.Entry<java.lang.Object,java.lang.Object>> entrySet(); 14638 method public void forEach(java.util.function.BiConsumer<? super java.lang.Object,? super java.lang.Object>); 14639 method public Object get(Object); 14640 method public Object getOrDefault(Object, Object); 14641 method public String getProperty(String); 14642 method public String getProperty(String, String); 14643 method public java.util.Set<java.lang.Object> keySet(); 14644 method public java.util.Enumeration<java.lang.Object> keys(); 14645 method public void list(java.io.PrintStream); 14646 method public void list(java.io.PrintWriter); 14647 method public void load(java.io.Reader) throws java.io.IOException; 14648 method public void load(java.io.InputStream) throws java.io.IOException; 14649 method public void loadFromXML(java.io.InputStream) throws java.io.IOException, java.util.InvalidPropertiesFormatException; 14650 method public Object merge(Object, Object, java.util.function.BiFunction<? super java.lang.Object,? super java.lang.Object,?>); 14651 method public java.util.Enumeration<?> propertyNames(); 14652 method public Object put(Object, Object); 14653 method public void putAll(java.util.Map<?,?>); 14654 method public Object putIfAbsent(Object, Object); 14655 method public Object remove(Object); 14656 method public boolean replace(Object, Object, Object); 14657 method public Object replace(Object, Object); 14658 method public void replaceAll(java.util.function.BiFunction<? super java.lang.Object,? super java.lang.Object,?>); 14659 method @Deprecated public void save(java.io.OutputStream, String); 14660 method public Object setProperty(String, String); 14661 method public void store(java.io.Writer, String) throws java.io.IOException; 14662 method public void store(java.io.OutputStream, String) throws java.io.IOException; 14663 method public void storeToXML(java.io.OutputStream, String) throws java.io.IOException; 14664 method public void storeToXML(java.io.OutputStream, String, String) throws java.io.IOException; 14665 method @FlaggedApi("com.android.libcore.v_apis") public void storeToXML(java.io.OutputStream, String, java.nio.charset.Charset) throws java.io.IOException; 14666 method public java.util.Set<java.lang.String> stringPropertyNames(); 14667 method public java.util.Collection<java.lang.Object> values(); 14668 field protected volatile java.util.Properties defaults; 14669 } 14670 14671 public final class PropertyPermission extends java.security.BasicPermission { 14672 ctor public PropertyPermission(String, String); 14673 } 14674 14675 public class PropertyResourceBundle extends java.util.ResourceBundle { 14676 ctor public PropertyResourceBundle(java.io.InputStream) throws java.io.IOException; 14677 ctor public PropertyResourceBundle(java.io.Reader) throws java.io.IOException; 14678 method public java.util.Enumeration<java.lang.String> getKeys(); 14679 method public Object handleGetObject(String); 14680 } 14681 14682 public interface Queue<E> extends java.util.Collection<E> { 14683 method public E element(); 14684 method public boolean offer(E); 14685 method @Nullable public E peek(); 14686 method @Nullable public E poll(); 14687 method public E remove(); 14688 } 14689 14690 public class Random implements java.util.random.RandomGenerator java.io.Serializable { 14691 ctor public Random(); 14692 ctor public Random(long); 14693 method public java.util.stream.DoubleStream doubles(long); 14694 method public java.util.stream.DoubleStream doubles(); 14695 method public java.util.stream.DoubleStream doubles(long, double, double); 14696 method public java.util.stream.DoubleStream doubles(double, double); 14697 method public java.util.stream.IntStream ints(long); 14698 method public java.util.stream.IntStream ints(); 14699 method public java.util.stream.IntStream ints(long, int, int); 14700 method public java.util.stream.IntStream ints(int, int); 14701 method public java.util.stream.LongStream longs(long); 14702 method public java.util.stream.LongStream longs(); 14703 method public java.util.stream.LongStream longs(long, long, long); 14704 method public java.util.stream.LongStream longs(long, long); 14705 method protected int next(int); 14706 method public boolean nextBoolean(); 14707 method public void nextBytes(byte[]); 14708 method public double nextDouble(); 14709 method public float nextFloat(); 14710 method public double nextGaussian(); 14711 method public int nextInt(); 14712 method public int nextInt(int); 14713 method public long nextLong(); 14714 method public void setSeed(long); 14715 } 14716 14717 public interface RandomAccess { 14718 } 14719 14720 public abstract class ResourceBundle { 14721 ctor public ResourceBundle(); 14722 method public static final void clearCache(); 14723 method public static final void clearCache(ClassLoader); 14724 method public boolean containsKey(String); 14725 method public String getBaseBundleName(); 14726 method public static final java.util.ResourceBundle getBundle(String); 14727 method public static final java.util.ResourceBundle getBundle(String, java.util.ResourceBundle.Control); 14728 method public static final java.util.ResourceBundle getBundle(String, java.util.Locale); 14729 method public static final java.util.ResourceBundle getBundle(String, java.util.Locale, java.util.ResourceBundle.Control); 14730 method public static java.util.ResourceBundle getBundle(String, java.util.Locale, ClassLoader); 14731 method public static java.util.ResourceBundle getBundle(String, java.util.Locale, ClassLoader, java.util.ResourceBundle.Control); 14732 method public abstract java.util.Enumeration<java.lang.String> getKeys(); 14733 method public java.util.Locale getLocale(); 14734 method public final Object getObject(String); 14735 method public final String getString(String); 14736 method public final String[] getStringArray(String); 14737 method protected abstract Object handleGetObject(String); 14738 method protected java.util.Set<java.lang.String> handleKeySet(); 14739 method public java.util.Set<java.lang.String> keySet(); 14740 method protected void setParent(java.util.ResourceBundle); 14741 field protected java.util.ResourceBundle parent; 14742 } 14743 14744 public static class ResourceBundle.Control { 14745 ctor protected ResourceBundle.Control(); 14746 method public java.util.List<java.util.Locale> getCandidateLocales(String, java.util.Locale); 14747 method public static final java.util.ResourceBundle.Control getControl(java.util.List<java.lang.String>); 14748 method public java.util.Locale getFallbackLocale(String, java.util.Locale); 14749 method public java.util.List<java.lang.String> getFormats(String); 14750 method public static final java.util.ResourceBundle.Control getNoFallbackControl(java.util.List<java.lang.String>); 14751 method public long getTimeToLive(String, java.util.Locale); 14752 method public boolean needsReload(String, java.util.Locale, String, ClassLoader, java.util.ResourceBundle, long); 14753 method public java.util.ResourceBundle newBundle(String, java.util.Locale, String, ClassLoader, boolean) throws java.io.IOException, java.lang.IllegalAccessException, java.lang.InstantiationException; 14754 method public String toBundleName(String, java.util.Locale); 14755 method public final String toResourceName(String, String); 14756 field public static final java.util.List<java.lang.String> FORMAT_CLASS; 14757 field public static final java.util.List<java.lang.String> FORMAT_DEFAULT; 14758 field public static final java.util.List<java.lang.String> FORMAT_PROPERTIES; 14759 field public static final long TTL_DONT_CACHE = -1L; // 0xffffffffffffffffL 14760 field public static final long TTL_NO_EXPIRATION_CONTROL = -2L; // 0xfffffffffffffffeL 14761 } 14762 14763 public final class Scanner implements java.io.Closeable java.util.Iterator<java.lang.String> { 14764 ctor public Scanner(Readable); 14765 ctor public Scanner(java.io.InputStream); 14766 ctor public Scanner(java.io.InputStream, String); 14767 ctor public Scanner(java.io.InputStream, java.nio.charset.Charset); 14768 ctor public Scanner(java.io.File) throws java.io.FileNotFoundException; 14769 ctor public Scanner(java.io.File, String) throws java.io.FileNotFoundException; 14770 ctor public Scanner(java.io.File, java.nio.charset.Charset) throws java.io.IOException; 14771 ctor public Scanner(java.nio.file.Path) throws java.io.IOException; 14772 ctor public Scanner(java.nio.file.Path, String) throws java.io.IOException; 14773 ctor public Scanner(java.nio.file.Path, java.nio.charset.Charset) throws java.io.IOException; 14774 ctor public Scanner(String); 14775 ctor public Scanner(java.nio.channels.ReadableByteChannel); 14776 ctor public Scanner(java.nio.channels.ReadableByteChannel, String); 14777 ctor public Scanner(java.nio.channels.ReadableByteChannel, java.nio.charset.Charset); 14778 method public void close(); 14779 method public java.util.regex.Pattern delimiter(); 14780 method public java.util.stream.Stream<java.util.regex.MatchResult> findAll(java.util.regex.Pattern); 14781 method public java.util.stream.Stream<java.util.regex.MatchResult> findAll(String); 14782 method public String findInLine(String); 14783 method public String findInLine(java.util.regex.Pattern); 14784 method public String findWithinHorizon(String, int); 14785 method public String findWithinHorizon(java.util.regex.Pattern, int); 14786 method public boolean hasNext(); 14787 method public boolean hasNext(String); 14788 method public boolean hasNext(java.util.regex.Pattern); 14789 method public boolean hasNextBigDecimal(); 14790 method public boolean hasNextBigInteger(); 14791 method public boolean hasNextBigInteger(int); 14792 method public boolean hasNextBoolean(); 14793 method public boolean hasNextByte(); 14794 method public boolean hasNextByte(int); 14795 method public boolean hasNextDouble(); 14796 method public boolean hasNextFloat(); 14797 method public boolean hasNextInt(); 14798 method public boolean hasNextInt(int); 14799 method public boolean hasNextLine(); 14800 method public boolean hasNextLong(); 14801 method public boolean hasNextLong(int); 14802 method public boolean hasNextShort(); 14803 method public boolean hasNextShort(int); 14804 method public java.io.IOException ioException(); 14805 method public java.util.Locale locale(); 14806 method public java.util.regex.MatchResult match(); 14807 method public String next(); 14808 method public String next(String); 14809 method public String next(java.util.regex.Pattern); 14810 method public java.math.BigDecimal nextBigDecimal(); 14811 method public java.math.BigInteger nextBigInteger(); 14812 method public java.math.BigInteger nextBigInteger(int); 14813 method public boolean nextBoolean(); 14814 method public byte nextByte(); 14815 method public byte nextByte(int); 14816 method public double nextDouble(); 14817 method public float nextFloat(); 14818 method public int nextInt(); 14819 method public int nextInt(int); 14820 method public String nextLine(); 14821 method public long nextLong(); 14822 method public long nextLong(int); 14823 method public short nextShort(); 14824 method public short nextShort(int); 14825 method public int radix(); 14826 method public void remove(); 14827 method public java.util.Scanner reset(); 14828 method public java.util.Scanner skip(java.util.regex.Pattern); 14829 method public java.util.Scanner skip(String); 14830 method public java.util.stream.Stream<java.lang.String> tokens(); 14831 method public java.util.Scanner useDelimiter(java.util.regex.Pattern); 14832 method public java.util.Scanner useDelimiter(String); 14833 method public java.util.Scanner useLocale(java.util.Locale); 14834 method public java.util.Scanner useRadix(int); 14835 } 14836 14837 @FlaggedApi("com.android.libcore.v_apis") public interface SequencedCollection<E> extends java.util.Collection<E> { 14838 method @FlaggedApi("com.android.libcore.v_apis") public default void addFirst(E); 14839 method @FlaggedApi("com.android.libcore.v_apis") public default void addLast(E); 14840 method @FlaggedApi("com.android.libcore.v_apis") public default E getFirst(); 14841 method @FlaggedApi("com.android.libcore.v_apis") public default E getLast(); 14842 method @FlaggedApi("com.android.libcore.v_apis") public default E removeFirst(); 14843 method @FlaggedApi("com.android.libcore.v_apis") public default E removeLast(); 14844 method @FlaggedApi("com.android.libcore.v_apis") public java.util.SequencedCollection<E> reversed(); 14845 } 14846 14847 @FlaggedApi("com.android.libcore.v_apis") public interface SequencedMap<K, V> extends java.util.Map<K,V> { 14848 method @FlaggedApi("com.android.libcore.v_apis") public default java.util.Map.Entry<K,V> firstEntry(); 14849 method @FlaggedApi("com.android.libcore.v_apis") public default java.util.Map.Entry<K,V> lastEntry(); 14850 method @FlaggedApi("com.android.libcore.v_apis") public default java.util.Map.Entry<K,V> pollFirstEntry(); 14851 method @FlaggedApi("com.android.libcore.v_apis") public default java.util.Map.Entry<K,V> pollLastEntry(); 14852 method @FlaggedApi("com.android.libcore.v_apis") public default V putFirst(K, V); 14853 method @FlaggedApi("com.android.libcore.v_apis") public default V putLast(K, V); 14854 method @FlaggedApi("com.android.libcore.v_apis") public java.util.SequencedMap<K,V> reversed(); 14855 method @FlaggedApi("com.android.libcore.v_apis") public default java.util.SequencedSet<java.util.Map.Entry<K,V>> sequencedEntrySet(); 14856 method @FlaggedApi("com.android.libcore.v_apis") public default java.util.SequencedSet<K> sequencedKeySet(); 14857 method @FlaggedApi("com.android.libcore.v_apis") public default java.util.SequencedCollection<V> sequencedValues(); 14858 } 14859 14860 @FlaggedApi("com.android.libcore.v_apis") public interface SequencedSet<E> extends java.util.SequencedCollection<E> java.util.Set<E> { 14861 method @FlaggedApi("com.android.libcore.v_apis") public java.util.SequencedSet<E> reversed(); 14862 } 14863 14864 public class ServiceConfigurationError extends java.lang.Error { 14865 ctor public ServiceConfigurationError(String); 14866 ctor public ServiceConfigurationError(String, Throwable); 14867 } 14868 14869 public final class ServiceLoader<S> implements java.lang.Iterable<S> { 14870 method public java.util.Optional<S> findFirst(); 14871 method public java.util.Iterator<S> iterator(); 14872 method public static <S> java.util.ServiceLoader<S> load(Class<S>, ClassLoader); 14873 method public static <S> java.util.ServiceLoader<S> load(Class<S>); 14874 method public static <S> java.util.ServiceLoader<S> loadInstalled(Class<S>); 14875 method public void reload(); 14876 method @FlaggedApi("com.android.libcore.v_apis") public java.util.stream.Stream<java.util.ServiceLoader.Provider<S>> stream(); 14877 } 14878 14879 @FlaggedApi("com.android.libcore.v_apis") public static interface ServiceLoader.Provider<S> extends java.util.function.Supplier<S> { 14880 method public S get(); 14881 method public Class<? extends S> type(); 14882 } 14883 14884 public interface Set<E> extends java.util.Collection<E> { 14885 method @NonNull public static <E> java.util.Set<E> copyOf(@NonNull java.util.Collection<? extends E>); 14886 method @NonNull public static <E> java.util.Set<E> of(); 14887 method @NonNull public static <E> java.util.Set<E> of(@NonNull E); 14888 method @NonNull public static <E> java.util.Set<E> of(@NonNull E, @NonNull E); 14889 method @NonNull public static <E> java.util.Set<E> of(@NonNull E, @NonNull E, @NonNull E); 14890 method @NonNull public static <E> java.util.Set<E> of(@NonNull E, @NonNull E, @NonNull E, @NonNull E); 14891 method @NonNull public static <E> java.util.Set<E> of(@NonNull E, @NonNull E, @NonNull E, @NonNull E, @NonNull E); 14892 method @NonNull public static <E> java.util.Set<E> of(@NonNull E, @NonNull E, @NonNull E, @NonNull E, @NonNull E, @NonNull E); 14893 method @NonNull public static <E> java.util.Set<E> of(@NonNull E, @NonNull E, @NonNull E, @NonNull E, @NonNull E, @NonNull E, @NonNull E); 14894 method @NonNull public static <E> java.util.Set<E> of(@NonNull E, @NonNull E, @NonNull E, @NonNull E, @NonNull E, @NonNull E, @NonNull E, @NonNull E); 14895 method @NonNull public static <E> java.util.Set<E> of(@NonNull E, @NonNull E, @NonNull E, @NonNull E, @NonNull E, @NonNull E, @NonNull E, @NonNull E, @NonNull E); 14896 method @NonNull public static <E> java.util.Set<E> of(@NonNull E, @NonNull E, @NonNull E, @NonNull E, @NonNull E, @NonNull E, @NonNull E, @NonNull E, @NonNull E, @NonNull E); 14897 method @NonNull @java.lang.SafeVarargs public static <E> java.util.Set<E> of(@NonNull E...); 14898 } 14899 14900 public class SimpleTimeZone extends java.util.TimeZone { 14901 ctor public SimpleTimeZone(int, String); 14902 ctor public SimpleTimeZone(int, String, int, int, int, int, int, int, int, int); 14903 ctor public SimpleTimeZone(int, String, int, int, int, int, int, int, int, int, int); 14904 ctor public SimpleTimeZone(int, String, int, int, int, int, int, int, int, int, int, int, int); 14905 method public int getOffset(int, int, int, int, int, int); 14906 method public int getRawOffset(); 14907 method public boolean inDaylightTime(java.util.Date); 14908 method public void setDSTSavings(int); 14909 method public void setEndRule(int, int, int, int); 14910 method public void setEndRule(int, int, int); 14911 method public void setEndRule(int, int, int, int, boolean); 14912 method public void setRawOffset(int); 14913 method public void setStartRule(int, int, int, int); 14914 method public void setStartRule(int, int, int); 14915 method public void setStartRule(int, int, int, int, boolean); 14916 method public void setStartYear(int); 14917 method public boolean useDaylightTime(); 14918 field public static final int STANDARD_TIME = 1; // 0x1 14919 field public static final int UTC_TIME = 2; // 0x2 14920 field public static final int WALL_TIME = 0; // 0x0 14921 } 14922 14923 public interface SortedMap<K, V> extends java.util.SequencedMap<K,V> java.util.Map<K,V> { 14924 method @Nullable public java.util.Comparator<? super K> comparator(); 14925 method public K firstKey(); 14926 method @NonNull public java.util.SortedMap<K,V> headMap(K); 14927 method public K lastKey(); 14928 method @FlaggedApi("com.android.libcore.v_apis") @NonNull public default java.util.SortedMap<K,V> reversed(); 14929 method @NonNull public java.util.SortedMap<K,V> subMap(K, K); 14930 method @NonNull public java.util.SortedMap<K,V> tailMap(K); 14931 } 14932 14933 public interface SortedSet<E> extends java.util.Set<E> java.util.SequencedSet<E> { 14934 method public java.util.Comparator<? super E> comparator(); 14935 method public E first(); 14936 method public java.util.SortedSet<E> headSet(E); 14937 method public E last(); 14938 method @FlaggedApi("com.android.libcore.v_apis") public default java.util.SortedSet<E> reversed(); 14939 method @FlaggedApi("com.android.libcore.v_apis") public default java.util.Spliterator<E> spliterator(); 14940 method public java.util.SortedSet<E> subSet(E, E); 14941 method public java.util.SortedSet<E> tailSet(E); 14942 } 14943 14944 public interface Spliterator<T> { 14945 method public int characteristics(); 14946 method public long estimateSize(); 14947 method public default void forEachRemaining(java.util.function.Consumer<? super T>); 14948 method public default java.util.Comparator<? super T> getComparator(); 14949 method public default long getExactSizeIfKnown(); 14950 method public default boolean hasCharacteristics(int); 14951 method public boolean tryAdvance(java.util.function.Consumer<? super T>); 14952 method public java.util.Spliterator<T> trySplit(); 14953 field public static final int CONCURRENT = 4096; // 0x1000 14954 field public static final int DISTINCT = 1; // 0x1 14955 field public static final int IMMUTABLE = 1024; // 0x400 14956 field public static final int NONNULL = 256; // 0x100 14957 field public static final int ORDERED = 16; // 0x10 14958 field public static final int SIZED = 64; // 0x40 14959 field public static final int SORTED = 4; // 0x4 14960 field public static final int SUBSIZED = 16384; // 0x4000 14961 } 14962 14963 public static interface Spliterator.OfDouble extends java.util.Spliterator.OfPrimitive<java.lang.Double,java.util.function.DoubleConsumer,java.util.Spliterator.OfDouble> { 14964 method public default void forEachRemaining(java.util.function.DoubleConsumer); 14965 method public default void forEachRemaining(java.util.function.Consumer<? super java.lang.Double>); 14966 method public boolean tryAdvance(java.util.function.DoubleConsumer); 14967 method public default boolean tryAdvance(java.util.function.Consumer<? super java.lang.Double>); 14968 method public java.util.Spliterator.OfDouble trySplit(); 14969 } 14970 14971 public static interface Spliterator.OfInt extends java.util.Spliterator.OfPrimitive<java.lang.Integer,java.util.function.IntConsumer,java.util.Spliterator.OfInt> { 14972 method public default void forEachRemaining(java.util.function.IntConsumer); 14973 method public default void forEachRemaining(java.util.function.Consumer<? super java.lang.Integer>); 14974 method public boolean tryAdvance(java.util.function.IntConsumer); 14975 method public default boolean tryAdvance(java.util.function.Consumer<? super java.lang.Integer>); 14976 method public java.util.Spliterator.OfInt trySplit(); 14977 } 14978 14979 public static interface Spliterator.OfLong extends java.util.Spliterator.OfPrimitive<java.lang.Long,java.util.function.LongConsumer,java.util.Spliterator.OfLong> { 14980 method public default void forEachRemaining(java.util.function.LongConsumer); 14981 method public default void forEachRemaining(java.util.function.Consumer<? super java.lang.Long>); 14982 method public boolean tryAdvance(java.util.function.LongConsumer); 14983 method public default boolean tryAdvance(java.util.function.Consumer<? super java.lang.Long>); 14984 method public java.util.Spliterator.OfLong trySplit(); 14985 } 14986 14987 public static interface Spliterator.OfPrimitive<T, T_CONS, T_SPLITR extends java.util.Spliterator.OfPrimitive<T, T_CONS, T_SPLITR>> extends java.util.Spliterator<T> { 14988 method public default void forEachRemaining(T_CONS); 14989 method public boolean tryAdvance(T_CONS); 14990 method public T_SPLITR trySplit(); 14991 } 14992 14993 public final class Spliterators { 14994 method public static java.util.Spliterator.OfDouble emptyDoubleSpliterator(); 14995 method public static java.util.Spliterator.OfInt emptyIntSpliterator(); 14996 method public static java.util.Spliterator.OfLong emptyLongSpliterator(); 14997 method public static <T> java.util.Spliterator<T> emptySpliterator(); 14998 method public static <T> java.util.Iterator<T> iterator(java.util.Spliterator<? extends T>); 14999 method public static java.util.PrimitiveIterator.OfInt iterator(java.util.Spliterator.OfInt); 15000 method public static java.util.PrimitiveIterator.OfLong iterator(java.util.Spliterator.OfLong); 15001 method public static java.util.PrimitiveIterator.OfDouble iterator(java.util.Spliterator.OfDouble); 15002 method public static <T> java.util.Spliterator<T> spliterator(Object[], int); 15003 method public static <T> java.util.Spliterator<T> spliterator(Object[], int, int, int); 15004 method public static java.util.Spliterator.OfInt spliterator(int[], int); 15005 method public static java.util.Spliterator.OfInt spliterator(int[], int, int, int); 15006 method public static java.util.Spliterator.OfLong spliterator(long[], int); 15007 method public static java.util.Spliterator.OfLong spliterator(long[], int, int, int); 15008 method public static java.util.Spliterator.OfDouble spliterator(double[], int); 15009 method public static java.util.Spliterator.OfDouble spliterator(double[], int, int, int); 15010 method public static <T> java.util.Spliterator<T> spliterator(java.util.Collection<? extends T>, int); 15011 method public static <T> java.util.Spliterator<T> spliterator(java.util.Iterator<? extends T>, long, int); 15012 method public static java.util.Spliterator.OfInt spliterator(java.util.PrimitiveIterator.OfInt, long, int); 15013 method public static java.util.Spliterator.OfLong spliterator(java.util.PrimitiveIterator.OfLong, long, int); 15014 method public static java.util.Spliterator.OfDouble spliterator(java.util.PrimitiveIterator.OfDouble, long, int); 15015 method public static <T> java.util.Spliterator<T> spliteratorUnknownSize(java.util.Iterator<? extends T>, int); 15016 method public static java.util.Spliterator.OfInt spliteratorUnknownSize(java.util.PrimitiveIterator.OfInt, int); 15017 method public static java.util.Spliterator.OfLong spliteratorUnknownSize(java.util.PrimitiveIterator.OfLong, int); 15018 method public static java.util.Spliterator.OfDouble spliteratorUnknownSize(java.util.PrimitiveIterator.OfDouble, int); 15019 } 15020 15021 public abstract static class Spliterators.AbstractDoubleSpliterator implements java.util.Spliterator.OfDouble { 15022 ctor protected Spliterators.AbstractDoubleSpliterator(long, int); 15023 method public int characteristics(); 15024 method public long estimateSize(); 15025 method public java.util.Spliterator.OfDouble trySplit(); 15026 } 15027 15028 public abstract static class Spliterators.AbstractIntSpliterator implements java.util.Spliterator.OfInt { 15029 ctor protected Spliterators.AbstractIntSpliterator(long, int); 15030 method public int characteristics(); 15031 method public long estimateSize(); 15032 method public java.util.Spliterator.OfInt trySplit(); 15033 } 15034 15035 public abstract static class Spliterators.AbstractLongSpliterator implements java.util.Spliterator.OfLong { 15036 ctor protected Spliterators.AbstractLongSpliterator(long, int); 15037 method public int characteristics(); 15038 method public long estimateSize(); 15039 method public java.util.Spliterator.OfLong trySplit(); 15040 } 15041 15042 public abstract static class Spliterators.AbstractSpliterator<T> implements java.util.Spliterator<T> { 15043 ctor protected Spliterators.AbstractSpliterator(long, int); 15044 method public int characteristics(); 15045 method public long estimateSize(); 15046 method public java.util.Spliterator<T> trySplit(); 15047 } 15048 15049 public final class SplittableRandom implements java.util.random.RandomGenerator java.util.random.RandomGenerator.SplittableGenerator { 15050 ctor public SplittableRandom(long); 15051 ctor public SplittableRandom(); 15052 method public java.util.stream.DoubleStream doubles(long); 15053 method public java.util.stream.DoubleStream doubles(); 15054 method public java.util.stream.DoubleStream doubles(long, double, double); 15055 method public java.util.stream.DoubleStream doubles(double, double); 15056 method public java.util.stream.IntStream ints(long); 15057 method public java.util.stream.IntStream ints(); 15058 method public java.util.stream.IntStream ints(long, int, int); 15059 method public java.util.stream.IntStream ints(int, int); 15060 method public java.util.stream.LongStream longs(long); 15061 method public java.util.stream.LongStream longs(); 15062 method public java.util.stream.LongStream longs(long, long, long); 15063 method public java.util.stream.LongStream longs(long, long); 15064 method public void nextBytes(byte[]); 15065 method public int nextInt(); 15066 method public long nextLong(); 15067 method public java.util.SplittableRandom split(); 15068 method @FlaggedApi("com.android.libcore.v_apis") public java.util.SplittableRandom split(java.util.random.RandomGenerator.SplittableGenerator); 15069 method @FlaggedApi("com.android.libcore.v_apis") public java.util.stream.Stream<java.util.random.RandomGenerator.SplittableGenerator> splits(); 15070 method @FlaggedApi("com.android.libcore.v_apis") public java.util.stream.Stream<java.util.random.RandomGenerator.SplittableGenerator> splits(long); 15071 method @FlaggedApi("com.android.libcore.v_apis") public java.util.stream.Stream<java.util.random.RandomGenerator.SplittableGenerator> splits(java.util.random.RandomGenerator.SplittableGenerator); 15072 method @FlaggedApi("com.android.libcore.v_apis") public java.util.stream.Stream<java.util.random.RandomGenerator.SplittableGenerator> splits(long, java.util.random.RandomGenerator.SplittableGenerator); 15073 } 15074 15075 public class Stack<E> extends java.util.Vector<E> { 15076 ctor public Stack(); 15077 method public boolean empty(); 15078 method public E peek(); 15079 method public E pop(); 15080 method public E push(E); 15081 method public int search(Object); 15082 } 15083 15084 public final class StringJoiner { 15085 ctor public StringJoiner(CharSequence); 15086 ctor public StringJoiner(CharSequence, CharSequence, CharSequence); 15087 method public java.util.StringJoiner add(CharSequence); 15088 method public int length(); 15089 method public java.util.StringJoiner merge(java.util.StringJoiner); 15090 method public java.util.StringJoiner setEmptyValue(CharSequence); 15091 } 15092 15093 public class StringTokenizer implements java.util.Enumeration<java.lang.Object> { 15094 ctor public StringTokenizer(String, String, boolean); 15095 ctor public StringTokenizer(String, String); 15096 ctor public StringTokenizer(String); 15097 method public int countTokens(); 15098 method public boolean hasMoreElements(); 15099 method public boolean hasMoreTokens(); 15100 method public Object nextElement(); 15101 method public String nextToken(); 15102 method public String nextToken(String); 15103 } 15104 15105 public abstract class TimeZone implements java.lang.Cloneable java.io.Serializable { 15106 ctor public TimeZone(); 15107 method public Object clone(); 15108 method public static String[] getAvailableIDs(int); 15109 method public static String[] getAvailableIDs(); 15110 method public int getDSTSavings(); 15111 method public static java.util.TimeZone getDefault(); 15112 method public final String getDisplayName(); 15113 method public final String getDisplayName(java.util.Locale); 15114 method public final String getDisplayName(boolean, int); 15115 method public String getDisplayName(boolean, int, java.util.Locale); 15116 method public String getID(); 15117 method public abstract int getOffset(int, int, int, int, int, int); 15118 method public int getOffset(long); 15119 method public abstract int getRawOffset(); 15120 method public static java.util.TimeZone getTimeZone(String); 15121 method public static java.util.TimeZone getTimeZone(java.time.ZoneId); 15122 method public boolean hasSameRules(java.util.TimeZone); 15123 method public abstract boolean inDaylightTime(java.util.Date); 15124 method public boolean observesDaylightTime(); 15125 method public static void setDefault(java.util.TimeZone); 15126 method public void setID(String); 15127 method public abstract void setRawOffset(int); 15128 method public java.time.ZoneId toZoneId(); 15129 method public abstract boolean useDaylightTime(); 15130 field public static final int LONG = 1; // 0x1 15131 field public static final int SHORT = 0; // 0x0 15132 } 15133 15134 public class Timer { 15135 ctor public Timer(); 15136 ctor public Timer(boolean); 15137 ctor public Timer(String); 15138 ctor public Timer(String, boolean); 15139 method public void cancel(); 15140 method public int purge(); 15141 method public void schedule(java.util.TimerTask, long); 15142 method public void schedule(java.util.TimerTask, java.util.Date); 15143 method public void schedule(java.util.TimerTask, long, long); 15144 method public void schedule(java.util.TimerTask, java.util.Date, long); 15145 method public void scheduleAtFixedRate(java.util.TimerTask, long, long); 15146 method public void scheduleAtFixedRate(java.util.TimerTask, java.util.Date, long); 15147 } 15148 15149 public abstract class TimerTask implements java.lang.Runnable { 15150 ctor protected TimerTask(); 15151 method public boolean cancel(); 15152 method public long scheduledExecutionTime(); 15153 } 15154 15155 public class TooManyListenersException extends java.lang.Exception { 15156 ctor public TooManyListenersException(); 15157 ctor public TooManyListenersException(String); 15158 } 15159 15160 public class TreeMap<K, V> extends java.util.AbstractMap<K,V> implements java.lang.Cloneable java.util.NavigableMap<K,V> java.io.Serializable { 15161 ctor public TreeMap(); 15162 ctor public TreeMap(@Nullable java.util.Comparator<? super K>); 15163 ctor public TreeMap(@NonNull java.util.Map<? extends K,? extends V>); 15164 ctor public TreeMap(@NonNull java.util.SortedMap<K,? extends V>); 15165 method @Nullable public java.util.Map.Entry<K,V> ceilingEntry(K); 15166 method @Nullable public K ceilingKey(K); 15167 method @NonNull public Object clone(); 15168 method @Nullable public java.util.Comparator<? super K> comparator(); 15169 method @Nullable public V compute(K, @NonNull java.util.function.BiFunction<? super K,? super V,? extends V>); 15170 method @Nullable public V computeIfAbsent(K, @NonNull java.util.function.Function<? super K,? extends V>); 15171 method @Nullable public V computeIfPresent(K, @NonNull java.util.function.BiFunction<? super K,? super V,? extends V>); 15172 method @NonNull public java.util.NavigableSet<K> descendingKeySet(); 15173 method @NonNull public java.util.NavigableMap<K,V> descendingMap(); 15174 method @NonNull public java.util.Set<java.util.Map.Entry<K,V>> entrySet(); 15175 method @Nullable public java.util.Map.Entry<K,V> firstEntry(); 15176 method public K firstKey(); 15177 method @Nullable public java.util.Map.Entry<K,V> floorEntry(K); 15178 method @Nullable public K floorKey(K); 15179 method public void forEach(@NonNull java.util.function.BiConsumer<? super K,? super V>); 15180 method @NonNull public java.util.NavigableMap<K,V> headMap(K, boolean); 15181 method @NonNull public java.util.SortedMap<K,V> headMap(K); 15182 method @Nullable public java.util.Map.Entry<K,V> higherEntry(K); 15183 method @Nullable public K higherKey(K); 15184 method @Nullable public java.util.Map.Entry<K,V> lastEntry(); 15185 method public K lastKey(); 15186 method @Nullable public java.util.Map.Entry<K,V> lowerEntry(K); 15187 method @Nullable public K lowerKey(K); 15188 method @Nullable public V merge(K, @NonNull V, @NonNull java.util.function.BiFunction<? super V,? super V,? extends V>); 15189 method @NonNull public java.util.NavigableSet<K> navigableKeySet(); 15190 method @Nullable public java.util.Map.Entry<K,V> pollFirstEntry(); 15191 method @Nullable public java.util.Map.Entry<K,V> pollLastEntry(); 15192 method @FlaggedApi("com.android.libcore.v_apis") @Nullable public V putFirst(K, V); 15193 method @Nullable public V putIfAbsent(K, V); 15194 method @FlaggedApi("com.android.libcore.v_apis") @Nullable public V putLast(K, V); 15195 method public boolean replace(K, @Nullable V, V); 15196 method public V replace(K, V); 15197 method public void replaceAll(@NonNull java.util.function.BiFunction<? super K,? super V,? extends V>); 15198 method @NonNull public java.util.NavigableMap<K,V> subMap(K, boolean, K, boolean); 15199 method @NonNull public java.util.SortedMap<K,V> subMap(K, K); 15200 method @NonNull public java.util.NavigableMap<K,V> tailMap(K, boolean); 15201 method @NonNull public java.util.SortedMap<K,V> tailMap(K); 15202 } 15203 15204 public class TreeSet<E> extends java.util.AbstractSet<E> implements java.lang.Cloneable java.util.NavigableSet<E> java.io.Serializable { 15205 ctor public TreeSet(); 15206 ctor public TreeSet(java.util.Comparator<? super E>); 15207 ctor public TreeSet(java.util.Collection<? extends E>); 15208 ctor public TreeSet(java.util.SortedSet<E>); 15209 method @FlaggedApi("com.android.libcore.v_apis") public void addFirst(E); 15210 method @FlaggedApi("com.android.libcore.v_apis") public void addLast(E); 15211 method public E ceiling(E); 15212 method public Object clone(); 15213 method public java.util.Comparator<? super E> comparator(); 15214 method public java.util.Iterator<E> descendingIterator(); 15215 method public java.util.NavigableSet<E> descendingSet(); 15216 method public E first(); 15217 method public E floor(E); 15218 method public java.util.NavigableSet<E> headSet(E, boolean); 15219 method public java.util.SortedSet<E> headSet(E); 15220 method public E higher(E); 15221 method public java.util.Iterator<E> iterator(); 15222 method public E last(); 15223 method public E lower(E); 15224 method public E pollFirst(); 15225 method public E pollLast(); 15226 method public int size(); 15227 method public java.util.Spliterator<E> spliterator(); 15228 method public java.util.NavigableSet<E> subSet(E, boolean, E, boolean); 15229 method public java.util.SortedSet<E> subSet(E, E); 15230 method public java.util.NavigableSet<E> tailSet(E, boolean); 15231 method public java.util.SortedSet<E> tailSet(E); 15232 } 15233 15234 public final class UUID implements java.lang.Comparable<java.util.UUID> java.io.Serializable { 15235 ctor public UUID(long, long); 15236 method public int clockSequence(); 15237 method public int compareTo(java.util.UUID); 15238 method public static java.util.UUID fromString(String); 15239 method public long getLeastSignificantBits(); 15240 method public long getMostSignificantBits(); 15241 method public static java.util.UUID nameUUIDFromBytes(byte[]); 15242 method public long node(); 15243 method public static java.util.UUID randomUUID(); 15244 method public long timestamp(); 15245 method public int variant(); 15246 method public int version(); 15247 } 15248 15249 public class UnknownFormatConversionException extends java.util.IllegalFormatException { 15250 ctor public UnknownFormatConversionException(String); 15251 method public String getConversion(); 15252 } 15253 15254 public class UnknownFormatFlagsException extends java.util.IllegalFormatException { 15255 ctor public UnknownFormatFlagsException(String); 15256 method public String getFlags(); 15257 } 15258 15259 public class Vector<E> extends java.util.AbstractList<E> implements java.lang.Cloneable java.util.List<E> java.util.RandomAccess java.io.Serializable { 15260 ctor public Vector(int, int); 15261 ctor public Vector(int); 15262 ctor public Vector(); 15263 ctor public Vector(@NonNull java.util.Collection<? extends E>); 15264 method public void addElement(E); 15265 method public int capacity(); 15266 method @NonNull public Object clone(); 15267 method public void copyInto(@NonNull Object[]); 15268 method public E elementAt(int); 15269 method @NonNull public java.util.Enumeration<E> elements(); 15270 method public void ensureCapacity(int); 15271 method public E firstElement(); 15272 method public void forEach(@NonNull java.util.function.Consumer<? super E>); 15273 method public E get(int); 15274 method public int indexOf(@Nullable Object, int); 15275 method public void insertElementAt(E, int); 15276 method public E lastElement(); 15277 method public int lastIndexOf(@Nullable Object, int); 15278 method public void removeAllElements(); 15279 method public boolean removeElement(@Nullable Object); 15280 method public void removeElementAt(int); 15281 method public boolean removeIf(@NonNull java.util.function.Predicate<? super E>); 15282 method public void replaceAll(@NonNull java.util.function.UnaryOperator<E>); 15283 method public void setElementAt(E, int); 15284 method public void setSize(int); 15285 method public int size(); 15286 method public void sort(@Nullable java.util.Comparator<? super E>); 15287 method @NonNull public java.util.Spliterator<E> spliterator(); 15288 method public void trimToSize(); 15289 field protected int capacityIncrement; 15290 field protected int elementCount; 15291 field @NonNull protected Object[] elementData; 15292 } 15293 15294 public class WeakHashMap<K, V> extends java.util.AbstractMap<K,V> implements java.util.Map<K,V> { 15295 ctor public WeakHashMap(int, float); 15296 ctor public WeakHashMap(int); 15297 ctor public WeakHashMap(); 15298 ctor public WeakHashMap(@NonNull java.util.Map<? extends K,? extends V>); 15299 method @NonNull public java.util.Set<java.util.Map.Entry<K,V>> entrySet(); 15300 method public void forEach(@NonNull java.util.function.BiConsumer<? super K,? super V>); 15301 method public void replaceAll(@NonNull java.util.function.BiFunction<? super K,? super V,? extends V>); 15302 } 15303 15304} 15305 15306package java.util.concurrent { 15307 15308 public abstract class AbstractExecutorService implements java.util.concurrent.ExecutorService { 15309 ctor public AbstractExecutorService(); 15310 method public <T> java.util.List<java.util.concurrent.Future<T>> invokeAll(java.util.Collection<? extends java.util.concurrent.Callable<T>>) throws java.lang.InterruptedException; 15311 method public <T> java.util.List<java.util.concurrent.Future<T>> invokeAll(java.util.Collection<? extends java.util.concurrent.Callable<T>>, long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedException; 15312 method public <T> T invokeAny(java.util.Collection<? extends java.util.concurrent.Callable<T>>) throws java.util.concurrent.ExecutionException, java.lang.InterruptedException; 15313 method public <T> T invokeAny(java.util.Collection<? extends java.util.concurrent.Callable<T>>, long, java.util.concurrent.TimeUnit) throws java.util.concurrent.ExecutionException, java.lang.InterruptedException, java.util.concurrent.TimeoutException; 15314 method protected <T> java.util.concurrent.RunnableFuture<T> newTaskFor(Runnable, T); 15315 method protected <T> java.util.concurrent.RunnableFuture<T> newTaskFor(java.util.concurrent.Callable<T>); 15316 method public java.util.concurrent.Future<?> submit(Runnable); 15317 method public <T> java.util.concurrent.Future<T> submit(Runnable, T); 15318 method public <T> java.util.concurrent.Future<T> submit(java.util.concurrent.Callable<T>); 15319 } 15320 15321 public class ArrayBlockingQueue<E> extends java.util.AbstractQueue<E> implements java.util.concurrent.BlockingQueue<E> java.io.Serializable { 15322 ctor public ArrayBlockingQueue(int); 15323 ctor public ArrayBlockingQueue(int, boolean); 15324 ctor public ArrayBlockingQueue(int, boolean, java.util.Collection<? extends E>); 15325 method public int drainTo(java.util.Collection<? super E>); 15326 method public int drainTo(java.util.Collection<? super E>, int); 15327 method public void forEach(java.util.function.Consumer<? super E>); 15328 method public java.util.Iterator<E> iterator(); 15329 method public boolean offer(E); 15330 method public boolean offer(E, long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedException; 15331 method public E peek(); 15332 method public E poll(); 15333 method public E poll(long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedException; 15334 method public void put(E) throws java.lang.InterruptedException; 15335 method public int remainingCapacity(); 15336 method public boolean removeIf(java.util.function.Predicate<? super E>); 15337 method public int size(); 15338 method public java.util.Spliterator<E> spliterator(); 15339 method public E take() throws java.lang.InterruptedException; 15340 } 15341 15342 public interface BlockingDeque<E> extends java.util.concurrent.BlockingQueue<E> java.util.Deque<E> { 15343 method public boolean add(E); 15344 method public boolean contains(Object); 15345 method public E element(); 15346 method public java.util.Iterator<E> iterator(); 15347 method public boolean offer(E); 15348 method public boolean offerFirst(E, long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedException; 15349 method public boolean offerLast(E, long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedException; 15350 method public E peek(); 15351 method public E poll(); 15352 method public E pollFirst(long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedException; 15353 method public E pollLast(long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedException; 15354 method public void putFirst(E) throws java.lang.InterruptedException; 15355 method public void putLast(E) throws java.lang.InterruptedException; 15356 method public E remove(); 15357 method public boolean remove(Object); 15358 method public int size(); 15359 method public E takeFirst() throws java.lang.InterruptedException; 15360 method public E takeLast() throws java.lang.InterruptedException; 15361 } 15362 15363 public interface BlockingQueue<E> extends java.util.Queue<E> { 15364 method public int drainTo(java.util.Collection<? super E>); 15365 method public int drainTo(java.util.Collection<? super E>, int); 15366 method public boolean offer(E, long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedException; 15367 method public E poll(long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedException; 15368 method public void put(E) throws java.lang.InterruptedException; 15369 method public int remainingCapacity(); 15370 method public E take() throws java.lang.InterruptedException; 15371 } 15372 15373 public class BrokenBarrierException extends java.lang.Exception { 15374 ctor public BrokenBarrierException(); 15375 ctor public BrokenBarrierException(String); 15376 } 15377 15378 @java.lang.FunctionalInterface public interface Callable<V> { 15379 method public V call() throws java.lang.Exception; 15380 } 15381 15382 public class CancellationException extends java.lang.IllegalStateException { 15383 ctor public CancellationException(); 15384 ctor public CancellationException(String); 15385 } 15386 15387 public class CompletableFuture<T> implements java.util.concurrent.CompletionStage<T> java.util.concurrent.Future<T> { 15388 ctor public CompletableFuture(); 15389 method public java.util.concurrent.CompletableFuture<java.lang.Void> acceptEither(java.util.concurrent.CompletionStage<? extends T>, java.util.function.Consumer<? super T>); 15390 method public java.util.concurrent.CompletableFuture<java.lang.Void> acceptEitherAsync(java.util.concurrent.CompletionStage<? extends T>, java.util.function.Consumer<? super T>); 15391 method public java.util.concurrent.CompletableFuture<java.lang.Void> acceptEitherAsync(java.util.concurrent.CompletionStage<? extends T>, java.util.function.Consumer<? super T>, java.util.concurrent.Executor); 15392 method public static java.util.concurrent.CompletableFuture<java.lang.Void> allOf(java.util.concurrent.CompletableFuture<?>...); 15393 method public static java.util.concurrent.CompletableFuture<java.lang.Object> anyOf(java.util.concurrent.CompletableFuture<?>...); 15394 method public <U> java.util.concurrent.CompletableFuture<U> applyToEither(java.util.concurrent.CompletionStage<? extends T>, java.util.function.Function<? super T,U>); 15395 method public <U> java.util.concurrent.CompletableFuture<U> applyToEitherAsync(java.util.concurrent.CompletionStage<? extends T>, java.util.function.Function<? super T,U>); 15396 method public <U> java.util.concurrent.CompletableFuture<U> applyToEitherAsync(java.util.concurrent.CompletionStage<? extends T>, java.util.function.Function<? super T,U>, java.util.concurrent.Executor); 15397 method public boolean cancel(boolean); 15398 method public boolean complete(T); 15399 method public java.util.concurrent.CompletableFuture<T> completeAsync(java.util.function.Supplier<? extends T>, java.util.concurrent.Executor); 15400 method public java.util.concurrent.CompletableFuture<T> completeAsync(java.util.function.Supplier<? extends T>); 15401 method public boolean completeExceptionally(Throwable); 15402 method public java.util.concurrent.CompletableFuture<T> completeOnTimeout(T, long, java.util.concurrent.TimeUnit); 15403 method public static <U> java.util.concurrent.CompletableFuture<U> completedFuture(U); 15404 method public static <U> java.util.concurrent.CompletionStage<U> completedStage(U); 15405 method public java.util.concurrent.CompletableFuture<T> copy(); 15406 method public java.util.concurrent.Executor defaultExecutor(); 15407 method public static java.util.concurrent.Executor delayedExecutor(long, java.util.concurrent.TimeUnit, java.util.concurrent.Executor); 15408 method public static java.util.concurrent.Executor delayedExecutor(long, java.util.concurrent.TimeUnit); 15409 method public java.util.concurrent.CompletableFuture<T> exceptionally(java.util.function.Function<java.lang.Throwable,? extends T>); 15410 method public java.util.concurrent.CompletableFuture<T> exceptionallyAsync(java.util.function.Function<java.lang.Throwable,? extends T>); 15411 method public java.util.concurrent.CompletableFuture<T> exceptionallyAsync(java.util.function.Function<java.lang.Throwable,? extends T>, java.util.concurrent.Executor); 15412 method public java.util.concurrent.CompletableFuture<T> exceptionallyCompose(java.util.function.Function<java.lang.Throwable,? extends java.util.concurrent.CompletionStage<T>>); 15413 method public java.util.concurrent.CompletableFuture<T> exceptionallyComposeAsync(java.util.function.Function<java.lang.Throwable,? extends java.util.concurrent.CompletionStage<T>>); 15414 method public java.util.concurrent.CompletableFuture<T> exceptionallyComposeAsync(java.util.function.Function<java.lang.Throwable,? extends java.util.concurrent.CompletionStage<T>>, java.util.concurrent.Executor); 15415 method public static <U> java.util.concurrent.CompletableFuture<U> failedFuture(Throwable); 15416 method public static <U> java.util.concurrent.CompletionStage<U> failedStage(Throwable); 15417 method public T get() throws java.util.concurrent.ExecutionException, java.lang.InterruptedException; 15418 method public T get(long, java.util.concurrent.TimeUnit) throws java.util.concurrent.ExecutionException, java.lang.InterruptedException, java.util.concurrent.TimeoutException; 15419 method public T getNow(T); 15420 method public int getNumberOfDependents(); 15421 method public <U> java.util.concurrent.CompletableFuture<U> handle(java.util.function.BiFunction<? super T,java.lang.Throwable,? extends U>); 15422 method public <U> java.util.concurrent.CompletableFuture<U> handleAsync(java.util.function.BiFunction<? super T,java.lang.Throwable,? extends U>); 15423 method public <U> java.util.concurrent.CompletableFuture<U> handleAsync(java.util.function.BiFunction<? super T,java.lang.Throwable,? extends U>, java.util.concurrent.Executor); 15424 method public boolean isCancelled(); 15425 method public boolean isCompletedExceptionally(); 15426 method public boolean isDone(); 15427 method public T join(); 15428 method public java.util.concurrent.CompletionStage<T> minimalCompletionStage(); 15429 method public <U> java.util.concurrent.CompletableFuture<U> newIncompleteFuture(); 15430 method public void obtrudeException(Throwable); 15431 method public void obtrudeValue(T); 15432 method public java.util.concurrent.CompletableFuture<T> orTimeout(long, java.util.concurrent.TimeUnit); 15433 method public java.util.concurrent.CompletableFuture<java.lang.Void> runAfterBoth(java.util.concurrent.CompletionStage<?>, Runnable); 15434 method public java.util.concurrent.CompletableFuture<java.lang.Void> runAfterBothAsync(java.util.concurrent.CompletionStage<?>, Runnable); 15435 method public java.util.concurrent.CompletableFuture<java.lang.Void> runAfterBothAsync(java.util.concurrent.CompletionStage<?>, Runnable, java.util.concurrent.Executor); 15436 method public java.util.concurrent.CompletableFuture<java.lang.Void> runAfterEither(java.util.concurrent.CompletionStage<?>, Runnable); 15437 method public java.util.concurrent.CompletableFuture<java.lang.Void> runAfterEitherAsync(java.util.concurrent.CompletionStage<?>, Runnable); 15438 method public java.util.concurrent.CompletableFuture<java.lang.Void> runAfterEitherAsync(java.util.concurrent.CompletionStage<?>, Runnable, java.util.concurrent.Executor); 15439 method public static java.util.concurrent.CompletableFuture<java.lang.Void> runAsync(Runnable); 15440 method public static java.util.concurrent.CompletableFuture<java.lang.Void> runAsync(Runnable, java.util.concurrent.Executor); 15441 method public static <U> java.util.concurrent.CompletableFuture<U> supplyAsync(java.util.function.Supplier<U>); 15442 method public static <U> java.util.concurrent.CompletableFuture<U> supplyAsync(java.util.function.Supplier<U>, java.util.concurrent.Executor); 15443 method public java.util.concurrent.CompletableFuture<java.lang.Void> thenAccept(java.util.function.Consumer<? super T>); 15444 method public java.util.concurrent.CompletableFuture<java.lang.Void> thenAcceptAsync(java.util.function.Consumer<? super T>); 15445 method public java.util.concurrent.CompletableFuture<java.lang.Void> thenAcceptAsync(java.util.function.Consumer<? super T>, java.util.concurrent.Executor); 15446 method public <U> java.util.concurrent.CompletableFuture<java.lang.Void> thenAcceptBoth(java.util.concurrent.CompletionStage<? extends U>, java.util.function.BiConsumer<? super T,? super U>); 15447 method public <U> java.util.concurrent.CompletableFuture<java.lang.Void> thenAcceptBothAsync(java.util.concurrent.CompletionStage<? extends U>, java.util.function.BiConsumer<? super T,? super U>); 15448 method public <U> java.util.concurrent.CompletableFuture<java.lang.Void> thenAcceptBothAsync(java.util.concurrent.CompletionStage<? extends U>, java.util.function.BiConsumer<? super T,? super U>, java.util.concurrent.Executor); 15449 method public <U> java.util.concurrent.CompletableFuture<U> thenApply(java.util.function.Function<? super T,? extends U>); 15450 method public <U> java.util.concurrent.CompletableFuture<U> thenApplyAsync(java.util.function.Function<? super T,? extends U>); 15451 method public <U> java.util.concurrent.CompletableFuture<U> thenApplyAsync(java.util.function.Function<? super T,? extends U>, java.util.concurrent.Executor); 15452 method public <U, V> java.util.concurrent.CompletableFuture<V> thenCombine(java.util.concurrent.CompletionStage<? extends U>, java.util.function.BiFunction<? super T,? super U,? extends V>); 15453 method public <U, V> java.util.concurrent.CompletableFuture<V> thenCombineAsync(java.util.concurrent.CompletionStage<? extends U>, java.util.function.BiFunction<? super T,? super U,? extends V>); 15454 method public <U, V> java.util.concurrent.CompletableFuture<V> thenCombineAsync(java.util.concurrent.CompletionStage<? extends U>, java.util.function.BiFunction<? super T,? super U,? extends V>, java.util.concurrent.Executor); 15455 method public <U> java.util.concurrent.CompletableFuture<U> thenCompose(java.util.function.Function<? super T,? extends java.util.concurrent.CompletionStage<U>>); 15456 method public <U> java.util.concurrent.CompletableFuture<U> thenComposeAsync(java.util.function.Function<? super T,? extends java.util.concurrent.CompletionStage<U>>); 15457 method public <U> java.util.concurrent.CompletableFuture<U> thenComposeAsync(java.util.function.Function<? super T,? extends java.util.concurrent.CompletionStage<U>>, java.util.concurrent.Executor); 15458 method public java.util.concurrent.CompletableFuture<java.lang.Void> thenRun(Runnable); 15459 method public java.util.concurrent.CompletableFuture<java.lang.Void> thenRunAsync(Runnable); 15460 method public java.util.concurrent.CompletableFuture<java.lang.Void> thenRunAsync(Runnable, java.util.concurrent.Executor); 15461 method public java.util.concurrent.CompletableFuture<T> toCompletableFuture(); 15462 method public java.util.concurrent.CompletableFuture<T> whenComplete(java.util.function.BiConsumer<? super T,? super java.lang.Throwable>); 15463 method public java.util.concurrent.CompletableFuture<T> whenCompleteAsync(java.util.function.BiConsumer<? super T,? super java.lang.Throwable>); 15464 method public java.util.concurrent.CompletableFuture<T> whenCompleteAsync(java.util.function.BiConsumer<? super T,? super java.lang.Throwable>, java.util.concurrent.Executor); 15465 } 15466 15467 public static interface CompletableFuture.AsynchronousCompletionTask { 15468 } 15469 15470 public class CompletionException extends java.lang.RuntimeException { 15471 ctor protected CompletionException(); 15472 ctor protected CompletionException(String); 15473 ctor public CompletionException(String, Throwable); 15474 ctor public CompletionException(Throwable); 15475 } 15476 15477 public interface CompletionService<V> { 15478 method public java.util.concurrent.Future<V> poll(); 15479 method public java.util.concurrent.Future<V> poll(long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedException; 15480 method public java.util.concurrent.Future<V> submit(java.util.concurrent.Callable<V>); 15481 method public java.util.concurrent.Future<V> submit(Runnable, V); 15482 method public java.util.concurrent.Future<V> take() throws java.lang.InterruptedException; 15483 } 15484 15485 public interface CompletionStage<T> { 15486 method public java.util.concurrent.CompletionStage<java.lang.Void> acceptEither(java.util.concurrent.CompletionStage<? extends T>, java.util.function.Consumer<? super T>); 15487 method public java.util.concurrent.CompletionStage<java.lang.Void> acceptEitherAsync(java.util.concurrent.CompletionStage<? extends T>, java.util.function.Consumer<? super T>); 15488 method public java.util.concurrent.CompletionStage<java.lang.Void> acceptEitherAsync(java.util.concurrent.CompletionStage<? extends T>, java.util.function.Consumer<? super T>, java.util.concurrent.Executor); 15489 method public <U> java.util.concurrent.CompletionStage<U> applyToEither(java.util.concurrent.CompletionStage<? extends T>, java.util.function.Function<? super T,U>); 15490 method public <U> java.util.concurrent.CompletionStage<U> applyToEitherAsync(java.util.concurrent.CompletionStage<? extends T>, java.util.function.Function<? super T,U>); 15491 method public <U> java.util.concurrent.CompletionStage<U> applyToEitherAsync(java.util.concurrent.CompletionStage<? extends T>, java.util.function.Function<? super T,U>, java.util.concurrent.Executor); 15492 method public java.util.concurrent.CompletionStage<T> exceptionally(java.util.function.Function<java.lang.Throwable,? extends T>); 15493 method public default java.util.concurrent.CompletionStage<T> exceptionallyAsync(java.util.function.Function<java.lang.Throwable,? extends T>); 15494 method public default java.util.concurrent.CompletionStage<T> exceptionallyAsync(java.util.function.Function<java.lang.Throwable,? extends T>, java.util.concurrent.Executor); 15495 method public default java.util.concurrent.CompletionStage<T> exceptionallyCompose(java.util.function.Function<java.lang.Throwable,? extends java.util.concurrent.CompletionStage<T>>); 15496 method public default java.util.concurrent.CompletionStage<T> exceptionallyComposeAsync(java.util.function.Function<java.lang.Throwable,? extends java.util.concurrent.CompletionStage<T>>); 15497 method public default java.util.concurrent.CompletionStage<T> exceptionallyComposeAsync(java.util.function.Function<java.lang.Throwable,? extends java.util.concurrent.CompletionStage<T>>, java.util.concurrent.Executor); 15498 method public <U> java.util.concurrent.CompletionStage<U> handle(java.util.function.BiFunction<? super T,java.lang.Throwable,? extends U>); 15499 method public <U> java.util.concurrent.CompletionStage<U> handleAsync(java.util.function.BiFunction<? super T,java.lang.Throwable,? extends U>); 15500 method public <U> java.util.concurrent.CompletionStage<U> handleAsync(java.util.function.BiFunction<? super T,java.lang.Throwable,? extends U>, java.util.concurrent.Executor); 15501 method public java.util.concurrent.CompletionStage<java.lang.Void> runAfterBoth(java.util.concurrent.CompletionStage<?>, Runnable); 15502 method public java.util.concurrent.CompletionStage<java.lang.Void> runAfterBothAsync(java.util.concurrent.CompletionStage<?>, Runnable); 15503 method public java.util.concurrent.CompletionStage<java.lang.Void> runAfterBothAsync(java.util.concurrent.CompletionStage<?>, Runnable, java.util.concurrent.Executor); 15504 method public java.util.concurrent.CompletionStage<java.lang.Void> runAfterEither(java.util.concurrent.CompletionStage<?>, Runnable); 15505 method public java.util.concurrent.CompletionStage<java.lang.Void> runAfterEitherAsync(java.util.concurrent.CompletionStage<?>, Runnable); 15506 method public java.util.concurrent.CompletionStage<java.lang.Void> runAfterEitherAsync(java.util.concurrent.CompletionStage<?>, Runnable, java.util.concurrent.Executor); 15507 method public java.util.concurrent.CompletionStage<java.lang.Void> thenAccept(java.util.function.Consumer<? super T>); 15508 method public java.util.concurrent.CompletionStage<java.lang.Void> thenAcceptAsync(java.util.function.Consumer<? super T>); 15509 method public java.util.concurrent.CompletionStage<java.lang.Void> thenAcceptAsync(java.util.function.Consumer<? super T>, java.util.concurrent.Executor); 15510 method public <U> java.util.concurrent.CompletionStage<java.lang.Void> thenAcceptBoth(java.util.concurrent.CompletionStage<? extends U>, java.util.function.BiConsumer<? super T,? super U>); 15511 method public <U> java.util.concurrent.CompletionStage<java.lang.Void> thenAcceptBothAsync(java.util.concurrent.CompletionStage<? extends U>, java.util.function.BiConsumer<? super T,? super U>); 15512 method public <U> java.util.concurrent.CompletionStage<java.lang.Void> thenAcceptBothAsync(java.util.concurrent.CompletionStage<? extends U>, java.util.function.BiConsumer<? super T,? super U>, java.util.concurrent.Executor); 15513 method public <U> java.util.concurrent.CompletionStage<U> thenApply(java.util.function.Function<? super T,? extends U>); 15514 method public <U> java.util.concurrent.CompletionStage<U> thenApplyAsync(java.util.function.Function<? super T,? extends U>); 15515 method public <U> java.util.concurrent.CompletionStage<U> thenApplyAsync(java.util.function.Function<? super T,? extends U>, java.util.concurrent.Executor); 15516 method public <U, V> java.util.concurrent.CompletionStage<V> thenCombine(java.util.concurrent.CompletionStage<? extends U>, java.util.function.BiFunction<? super T,? super U,? extends V>); 15517 method public <U, V> java.util.concurrent.CompletionStage<V> thenCombineAsync(java.util.concurrent.CompletionStage<? extends U>, java.util.function.BiFunction<? super T,? super U,? extends V>); 15518 method public <U, V> java.util.concurrent.CompletionStage<V> thenCombineAsync(java.util.concurrent.CompletionStage<? extends U>, java.util.function.BiFunction<? super T,? super U,? extends V>, java.util.concurrent.Executor); 15519 method public <U> java.util.concurrent.CompletionStage<U> thenCompose(java.util.function.Function<? super T,? extends java.util.concurrent.CompletionStage<U>>); 15520 method public <U> java.util.concurrent.CompletionStage<U> thenComposeAsync(java.util.function.Function<? super T,? extends java.util.concurrent.CompletionStage<U>>); 15521 method public <U> java.util.concurrent.CompletionStage<U> thenComposeAsync(java.util.function.Function<? super T,? extends java.util.concurrent.CompletionStage<U>>, java.util.concurrent.Executor); 15522 method public java.util.concurrent.CompletionStage<java.lang.Void> thenRun(Runnable); 15523 method public java.util.concurrent.CompletionStage<java.lang.Void> thenRunAsync(Runnable); 15524 method public java.util.concurrent.CompletionStage<java.lang.Void> thenRunAsync(Runnable, java.util.concurrent.Executor); 15525 method public java.util.concurrent.CompletableFuture<T> toCompletableFuture(); 15526 method public java.util.concurrent.CompletionStage<T> whenComplete(java.util.function.BiConsumer<? super T,? super java.lang.Throwable>); 15527 method public java.util.concurrent.CompletionStage<T> whenCompleteAsync(java.util.function.BiConsumer<? super T,? super java.lang.Throwable>); 15528 method public java.util.concurrent.CompletionStage<T> whenCompleteAsync(java.util.function.BiConsumer<? super T,? super java.lang.Throwable>, java.util.concurrent.Executor); 15529 } 15530 15531 public class ConcurrentHashMap<K, V> extends java.util.AbstractMap<K,V> implements java.util.concurrent.ConcurrentMap<K,V> java.io.Serializable { 15532 ctor public ConcurrentHashMap(); 15533 ctor public ConcurrentHashMap(int); 15534 ctor public ConcurrentHashMap(@NonNull java.util.Map<? extends K,? extends V>); 15535 ctor public ConcurrentHashMap(int, float); 15536 ctor public ConcurrentHashMap(int, float, int); 15537 method @Nullable public V compute(@NonNull K, @NonNull java.util.function.BiFunction<? super K,? super V,? extends V>); 15538 method @Nullable public V computeIfAbsent(@NonNull K, @NonNull java.util.function.Function<? super K,? extends V>); 15539 method @Nullable public V computeIfPresent(@NonNull K, @NonNull java.util.function.BiFunction<? super K,? super V,? extends V>); 15540 method public boolean contains(@NonNull Object); 15541 method @NonNull public java.util.Enumeration<V> elements(); 15542 method @NonNull public java.util.Set<java.util.Map.Entry<K,V>> entrySet(); 15543 method public void forEach(@NonNull java.util.function.BiConsumer<? super K,? super V>); 15544 method public void forEach(long, @NonNull java.util.function.BiConsumer<? super K,? super V>); 15545 method public <U> void forEach(long, @NonNull java.util.function.BiFunction<? super K,? super V,? extends U>, @NonNull java.util.function.Consumer<? super U>); 15546 method public void forEachEntry(long, @NonNull java.util.function.Consumer<? super java.util.Map.Entry<K,V>>); 15547 method public <U> void forEachEntry(long, @NonNull java.util.function.Function<java.util.Map.Entry<K,V>,? extends U>, @NonNull java.util.function.Consumer<? super U>); 15548 method public void forEachKey(long, @NonNull java.util.function.Consumer<? super K>); 15549 method public <U> void forEachKey(long, @NonNull java.util.function.Function<? super K,? extends U>, @NonNull java.util.function.Consumer<? super U>); 15550 method public void forEachValue(long, @NonNull java.util.function.Consumer<? super V>); 15551 method public <U> void forEachValue(long, @NonNull java.util.function.Function<? super V,? extends U>, @NonNull java.util.function.Consumer<? super U>); 15552 method @Nullable public V getOrDefault(@NonNull Object, @Nullable V); 15553 method @NonNull public java.util.concurrent.ConcurrentHashMap.KeySetView<K,V> keySet(@NonNull V); 15554 method @NonNull public java.util.Enumeration<K> keys(); 15555 method public long mappingCount(); 15556 method @Nullable public V merge(@NonNull K, @NonNull V, @NonNull java.util.function.BiFunction<? super V,? super V,? extends V>); 15557 method @NonNull public static <K> java.util.concurrent.ConcurrentHashMap.KeySetView<K,java.lang.Boolean> newKeySet(); 15558 method @NonNull public static <K> java.util.concurrent.ConcurrentHashMap.KeySetView<K,java.lang.Boolean> newKeySet(int); 15559 method @Nullable public V putIfAbsent(@NonNull K, @NonNull V); 15560 method @Nullable public <U> U reduce(long, @NonNull java.util.function.BiFunction<? super K,? super V,? extends U>, @NonNull java.util.function.BiFunction<? super U,? super U,? extends U>); 15561 method @Nullable public java.util.Map.Entry<K,V> reduceEntries(long, @NonNull java.util.function.BiFunction<java.util.Map.Entry<K,V>,java.util.Map.Entry<K,V>,? extends java.util.Map.Entry<K,V>>); 15562 method @Nullable public <U> U reduceEntries(long, @NonNull java.util.function.Function<java.util.Map.Entry<K,V>,? extends U>, @NonNull java.util.function.BiFunction<? super U,? super U,? extends U>); 15563 method public double reduceEntriesToDouble(long, @NonNull java.util.function.ToDoubleFunction<java.util.Map.Entry<K,V>>, double, @NonNull java.util.function.DoubleBinaryOperator); 15564 method public int reduceEntriesToInt(long, @NonNull java.util.function.ToIntFunction<java.util.Map.Entry<K,V>>, int, @NonNull java.util.function.IntBinaryOperator); 15565 method public long reduceEntriesToLong(long, @NonNull java.util.function.ToLongFunction<java.util.Map.Entry<K,V>>, long, @NonNull java.util.function.LongBinaryOperator); 15566 method @Nullable public K reduceKeys(long, @NonNull java.util.function.BiFunction<? super K,? super K,? extends K>); 15567 method @Nullable public <U> U reduceKeys(long, @NonNull java.util.function.Function<? super K,? extends U>, @NonNull java.util.function.BiFunction<? super U,? super U,? extends U>); 15568 method public double reduceKeysToDouble(long, @NonNull java.util.function.ToDoubleFunction<? super K>, double, @NonNull java.util.function.DoubleBinaryOperator); 15569 method public int reduceKeysToInt(long, @NonNull java.util.function.ToIntFunction<? super K>, int, @NonNull java.util.function.IntBinaryOperator); 15570 method public long reduceKeysToLong(long, @NonNull java.util.function.ToLongFunction<? super K>, long, @NonNull java.util.function.LongBinaryOperator); 15571 method public double reduceToDouble(long, @NonNull java.util.function.ToDoubleBiFunction<? super K,? super V>, double, @NonNull java.util.function.DoubleBinaryOperator); 15572 method public int reduceToInt(long, @NonNull java.util.function.ToIntBiFunction<? super K,? super V>, int, @NonNull java.util.function.IntBinaryOperator); 15573 method public long reduceToLong(long, @NonNull java.util.function.ToLongBiFunction<? super K,? super V>, long, @NonNull java.util.function.LongBinaryOperator); 15574 method @Nullable public V reduceValues(long, @NonNull java.util.function.BiFunction<? super V,? super V,? extends V>); 15575 method @Nullable public <U> U reduceValues(long, @NonNull java.util.function.Function<? super V,? extends U>, @NonNull java.util.function.BiFunction<? super U,? super U,? extends U>); 15576 method public double reduceValuesToDouble(long, @NonNull java.util.function.ToDoubleFunction<? super V>, double, @NonNull java.util.function.DoubleBinaryOperator); 15577 method public int reduceValuesToInt(long, @NonNull java.util.function.ToIntFunction<? super V>, int, @NonNull java.util.function.IntBinaryOperator); 15578 method public long reduceValuesToLong(long, @NonNull java.util.function.ToLongFunction<? super V>, long, @NonNull java.util.function.LongBinaryOperator); 15579 method public boolean remove(@NonNull Object, @Nullable Object); 15580 method public boolean replace(@NonNull K, @NonNull V, @NonNull V); 15581 method @Nullable public V replace(@NonNull K, @NonNull V); 15582 method public void replaceAll(@NonNull java.util.function.BiFunction<? super K,? super V,? extends V>); 15583 method @Nullable public <U> U search(long, @NonNull java.util.function.BiFunction<? super K,? super V,? extends U>); 15584 method @Nullable public <U> U searchEntries(long, @NonNull java.util.function.Function<java.util.Map.Entry<K,V>,? extends U>); 15585 method @Nullable public <U> U searchKeys(long, @NonNull java.util.function.Function<? super K,? extends U>); 15586 method @Nullable public <U> U searchValues(long, @NonNull java.util.function.Function<? super V,? extends U>); 15587 } 15588 15589 public static class ConcurrentHashMap.KeySetView<K, V> implements java.util.Collection<K> java.io.Serializable java.util.Set<K> { 15590 method public boolean add(@NonNull K); 15591 method public boolean addAll(@NonNull java.util.Collection<? extends K>); 15592 method public final void clear(); 15593 method public boolean contains(@NonNull Object); 15594 method public final boolean containsAll(@NonNull java.util.Collection<?>); 15595 method public boolean equals(@Nullable Object); 15596 method public void forEach(@NonNull java.util.function.Consumer<? super K>); 15597 method @NonNull public java.util.concurrent.ConcurrentHashMap<K,V> getMap(); 15598 method @Nullable public V getMappedValue(); 15599 method public int hashCode(); 15600 method public final boolean isEmpty(); 15601 method @NonNull public java.util.Iterator<K> iterator(); 15602 method public boolean remove(@NonNull Object); 15603 method public boolean removeAll(@NonNull java.util.Collection<?>); 15604 method public final boolean retainAll(@NonNull java.util.Collection<?>); 15605 method public final int size(); 15606 method @NonNull public java.util.Spliterator<K> spliterator(); 15607 method @NonNull public final Object[] toArray(); 15608 method @NonNull public final <T> T[] toArray(@NonNull T[]); 15609 method @NonNull public final String toString(); 15610 } 15611 15612 public class ConcurrentLinkedDeque<E> extends java.util.AbstractCollection<E> implements java.util.Deque<E> java.io.Serializable { 15613 ctor public ConcurrentLinkedDeque(); 15614 ctor public ConcurrentLinkedDeque(java.util.Collection<? extends E>); 15615 method public void addFirst(E); 15616 method public void addLast(E); 15617 method public java.util.Iterator<E> descendingIterator(); 15618 method public E element(); 15619 method public void forEach(java.util.function.Consumer<? super E>); 15620 method public E getFirst(); 15621 method public E getLast(); 15622 method public java.util.Iterator<E> iterator(); 15623 method public boolean offer(E); 15624 method public boolean offerFirst(E); 15625 method public boolean offerLast(E); 15626 method public E peek(); 15627 method public E peekFirst(); 15628 method public E peekLast(); 15629 method public E poll(); 15630 method public E pollFirst(); 15631 method public E pollLast(); 15632 method public E pop(); 15633 method public void push(E); 15634 method public E remove(); 15635 method public E removeFirst(); 15636 method public boolean removeFirstOccurrence(Object); 15637 method public boolean removeIf(java.util.function.Predicate<? super E>); 15638 method public E removeLast(); 15639 method public boolean removeLastOccurrence(Object); 15640 method public int size(); 15641 method public java.util.Spliterator<E> spliterator(); 15642 } 15643 15644 public class ConcurrentLinkedQueue<E> extends java.util.AbstractQueue<E> implements java.util.Queue<E> java.io.Serializable { 15645 ctor public ConcurrentLinkedQueue(); 15646 ctor public ConcurrentLinkedQueue(java.util.Collection<? extends E>); 15647 method public void forEach(java.util.function.Consumer<? super E>); 15648 method public java.util.Iterator<E> iterator(); 15649 method public boolean offer(E); 15650 method public E peek(); 15651 method public E poll(); 15652 method public boolean removeIf(java.util.function.Predicate<? super E>); 15653 method public int size(); 15654 method public java.util.Spliterator<E> spliterator(); 15655 } 15656 15657 public interface ConcurrentMap<K, V> extends java.util.Map<K,V> { 15658 method public V putIfAbsent(K, V); 15659 method public boolean remove(Object, Object); 15660 method public boolean replace(K, V, V); 15661 method public V replace(K, V); 15662 } 15663 15664 public interface ConcurrentNavigableMap<K, V> extends java.util.concurrent.ConcurrentMap<K,V> java.util.NavigableMap<K,V> { 15665 method public java.util.concurrent.ConcurrentNavigableMap<K,V> descendingMap(); 15666 method public java.util.concurrent.ConcurrentNavigableMap<K,V> headMap(K, boolean); 15667 method public java.util.concurrent.ConcurrentNavigableMap<K,V> headMap(K); 15668 method public java.util.NavigableSet<K> keySet(); 15669 method public java.util.concurrent.ConcurrentNavigableMap<K,V> subMap(K, boolean, K, boolean); 15670 method public java.util.concurrent.ConcurrentNavigableMap<K,V> subMap(K, K); 15671 method public java.util.concurrent.ConcurrentNavigableMap<K,V> tailMap(K, boolean); 15672 method public java.util.concurrent.ConcurrentNavigableMap<K,V> tailMap(K); 15673 } 15674 15675 public class ConcurrentSkipListMap<K, V> extends java.util.AbstractMap<K,V> implements java.lang.Cloneable java.util.concurrent.ConcurrentNavigableMap<K,V> java.io.Serializable { 15676 ctor public ConcurrentSkipListMap(); 15677 ctor public ConcurrentSkipListMap(java.util.Comparator<? super K>); 15678 ctor public ConcurrentSkipListMap(java.util.Map<? extends K,? extends V>); 15679 ctor public ConcurrentSkipListMap(java.util.SortedMap<K,? extends V>); 15680 method public java.util.Map.Entry<K,V> ceilingEntry(K); 15681 method public K ceilingKey(K); 15682 method public java.util.concurrent.ConcurrentSkipListMap<K,V> clone(); 15683 method public java.util.Comparator<? super K> comparator(); 15684 method public V compute(K, java.util.function.BiFunction<? super K,? super V,? extends V>); 15685 method public V computeIfAbsent(K, java.util.function.Function<? super K,? extends V>); 15686 method public V computeIfPresent(K, java.util.function.BiFunction<? super K,? super V,? extends V>); 15687 method public java.util.NavigableSet<K> descendingKeySet(); 15688 method public java.util.concurrent.ConcurrentNavigableMap<K,V> descendingMap(); 15689 method public java.util.Set<java.util.Map.Entry<K,V>> entrySet(); 15690 method public java.util.Map.Entry<K,V> firstEntry(); 15691 method public K firstKey(); 15692 method public java.util.Map.Entry<K,V> floorEntry(K); 15693 method public K floorKey(K); 15694 method public void forEach(java.util.function.BiConsumer<? super K,? super V>); 15695 method public V getOrDefault(Object, V); 15696 method public java.util.concurrent.ConcurrentNavigableMap<K,V> headMap(K, boolean); 15697 method public java.util.concurrent.ConcurrentNavigableMap<K,V> headMap(K); 15698 method public java.util.Map.Entry<K,V> higherEntry(K); 15699 method public K higherKey(K); 15700 method public java.util.NavigableSet<K> keySet(); 15701 method public java.util.Map.Entry<K,V> lastEntry(); 15702 method public K lastKey(); 15703 method public java.util.Map.Entry<K,V> lowerEntry(K); 15704 method public K lowerKey(K); 15705 method public V merge(K, V, java.util.function.BiFunction<? super V,? super V,? extends V>); 15706 method public java.util.NavigableSet<K> navigableKeySet(); 15707 method public java.util.Map.Entry<K,V> pollFirstEntry(); 15708 method public java.util.Map.Entry<K,V> pollLastEntry(); 15709 method @FlaggedApi("com.android.libcore.v_apis") public V putFirst(K, V); 15710 method public V putIfAbsent(K, V); 15711 method @FlaggedApi("com.android.libcore.v_apis") public V putLast(K, V); 15712 method public boolean remove(Object, Object); 15713 method public boolean replace(K, V, V); 15714 method public V replace(K, V); 15715 method public void replaceAll(java.util.function.BiFunction<? super K,? super V,? extends V>); 15716 method public java.util.concurrent.ConcurrentNavigableMap<K,V> subMap(K, boolean, K, boolean); 15717 method public java.util.concurrent.ConcurrentNavigableMap<K,V> subMap(K, K); 15718 method public java.util.concurrent.ConcurrentNavigableMap<K,V> tailMap(K, boolean); 15719 method public java.util.concurrent.ConcurrentNavigableMap<K,V> tailMap(K); 15720 } 15721 15722 public class ConcurrentSkipListSet<E> extends java.util.AbstractSet<E> implements java.lang.Cloneable java.util.NavigableSet<E> java.io.Serializable { 15723 ctor public ConcurrentSkipListSet(); 15724 ctor public ConcurrentSkipListSet(java.util.Comparator<? super E>); 15725 ctor public ConcurrentSkipListSet(java.util.Collection<? extends E>); 15726 ctor public ConcurrentSkipListSet(java.util.SortedSet<E>); 15727 method @FlaggedApi("com.android.libcore.v_apis") public void addFirst(E); 15728 method @FlaggedApi("com.android.libcore.v_apis") public void addLast(E); 15729 method public E ceiling(E); 15730 method public java.util.concurrent.ConcurrentSkipListSet<E> clone(); 15731 method public java.util.Comparator<? super E> comparator(); 15732 method public java.util.Iterator<E> descendingIterator(); 15733 method public java.util.NavigableSet<E> descendingSet(); 15734 method public E first(); 15735 method public E floor(E); 15736 method public java.util.NavigableSet<E> headSet(E, boolean); 15737 method public java.util.NavigableSet<E> headSet(E); 15738 method public E higher(E); 15739 method public java.util.Iterator<E> iterator(); 15740 method public E last(); 15741 method public E lower(E); 15742 method public E pollFirst(); 15743 method public E pollLast(); 15744 method public int size(); 15745 method public java.util.Spliterator<E> spliterator(); 15746 method public java.util.NavigableSet<E> subSet(E, boolean, E, boolean); 15747 method public java.util.NavigableSet<E> subSet(E, E); 15748 method public java.util.NavigableSet<E> tailSet(E, boolean); 15749 method public java.util.NavigableSet<E> tailSet(E); 15750 } 15751 15752 public class CopyOnWriteArrayList<E> implements java.lang.Cloneable java.util.List<E> java.util.RandomAccess java.io.Serializable { 15753 ctor public CopyOnWriteArrayList(); 15754 ctor public CopyOnWriteArrayList(@NonNull java.util.Collection<? extends E>); 15755 ctor public CopyOnWriteArrayList(@NonNull E[]); 15756 method public boolean add(E); 15757 method public void add(int, E); 15758 method public boolean addAll(@NonNull java.util.Collection<? extends E>); 15759 method public boolean addAll(int, @NonNull java.util.Collection<? extends E>); 15760 method public int addAllAbsent(@NonNull java.util.Collection<? extends E>); 15761 method @FlaggedApi("com.android.libcore.v_apis") public void addFirst(E); 15762 method public boolean addIfAbsent(E); 15763 method @FlaggedApi("com.android.libcore.v_apis") public void addLast(E); 15764 method public void clear(); 15765 method @NonNull public Object clone(); 15766 method public boolean contains(@Nullable Object); 15767 method public boolean containsAll(@NonNull java.util.Collection<?>); 15768 method public boolean equals(@Nullable Object); 15769 method public void forEach(@NonNull java.util.function.Consumer<? super E>); 15770 method public E get(int); 15771 method @FlaggedApi("com.android.libcore.v_apis") public E getFirst(); 15772 method @FlaggedApi("com.android.libcore.v_apis") public E getLast(); 15773 method public int hashCode(); 15774 method public int indexOf(@Nullable Object); 15775 method public int indexOf(@Nullable E, int); 15776 method public boolean isEmpty(); 15777 method @NonNull public java.util.Iterator<E> iterator(); 15778 method public int lastIndexOf(@Nullable Object); 15779 method public int lastIndexOf(@Nullable E, int); 15780 method @NonNull public java.util.ListIterator<E> listIterator(); 15781 method @NonNull public java.util.ListIterator<E> listIterator(int); 15782 method public E remove(int); 15783 method public boolean remove(@Nullable Object); 15784 method public boolean removeAll(@NonNull java.util.Collection<?>); 15785 method @FlaggedApi("com.android.libcore.v_apis") public E removeFirst(); 15786 method public boolean removeIf(@NonNull java.util.function.Predicate<? super E>); 15787 method @FlaggedApi("com.android.libcore.v_apis") public E removeLast(); 15788 method public void replaceAll(@NonNull java.util.function.UnaryOperator<E>); 15789 method public boolean retainAll(@NonNull java.util.Collection<?>); 15790 method @FlaggedApi("com.android.libcore.v_apis") @NonNull public java.util.List<E> reversed(); 15791 method public E set(int, E); 15792 method public int size(); 15793 method public void sort(@Nullable java.util.Comparator<? super E>); 15794 method @NonNull public java.util.Spliterator<E> spliterator(); 15795 method @NonNull public java.util.List<E> subList(int, int); 15796 method @NonNull public Object[] toArray(); 15797 method @NonNull public <T> T[] toArray(@NonNull T[]); 15798 } 15799 15800 public class CopyOnWriteArraySet<E> extends java.util.AbstractSet<E> implements java.io.Serializable { 15801 ctor public CopyOnWriteArraySet(); 15802 ctor public CopyOnWriteArraySet(java.util.Collection<? extends E>); 15803 method public void forEach(java.util.function.Consumer<? super E>); 15804 method public java.util.Iterator<E> iterator(); 15805 method public boolean removeIf(java.util.function.Predicate<? super E>); 15806 method public int size(); 15807 method public java.util.Spliterator<E> spliterator(); 15808 } 15809 15810 public class CountDownLatch { 15811 ctor public CountDownLatch(int); 15812 method public void await() throws java.lang.InterruptedException; 15813 method public boolean await(long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedException; 15814 method public void countDown(); 15815 method public long getCount(); 15816 } 15817 15818 public abstract class CountedCompleter<T> extends java.util.concurrent.ForkJoinTask<T> { 15819 ctor protected CountedCompleter(java.util.concurrent.CountedCompleter<?>, int); 15820 ctor protected CountedCompleter(java.util.concurrent.CountedCompleter<?>); 15821 ctor protected CountedCompleter(); 15822 method public final void addToPendingCount(int); 15823 method public final boolean compareAndSetPendingCount(int, int); 15824 method public void complete(T); 15825 method public abstract void compute(); 15826 method public final int decrementPendingCountUnlessZero(); 15827 method protected final boolean exec(); 15828 method public final java.util.concurrent.CountedCompleter<?> firstComplete(); 15829 method public final java.util.concurrent.CountedCompleter<?> getCompleter(); 15830 method public final int getPendingCount(); 15831 method public T getRawResult(); 15832 method public final java.util.concurrent.CountedCompleter<?> getRoot(); 15833 method public final void helpComplete(int); 15834 method public final java.util.concurrent.CountedCompleter<?> nextComplete(); 15835 method public void onCompletion(java.util.concurrent.CountedCompleter<?>); 15836 method public boolean onExceptionalCompletion(Throwable, java.util.concurrent.CountedCompleter<?>); 15837 method public final void propagateCompletion(); 15838 method public final void quietlyCompleteRoot(); 15839 method public final void setPendingCount(int); 15840 method protected void setRawResult(T); 15841 method public final void tryComplete(); 15842 } 15843 15844 public class CyclicBarrier { 15845 ctor public CyclicBarrier(int, Runnable); 15846 ctor public CyclicBarrier(int); 15847 method public int await() throws java.util.concurrent.BrokenBarrierException, java.lang.InterruptedException; 15848 method public int await(long, java.util.concurrent.TimeUnit) throws java.util.concurrent.BrokenBarrierException, java.lang.InterruptedException, java.util.concurrent.TimeoutException; 15849 method public int getNumberWaiting(); 15850 method public int getParties(); 15851 method public boolean isBroken(); 15852 method public void reset(); 15853 } 15854 15855 public class DelayQueue<E extends java.util.concurrent.Delayed> extends java.util.AbstractQueue<E> implements java.util.concurrent.BlockingQueue<E> { 15856 ctor public DelayQueue(); 15857 ctor public DelayQueue(java.util.Collection<? extends E>); 15858 method public boolean add(E); 15859 method public int drainTo(java.util.Collection<? super E>); 15860 method public int drainTo(java.util.Collection<? super E>, int); 15861 method public java.util.Iterator<E> iterator(); 15862 method public boolean offer(E); 15863 method public boolean offer(E, long, java.util.concurrent.TimeUnit); 15864 method public E peek(); 15865 method public E poll(); 15866 method public E poll(long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedException; 15867 method public void put(E); 15868 method public int remainingCapacity(); 15869 method public int size(); 15870 method public E take() throws java.lang.InterruptedException; 15871 } 15872 15873 public interface Delayed extends java.lang.Comparable<java.util.concurrent.Delayed> { 15874 method public long getDelay(java.util.concurrent.TimeUnit); 15875 } 15876 15877 public class Exchanger<V> { 15878 ctor public Exchanger(); 15879 method public V exchange(V) throws java.lang.InterruptedException; 15880 method public V exchange(V, long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedException, java.util.concurrent.TimeoutException; 15881 } 15882 15883 public class ExecutionException extends java.lang.Exception { 15884 ctor protected ExecutionException(); 15885 ctor protected ExecutionException(String); 15886 ctor public ExecutionException(String, Throwable); 15887 ctor public ExecutionException(Throwable); 15888 } 15889 15890 public interface Executor { 15891 method public void execute(Runnable); 15892 } 15893 15894 public class ExecutorCompletionService<V> implements java.util.concurrent.CompletionService<V> { 15895 ctor public ExecutorCompletionService(java.util.concurrent.Executor); 15896 ctor public ExecutorCompletionService(java.util.concurrent.Executor, java.util.concurrent.BlockingQueue<java.util.concurrent.Future<V>>); 15897 method public java.util.concurrent.Future<V> poll(); 15898 method public java.util.concurrent.Future<V> poll(long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedException; 15899 method public java.util.concurrent.Future<V> submit(java.util.concurrent.Callable<V>); 15900 method public java.util.concurrent.Future<V> submit(Runnable, V); 15901 method public java.util.concurrent.Future<V> take() throws java.lang.InterruptedException; 15902 } 15903 15904 public interface ExecutorService extends java.util.concurrent.Executor { 15905 method public boolean awaitTermination(long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedException; 15906 method public <T> java.util.List<java.util.concurrent.Future<T>> invokeAll(java.util.Collection<? extends java.util.concurrent.Callable<T>>) throws java.lang.InterruptedException; 15907 method public <T> java.util.List<java.util.concurrent.Future<T>> invokeAll(java.util.Collection<? extends java.util.concurrent.Callable<T>>, long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedException; 15908 method public <T> T invokeAny(java.util.Collection<? extends java.util.concurrent.Callable<T>>) throws java.util.concurrent.ExecutionException, java.lang.InterruptedException; 15909 method public <T> T invokeAny(java.util.Collection<? extends java.util.concurrent.Callable<T>>, long, java.util.concurrent.TimeUnit) throws java.util.concurrent.ExecutionException, java.lang.InterruptedException, java.util.concurrent.TimeoutException; 15910 method public boolean isShutdown(); 15911 method public boolean isTerminated(); 15912 method public void shutdown(); 15913 method public java.util.List<java.lang.Runnable> shutdownNow(); 15914 method public <T> java.util.concurrent.Future<T> submit(java.util.concurrent.Callable<T>); 15915 method public <T> java.util.concurrent.Future<T> submit(Runnable, T); 15916 method public java.util.concurrent.Future<?> submit(Runnable); 15917 } 15918 15919 public class Executors { 15920 method public static <T> java.util.concurrent.Callable<T> callable(Runnable, T); 15921 method public static java.util.concurrent.Callable<java.lang.Object> callable(Runnable); 15922 method public static java.util.concurrent.Callable<java.lang.Object> callable(java.security.PrivilegedAction<?>); 15923 method public static java.util.concurrent.Callable<java.lang.Object> callable(java.security.PrivilegedExceptionAction<?>); 15924 method public static java.util.concurrent.ThreadFactory defaultThreadFactory(); 15925 method public static java.util.concurrent.ExecutorService newCachedThreadPool(); 15926 method public static java.util.concurrent.ExecutorService newCachedThreadPool(java.util.concurrent.ThreadFactory); 15927 method public static java.util.concurrent.ExecutorService newFixedThreadPool(int); 15928 method public static java.util.concurrent.ExecutorService newFixedThreadPool(int, java.util.concurrent.ThreadFactory); 15929 method public static java.util.concurrent.ScheduledExecutorService newScheduledThreadPool(int); 15930 method public static java.util.concurrent.ScheduledExecutorService newScheduledThreadPool(int, java.util.concurrent.ThreadFactory); 15931 method public static java.util.concurrent.ExecutorService newSingleThreadExecutor(); 15932 method public static java.util.concurrent.ExecutorService newSingleThreadExecutor(java.util.concurrent.ThreadFactory); 15933 method public static java.util.concurrent.ScheduledExecutorService newSingleThreadScheduledExecutor(); 15934 method public static java.util.concurrent.ScheduledExecutorService newSingleThreadScheduledExecutor(java.util.concurrent.ThreadFactory); 15935 method public static java.util.concurrent.ExecutorService newWorkStealingPool(int); 15936 method public static java.util.concurrent.ExecutorService newWorkStealingPool(); 15937 method @Deprecated public static <T> java.util.concurrent.Callable<T> privilegedCallable(java.util.concurrent.Callable<T>); 15938 method @Deprecated public static <T> java.util.concurrent.Callable<T> privilegedCallableUsingCurrentClassLoader(java.util.concurrent.Callable<T>); 15939 method @Deprecated public static java.util.concurrent.ThreadFactory privilegedThreadFactory(); 15940 method public static java.util.concurrent.ExecutorService unconfigurableExecutorService(java.util.concurrent.ExecutorService); 15941 method public static java.util.concurrent.ScheduledExecutorService unconfigurableScheduledExecutorService(java.util.concurrent.ScheduledExecutorService); 15942 } 15943 15944 public final class Flow { 15945 method public static int defaultBufferSize(); 15946 } 15947 15948 public static interface Flow.Processor<T, R> extends java.util.concurrent.Flow.Subscriber<T> java.util.concurrent.Flow.Publisher<R> { 15949 } 15950 15951 @java.lang.FunctionalInterface public static interface Flow.Publisher<T> { 15952 method public void subscribe(java.util.concurrent.Flow.Subscriber<? super T>); 15953 } 15954 15955 public static interface Flow.Subscriber<T> { 15956 method public void onComplete(); 15957 method public void onError(Throwable); 15958 method public void onNext(T); 15959 method public void onSubscribe(java.util.concurrent.Flow.Subscription); 15960 } 15961 15962 public static interface Flow.Subscription { 15963 method public void cancel(); 15964 method public void request(long); 15965 } 15966 15967 public class ForkJoinPool extends java.util.concurrent.AbstractExecutorService { 15968 ctor public ForkJoinPool(); 15969 ctor public ForkJoinPool(int); 15970 ctor public ForkJoinPool(int, java.util.concurrent.ForkJoinPool.ForkJoinWorkerThreadFactory, java.lang.Thread.UncaughtExceptionHandler, boolean); 15971 ctor public ForkJoinPool(int, java.util.concurrent.ForkJoinPool.ForkJoinWorkerThreadFactory, java.lang.Thread.UncaughtExceptionHandler, boolean, int, int, int, java.util.function.Predicate<? super java.util.concurrent.ForkJoinPool>, long, java.util.concurrent.TimeUnit); 15972 method public boolean awaitQuiescence(long, java.util.concurrent.TimeUnit); 15973 method public boolean awaitTermination(long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedException; 15974 method public static java.util.concurrent.ForkJoinPool commonPool(); 15975 method protected int drainTasksTo(java.util.Collection<? super java.util.concurrent.ForkJoinTask<?>>); 15976 method public void execute(java.util.concurrent.ForkJoinTask<?>); 15977 method public void execute(Runnable); 15978 method public int getActiveThreadCount(); 15979 method public boolean getAsyncMode(); 15980 method public static int getCommonPoolParallelism(); 15981 method public java.util.concurrent.ForkJoinPool.ForkJoinWorkerThreadFactory getFactory(); 15982 method public int getParallelism(); 15983 method public int getPoolSize(); 15984 method public int getQueuedSubmissionCount(); 15985 method public long getQueuedTaskCount(); 15986 method public int getRunningThreadCount(); 15987 method public long getStealCount(); 15988 method public java.lang.Thread.UncaughtExceptionHandler getUncaughtExceptionHandler(); 15989 method public boolean hasQueuedSubmissions(); 15990 method public <T> T invoke(java.util.concurrent.ForkJoinTask<T>); 15991 method public <T> java.util.List<java.util.concurrent.Future<T>> invokeAll(java.util.Collection<? extends java.util.concurrent.Callable<T>>); 15992 method public boolean isQuiescent(); 15993 method public boolean isShutdown(); 15994 method public boolean isTerminated(); 15995 method public boolean isTerminating(); 15996 method public static void managedBlock(java.util.concurrent.ForkJoinPool.ManagedBlocker) throws java.lang.InterruptedException; 15997 method protected java.util.concurrent.ForkJoinTask<?> pollSubmission(); 15998 method public void shutdown(); 15999 method public java.util.List<java.lang.Runnable> shutdownNow(); 16000 method public <T> java.util.concurrent.ForkJoinTask<T> submit(java.util.concurrent.ForkJoinTask<T>); 16001 method public <T> java.util.concurrent.ForkJoinTask<T> submit(java.util.concurrent.Callable<T>); 16002 method public <T> java.util.concurrent.ForkJoinTask<T> submit(Runnable, T); 16003 method public java.util.concurrent.ForkJoinTask<?> submit(Runnable); 16004 field public static final java.util.concurrent.ForkJoinPool.ForkJoinWorkerThreadFactory defaultForkJoinWorkerThreadFactory; 16005 } 16006 16007 public static interface ForkJoinPool.ForkJoinWorkerThreadFactory { 16008 method public java.util.concurrent.ForkJoinWorkerThread newThread(java.util.concurrent.ForkJoinPool); 16009 } 16010 16011 public static interface ForkJoinPool.ManagedBlocker { 16012 method public boolean block() throws java.lang.InterruptedException; 16013 method public boolean isReleasable(); 16014 } 16015 16016 public abstract class ForkJoinTask<V> implements java.util.concurrent.Future<V> java.io.Serializable { 16017 ctor public ForkJoinTask(); 16018 method public static java.util.concurrent.ForkJoinTask<?> adapt(Runnable); 16019 method public static <T> java.util.concurrent.ForkJoinTask<T> adapt(Runnable, T); 16020 method public static <T> java.util.concurrent.ForkJoinTask<T> adapt(java.util.concurrent.Callable<? extends T>); 16021 method public boolean cancel(boolean); 16022 method public final boolean compareAndSetForkJoinTaskTag(short, short); 16023 method public void complete(V); 16024 method public void completeExceptionally(Throwable); 16025 method protected abstract boolean exec(); 16026 method public final java.util.concurrent.ForkJoinTask<V> fork(); 16027 method public final V get() throws java.util.concurrent.ExecutionException, java.lang.InterruptedException; 16028 method public final V get(long, java.util.concurrent.TimeUnit) throws java.util.concurrent.ExecutionException, java.lang.InterruptedException, java.util.concurrent.TimeoutException; 16029 method public final Throwable getException(); 16030 method public final short getForkJoinTaskTag(); 16031 method public static java.util.concurrent.ForkJoinPool getPool(); 16032 method public static int getQueuedTaskCount(); 16033 method public abstract V getRawResult(); 16034 method public static int getSurplusQueuedTaskCount(); 16035 method public static void helpQuiesce(); 16036 method public static boolean inForkJoinPool(); 16037 method public final V invoke(); 16038 method public static void invokeAll(java.util.concurrent.ForkJoinTask<?>, java.util.concurrent.ForkJoinTask<?>); 16039 method public static void invokeAll(java.util.concurrent.ForkJoinTask<?>...); 16040 method public static <T extends java.util.concurrent.ForkJoinTask<?>> java.util.Collection<T> invokeAll(java.util.Collection<T>); 16041 method public final boolean isCancelled(); 16042 method public final boolean isCompletedAbnormally(); 16043 method public final boolean isCompletedNormally(); 16044 method public final boolean isDone(); 16045 method public final V join(); 16046 method protected static java.util.concurrent.ForkJoinTask<?> peekNextLocalTask(); 16047 method protected static java.util.concurrent.ForkJoinTask<?> pollNextLocalTask(); 16048 method protected static java.util.concurrent.ForkJoinTask<?> pollTask(); 16049 method public final void quietlyComplete(); 16050 method public final void quietlyInvoke(); 16051 method public final void quietlyJoin(); 16052 method public void reinitialize(); 16053 method public final short setForkJoinTaskTag(short); 16054 method protected abstract void setRawResult(V); 16055 method public boolean tryUnfork(); 16056 } 16057 16058 public class ForkJoinWorkerThread extends java.lang.Thread { 16059 ctor protected ForkJoinWorkerThread(java.util.concurrent.ForkJoinPool); 16060 method public java.util.concurrent.ForkJoinPool getPool(); 16061 method public int getPoolIndex(); 16062 method protected void onStart(); 16063 method protected void onTermination(Throwable); 16064 } 16065 16066 public interface Future<V> { 16067 method public boolean cancel(boolean); 16068 method public V get() throws java.util.concurrent.ExecutionException, java.lang.InterruptedException; 16069 method public V get(long, java.util.concurrent.TimeUnit) throws java.util.concurrent.ExecutionException, java.lang.InterruptedException, java.util.concurrent.TimeoutException; 16070 method public boolean isCancelled(); 16071 method public boolean isDone(); 16072 } 16073 16074 public class FutureTask<V> implements java.util.concurrent.RunnableFuture<V> { 16075 ctor public FutureTask(java.util.concurrent.Callable<V>); 16076 ctor public FutureTask(Runnable, V); 16077 method public boolean cancel(boolean); 16078 method protected void done(); 16079 method public V get() throws java.util.concurrent.ExecutionException, java.lang.InterruptedException; 16080 method public V get(long, java.util.concurrent.TimeUnit) throws java.util.concurrent.ExecutionException, java.lang.InterruptedException, java.util.concurrent.TimeoutException; 16081 method public boolean isCancelled(); 16082 method public boolean isDone(); 16083 method public void run(); 16084 method protected boolean runAndReset(); 16085 method protected void set(V); 16086 method protected void setException(Throwable); 16087 } 16088 16089 public class LinkedBlockingDeque<E> extends java.util.AbstractQueue<E> implements java.util.concurrent.BlockingDeque<E> java.io.Serializable { 16090 ctor public LinkedBlockingDeque(); 16091 ctor public LinkedBlockingDeque(int); 16092 ctor public LinkedBlockingDeque(java.util.Collection<? extends E>); 16093 method public void addFirst(E); 16094 method public void addLast(E); 16095 method public java.util.Iterator<E> descendingIterator(); 16096 method public int drainTo(java.util.Collection<? super E>); 16097 method public int drainTo(java.util.Collection<? super E>, int); 16098 method public void forEach(java.util.function.Consumer<? super E>); 16099 method public E getFirst(); 16100 method public E getLast(); 16101 method public java.util.Iterator<E> iterator(); 16102 method public boolean offer(E); 16103 method public boolean offer(E, long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedException; 16104 method public boolean offerFirst(E); 16105 method public boolean offerFirst(E, long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedException; 16106 method public boolean offerLast(E); 16107 method public boolean offerLast(E, long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedException; 16108 method public E peek(); 16109 method public E peekFirst(); 16110 method public E peekLast(); 16111 method public E poll(); 16112 method public E poll(long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedException; 16113 method public E pollFirst(); 16114 method public E pollFirst(long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedException; 16115 method public E pollLast(); 16116 method public E pollLast(long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedException; 16117 method public E pop(); 16118 method public void push(E); 16119 method public void put(E) throws java.lang.InterruptedException; 16120 method public void putFirst(E) throws java.lang.InterruptedException; 16121 method public void putLast(E) throws java.lang.InterruptedException; 16122 method public int remainingCapacity(); 16123 method public E removeFirst(); 16124 method public boolean removeFirstOccurrence(Object); 16125 method public boolean removeIf(java.util.function.Predicate<? super E>); 16126 method public E removeLast(); 16127 method public boolean removeLastOccurrence(Object); 16128 method public int size(); 16129 method public java.util.Spliterator<E> spliterator(); 16130 method public E take() throws java.lang.InterruptedException; 16131 method public E takeFirst() throws java.lang.InterruptedException; 16132 method public E takeLast() throws java.lang.InterruptedException; 16133 } 16134 16135 public class LinkedBlockingQueue<E> extends java.util.AbstractQueue<E> implements java.util.concurrent.BlockingQueue<E> java.io.Serializable { 16136 ctor public LinkedBlockingQueue(); 16137 ctor public LinkedBlockingQueue(int); 16138 ctor public LinkedBlockingQueue(java.util.Collection<? extends E>); 16139 method public int drainTo(java.util.Collection<? super E>); 16140 method public int drainTo(java.util.Collection<? super E>, int); 16141 method public void forEach(java.util.function.Consumer<? super E>); 16142 method public java.util.Iterator<E> iterator(); 16143 method public boolean offer(E, long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedException; 16144 method public boolean offer(E); 16145 method public E peek(); 16146 method public E poll(long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedException; 16147 method public E poll(); 16148 method public void put(E) throws java.lang.InterruptedException; 16149 method public int remainingCapacity(); 16150 method public boolean removeIf(java.util.function.Predicate<? super E>); 16151 method public int size(); 16152 method public java.util.Spliterator<E> spliterator(); 16153 method public E take() throws java.lang.InterruptedException; 16154 } 16155 16156 public class LinkedTransferQueue<E> extends java.util.AbstractQueue<E> implements java.io.Serializable java.util.concurrent.TransferQueue<E> { 16157 ctor public LinkedTransferQueue(); 16158 ctor public LinkedTransferQueue(java.util.Collection<? extends E>); 16159 method public int drainTo(java.util.Collection<? super E>); 16160 method public int drainTo(java.util.Collection<? super E>, int); 16161 method public void forEach(java.util.function.Consumer<? super E>); 16162 method public int getWaitingConsumerCount(); 16163 method public boolean hasWaitingConsumer(); 16164 method public java.util.Iterator<E> iterator(); 16165 method public boolean offer(E, long, java.util.concurrent.TimeUnit); 16166 method public boolean offer(E); 16167 method public E peek(); 16168 method public E poll(long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedException; 16169 method public E poll(); 16170 method public void put(E); 16171 method public int remainingCapacity(); 16172 method public boolean removeIf(java.util.function.Predicate<? super E>); 16173 method public int size(); 16174 method public java.util.Spliterator<E> spliterator(); 16175 method public E take() throws java.lang.InterruptedException; 16176 method public void transfer(E) throws java.lang.InterruptedException; 16177 method public boolean tryTransfer(E); 16178 method public boolean tryTransfer(E, long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedException; 16179 } 16180 16181 public class Phaser { 16182 ctor public Phaser(); 16183 ctor public Phaser(int); 16184 ctor public Phaser(java.util.concurrent.Phaser); 16185 ctor public Phaser(java.util.concurrent.Phaser, int); 16186 method public int arrive(); 16187 method public int arriveAndAwaitAdvance(); 16188 method public int arriveAndDeregister(); 16189 method public int awaitAdvance(int); 16190 method public int awaitAdvanceInterruptibly(int) throws java.lang.InterruptedException; 16191 method public int awaitAdvanceInterruptibly(int, long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedException, java.util.concurrent.TimeoutException; 16192 method public int bulkRegister(int); 16193 method public void forceTermination(); 16194 method public int getArrivedParties(); 16195 method public java.util.concurrent.Phaser getParent(); 16196 method public final int getPhase(); 16197 method public int getRegisteredParties(); 16198 method public java.util.concurrent.Phaser getRoot(); 16199 method public int getUnarrivedParties(); 16200 method public boolean isTerminated(); 16201 method protected boolean onAdvance(int, int); 16202 method public int register(); 16203 } 16204 16205 public class PriorityBlockingQueue<E> extends java.util.AbstractQueue<E> implements java.util.concurrent.BlockingQueue<E> java.io.Serializable { 16206 ctor public PriorityBlockingQueue(); 16207 ctor public PriorityBlockingQueue(int); 16208 ctor public PriorityBlockingQueue(int, java.util.Comparator<? super E>); 16209 ctor public PriorityBlockingQueue(java.util.Collection<? extends E>); 16210 method public java.util.Comparator<? super E> comparator(); 16211 method public int drainTo(java.util.Collection<? super E>); 16212 method public int drainTo(java.util.Collection<? super E>, int); 16213 method public void forEach(java.util.function.Consumer<? super E>); 16214 method public java.util.Iterator<E> iterator(); 16215 method public boolean offer(E); 16216 method public boolean offer(E, long, java.util.concurrent.TimeUnit); 16217 method public E peek(); 16218 method public E poll(); 16219 method public E poll(long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedException; 16220 method public void put(E); 16221 method public int remainingCapacity(); 16222 method public boolean removeIf(java.util.function.Predicate<? super E>); 16223 method public int size(); 16224 method public java.util.Spliterator<E> spliterator(); 16225 method public E take() throws java.lang.InterruptedException; 16226 } 16227 16228 public abstract class RecursiveAction extends java.util.concurrent.ForkJoinTask<java.lang.Void> { 16229 ctor public RecursiveAction(); 16230 method protected abstract void compute(); 16231 method protected final boolean exec(); 16232 method public final Void getRawResult(); 16233 method protected final void setRawResult(Void); 16234 } 16235 16236 public abstract class RecursiveTask<V> extends java.util.concurrent.ForkJoinTask<V> { 16237 ctor public RecursiveTask(); 16238 method protected abstract V compute(); 16239 method protected final boolean exec(); 16240 method public final V getRawResult(); 16241 method protected final void setRawResult(V); 16242 } 16243 16244 public class RejectedExecutionException extends java.lang.RuntimeException { 16245 ctor public RejectedExecutionException(); 16246 ctor public RejectedExecutionException(String); 16247 ctor public RejectedExecutionException(String, Throwable); 16248 ctor public RejectedExecutionException(Throwable); 16249 } 16250 16251 public interface RejectedExecutionHandler { 16252 method public void rejectedExecution(Runnable, java.util.concurrent.ThreadPoolExecutor); 16253 } 16254 16255 public interface RunnableFuture<V> extends java.lang.Runnable java.util.concurrent.Future<V> { 16256 } 16257 16258 public interface RunnableScheduledFuture<V> extends java.util.concurrent.RunnableFuture<V> java.util.concurrent.ScheduledFuture<V> { 16259 method public boolean isPeriodic(); 16260 } 16261 16262 public interface ScheduledExecutorService extends java.util.concurrent.ExecutorService { 16263 method public java.util.concurrent.ScheduledFuture<?> schedule(Runnable, long, java.util.concurrent.TimeUnit); 16264 method public <V> java.util.concurrent.ScheduledFuture<V> schedule(java.util.concurrent.Callable<V>, long, java.util.concurrent.TimeUnit); 16265 method public java.util.concurrent.ScheduledFuture<?> scheduleAtFixedRate(Runnable, long, long, java.util.concurrent.TimeUnit); 16266 method public java.util.concurrent.ScheduledFuture<?> scheduleWithFixedDelay(Runnable, long, long, java.util.concurrent.TimeUnit); 16267 } 16268 16269 public interface ScheduledFuture<V> extends java.util.concurrent.Delayed java.util.concurrent.Future<V> { 16270 } 16271 16272 public class ScheduledThreadPoolExecutor extends java.util.concurrent.ThreadPoolExecutor implements java.util.concurrent.ScheduledExecutorService { 16273 ctor public ScheduledThreadPoolExecutor(int); 16274 ctor public ScheduledThreadPoolExecutor(int, java.util.concurrent.ThreadFactory); 16275 ctor public ScheduledThreadPoolExecutor(int, java.util.concurrent.RejectedExecutionHandler); 16276 ctor public ScheduledThreadPoolExecutor(int, java.util.concurrent.ThreadFactory, java.util.concurrent.RejectedExecutionHandler); 16277 method protected <V> java.util.concurrent.RunnableScheduledFuture<V> decorateTask(Runnable, java.util.concurrent.RunnableScheduledFuture<V>); 16278 method protected <V> java.util.concurrent.RunnableScheduledFuture<V> decorateTask(java.util.concurrent.Callable<V>, java.util.concurrent.RunnableScheduledFuture<V>); 16279 method public boolean getContinueExistingPeriodicTasksAfterShutdownPolicy(); 16280 method public boolean getExecuteExistingDelayedTasksAfterShutdownPolicy(); 16281 method public boolean getRemoveOnCancelPolicy(); 16282 method public java.util.concurrent.ScheduledFuture<?> schedule(Runnable, long, java.util.concurrent.TimeUnit); 16283 method public <V> java.util.concurrent.ScheduledFuture<V> schedule(java.util.concurrent.Callable<V>, long, java.util.concurrent.TimeUnit); 16284 method public java.util.concurrent.ScheduledFuture<?> scheduleAtFixedRate(Runnable, long, long, java.util.concurrent.TimeUnit); 16285 method public java.util.concurrent.ScheduledFuture<?> scheduleWithFixedDelay(Runnable, long, long, java.util.concurrent.TimeUnit); 16286 method public void setContinueExistingPeriodicTasksAfterShutdownPolicy(boolean); 16287 method public void setExecuteExistingDelayedTasksAfterShutdownPolicy(boolean); 16288 method public void setRemoveOnCancelPolicy(boolean); 16289 } 16290 16291 public class Semaphore implements java.io.Serializable { 16292 ctor public Semaphore(int); 16293 ctor public Semaphore(int, boolean); 16294 method public void acquire() throws java.lang.InterruptedException; 16295 method public void acquire(int) throws java.lang.InterruptedException; 16296 method public void acquireUninterruptibly(); 16297 method public void acquireUninterruptibly(int); 16298 method public int availablePermits(); 16299 method public int drainPermits(); 16300 method public final int getQueueLength(); 16301 method protected java.util.Collection<java.lang.Thread> getQueuedThreads(); 16302 method public final boolean hasQueuedThreads(); 16303 method public boolean isFair(); 16304 method protected void reducePermits(int); 16305 method public void release(); 16306 method public void release(int); 16307 method public boolean tryAcquire(); 16308 method public boolean tryAcquire(long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedException; 16309 method public boolean tryAcquire(int); 16310 method public boolean tryAcquire(int, long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedException; 16311 } 16312 16313 public class SubmissionPublisher<T> implements java.lang.AutoCloseable java.util.concurrent.Flow.Publisher<T> { 16314 ctor public SubmissionPublisher(java.util.concurrent.Executor, int, java.util.function.BiConsumer<? super java.util.concurrent.Flow.Subscriber<? super T>,? super java.lang.Throwable>); 16315 ctor public SubmissionPublisher(java.util.concurrent.Executor, int); 16316 ctor public SubmissionPublisher(); 16317 method public void close(); 16318 method public void closeExceptionally(Throwable); 16319 method public java.util.concurrent.CompletableFuture<java.lang.Void> consume(java.util.function.Consumer<? super T>); 16320 method public int estimateMaximumLag(); 16321 method public long estimateMinimumDemand(); 16322 method public Throwable getClosedException(); 16323 method public java.util.concurrent.Executor getExecutor(); 16324 method public int getMaxBufferCapacity(); 16325 method public int getNumberOfSubscribers(); 16326 method public java.util.List<java.util.concurrent.Flow.Subscriber<? super T>> getSubscribers(); 16327 method public boolean hasSubscribers(); 16328 method public boolean isClosed(); 16329 method public boolean isSubscribed(java.util.concurrent.Flow.Subscriber<? super T>); 16330 method public int offer(T, java.util.function.BiPredicate<java.util.concurrent.Flow.Subscriber<? super T>,? super T>); 16331 method public int offer(T, long, java.util.concurrent.TimeUnit, java.util.function.BiPredicate<java.util.concurrent.Flow.Subscriber<? super T>,? super T>); 16332 method public int submit(T); 16333 method public void subscribe(java.util.concurrent.Flow.Subscriber<? super T>); 16334 } 16335 16336 public class SynchronousQueue<E> extends java.util.AbstractQueue<E> implements java.util.concurrent.BlockingQueue<E> java.io.Serializable { 16337 ctor public SynchronousQueue(); 16338 ctor public SynchronousQueue(boolean); 16339 method public int drainTo(java.util.Collection<? super E>); 16340 method public int drainTo(java.util.Collection<? super E>, int); 16341 method public java.util.Iterator<E> iterator(); 16342 method public boolean offer(E, long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedException; 16343 method public boolean offer(E); 16344 method public E peek(); 16345 method public E poll(long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedException; 16346 method public E poll(); 16347 method public void put(E) throws java.lang.InterruptedException; 16348 method public int remainingCapacity(); 16349 method public int size(); 16350 method public java.util.Spliterator<E> spliterator(); 16351 method public E take() throws java.lang.InterruptedException; 16352 } 16353 16354 public interface ThreadFactory { 16355 method public Thread newThread(Runnable); 16356 } 16357 16358 public class ThreadLocalRandom extends java.util.Random { 16359 method public static java.util.concurrent.ThreadLocalRandom current(); 16360 method public double nextDouble(double); 16361 method public double nextDouble(double, double); 16362 method @FlaggedApi("com.android.libcore.v_apis") public float nextFloat(float); 16363 method @FlaggedApi("com.android.libcore.v_apis") public float nextFloat(float, float); 16364 method public int nextInt(int, int); 16365 method public long nextLong(long); 16366 method public long nextLong(long, long); 16367 } 16368 16369 public class ThreadPoolExecutor extends java.util.concurrent.AbstractExecutorService { 16370 ctor public ThreadPoolExecutor(int, int, long, java.util.concurrent.TimeUnit, java.util.concurrent.BlockingQueue<java.lang.Runnable>); 16371 ctor public ThreadPoolExecutor(int, int, long, java.util.concurrent.TimeUnit, java.util.concurrent.BlockingQueue<java.lang.Runnable>, java.util.concurrent.ThreadFactory); 16372 ctor public ThreadPoolExecutor(int, int, long, java.util.concurrent.TimeUnit, java.util.concurrent.BlockingQueue<java.lang.Runnable>, java.util.concurrent.RejectedExecutionHandler); 16373 ctor public ThreadPoolExecutor(int, int, long, java.util.concurrent.TimeUnit, java.util.concurrent.BlockingQueue<java.lang.Runnable>, java.util.concurrent.ThreadFactory, java.util.concurrent.RejectedExecutionHandler); 16374 method protected void afterExecute(Runnable, Throwable); 16375 method public void allowCoreThreadTimeOut(boolean); 16376 method public boolean allowsCoreThreadTimeOut(); 16377 method public boolean awaitTermination(long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedException; 16378 method protected void beforeExecute(Thread, Runnable); 16379 method public void execute(Runnable); 16380 method @Deprecated protected void finalize(); 16381 method public int getActiveCount(); 16382 method public long getCompletedTaskCount(); 16383 method public int getCorePoolSize(); 16384 method public long getKeepAliveTime(java.util.concurrent.TimeUnit); 16385 method public int getLargestPoolSize(); 16386 method public int getMaximumPoolSize(); 16387 method public int getPoolSize(); 16388 method public java.util.concurrent.BlockingQueue<java.lang.Runnable> getQueue(); 16389 method public java.util.concurrent.RejectedExecutionHandler getRejectedExecutionHandler(); 16390 method public long getTaskCount(); 16391 method public java.util.concurrent.ThreadFactory getThreadFactory(); 16392 method public boolean isShutdown(); 16393 method public boolean isTerminated(); 16394 method public boolean isTerminating(); 16395 method public int prestartAllCoreThreads(); 16396 method public boolean prestartCoreThread(); 16397 method public void purge(); 16398 method public boolean remove(Runnable); 16399 method public void setCorePoolSize(int); 16400 method public void setKeepAliveTime(long, java.util.concurrent.TimeUnit); 16401 method public void setMaximumPoolSize(int); 16402 method public void setRejectedExecutionHandler(java.util.concurrent.RejectedExecutionHandler); 16403 method public void setThreadFactory(java.util.concurrent.ThreadFactory); 16404 method public void shutdown(); 16405 method public java.util.List<java.lang.Runnable> shutdownNow(); 16406 method protected void terminated(); 16407 } 16408 16409 public static class ThreadPoolExecutor.AbortPolicy implements java.util.concurrent.RejectedExecutionHandler { 16410 ctor public ThreadPoolExecutor.AbortPolicy(); 16411 method public void rejectedExecution(Runnable, java.util.concurrent.ThreadPoolExecutor); 16412 } 16413 16414 public static class ThreadPoolExecutor.CallerRunsPolicy implements java.util.concurrent.RejectedExecutionHandler { 16415 ctor public ThreadPoolExecutor.CallerRunsPolicy(); 16416 method public void rejectedExecution(Runnable, java.util.concurrent.ThreadPoolExecutor); 16417 } 16418 16419 public static class ThreadPoolExecutor.DiscardOldestPolicy implements java.util.concurrent.RejectedExecutionHandler { 16420 ctor public ThreadPoolExecutor.DiscardOldestPolicy(); 16421 method public void rejectedExecution(Runnable, java.util.concurrent.ThreadPoolExecutor); 16422 } 16423 16424 public static class ThreadPoolExecutor.DiscardPolicy implements java.util.concurrent.RejectedExecutionHandler { 16425 ctor public ThreadPoolExecutor.DiscardPolicy(); 16426 method public void rejectedExecution(Runnable, java.util.concurrent.ThreadPoolExecutor); 16427 } 16428 16429 public enum TimeUnit { 16430 method public long convert(long, java.util.concurrent.TimeUnit); 16431 method public long convert(java.time.Duration); 16432 method public static java.util.concurrent.TimeUnit of(java.time.temporal.ChronoUnit); 16433 method public void sleep(long) throws java.lang.InterruptedException; 16434 method public void timedJoin(Thread, long) throws java.lang.InterruptedException; 16435 method public void timedWait(Object, long) throws java.lang.InterruptedException; 16436 method public java.time.temporal.ChronoUnit toChronoUnit(); 16437 method public long toDays(long); 16438 method public long toHours(long); 16439 method public long toMicros(long); 16440 method public long toMillis(long); 16441 method public long toMinutes(long); 16442 method public long toNanos(long); 16443 method public long toSeconds(long); 16444 enum_constant public static final java.util.concurrent.TimeUnit DAYS; 16445 enum_constant public static final java.util.concurrent.TimeUnit HOURS; 16446 enum_constant public static final java.util.concurrent.TimeUnit MICROSECONDS; 16447 enum_constant public static final java.util.concurrent.TimeUnit MILLISECONDS; 16448 enum_constant public static final java.util.concurrent.TimeUnit MINUTES; 16449 enum_constant public static final java.util.concurrent.TimeUnit NANOSECONDS; 16450 enum_constant public static final java.util.concurrent.TimeUnit SECONDS; 16451 } 16452 16453 public class TimeoutException extends java.lang.Exception { 16454 ctor public TimeoutException(); 16455 ctor public TimeoutException(String); 16456 } 16457 16458 public interface TransferQueue<E> extends java.util.concurrent.BlockingQueue<E> { 16459 method public int getWaitingConsumerCount(); 16460 method public boolean hasWaitingConsumer(); 16461 method public void transfer(E) throws java.lang.InterruptedException; 16462 method public boolean tryTransfer(E); 16463 method public boolean tryTransfer(E, long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedException; 16464 } 16465 16466} 16467 16468package java.util.concurrent.atomic { 16469 16470 public class AtomicBoolean implements java.io.Serializable { 16471 ctor public AtomicBoolean(boolean); 16472 ctor public AtomicBoolean(); 16473 method public final boolean compareAndExchange(boolean, boolean); 16474 method public final boolean compareAndExchangeAcquire(boolean, boolean); 16475 method public final boolean compareAndExchangeRelease(boolean, boolean); 16476 method public final boolean compareAndSet(boolean, boolean); 16477 method public final boolean get(); 16478 method public final boolean getAcquire(); 16479 method public final boolean getAndSet(boolean); 16480 method public final boolean getOpaque(); 16481 method public final boolean getPlain(); 16482 method public final void lazySet(boolean); 16483 method public final void set(boolean); 16484 method public final void setOpaque(boolean); 16485 method public final void setPlain(boolean); 16486 method public final void setRelease(boolean); 16487 method @Deprecated public boolean weakCompareAndSet(boolean, boolean); 16488 method public final boolean weakCompareAndSetAcquire(boolean, boolean); 16489 method public boolean weakCompareAndSetPlain(boolean, boolean); 16490 method public final boolean weakCompareAndSetRelease(boolean, boolean); 16491 method public final boolean weakCompareAndSetVolatile(boolean, boolean); 16492 } 16493 16494 public class AtomicInteger extends java.lang.Number implements java.io.Serializable { 16495 ctor public AtomicInteger(int); 16496 ctor public AtomicInteger(); 16497 method public final int accumulateAndGet(int, java.util.function.IntBinaryOperator); 16498 method public final int addAndGet(int); 16499 method public final int compareAndExchange(int, int); 16500 method public final int compareAndExchangeAcquire(int, int); 16501 method public final int compareAndExchangeRelease(int, int); 16502 method public final boolean compareAndSet(int, int); 16503 method public final int decrementAndGet(); 16504 method public double doubleValue(); 16505 method public float floatValue(); 16506 method public final int get(); 16507 method public final int getAcquire(); 16508 method public final int getAndAccumulate(int, java.util.function.IntBinaryOperator); 16509 method public final int getAndAdd(int); 16510 method public final int getAndDecrement(); 16511 method public final int getAndIncrement(); 16512 method public final int getAndSet(int); 16513 method public final int getAndUpdate(java.util.function.IntUnaryOperator); 16514 method public final int getOpaque(); 16515 method public final int getPlain(); 16516 method public final int incrementAndGet(); 16517 method public int intValue(); 16518 method public final void lazySet(int); 16519 method public long longValue(); 16520 method public final void set(int); 16521 method public final void setOpaque(int); 16522 method public final void setPlain(int); 16523 method public final void setRelease(int); 16524 method public final int updateAndGet(java.util.function.IntUnaryOperator); 16525 method @Deprecated public final boolean weakCompareAndSet(int, int); 16526 method public final boolean weakCompareAndSetAcquire(int, int); 16527 method public final boolean weakCompareAndSetPlain(int, int); 16528 method public final boolean weakCompareAndSetRelease(int, int); 16529 method public final boolean weakCompareAndSetVolatile(int, int); 16530 } 16531 16532 public class AtomicIntegerArray implements java.io.Serializable { 16533 ctor public AtomicIntegerArray(int); 16534 ctor public AtomicIntegerArray(int[]); 16535 method public final int accumulateAndGet(int, int, java.util.function.IntBinaryOperator); 16536 method public final int addAndGet(int, int); 16537 method public final int compareAndExchange(int, int, int); 16538 method public final int compareAndExchangeAcquire(int, int, int); 16539 method public final int compareAndExchangeRelease(int, int, int); 16540 method public final boolean compareAndSet(int, int, int); 16541 method public final int decrementAndGet(int); 16542 method public final int get(int); 16543 method public final int getAcquire(int); 16544 method public final int getAndAccumulate(int, int, java.util.function.IntBinaryOperator); 16545 method public final int getAndAdd(int, int); 16546 method public final int getAndDecrement(int); 16547 method public final int getAndIncrement(int); 16548 method public final int getAndSet(int, int); 16549 method public final int getAndUpdate(int, java.util.function.IntUnaryOperator); 16550 method public final int getOpaque(int); 16551 method public final int getPlain(int); 16552 method public final int incrementAndGet(int); 16553 method public final void lazySet(int, int); 16554 method public final int length(); 16555 method public final void set(int, int); 16556 method public final void setOpaque(int, int); 16557 method public final void setPlain(int, int); 16558 method public final void setRelease(int, int); 16559 method public final int updateAndGet(int, java.util.function.IntUnaryOperator); 16560 method @Deprecated public final boolean weakCompareAndSet(int, int, int); 16561 method public final boolean weakCompareAndSetAcquire(int, int, int); 16562 method public final boolean weakCompareAndSetPlain(int, int, int); 16563 method public final boolean weakCompareAndSetRelease(int, int, int); 16564 method public final boolean weakCompareAndSetVolatile(int, int, int); 16565 } 16566 16567 public abstract class AtomicIntegerFieldUpdater<T> { 16568 ctor protected AtomicIntegerFieldUpdater(); 16569 method public final int accumulateAndGet(T, int, java.util.function.IntBinaryOperator); 16570 method public int addAndGet(T, int); 16571 method public abstract boolean compareAndSet(T, int, int); 16572 method public int decrementAndGet(T); 16573 method public abstract int get(T); 16574 method public final int getAndAccumulate(T, int, java.util.function.IntBinaryOperator); 16575 method public int getAndAdd(T, int); 16576 method public int getAndDecrement(T); 16577 method public int getAndIncrement(T); 16578 method public int getAndSet(T, int); 16579 method public final int getAndUpdate(T, java.util.function.IntUnaryOperator); 16580 method public int incrementAndGet(T); 16581 method public abstract void lazySet(T, int); 16582 method public static <U> java.util.concurrent.atomic.AtomicIntegerFieldUpdater<U> newUpdater(Class<U>, String); 16583 method public abstract void set(T, int); 16584 method public final int updateAndGet(T, java.util.function.IntUnaryOperator); 16585 method public abstract boolean weakCompareAndSet(T, int, int); 16586 } 16587 16588 public class AtomicLong extends java.lang.Number implements java.io.Serializable { 16589 ctor public AtomicLong(long); 16590 ctor public AtomicLong(); 16591 method public final long accumulateAndGet(long, java.util.function.LongBinaryOperator); 16592 method public final long addAndGet(long); 16593 method public final long compareAndExchange(long, long); 16594 method public final long compareAndExchangeAcquire(long, long); 16595 method public final long compareAndExchangeRelease(long, long); 16596 method public final boolean compareAndSet(long, long); 16597 method public final long decrementAndGet(); 16598 method public double doubleValue(); 16599 method public float floatValue(); 16600 method public final long get(); 16601 method public final long getAcquire(); 16602 method public final long getAndAccumulate(long, java.util.function.LongBinaryOperator); 16603 method public final long getAndAdd(long); 16604 method public final long getAndDecrement(); 16605 method public final long getAndIncrement(); 16606 method public final long getAndSet(long); 16607 method public final long getAndUpdate(java.util.function.LongUnaryOperator); 16608 method public final long getOpaque(); 16609 method public final long getPlain(); 16610 method public final long incrementAndGet(); 16611 method public int intValue(); 16612 method public final void lazySet(long); 16613 method public long longValue(); 16614 method public final void set(long); 16615 method public final void setOpaque(long); 16616 method public final void setPlain(long); 16617 method public final void setRelease(long); 16618 method public final long updateAndGet(java.util.function.LongUnaryOperator); 16619 method @Deprecated public final boolean weakCompareAndSet(long, long); 16620 method public final boolean weakCompareAndSetAcquire(long, long); 16621 method public final boolean weakCompareAndSetPlain(long, long); 16622 method public final boolean weakCompareAndSetRelease(long, long); 16623 method public final boolean weakCompareAndSetVolatile(long, long); 16624 } 16625 16626 public class AtomicLongArray implements java.io.Serializable { 16627 ctor public AtomicLongArray(int); 16628 ctor public AtomicLongArray(long[]); 16629 method public final long accumulateAndGet(int, long, java.util.function.LongBinaryOperator); 16630 method public long addAndGet(int, long); 16631 method public final long compareAndExchange(int, long, long); 16632 method public final long compareAndExchangeAcquire(int, long, long); 16633 method public final long compareAndExchangeRelease(int, long, long); 16634 method public final boolean compareAndSet(int, long, long); 16635 method public final long decrementAndGet(int); 16636 method public final long get(int); 16637 method public final long getAcquire(int); 16638 method public final long getAndAccumulate(int, long, java.util.function.LongBinaryOperator); 16639 method public final long getAndAdd(int, long); 16640 method public final long getAndDecrement(int); 16641 method public final long getAndIncrement(int); 16642 method public final long getAndSet(int, long); 16643 method public final long getAndUpdate(int, java.util.function.LongUnaryOperator); 16644 method public final long getOpaque(int); 16645 method public final long getPlain(int); 16646 method public final long incrementAndGet(int); 16647 method public final void lazySet(int, long); 16648 method public final int length(); 16649 method public final void set(int, long); 16650 method public final void setOpaque(int, long); 16651 method public final void setPlain(int, long); 16652 method public final void setRelease(int, long); 16653 method public final long updateAndGet(int, java.util.function.LongUnaryOperator); 16654 method @Deprecated public final boolean weakCompareAndSet(int, long, long); 16655 method public final boolean weakCompareAndSetAcquire(int, long, long); 16656 method public final boolean weakCompareAndSetPlain(int, long, long); 16657 method public final boolean weakCompareAndSetRelease(int, long, long); 16658 method public final boolean weakCompareAndSetVolatile(int, long, long); 16659 } 16660 16661 public abstract class AtomicLongFieldUpdater<T> { 16662 ctor protected AtomicLongFieldUpdater(); 16663 method public final long accumulateAndGet(T, long, java.util.function.LongBinaryOperator); 16664 method public long addAndGet(T, long); 16665 method public abstract boolean compareAndSet(T, long, long); 16666 method public long decrementAndGet(T); 16667 method public abstract long get(T); 16668 method public final long getAndAccumulate(T, long, java.util.function.LongBinaryOperator); 16669 method public long getAndAdd(T, long); 16670 method public long getAndDecrement(T); 16671 method public long getAndIncrement(T); 16672 method public long getAndSet(T, long); 16673 method public final long getAndUpdate(T, java.util.function.LongUnaryOperator); 16674 method public long incrementAndGet(T); 16675 method public abstract void lazySet(T, long); 16676 method public static <U> java.util.concurrent.atomic.AtomicLongFieldUpdater<U> newUpdater(Class<U>, String); 16677 method public abstract void set(T, long); 16678 method public final long updateAndGet(T, java.util.function.LongUnaryOperator); 16679 method public abstract boolean weakCompareAndSet(T, long, long); 16680 } 16681 16682 public class AtomicMarkableReference<V> { 16683 ctor public AtomicMarkableReference(V, boolean); 16684 method public boolean attemptMark(V, boolean); 16685 method public boolean compareAndSet(V, V, boolean, boolean); 16686 method public V get(boolean[]); 16687 method public V getReference(); 16688 method public boolean isMarked(); 16689 method public void set(V, boolean); 16690 method public boolean weakCompareAndSet(V, V, boolean, boolean); 16691 } 16692 16693 public class AtomicReference<V> implements java.io.Serializable { 16694 ctor public AtomicReference(V); 16695 ctor public AtomicReference(); 16696 method public final V accumulateAndGet(V, java.util.function.BinaryOperator<V>); 16697 method public final V compareAndExchange(V, V); 16698 method public final V compareAndExchangeAcquire(V, V); 16699 method public final V compareAndExchangeRelease(V, V); 16700 method public final boolean compareAndSet(V, V); 16701 method public final V get(); 16702 method public final V getAcquire(); 16703 method public final V getAndAccumulate(V, java.util.function.BinaryOperator<V>); 16704 method public final V getAndSet(V); 16705 method public final V getAndUpdate(java.util.function.UnaryOperator<V>); 16706 method public final V getOpaque(); 16707 method public final V getPlain(); 16708 method public final void lazySet(V); 16709 method public final void set(V); 16710 method public final void setOpaque(V); 16711 method public final void setPlain(V); 16712 method public final void setRelease(V); 16713 method public final V updateAndGet(java.util.function.UnaryOperator<V>); 16714 method @Deprecated public final boolean weakCompareAndSet(V, V); 16715 method public final boolean weakCompareAndSetAcquire(V, V); 16716 method public final boolean weakCompareAndSetPlain(V, V); 16717 method public final boolean weakCompareAndSetRelease(V, V); 16718 method public final boolean weakCompareAndSetVolatile(V, V); 16719 } 16720 16721 public class AtomicReferenceArray<E> implements java.io.Serializable { 16722 ctor public AtomicReferenceArray(int); 16723 ctor public AtomicReferenceArray(E[]); 16724 method public final E accumulateAndGet(int, E, java.util.function.BinaryOperator<E>); 16725 method public final E compareAndExchange(int, E, E); 16726 method public final E compareAndExchangeAcquire(int, E, E); 16727 method public final E compareAndExchangeRelease(int, E, E); 16728 method public final boolean compareAndSet(int, E, E); 16729 method public final E get(int); 16730 method public final E getAcquire(int); 16731 method public final E getAndAccumulate(int, E, java.util.function.BinaryOperator<E>); 16732 method public final E getAndSet(int, E); 16733 method public final E getAndUpdate(int, java.util.function.UnaryOperator<E>); 16734 method public final E getOpaque(int); 16735 method public final E getPlain(int); 16736 method public final void lazySet(int, E); 16737 method public final int length(); 16738 method public final void set(int, E); 16739 method public final void setOpaque(int, E); 16740 method public final void setPlain(int, E); 16741 method public final void setRelease(int, E); 16742 method public final E updateAndGet(int, java.util.function.UnaryOperator<E>); 16743 method @Deprecated public final boolean weakCompareAndSet(int, E, E); 16744 method public final boolean weakCompareAndSetAcquire(int, E, E); 16745 method public final boolean weakCompareAndSetPlain(int, E, E); 16746 method public final boolean weakCompareAndSetRelease(int, E, E); 16747 method public final boolean weakCompareAndSetVolatile(int, E, E); 16748 } 16749 16750 public abstract class AtomicReferenceFieldUpdater<T, V> { 16751 ctor protected AtomicReferenceFieldUpdater(); 16752 method public final V accumulateAndGet(T, V, java.util.function.BinaryOperator<V>); 16753 method public abstract boolean compareAndSet(T, V, V); 16754 method public abstract V get(T); 16755 method public final V getAndAccumulate(T, V, java.util.function.BinaryOperator<V>); 16756 method public V getAndSet(T, V); 16757 method public final V getAndUpdate(T, java.util.function.UnaryOperator<V>); 16758 method public abstract void lazySet(T, V); 16759 method public static <U, W> java.util.concurrent.atomic.AtomicReferenceFieldUpdater<U,W> newUpdater(Class<U>, Class<W>, String); 16760 method public abstract void set(T, V); 16761 method public final V updateAndGet(T, java.util.function.UnaryOperator<V>); 16762 method public abstract boolean weakCompareAndSet(T, V, V); 16763 } 16764 16765 public class AtomicStampedReference<V> { 16766 ctor public AtomicStampedReference(V, int); 16767 method public boolean attemptStamp(V, int); 16768 method public boolean compareAndSet(V, V, int, int); 16769 method public V get(int[]); 16770 method public V getReference(); 16771 method public int getStamp(); 16772 method public void set(V, int); 16773 method public boolean weakCompareAndSet(V, V, int, int); 16774 } 16775 16776 public class DoubleAccumulator extends java.lang.Number implements java.io.Serializable { 16777 ctor public DoubleAccumulator(java.util.function.DoubleBinaryOperator, double); 16778 method public void accumulate(double); 16779 method public double doubleValue(); 16780 method public float floatValue(); 16781 method public double get(); 16782 method public double getThenReset(); 16783 method public int intValue(); 16784 method public long longValue(); 16785 method public void reset(); 16786 } 16787 16788 public class DoubleAdder extends java.lang.Number implements java.io.Serializable { 16789 ctor public DoubleAdder(); 16790 method public void add(double); 16791 method public double doubleValue(); 16792 method public float floatValue(); 16793 method public int intValue(); 16794 method public long longValue(); 16795 method public void reset(); 16796 method public double sum(); 16797 method public double sumThenReset(); 16798 } 16799 16800 public class LongAccumulator extends java.lang.Number implements java.io.Serializable { 16801 ctor public LongAccumulator(java.util.function.LongBinaryOperator, long); 16802 method public void accumulate(long); 16803 method public double doubleValue(); 16804 method public float floatValue(); 16805 method public long get(); 16806 method public long getThenReset(); 16807 method public int intValue(); 16808 method public long longValue(); 16809 method public void reset(); 16810 } 16811 16812 public class LongAdder extends java.lang.Number implements java.io.Serializable { 16813 ctor public LongAdder(); 16814 method public void add(long); 16815 method public void decrement(); 16816 method public double doubleValue(); 16817 method public float floatValue(); 16818 method public void increment(); 16819 method public int intValue(); 16820 method public long longValue(); 16821 method public void reset(); 16822 method public long sum(); 16823 method public long sumThenReset(); 16824 } 16825 16826} 16827 16828package java.util.concurrent.locks { 16829 16830 public abstract class AbstractOwnableSynchronizer implements java.io.Serializable { 16831 ctor protected AbstractOwnableSynchronizer(); 16832 method protected final Thread getExclusiveOwnerThread(); 16833 method protected final void setExclusiveOwnerThread(Thread); 16834 } 16835 16836 public abstract class AbstractQueuedLongSynchronizer extends java.util.concurrent.locks.AbstractOwnableSynchronizer implements java.io.Serializable { 16837 ctor protected AbstractQueuedLongSynchronizer(); 16838 method public final void acquire(long); 16839 method public final void acquireInterruptibly(long) throws java.lang.InterruptedException; 16840 method public final void acquireShared(long); 16841 method public final void acquireSharedInterruptibly(long) throws java.lang.InterruptedException; 16842 method protected final boolean compareAndSetState(long, long); 16843 method public final java.util.Collection<java.lang.Thread> getExclusiveQueuedThreads(); 16844 method public final Thread getFirstQueuedThread(); 16845 method public final int getQueueLength(); 16846 method public final java.util.Collection<java.lang.Thread> getQueuedThreads(); 16847 method public final java.util.Collection<java.lang.Thread> getSharedQueuedThreads(); 16848 method protected final long getState(); 16849 method public final int getWaitQueueLength(java.util.concurrent.locks.AbstractQueuedLongSynchronizer.ConditionObject); 16850 method public final java.util.Collection<java.lang.Thread> getWaitingThreads(java.util.concurrent.locks.AbstractQueuedLongSynchronizer.ConditionObject); 16851 method public final boolean hasContended(); 16852 method public final boolean hasQueuedPredecessors(); 16853 method public final boolean hasQueuedThreads(); 16854 method public final boolean hasWaiters(java.util.concurrent.locks.AbstractQueuedLongSynchronizer.ConditionObject); 16855 method protected boolean isHeldExclusively(); 16856 method public final boolean isQueued(Thread); 16857 method public final boolean owns(java.util.concurrent.locks.AbstractQueuedLongSynchronizer.ConditionObject); 16858 method public final boolean release(long); 16859 method public final boolean releaseShared(long); 16860 method protected final void setState(long); 16861 method protected boolean tryAcquire(long); 16862 method public final boolean tryAcquireNanos(long, long) throws java.lang.InterruptedException; 16863 method protected long tryAcquireShared(long); 16864 method public final boolean tryAcquireSharedNanos(long, long) throws java.lang.InterruptedException; 16865 method protected boolean tryRelease(long); 16866 method protected boolean tryReleaseShared(long); 16867 } 16868 16869 public class AbstractQueuedLongSynchronizer.ConditionObject implements java.util.concurrent.locks.Condition java.io.Serializable { 16870 ctor public AbstractQueuedLongSynchronizer.ConditionObject(); 16871 method public final void await() throws java.lang.InterruptedException; 16872 method public final boolean await(long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedException; 16873 method public final long awaitNanos(long) throws java.lang.InterruptedException; 16874 method public final void awaitUninterruptibly(); 16875 method public final boolean awaitUntil(java.util.Date) throws java.lang.InterruptedException; 16876 method protected final int getWaitQueueLength(); 16877 method protected final java.util.Collection<java.lang.Thread> getWaitingThreads(); 16878 method protected final boolean hasWaiters(); 16879 method public final void signal(); 16880 method public final void signalAll(); 16881 } 16882 16883 public abstract class AbstractQueuedSynchronizer extends java.util.concurrent.locks.AbstractOwnableSynchronizer implements java.io.Serializable { 16884 ctor protected AbstractQueuedSynchronizer(); 16885 method public final void acquire(int); 16886 method public final void acquireInterruptibly(int) throws java.lang.InterruptedException; 16887 method public final void acquireShared(int); 16888 method public final void acquireSharedInterruptibly(int) throws java.lang.InterruptedException; 16889 method protected final boolean compareAndSetState(int, int); 16890 method public final java.util.Collection<java.lang.Thread> getExclusiveQueuedThreads(); 16891 method public final Thread getFirstQueuedThread(); 16892 method public final int getQueueLength(); 16893 method public final java.util.Collection<java.lang.Thread> getQueuedThreads(); 16894 method public final java.util.Collection<java.lang.Thread> getSharedQueuedThreads(); 16895 method protected final int getState(); 16896 method public final int getWaitQueueLength(java.util.concurrent.locks.AbstractQueuedSynchronizer.ConditionObject); 16897 method public final java.util.Collection<java.lang.Thread> getWaitingThreads(java.util.concurrent.locks.AbstractQueuedSynchronizer.ConditionObject); 16898 method public final boolean hasContended(); 16899 method public final boolean hasQueuedPredecessors(); 16900 method public final boolean hasQueuedThreads(); 16901 method public final boolean hasWaiters(java.util.concurrent.locks.AbstractQueuedSynchronizer.ConditionObject); 16902 method protected boolean isHeldExclusively(); 16903 method public final boolean isQueued(Thread); 16904 method public final boolean owns(java.util.concurrent.locks.AbstractQueuedSynchronizer.ConditionObject); 16905 method public final boolean release(int); 16906 method public final boolean releaseShared(int); 16907 method protected final void setState(int); 16908 method protected boolean tryAcquire(int); 16909 method public final boolean tryAcquireNanos(int, long) throws java.lang.InterruptedException; 16910 method protected int tryAcquireShared(int); 16911 method public final boolean tryAcquireSharedNanos(int, long) throws java.lang.InterruptedException; 16912 method protected boolean tryRelease(int); 16913 method protected boolean tryReleaseShared(int); 16914 } 16915 16916 public class AbstractQueuedSynchronizer.ConditionObject implements java.util.concurrent.locks.Condition java.io.Serializable { 16917 ctor public AbstractQueuedSynchronizer.ConditionObject(); 16918 method public final void await() throws java.lang.InterruptedException; 16919 method public final boolean await(long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedException; 16920 method public final long awaitNanos(long) throws java.lang.InterruptedException; 16921 method public final void awaitUninterruptibly(); 16922 method public final boolean awaitUntil(java.util.Date) throws java.lang.InterruptedException; 16923 method protected final int getWaitQueueLength(); 16924 method protected final java.util.Collection<java.lang.Thread> getWaitingThreads(); 16925 method protected final boolean hasWaiters(); 16926 method public final void signal(); 16927 method public final void signalAll(); 16928 } 16929 16930 public interface Condition { 16931 method public void await() throws java.lang.InterruptedException; 16932 method public boolean await(long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedException; 16933 method public long awaitNanos(long) throws java.lang.InterruptedException; 16934 method public void awaitUninterruptibly(); 16935 method public boolean awaitUntil(java.util.Date) throws java.lang.InterruptedException; 16936 method public void signal(); 16937 method public void signalAll(); 16938 } 16939 16940 public interface Lock { 16941 method public void lock(); 16942 method public void lockInterruptibly() throws java.lang.InterruptedException; 16943 method public java.util.concurrent.locks.Condition newCondition(); 16944 method public boolean tryLock(); 16945 method public boolean tryLock(long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedException; 16946 method public void unlock(); 16947 } 16948 16949 public class LockSupport { 16950 method public static Object getBlocker(Thread); 16951 method public static void park(Object); 16952 method public static void park(); 16953 method public static void parkNanos(Object, long); 16954 method public static void parkNanos(long); 16955 method public static void parkUntil(Object, long); 16956 method public static void parkUntil(long); 16957 method public static void setCurrentBlocker(Object); 16958 method public static void unpark(Thread); 16959 } 16960 16961 public interface ReadWriteLock { 16962 method public java.util.concurrent.locks.Lock readLock(); 16963 method public java.util.concurrent.locks.Lock writeLock(); 16964 } 16965 16966 public class ReentrantLock implements java.util.concurrent.locks.Lock java.io.Serializable { 16967 ctor public ReentrantLock(); 16968 ctor public ReentrantLock(boolean); 16969 method public int getHoldCount(); 16970 method protected Thread getOwner(); 16971 method public final int getQueueLength(); 16972 method protected java.util.Collection<java.lang.Thread> getQueuedThreads(); 16973 method public int getWaitQueueLength(java.util.concurrent.locks.Condition); 16974 method protected java.util.Collection<java.lang.Thread> getWaitingThreads(java.util.concurrent.locks.Condition); 16975 method public final boolean hasQueuedThread(Thread); 16976 method public final boolean hasQueuedThreads(); 16977 method public boolean hasWaiters(java.util.concurrent.locks.Condition); 16978 method public final boolean isFair(); 16979 method public boolean isHeldByCurrentThread(); 16980 method public boolean isLocked(); 16981 method public void lock(); 16982 method public void lockInterruptibly() throws java.lang.InterruptedException; 16983 method public java.util.concurrent.locks.Condition newCondition(); 16984 method public boolean tryLock(); 16985 method public boolean tryLock(long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedException; 16986 method public void unlock(); 16987 } 16988 16989 public class ReentrantReadWriteLock implements java.util.concurrent.locks.ReadWriteLock java.io.Serializable { 16990 ctor public ReentrantReadWriteLock(); 16991 ctor public ReentrantReadWriteLock(boolean); 16992 method protected Thread getOwner(); 16993 method public final int getQueueLength(); 16994 method protected java.util.Collection<java.lang.Thread> getQueuedReaderThreads(); 16995 method protected java.util.Collection<java.lang.Thread> getQueuedThreads(); 16996 method protected java.util.Collection<java.lang.Thread> getQueuedWriterThreads(); 16997 method public int getReadHoldCount(); 16998 method public int getReadLockCount(); 16999 method public int getWaitQueueLength(java.util.concurrent.locks.Condition); 17000 method protected java.util.Collection<java.lang.Thread> getWaitingThreads(java.util.concurrent.locks.Condition); 17001 method public int getWriteHoldCount(); 17002 method public final boolean hasQueuedThread(Thread); 17003 method public final boolean hasQueuedThreads(); 17004 method public boolean hasWaiters(java.util.concurrent.locks.Condition); 17005 method public final boolean isFair(); 17006 method public boolean isWriteLocked(); 17007 method public boolean isWriteLockedByCurrentThread(); 17008 method public java.util.concurrent.locks.ReentrantReadWriteLock.ReadLock readLock(); 17009 method public java.util.concurrent.locks.ReentrantReadWriteLock.WriteLock writeLock(); 17010 } 17011 17012 public static class ReentrantReadWriteLock.ReadLock implements java.util.concurrent.locks.Lock java.io.Serializable { 17013 ctor protected ReentrantReadWriteLock.ReadLock(java.util.concurrent.locks.ReentrantReadWriteLock); 17014 method public void lock(); 17015 method public void lockInterruptibly() throws java.lang.InterruptedException; 17016 method public java.util.concurrent.locks.Condition newCondition(); 17017 method public boolean tryLock(); 17018 method public boolean tryLock(long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedException; 17019 method public void unlock(); 17020 } 17021 17022 public static class ReentrantReadWriteLock.WriteLock implements java.util.concurrent.locks.Lock java.io.Serializable { 17023 ctor protected ReentrantReadWriteLock.WriteLock(java.util.concurrent.locks.ReentrantReadWriteLock); 17024 method public int getHoldCount(); 17025 method public boolean isHeldByCurrentThread(); 17026 method public void lock(); 17027 method public void lockInterruptibly() throws java.lang.InterruptedException; 17028 method public java.util.concurrent.locks.Condition newCondition(); 17029 method public boolean tryLock(); 17030 method public boolean tryLock(long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedException; 17031 method public void unlock(); 17032 } 17033 17034 public class StampedLock implements java.io.Serializable { 17035 ctor public StampedLock(); 17036 method public java.util.concurrent.locks.Lock asReadLock(); 17037 method public java.util.concurrent.locks.ReadWriteLock asReadWriteLock(); 17038 method public java.util.concurrent.locks.Lock asWriteLock(); 17039 method public int getReadLockCount(); 17040 method public static boolean isLockStamp(long); 17041 method public static boolean isOptimisticReadStamp(long); 17042 method public static boolean isReadLockStamp(long); 17043 method public boolean isReadLocked(); 17044 method public static boolean isWriteLockStamp(long); 17045 method public boolean isWriteLocked(); 17046 method public long readLock(); 17047 method public long readLockInterruptibly() throws java.lang.InterruptedException; 17048 method public long tryConvertToOptimisticRead(long); 17049 method public long tryConvertToReadLock(long); 17050 method public long tryConvertToWriteLock(long); 17051 method public long tryOptimisticRead(); 17052 method public long tryReadLock(); 17053 method public long tryReadLock(long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedException; 17054 method public boolean tryUnlockRead(); 17055 method public boolean tryUnlockWrite(); 17056 method public long tryWriteLock(); 17057 method public long tryWriteLock(long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedException; 17058 method public void unlock(long); 17059 method public void unlockRead(long); 17060 method public void unlockWrite(long); 17061 method public boolean validate(long); 17062 method public long writeLock(); 17063 method public long writeLockInterruptibly() throws java.lang.InterruptedException; 17064 } 17065 17066} 17067 17068package java.util.function { 17069 17070 @java.lang.FunctionalInterface public interface BiConsumer<T, U> { 17071 method public void accept(T, U); 17072 method public default java.util.function.BiConsumer<T,U> andThen(java.util.function.BiConsumer<? super T,? super U>); 17073 } 17074 17075 @java.lang.FunctionalInterface public interface BiFunction<T, U, R> { 17076 method public default <V> java.util.function.BiFunction<T,U,V> andThen(java.util.function.Function<? super R,? extends V>); 17077 method public R apply(T, U); 17078 } 17079 17080 @java.lang.FunctionalInterface public interface BiPredicate<T, U> { 17081 method public default java.util.function.BiPredicate<T,U> and(java.util.function.BiPredicate<? super T,? super U>); 17082 method public default java.util.function.BiPredicate<T,U> negate(); 17083 method public default java.util.function.BiPredicate<T,U> or(java.util.function.BiPredicate<? super T,? super U>); 17084 method public boolean test(T, U); 17085 } 17086 17087 @java.lang.FunctionalInterface public interface BinaryOperator<T> extends java.util.function.BiFunction<T,T,T> { 17088 method public static <T> java.util.function.BinaryOperator<T> maxBy(java.util.Comparator<? super T>); 17089 method public static <T> java.util.function.BinaryOperator<T> minBy(java.util.Comparator<? super T>); 17090 } 17091 17092 @java.lang.FunctionalInterface public interface BooleanSupplier { 17093 method public boolean getAsBoolean(); 17094 } 17095 17096 @java.lang.FunctionalInterface public interface Consumer<T> { 17097 method public void accept(T); 17098 method public default java.util.function.Consumer<T> andThen(java.util.function.Consumer<? super T>); 17099 } 17100 17101 @java.lang.FunctionalInterface public interface DoubleBinaryOperator { 17102 method public double applyAsDouble(double, double); 17103 } 17104 17105 @java.lang.FunctionalInterface public interface DoubleConsumer { 17106 method public void accept(double); 17107 method public default java.util.function.DoubleConsumer andThen(java.util.function.DoubleConsumer); 17108 } 17109 17110 @java.lang.FunctionalInterface public interface DoubleFunction<R> { 17111 method public R apply(double); 17112 } 17113 17114 @java.lang.FunctionalInterface public interface DoublePredicate { 17115 method public default java.util.function.DoublePredicate and(java.util.function.DoublePredicate); 17116 method public default java.util.function.DoublePredicate negate(); 17117 method public default java.util.function.DoublePredicate or(java.util.function.DoublePredicate); 17118 method public boolean test(double); 17119 } 17120 17121 @java.lang.FunctionalInterface public interface DoubleSupplier { 17122 method public double getAsDouble(); 17123 } 17124 17125 @java.lang.FunctionalInterface public interface DoubleToIntFunction { 17126 method public int applyAsInt(double); 17127 } 17128 17129 @java.lang.FunctionalInterface public interface DoubleToLongFunction { 17130 method public long applyAsLong(double); 17131 } 17132 17133 @java.lang.FunctionalInterface public interface DoubleUnaryOperator { 17134 method public default java.util.function.DoubleUnaryOperator andThen(java.util.function.DoubleUnaryOperator); 17135 method public double applyAsDouble(double); 17136 method public default java.util.function.DoubleUnaryOperator compose(java.util.function.DoubleUnaryOperator); 17137 method public static java.util.function.DoubleUnaryOperator identity(); 17138 } 17139 17140 @java.lang.FunctionalInterface public interface Function<T, R> { 17141 method public default <V> java.util.function.Function<T,V> andThen(java.util.function.Function<? super R,? extends V>); 17142 method public R apply(T); 17143 method public default <V> java.util.function.Function<V,R> compose(java.util.function.Function<? super V,? extends T>); 17144 method public static <T> java.util.function.Function<T,T> identity(); 17145 } 17146 17147 @java.lang.FunctionalInterface public interface IntBinaryOperator { 17148 method public int applyAsInt(int, int); 17149 } 17150 17151 @java.lang.FunctionalInterface public interface IntConsumer { 17152 method public void accept(int); 17153 method public default java.util.function.IntConsumer andThen(java.util.function.IntConsumer); 17154 } 17155 17156 @java.lang.FunctionalInterface public interface IntFunction<R> { 17157 method public R apply(int); 17158 } 17159 17160 @java.lang.FunctionalInterface public interface IntPredicate { 17161 method public default java.util.function.IntPredicate and(java.util.function.IntPredicate); 17162 method public default java.util.function.IntPredicate negate(); 17163 method public default java.util.function.IntPredicate or(java.util.function.IntPredicate); 17164 method public boolean test(int); 17165 } 17166 17167 @java.lang.FunctionalInterface public interface IntSupplier { 17168 method public int getAsInt(); 17169 } 17170 17171 @java.lang.FunctionalInterface public interface IntToDoubleFunction { 17172 method public double applyAsDouble(int); 17173 } 17174 17175 @java.lang.FunctionalInterface public interface IntToLongFunction { 17176 method public long applyAsLong(int); 17177 } 17178 17179 @java.lang.FunctionalInterface public interface IntUnaryOperator { 17180 method public default java.util.function.IntUnaryOperator andThen(java.util.function.IntUnaryOperator); 17181 method public int applyAsInt(int); 17182 method public default java.util.function.IntUnaryOperator compose(java.util.function.IntUnaryOperator); 17183 method public static java.util.function.IntUnaryOperator identity(); 17184 } 17185 17186 @java.lang.FunctionalInterface public interface LongBinaryOperator { 17187 method public long applyAsLong(long, long); 17188 } 17189 17190 @java.lang.FunctionalInterface public interface LongConsumer { 17191 method public void accept(long); 17192 method public default java.util.function.LongConsumer andThen(java.util.function.LongConsumer); 17193 } 17194 17195 @java.lang.FunctionalInterface public interface LongFunction<R> { 17196 method public R apply(long); 17197 } 17198 17199 @java.lang.FunctionalInterface public interface LongPredicate { 17200 method public default java.util.function.LongPredicate and(java.util.function.LongPredicate); 17201 method public default java.util.function.LongPredicate negate(); 17202 method public default java.util.function.LongPredicate or(java.util.function.LongPredicate); 17203 method public boolean test(long); 17204 } 17205 17206 @java.lang.FunctionalInterface public interface LongSupplier { 17207 method public long getAsLong(); 17208 } 17209 17210 @java.lang.FunctionalInterface public interface LongToDoubleFunction { 17211 method public double applyAsDouble(long); 17212 } 17213 17214 @java.lang.FunctionalInterface public interface LongToIntFunction { 17215 method public int applyAsInt(long); 17216 } 17217 17218 @java.lang.FunctionalInterface public interface LongUnaryOperator { 17219 method public default java.util.function.LongUnaryOperator andThen(java.util.function.LongUnaryOperator); 17220 method public long applyAsLong(long); 17221 method public default java.util.function.LongUnaryOperator compose(java.util.function.LongUnaryOperator); 17222 method public static java.util.function.LongUnaryOperator identity(); 17223 } 17224 17225 @java.lang.FunctionalInterface public interface ObjDoubleConsumer<T> { 17226 method public void accept(T, double); 17227 } 17228 17229 @java.lang.FunctionalInterface public interface ObjIntConsumer<T> { 17230 method public void accept(T, int); 17231 } 17232 17233 @java.lang.FunctionalInterface public interface ObjLongConsumer<T> { 17234 method public void accept(T, long); 17235 } 17236 17237 @java.lang.FunctionalInterface public interface Predicate<T> { 17238 method public default java.util.function.Predicate<T> and(java.util.function.Predicate<? super T>); 17239 method public static <T> java.util.function.Predicate<T> isEqual(Object); 17240 method public default java.util.function.Predicate<T> negate(); 17241 method public static <T> java.util.function.Predicate<T> not(java.util.function.Predicate<? super T>); 17242 method public default java.util.function.Predicate<T> or(java.util.function.Predicate<? super T>); 17243 method public boolean test(T); 17244 } 17245 17246 @java.lang.FunctionalInterface public interface Supplier<T> { 17247 method public T get(); 17248 } 17249 17250 @java.lang.FunctionalInterface public interface ToDoubleBiFunction<T, U> { 17251 method public double applyAsDouble(T, U); 17252 } 17253 17254 @java.lang.FunctionalInterface public interface ToDoubleFunction<T> { 17255 method public double applyAsDouble(T); 17256 } 17257 17258 @java.lang.FunctionalInterface public interface ToIntBiFunction<T, U> { 17259 method public int applyAsInt(T, U); 17260 } 17261 17262 @java.lang.FunctionalInterface public interface ToIntFunction<T> { 17263 method public int applyAsInt(T); 17264 } 17265 17266 @java.lang.FunctionalInterface public interface ToLongBiFunction<T, U> { 17267 method public long applyAsLong(T, U); 17268 } 17269 17270 @java.lang.FunctionalInterface public interface ToLongFunction<T> { 17271 method public long applyAsLong(T); 17272 } 17273 17274 @java.lang.FunctionalInterface public interface UnaryOperator<T> extends java.util.function.Function<T,T> { 17275 method public static <T> java.util.function.UnaryOperator<T> identity(); 17276 } 17277 17278} 17279 17280package java.util.jar { 17281 17282 public class Attributes implements java.lang.Cloneable java.util.Map<java.lang.Object,java.lang.Object> { 17283 ctor public Attributes(); 17284 ctor public Attributes(int); 17285 ctor public Attributes(java.util.jar.Attributes); 17286 method public void clear(); 17287 method public Object clone(); 17288 method public boolean containsKey(Object); 17289 method public boolean containsValue(Object); 17290 method public java.util.Set<java.util.Map.Entry<java.lang.Object,java.lang.Object>> entrySet(); 17291 method public boolean equals(Object); 17292 method public Object get(Object); 17293 method public String getValue(String); 17294 method public String getValue(java.util.jar.Attributes.Name); 17295 method public int hashCode(); 17296 method public boolean isEmpty(); 17297 method public java.util.Set<java.lang.Object> keySet(); 17298 method public Object put(Object, Object); 17299 method public void putAll(java.util.Map<?,?>); 17300 method public String putValue(String, String); 17301 method public Object remove(Object); 17302 method public int size(); 17303 method public java.util.Collection<java.lang.Object> values(); 17304 field protected java.util.Map<java.lang.Object,java.lang.Object> map; 17305 } 17306 17307 public static class Attributes.Name { 17308 ctor public Attributes.Name(String); 17309 field public static final java.util.jar.Attributes.Name CLASS_PATH; 17310 field public static final java.util.jar.Attributes.Name CONTENT_TYPE; 17311 field @Deprecated public static final java.util.jar.Attributes.Name EXTENSION_INSTALLATION; 17312 field public static final java.util.jar.Attributes.Name EXTENSION_LIST; 17313 field public static final java.util.jar.Attributes.Name EXTENSION_NAME; 17314 field public static final java.util.jar.Attributes.Name IMPLEMENTATION_TITLE; 17315 field @Deprecated public static final java.util.jar.Attributes.Name IMPLEMENTATION_URL; 17316 field public static final java.util.jar.Attributes.Name IMPLEMENTATION_VENDOR; 17317 field @Deprecated public static final java.util.jar.Attributes.Name IMPLEMENTATION_VENDOR_ID; 17318 field public static final java.util.jar.Attributes.Name IMPLEMENTATION_VERSION; 17319 field public static final java.util.jar.Attributes.Name MAIN_CLASS; 17320 field public static final java.util.jar.Attributes.Name MANIFEST_VERSION; 17321 field public static final java.util.jar.Attributes.Name SEALED; 17322 field public static final java.util.jar.Attributes.Name SIGNATURE_VERSION; 17323 field public static final java.util.jar.Attributes.Name SPECIFICATION_TITLE; 17324 field public static final java.util.jar.Attributes.Name SPECIFICATION_VENDOR; 17325 field public static final java.util.jar.Attributes.Name SPECIFICATION_VERSION; 17326 } 17327 17328 public class JarEntry extends java.util.zip.ZipEntry { 17329 ctor public JarEntry(String); 17330 ctor public JarEntry(java.util.zip.ZipEntry); 17331 ctor public JarEntry(java.util.jar.JarEntry); 17332 method public java.util.jar.Attributes getAttributes() throws java.io.IOException; 17333 method public java.security.cert.Certificate[] getCertificates(); 17334 method public java.security.CodeSigner[] getCodeSigners(); 17335 method public String getRealName(); 17336 field public static final int CENATT = 36; // 0x24 17337 field public static final int CENATX = 38; // 0x26 17338 field public static final int CENCOM = 32; // 0x20 17339 field public static final int CENCRC = 16; // 0x10 17340 field public static final int CENDSK = 34; // 0x22 17341 field public static final int CENEXT = 30; // 0x1e 17342 field public static final int CENFLG = 8; // 0x8 17343 field public static final int CENHDR = 46; // 0x2e 17344 field public static final int CENHOW = 10; // 0xa 17345 field public static final int CENLEN = 24; // 0x18 17346 field public static final int CENNAM = 28; // 0x1c 17347 field public static final int CENOFF = 42; // 0x2a 17348 field public static final long CENSIG = 33639248L; // 0x2014b50L 17349 field public static final int CENSIZ = 20; // 0x14 17350 field public static final int CENTIM = 12; // 0xc 17351 field public static final int CENVEM = 4; // 0x4 17352 field public static final int CENVER = 6; // 0x6 17353 field public static final int ENDCOM = 20; // 0x14 17354 field public static final int ENDHDR = 22; // 0x16 17355 field public static final int ENDOFF = 16; // 0x10 17356 field public static final long ENDSIG = 101010256L; // 0x6054b50L 17357 field public static final int ENDSIZ = 12; // 0xc 17358 field public static final int ENDSUB = 8; // 0x8 17359 field public static final int ENDTOT = 10; // 0xa 17360 field public static final int EXTCRC = 4; // 0x4 17361 field public static final int EXTHDR = 16; // 0x10 17362 field public static final int EXTLEN = 12; // 0xc 17363 field public static final long EXTSIG = 134695760L; // 0x8074b50L 17364 field public static final int EXTSIZ = 8; // 0x8 17365 field public static final int LOCCRC = 14; // 0xe 17366 field public static final int LOCEXT = 28; // 0x1c 17367 field public static final int LOCFLG = 6; // 0x6 17368 field public static final int LOCHDR = 30; // 0x1e 17369 field public static final int LOCHOW = 8; // 0x8 17370 field public static final int LOCLEN = 22; // 0x16 17371 field public static final int LOCNAM = 26; // 0x1a 17372 field public static final long LOCSIG = 67324752L; // 0x4034b50L 17373 field public static final int LOCSIZ = 18; // 0x12 17374 field public static final int LOCTIM = 10; // 0xa 17375 field public static final int LOCVER = 4; // 0x4 17376 } 17377 17378 public class JarException extends java.util.zip.ZipException { 17379 ctor public JarException(); 17380 ctor public JarException(String); 17381 } 17382 17383 public class JarFile extends java.util.zip.ZipFile { 17384 ctor public JarFile(String) throws java.io.IOException; 17385 ctor public JarFile(String, boolean) throws java.io.IOException; 17386 ctor public JarFile(java.io.File) throws java.io.IOException; 17387 ctor public JarFile(java.io.File, boolean) throws java.io.IOException; 17388 ctor public JarFile(java.io.File, boolean, int) throws java.io.IOException; 17389 method public java.util.Enumeration<java.util.jar.JarEntry> entries(); 17390 method public java.util.jar.JarEntry getJarEntry(String); 17391 method public java.util.jar.Manifest getManifest() throws java.io.IOException; 17392 method public java.util.stream.Stream<java.util.jar.JarEntry> stream(); 17393 field public static final int CENATT = 36; // 0x24 17394 field public static final int CENATX = 38; // 0x26 17395 field public static final int CENCOM = 32; // 0x20 17396 field public static final int CENCRC = 16; // 0x10 17397 field public static final int CENDSK = 34; // 0x22 17398 field public static final int CENEXT = 30; // 0x1e 17399 field public static final int CENFLG = 8; // 0x8 17400 field public static final int CENHDR = 46; // 0x2e 17401 field public static final int CENHOW = 10; // 0xa 17402 field public static final int CENLEN = 24; // 0x18 17403 field public static final int CENNAM = 28; // 0x1c 17404 field public static final int CENOFF = 42; // 0x2a 17405 field public static final long CENSIG = 33639248L; // 0x2014b50L 17406 field public static final int CENSIZ = 20; // 0x14 17407 field public static final int CENTIM = 12; // 0xc 17408 field public static final int CENVEM = 4; // 0x4 17409 field public static final int CENVER = 6; // 0x6 17410 field public static final int ENDCOM = 20; // 0x14 17411 field public static final int ENDHDR = 22; // 0x16 17412 field public static final int ENDOFF = 16; // 0x10 17413 field public static final long ENDSIG = 101010256L; // 0x6054b50L 17414 field public static final int ENDSIZ = 12; // 0xc 17415 field public static final int ENDSUB = 8; // 0x8 17416 field public static final int ENDTOT = 10; // 0xa 17417 field public static final int EXTCRC = 4; // 0x4 17418 field public static final int EXTHDR = 16; // 0x10 17419 field public static final int EXTLEN = 12; // 0xc 17420 field public static final long EXTSIG = 134695760L; // 0x8074b50L 17421 field public static final int EXTSIZ = 8; // 0x8 17422 field public static final int LOCCRC = 14; // 0xe 17423 field public static final int LOCEXT = 28; // 0x1c 17424 field public static final int LOCFLG = 6; // 0x6 17425 field public static final int LOCHDR = 30; // 0x1e 17426 field public static final int LOCHOW = 8; // 0x8 17427 field public static final int LOCLEN = 22; // 0x16 17428 field public static final int LOCNAM = 26; // 0x1a 17429 field public static final long LOCSIG = 67324752L; // 0x4034b50L 17430 field public static final int LOCSIZ = 18; // 0x12 17431 field public static final int LOCTIM = 10; // 0xa 17432 field public static final int LOCVER = 4; // 0x4 17433 field public static final String MANIFEST_NAME = "META-INF/MANIFEST.MF"; 17434 } 17435 17436 public class JarInputStream extends java.util.zip.ZipInputStream { 17437 ctor public JarInputStream(java.io.InputStream) throws java.io.IOException; 17438 ctor public JarInputStream(java.io.InputStream, boolean) throws java.io.IOException; 17439 method public java.util.jar.Manifest getManifest(); 17440 method public java.util.jar.JarEntry getNextJarEntry() throws java.io.IOException; 17441 field public static final int CENATT = 36; // 0x24 17442 field public static final int CENATX = 38; // 0x26 17443 field public static final int CENCOM = 32; // 0x20 17444 field public static final int CENCRC = 16; // 0x10 17445 field public static final int CENDSK = 34; // 0x22 17446 field public static final int CENEXT = 30; // 0x1e 17447 field public static final int CENFLG = 8; // 0x8 17448 field public static final int CENHDR = 46; // 0x2e 17449 field public static final int CENHOW = 10; // 0xa 17450 field public static final int CENLEN = 24; // 0x18 17451 field public static final int CENNAM = 28; // 0x1c 17452 field public static final int CENOFF = 42; // 0x2a 17453 field public static final long CENSIG = 33639248L; // 0x2014b50L 17454 field public static final int CENSIZ = 20; // 0x14 17455 field public static final int CENTIM = 12; // 0xc 17456 field public static final int CENVEM = 4; // 0x4 17457 field public static final int CENVER = 6; // 0x6 17458 field public static final int ENDCOM = 20; // 0x14 17459 field public static final int ENDHDR = 22; // 0x16 17460 field public static final int ENDOFF = 16; // 0x10 17461 field public static final long ENDSIG = 101010256L; // 0x6054b50L 17462 field public static final int ENDSIZ = 12; // 0xc 17463 field public static final int ENDSUB = 8; // 0x8 17464 field public static final int ENDTOT = 10; // 0xa 17465 field public static final int EXTCRC = 4; // 0x4 17466 field public static final int EXTHDR = 16; // 0x10 17467 field public static final int EXTLEN = 12; // 0xc 17468 field public static final long EXTSIG = 134695760L; // 0x8074b50L 17469 field public static final int EXTSIZ = 8; // 0x8 17470 field public static final int LOCCRC = 14; // 0xe 17471 field public static final int LOCEXT = 28; // 0x1c 17472 field public static final int LOCFLG = 6; // 0x6 17473 field public static final int LOCHDR = 30; // 0x1e 17474 field public static final int LOCHOW = 8; // 0x8 17475 field public static final int LOCLEN = 22; // 0x16 17476 field public static final int LOCNAM = 26; // 0x1a 17477 field public static final long LOCSIG = 67324752L; // 0x4034b50L 17478 field public static final int LOCSIZ = 18; // 0x12 17479 field public static final int LOCTIM = 10; // 0xa 17480 field public static final int LOCVER = 4; // 0x4 17481 } 17482 17483 public class JarOutputStream extends java.util.zip.ZipOutputStream { 17484 ctor public JarOutputStream(java.io.OutputStream, java.util.jar.Manifest) throws java.io.IOException; 17485 ctor public JarOutputStream(java.io.OutputStream) throws java.io.IOException; 17486 field public static final int CENATT = 36; // 0x24 17487 field public static final int CENATX = 38; // 0x26 17488 field public static final int CENCOM = 32; // 0x20 17489 field public static final int CENCRC = 16; // 0x10 17490 field public static final int CENDSK = 34; // 0x22 17491 field public static final int CENEXT = 30; // 0x1e 17492 field public static final int CENFLG = 8; // 0x8 17493 field public static final int CENHDR = 46; // 0x2e 17494 field public static final int CENHOW = 10; // 0xa 17495 field public static final int CENLEN = 24; // 0x18 17496 field public static final int CENNAM = 28; // 0x1c 17497 field public static final int CENOFF = 42; // 0x2a 17498 field public static final long CENSIG = 33639248L; // 0x2014b50L 17499 field public static final int CENSIZ = 20; // 0x14 17500 field public static final int CENTIM = 12; // 0xc 17501 field public static final int CENVEM = 4; // 0x4 17502 field public static final int CENVER = 6; // 0x6 17503 field public static final int ENDCOM = 20; // 0x14 17504 field public static final int ENDHDR = 22; // 0x16 17505 field public static final int ENDOFF = 16; // 0x10 17506 field public static final long ENDSIG = 101010256L; // 0x6054b50L 17507 field public static final int ENDSIZ = 12; // 0xc 17508 field public static final int ENDSUB = 8; // 0x8 17509 field public static final int ENDTOT = 10; // 0xa 17510 field public static final int EXTCRC = 4; // 0x4 17511 field public static final int EXTHDR = 16; // 0x10 17512 field public static final int EXTLEN = 12; // 0xc 17513 field public static final long EXTSIG = 134695760L; // 0x8074b50L 17514 field public static final int EXTSIZ = 8; // 0x8 17515 field public static final int LOCCRC = 14; // 0xe 17516 field public static final int LOCEXT = 28; // 0x1c 17517 field public static final int LOCFLG = 6; // 0x6 17518 field public static final int LOCHDR = 30; // 0x1e 17519 field public static final int LOCHOW = 8; // 0x8 17520 field public static final int LOCLEN = 22; // 0x16 17521 field public static final int LOCNAM = 26; // 0x1a 17522 field public static final long LOCSIG = 67324752L; // 0x4034b50L 17523 field public static final int LOCSIZ = 18; // 0x12 17524 field public static final int LOCTIM = 10; // 0xa 17525 field public static final int LOCVER = 4; // 0x4 17526 } 17527 17528 public class Manifest implements java.lang.Cloneable { 17529 ctor public Manifest(); 17530 ctor public Manifest(java.io.InputStream) throws java.io.IOException; 17531 ctor public Manifest(java.util.jar.Manifest); 17532 method public void clear(); 17533 method public Object clone(); 17534 method public java.util.jar.Attributes getAttributes(String); 17535 method public java.util.Map<java.lang.String,java.util.jar.Attributes> getEntries(); 17536 method public java.util.jar.Attributes getMainAttributes(); 17537 method public void read(java.io.InputStream) throws java.io.IOException; 17538 method public void write(java.io.OutputStream) throws java.io.IOException; 17539 } 17540 17541 public abstract class Pack200 { 17542 method public static java.util.jar.Pack200.Packer newPacker(); 17543 method public static java.util.jar.Pack200.Unpacker newUnpacker(); 17544 } 17545 17546 public static interface Pack200.Packer { 17547 method @Deprecated public default void addPropertyChangeListener(java.beans.PropertyChangeListener); 17548 method public void pack(java.util.jar.JarFile, java.io.OutputStream) throws java.io.IOException; 17549 method public void pack(java.util.jar.JarInputStream, java.io.OutputStream) throws java.io.IOException; 17550 method public java.util.SortedMap<java.lang.String,java.lang.String> properties(); 17551 method @Deprecated public default void removePropertyChangeListener(java.beans.PropertyChangeListener); 17552 field public static final String CLASS_ATTRIBUTE_PFX = "pack.class.attribute."; 17553 field public static final String CODE_ATTRIBUTE_PFX = "pack.code.attribute."; 17554 field public static final String DEFLATE_HINT = "pack.deflate.hint"; 17555 field public static final String EFFORT = "pack.effort"; 17556 field public static final String ERROR = "error"; 17557 field public static final String FALSE = "false"; 17558 field public static final String FIELD_ATTRIBUTE_PFX = "pack.field.attribute."; 17559 field public static final String KEEP = "keep"; 17560 field public static final String KEEP_FILE_ORDER = "pack.keep.file.order"; 17561 field public static final String LATEST = "latest"; 17562 field public static final String METHOD_ATTRIBUTE_PFX = "pack.method.attribute."; 17563 field public static final String MODIFICATION_TIME = "pack.modification.time"; 17564 field public static final String PASS = "pass"; 17565 field public static final String PASS_FILE_PFX = "pack.pass.file."; 17566 field public static final String PROGRESS = "pack.progress"; 17567 field public static final String SEGMENT_LIMIT = "pack.segment.limit"; 17568 field public static final String STRIP = "strip"; 17569 field public static final String TRUE = "true"; 17570 field public static final String UNKNOWN_ATTRIBUTE = "pack.unknown.attribute"; 17571 } 17572 17573 public static interface Pack200.Unpacker { 17574 method @Deprecated public default void addPropertyChangeListener(java.beans.PropertyChangeListener); 17575 method public java.util.SortedMap<java.lang.String,java.lang.String> properties(); 17576 method @Deprecated public default void removePropertyChangeListener(java.beans.PropertyChangeListener); 17577 method public void unpack(java.io.InputStream, java.util.jar.JarOutputStream) throws java.io.IOException; 17578 method public void unpack(java.io.File, java.util.jar.JarOutputStream) throws java.io.IOException; 17579 field public static final String DEFLATE_HINT = "unpack.deflate.hint"; 17580 field public static final String FALSE = "false"; 17581 field public static final String KEEP = "keep"; 17582 field public static final String PROGRESS = "unpack.progress"; 17583 field public static final String TRUE = "true"; 17584 } 17585 17586} 17587 17588package java.util.logging { 17589 17590 public class ConsoleHandler extends java.util.logging.StreamHandler { 17591 ctor public ConsoleHandler(); 17592 method public void close(); 17593 } 17594 17595 public class ErrorManager { 17596 ctor public ErrorManager(); 17597 method public void error(String, Exception, int); 17598 field public static final int CLOSE_FAILURE = 3; // 0x3 17599 field public static final int FLUSH_FAILURE = 2; // 0x2 17600 field public static final int FORMAT_FAILURE = 5; // 0x5 17601 field public static final int GENERIC_FAILURE = 0; // 0x0 17602 field public static final int OPEN_FAILURE = 4; // 0x4 17603 field public static final int WRITE_FAILURE = 1; // 0x1 17604 } 17605 17606 public class FileHandler extends java.util.logging.StreamHandler { 17607 ctor public FileHandler() throws java.io.IOException, java.lang.SecurityException; 17608 ctor public FileHandler(String) throws java.io.IOException, java.lang.SecurityException; 17609 ctor public FileHandler(String, boolean) throws java.io.IOException, java.lang.SecurityException; 17610 ctor public FileHandler(String, int, int) throws java.io.IOException, java.lang.SecurityException; 17611 ctor public FileHandler(String, int, int, boolean) throws java.io.IOException, java.lang.SecurityException; 17612 } 17613 17614 @java.lang.FunctionalInterface public interface Filter { 17615 method public boolean isLoggable(java.util.logging.LogRecord); 17616 } 17617 17618 public abstract class Formatter { 17619 ctor protected Formatter(); 17620 method public abstract String format(java.util.logging.LogRecord); 17621 method public String formatMessage(java.util.logging.LogRecord); 17622 method public String getHead(java.util.logging.Handler); 17623 method public String getTail(java.util.logging.Handler); 17624 } 17625 17626 public abstract class Handler { 17627 ctor protected Handler(); 17628 method public abstract void close() throws java.lang.SecurityException; 17629 method public abstract void flush(); 17630 method public String getEncoding(); 17631 method public java.util.logging.ErrorManager getErrorManager(); 17632 method public java.util.logging.Filter getFilter(); 17633 method public java.util.logging.Formatter getFormatter(); 17634 method public java.util.logging.Level getLevel(); 17635 method public boolean isLoggable(java.util.logging.LogRecord); 17636 method public abstract void publish(java.util.logging.LogRecord); 17637 method protected void reportError(String, Exception, int); 17638 method public void setEncoding(String) throws java.lang.SecurityException, java.io.UnsupportedEncodingException; 17639 method public void setErrorManager(java.util.logging.ErrorManager); 17640 method public void setFilter(java.util.logging.Filter) throws java.lang.SecurityException; 17641 method public void setFormatter(java.util.logging.Formatter) throws java.lang.SecurityException; 17642 method public void setLevel(java.util.logging.Level) throws java.lang.SecurityException; 17643 } 17644 17645 public class Level implements java.io.Serializable { 17646 ctor protected Level(@NonNull String, int); 17647 ctor protected Level(@NonNull String, int, @Nullable String); 17648 method @NonNull public String getLocalizedName(); 17649 method @NonNull public String getName(); 17650 method @Nullable public String getResourceBundleName(); 17651 method public final int intValue(); 17652 method @NonNull public static java.util.logging.Level parse(@NonNull String) throws java.lang.IllegalArgumentException; 17653 method @NonNull public final String toString(); 17654 field @NonNull public static final java.util.logging.Level ALL; 17655 field @NonNull public static final java.util.logging.Level CONFIG; 17656 field @NonNull public static final java.util.logging.Level FINE; 17657 field @NonNull public static final java.util.logging.Level FINER; 17658 field @NonNull public static final java.util.logging.Level FINEST; 17659 field @NonNull public static final java.util.logging.Level INFO; 17660 field @NonNull public static final java.util.logging.Level OFF; 17661 field @NonNull public static final java.util.logging.Level SEVERE; 17662 field @NonNull public static final java.util.logging.Level WARNING; 17663 } 17664 17665 public class LogManager { 17666 ctor protected LogManager(); 17667 method public boolean addLogger(java.util.logging.Logger); 17668 method @Deprecated public void addPropertyChangeListener(java.beans.PropertyChangeListener) throws java.lang.SecurityException; 17669 method public void checkAccess() throws java.lang.SecurityException; 17670 method public static java.util.logging.LogManager getLogManager(); 17671 method public java.util.logging.Logger getLogger(String); 17672 method public java.util.Enumeration<java.lang.String> getLoggerNames(); 17673 method public static java.util.logging.LoggingMXBean getLoggingMXBean(); 17674 method public String getProperty(String); 17675 method public void readConfiguration() throws java.io.IOException, java.lang.SecurityException; 17676 method public void readConfiguration(java.io.InputStream) throws java.io.IOException, java.lang.SecurityException; 17677 method @Deprecated public void removePropertyChangeListener(java.beans.PropertyChangeListener) throws java.lang.SecurityException; 17678 method public void reset() throws java.lang.SecurityException; 17679 field public static final String LOGGING_MXBEAN_NAME = "java.util.logging:type=Logging"; 17680 } 17681 17682 public class LogRecord implements java.io.Serializable { 17683 ctor public LogRecord(java.util.logging.Level, String); 17684 method public java.util.logging.Level getLevel(); 17685 method public String getLoggerName(); 17686 method public String getMessage(); 17687 method public long getMillis(); 17688 method public Object[] getParameters(); 17689 method public java.util.ResourceBundle getResourceBundle(); 17690 method public String getResourceBundleName(); 17691 method public long getSequenceNumber(); 17692 method public String getSourceClassName(); 17693 method public String getSourceMethodName(); 17694 method public int getThreadID(); 17695 method public Throwable getThrown(); 17696 method public void setLevel(java.util.logging.Level); 17697 method public void setLoggerName(String); 17698 method public void setMessage(String); 17699 method public void setMillis(long); 17700 method public void setParameters(Object[]); 17701 method public void setResourceBundle(java.util.ResourceBundle); 17702 method public void setResourceBundleName(String); 17703 method public void setSequenceNumber(long); 17704 method public void setSourceClassName(String); 17705 method public void setSourceMethodName(String); 17706 method public void setThreadID(int); 17707 method public void setThrown(Throwable); 17708 } 17709 17710 public class Logger { 17711 ctor protected Logger(@Nullable String, @Nullable String); 17712 method public void addHandler(@NonNull java.util.logging.Handler) throws java.lang.SecurityException; 17713 method public void config(@Nullable String); 17714 method public void config(@NonNull java.util.function.Supplier<java.lang.String>); 17715 method public void entering(@Nullable String, @Nullable String); 17716 method public void entering(@Nullable String, @Nullable String, @Nullable Object); 17717 method public void entering(@Nullable String, @Nullable String, @Nullable Object[]); 17718 method public void exiting(@Nullable String, @Nullable String); 17719 method public void exiting(@Nullable String, @Nullable String, @Nullable Object); 17720 method public void fine(@Nullable String); 17721 method public void fine(@NonNull java.util.function.Supplier<java.lang.String>); 17722 method public void finer(@Nullable String); 17723 method public void finer(@NonNull java.util.function.Supplier<java.lang.String>); 17724 method public void finest(@Nullable String); 17725 method public void finest(@NonNull java.util.function.Supplier<java.lang.String>); 17726 method @NonNull public static java.util.logging.Logger getAnonymousLogger(); 17727 method @NonNull public static java.util.logging.Logger getAnonymousLogger(@Nullable String); 17728 method @Nullable public java.util.logging.Filter getFilter(); 17729 method @NonNull public static final java.util.logging.Logger getGlobal(); 17730 method @NonNull public java.util.logging.Handler[] getHandlers(); 17731 method @Nullable public java.util.logging.Level getLevel(); 17732 method @NonNull public static java.util.logging.Logger getLogger(@NonNull String); 17733 method @NonNull public static java.util.logging.Logger getLogger(@NonNull String, @Nullable String); 17734 method @Nullable public String getName(); 17735 method @Nullable public java.util.logging.Logger getParent(); 17736 method @Nullable public java.util.ResourceBundle getResourceBundle(); 17737 method @Nullable public String getResourceBundleName(); 17738 method public boolean getUseParentHandlers(); 17739 method public void info(@Nullable String); 17740 method public void info(@NonNull java.util.function.Supplier<java.lang.String>); 17741 method public boolean isLoggable(@NonNull java.util.logging.Level); 17742 method public void log(@NonNull java.util.logging.LogRecord); 17743 method public void log(@NonNull java.util.logging.Level, @Nullable String); 17744 method public void log(@NonNull java.util.logging.Level, @NonNull java.util.function.Supplier<java.lang.String>); 17745 method public void log(@NonNull java.util.logging.Level, @Nullable String, @Nullable Object); 17746 method public void log(@NonNull java.util.logging.Level, @Nullable String, @Nullable Object[]); 17747 method public void log(@NonNull java.util.logging.Level, @Nullable String, @Nullable Throwable); 17748 method public void log(@NonNull java.util.logging.Level, @Nullable Throwable, @NonNull java.util.function.Supplier<java.lang.String>); 17749 method public void logp(@NonNull java.util.logging.Level, @Nullable String, @Nullable String, @Nullable String); 17750 method public void logp(@NonNull java.util.logging.Level, @Nullable String, @Nullable String, @NonNull java.util.function.Supplier<java.lang.String>); 17751 method public void logp(@NonNull java.util.logging.Level, @Nullable String, @Nullable String, @Nullable String, @Nullable Object); 17752 method public void logp(@NonNull java.util.logging.Level, @Nullable String, @Nullable String, @Nullable String, @Nullable Object[]); 17753 method public void logp(@NonNull java.util.logging.Level, @Nullable String, @Nullable String, @Nullable String, @Nullable Throwable); 17754 method public void logp(@NonNull java.util.logging.Level, @Nullable String, @Nullable String, @Nullable Throwable, @NonNull java.util.function.Supplier<java.lang.String>); 17755 method @Deprecated public void logrb(@NonNull java.util.logging.Level, @Nullable String, @Nullable String, @Nullable String, @Nullable String); 17756 method @Deprecated public void logrb(@NonNull java.util.logging.Level, @Nullable String, @Nullable String, @Nullable String, @Nullable String, @Nullable Object); 17757 method @Deprecated public void logrb(@NonNull java.util.logging.Level, @Nullable String, @Nullable String, @Nullable String, @Nullable String, @Nullable Object[]); 17758 method public void logrb(@NonNull java.util.logging.Level, @Nullable String, @Nullable String, @Nullable java.util.ResourceBundle, @Nullable String, @Nullable java.lang.Object...); 17759 method @Deprecated public void logrb(@NonNull java.util.logging.Level, @Nullable String, @Nullable String, @Nullable String, @Nullable String, @Nullable Throwable); 17760 method public void logrb(@NonNull java.util.logging.Level, @Nullable String, @Nullable String, @Nullable java.util.ResourceBundle, @Nullable String, @Nullable Throwable); 17761 method public void removeHandler(@Nullable java.util.logging.Handler) throws java.lang.SecurityException; 17762 method public void setFilter(@Nullable java.util.logging.Filter) throws java.lang.SecurityException; 17763 method public void setLevel(@Nullable java.util.logging.Level) throws java.lang.SecurityException; 17764 method public void setParent(@NonNull java.util.logging.Logger); 17765 method public void setResourceBundle(@NonNull java.util.ResourceBundle); 17766 method public void setUseParentHandlers(boolean); 17767 method public void severe(@Nullable String); 17768 method public void severe(@NonNull java.util.function.Supplier<java.lang.String>); 17769 method public void throwing(@Nullable String, @Nullable String, @Nullable Throwable); 17770 method public void warning(@Nullable String); 17771 method public void warning(@NonNull java.util.function.Supplier<java.lang.String>); 17772 field @NonNull public static final String GLOBAL_LOGGER_NAME = "global"; 17773 field @Deprecated @NonNull public static final java.util.logging.Logger global; 17774 } 17775 17776 public interface LoggingMXBean { 17777 method public String getLoggerLevel(String); 17778 method public java.util.List<java.lang.String> getLoggerNames(); 17779 method public String getParentLoggerName(String); 17780 method public void setLoggerLevel(String, String); 17781 } 17782 17783 public final class LoggingPermission extends java.security.BasicPermission { 17784 ctor public LoggingPermission(String, String) throws java.lang.IllegalArgumentException; 17785 } 17786 17787 public class MemoryHandler extends java.util.logging.Handler { 17788 ctor public MemoryHandler(); 17789 ctor public MemoryHandler(java.util.logging.Handler, int, java.util.logging.Level); 17790 method public void close() throws java.lang.SecurityException; 17791 method public void flush(); 17792 method public java.util.logging.Level getPushLevel(); 17793 method public void publish(java.util.logging.LogRecord); 17794 method public void push(); 17795 method public void setPushLevel(java.util.logging.Level) throws java.lang.SecurityException; 17796 } 17797 17798 public class SimpleFormatter extends java.util.logging.Formatter { 17799 ctor public SimpleFormatter(); 17800 method public String format(java.util.logging.LogRecord); 17801 } 17802 17803 public class SocketHandler extends java.util.logging.StreamHandler { 17804 ctor public SocketHandler() throws java.io.IOException; 17805 ctor public SocketHandler(String, int) throws java.io.IOException; 17806 } 17807 17808 public class StreamHandler extends java.util.logging.Handler { 17809 ctor public StreamHandler(); 17810 ctor public StreamHandler(java.io.OutputStream, java.util.logging.Formatter); 17811 method public void close() throws java.lang.SecurityException; 17812 method public void flush(); 17813 method public void publish(java.util.logging.LogRecord); 17814 method protected void setOutputStream(java.io.OutputStream) throws java.lang.SecurityException; 17815 } 17816 17817 public class XMLFormatter extends java.util.logging.Formatter { 17818 ctor public XMLFormatter(); 17819 method public String format(java.util.logging.LogRecord); 17820 } 17821 17822} 17823 17824package java.util.prefs { 17825 17826 public abstract class AbstractPreferences extends java.util.prefs.Preferences { 17827 ctor protected AbstractPreferences(java.util.prefs.AbstractPreferences, String); 17828 method public String absolutePath(); 17829 method public void addNodeChangeListener(java.util.prefs.NodeChangeListener); 17830 method public void addPreferenceChangeListener(java.util.prefs.PreferenceChangeListener); 17831 method protected final java.util.prefs.AbstractPreferences[] cachedChildren(); 17832 method protected abstract java.util.prefs.AbstractPreferences childSpi(String); 17833 method public String[] childrenNames() throws java.util.prefs.BackingStoreException; 17834 method protected abstract String[] childrenNamesSpi() throws java.util.prefs.BackingStoreException; 17835 method public void clear() throws java.util.prefs.BackingStoreException; 17836 method public void exportNode(java.io.OutputStream) throws java.util.prefs.BackingStoreException, java.io.IOException; 17837 method public void exportSubtree(java.io.OutputStream) throws java.util.prefs.BackingStoreException, java.io.IOException; 17838 method public void flush() throws java.util.prefs.BackingStoreException; 17839 method protected abstract void flushSpi() throws java.util.prefs.BackingStoreException; 17840 method public String get(String, String); 17841 method public boolean getBoolean(String, boolean); 17842 method public byte[] getByteArray(String, byte[]); 17843 method protected java.util.prefs.AbstractPreferences getChild(String) throws java.util.prefs.BackingStoreException; 17844 method public double getDouble(String, double); 17845 method public float getFloat(String, float); 17846 method public int getInt(String, int); 17847 method public long getLong(String, long); 17848 method protected abstract String getSpi(String); 17849 method protected boolean isRemoved(); 17850 method public boolean isUserNode(); 17851 method public String[] keys() throws java.util.prefs.BackingStoreException; 17852 method protected abstract String[] keysSpi() throws java.util.prefs.BackingStoreException; 17853 method public String name(); 17854 method public java.util.prefs.Preferences node(String); 17855 method public boolean nodeExists(String) throws java.util.prefs.BackingStoreException; 17856 method public java.util.prefs.Preferences parent(); 17857 method public void put(String, String); 17858 method public void putBoolean(String, boolean); 17859 method public void putByteArray(String, byte[]); 17860 method public void putDouble(String, double); 17861 method public void putFloat(String, float); 17862 method public void putInt(String, int); 17863 method public void putLong(String, long); 17864 method protected abstract void putSpi(String, String); 17865 method public void remove(String); 17866 method public void removeNode() throws java.util.prefs.BackingStoreException; 17867 method public void removeNodeChangeListener(java.util.prefs.NodeChangeListener); 17868 method protected abstract void removeNodeSpi() throws java.util.prefs.BackingStoreException; 17869 method public void removePreferenceChangeListener(java.util.prefs.PreferenceChangeListener); 17870 method protected abstract void removeSpi(String); 17871 method public void sync() throws java.util.prefs.BackingStoreException; 17872 method protected abstract void syncSpi() throws java.util.prefs.BackingStoreException; 17873 method public String toString(); 17874 field protected final Object lock; 17875 field protected boolean newNode; 17876 } 17877 17878 public class BackingStoreException extends java.lang.Exception { 17879 ctor public BackingStoreException(String); 17880 ctor public BackingStoreException(Throwable); 17881 } 17882 17883 public class InvalidPreferencesFormatException extends java.lang.Exception { 17884 ctor public InvalidPreferencesFormatException(Throwable); 17885 ctor public InvalidPreferencesFormatException(String); 17886 ctor public InvalidPreferencesFormatException(String, Throwable); 17887 } 17888 17889 public class NodeChangeEvent extends java.util.EventObject { 17890 ctor public NodeChangeEvent(java.util.prefs.Preferences, java.util.prefs.Preferences); 17891 method public java.util.prefs.Preferences getChild(); 17892 method public java.util.prefs.Preferences getParent(); 17893 } 17894 17895 public interface NodeChangeListener extends java.util.EventListener { 17896 method public void childAdded(java.util.prefs.NodeChangeEvent); 17897 method public void childRemoved(java.util.prefs.NodeChangeEvent); 17898 } 17899 17900 public class PreferenceChangeEvent extends java.util.EventObject { 17901 ctor public PreferenceChangeEvent(java.util.prefs.Preferences, String, String); 17902 method public String getKey(); 17903 method public String getNewValue(); 17904 method public java.util.prefs.Preferences getNode(); 17905 } 17906 17907 @java.lang.FunctionalInterface public interface PreferenceChangeListener extends java.util.EventListener { 17908 method public void preferenceChange(java.util.prefs.PreferenceChangeEvent); 17909 } 17910 17911 public abstract class Preferences { 17912 ctor protected Preferences(); 17913 method public abstract String absolutePath(); 17914 method public abstract void addNodeChangeListener(java.util.prefs.NodeChangeListener); 17915 method public abstract void addPreferenceChangeListener(java.util.prefs.PreferenceChangeListener); 17916 method public abstract String[] childrenNames() throws java.util.prefs.BackingStoreException; 17917 method public abstract void clear() throws java.util.prefs.BackingStoreException; 17918 method public abstract void exportNode(java.io.OutputStream) throws java.util.prefs.BackingStoreException, java.io.IOException; 17919 method public abstract void exportSubtree(java.io.OutputStream) throws java.util.prefs.BackingStoreException, java.io.IOException; 17920 method public abstract void flush() throws java.util.prefs.BackingStoreException; 17921 method public abstract String get(String, String); 17922 method public abstract boolean getBoolean(String, boolean); 17923 method public abstract byte[] getByteArray(String, byte[]); 17924 method public abstract double getDouble(String, double); 17925 method public abstract float getFloat(String, float); 17926 method public abstract int getInt(String, int); 17927 method public abstract long getLong(String, long); 17928 method public static void importPreferences(java.io.InputStream) throws java.io.IOException, java.util.prefs.InvalidPreferencesFormatException; 17929 method public abstract boolean isUserNode(); 17930 method public abstract String[] keys() throws java.util.prefs.BackingStoreException; 17931 method public abstract String name(); 17932 method public abstract java.util.prefs.Preferences node(String); 17933 method public abstract boolean nodeExists(String) throws java.util.prefs.BackingStoreException; 17934 method public abstract java.util.prefs.Preferences parent(); 17935 method public abstract void put(String, String); 17936 method public abstract void putBoolean(String, boolean); 17937 method public abstract void putByteArray(String, byte[]); 17938 method public abstract void putDouble(String, double); 17939 method public abstract void putFloat(String, float); 17940 method public abstract void putInt(String, int); 17941 method public abstract void putLong(String, long); 17942 method public abstract void remove(String); 17943 method public abstract void removeNode() throws java.util.prefs.BackingStoreException; 17944 method public abstract void removeNodeChangeListener(java.util.prefs.NodeChangeListener); 17945 method public abstract void removePreferenceChangeListener(java.util.prefs.PreferenceChangeListener); 17946 method public abstract void sync() throws java.util.prefs.BackingStoreException; 17947 method public static java.util.prefs.Preferences systemNodeForPackage(Class<?>); 17948 method public static java.util.prefs.Preferences systemRoot(); 17949 method public abstract String toString(); 17950 method public static java.util.prefs.Preferences userNodeForPackage(Class<?>); 17951 method public static java.util.prefs.Preferences userRoot(); 17952 field public static final int MAX_KEY_LENGTH = 80; // 0x50 17953 field public static final int MAX_NAME_LENGTH = 80; // 0x50 17954 field public static final int MAX_VALUE_LENGTH = 8192; // 0x2000 17955 } 17956 17957 public interface PreferencesFactory { 17958 method public java.util.prefs.Preferences systemRoot(); 17959 method public java.util.prefs.Preferences userRoot(); 17960 } 17961 17962} 17963 17964package java.util.random { 17965 17966 @FlaggedApi("com.android.libcore.v_apis") public interface RandomGenerator { 17967 method public default java.util.stream.DoubleStream doubles(); 17968 method public default java.util.stream.DoubleStream doubles(double, double); 17969 method public default java.util.stream.DoubleStream doubles(long); 17970 method public default java.util.stream.DoubleStream doubles(long, double, double); 17971 method public static java.util.random.RandomGenerator getDefault(); 17972 method public default java.util.stream.IntStream ints(); 17973 method public default java.util.stream.IntStream ints(int, int); 17974 method public default java.util.stream.IntStream ints(long); 17975 method public default java.util.stream.IntStream ints(long, int, int); 17976 method public default boolean isDeprecated(); 17977 method public default java.util.stream.LongStream longs(); 17978 method public default java.util.stream.LongStream longs(long, long); 17979 method public default java.util.stream.LongStream longs(long); 17980 method public default java.util.stream.LongStream longs(long, long, long); 17981 method public default boolean nextBoolean(); 17982 method public default void nextBytes(byte[]); 17983 method public default double nextDouble(); 17984 method public default double nextDouble(double); 17985 method public default double nextDouble(double, double); 17986 method public default double nextExponential(); 17987 method public default float nextFloat(); 17988 method public default float nextFloat(float); 17989 method public default float nextFloat(float, float); 17990 method public default double nextGaussian(); 17991 method public default double nextGaussian(double, double); 17992 method public default int nextInt(); 17993 method public default int nextInt(int); 17994 method public default int nextInt(int, int); 17995 method public long nextLong(); 17996 method public default long nextLong(long); 17997 method public default long nextLong(long, long); 17998 method public static java.util.random.RandomGenerator of(String); 17999 } 18000 18001 @FlaggedApi("com.android.libcore.v_apis") public static interface RandomGenerator.ArbitrarilyJumpableGenerator extends java.util.random.RandomGenerator.LeapableGenerator { 18002 method public java.util.random.RandomGenerator.ArbitrarilyJumpableGenerator copy(); 18003 method public default java.util.random.RandomGenerator.ArbitrarilyJumpableGenerator copyAndJump(double); 18004 method public void jump(double); 18005 method public default void jump(); 18006 method public void jumpPowerOfTwo(int); 18007 method public default java.util.stream.Stream<java.util.random.RandomGenerator.ArbitrarilyJumpableGenerator> jumps(double); 18008 method public default java.util.stream.Stream<java.util.random.RandomGenerator.ArbitrarilyJumpableGenerator> jumps(long, double); 18009 method public default void leap(); 18010 method public static java.util.random.RandomGenerator.ArbitrarilyJumpableGenerator of(String); 18011 } 18012 18013 @FlaggedApi("com.android.libcore.v_apis") public static interface RandomGenerator.JumpableGenerator extends java.util.random.RandomGenerator.StreamableGenerator { 18014 method public java.util.random.RandomGenerator.JumpableGenerator copy(); 18015 method public default java.util.random.RandomGenerator copyAndJump(); 18016 method public void jump(); 18017 method public double jumpDistance(); 18018 method public default java.util.stream.Stream<java.util.random.RandomGenerator> jumps(); 18019 method public default java.util.stream.Stream<java.util.random.RandomGenerator> jumps(long); 18020 method public static java.util.random.RandomGenerator.JumpableGenerator of(String); 18021 method public default java.util.stream.Stream<java.util.random.RandomGenerator> rngs(); 18022 } 18023 18024 @FlaggedApi("com.android.libcore.v_apis") public static interface RandomGenerator.LeapableGenerator extends java.util.random.RandomGenerator.JumpableGenerator { 18025 method public java.util.random.RandomGenerator.LeapableGenerator copy(); 18026 method public default java.util.random.RandomGenerator.JumpableGenerator copyAndLeap(); 18027 method public void leap(); 18028 method public double leapDistance(); 18029 method public default java.util.stream.Stream<java.util.random.RandomGenerator.JumpableGenerator> leaps(); 18030 method public default java.util.stream.Stream<java.util.random.RandomGenerator.JumpableGenerator> leaps(long); 18031 method public static java.util.random.RandomGenerator.LeapableGenerator of(String); 18032 } 18033 18034 @FlaggedApi("com.android.libcore.v_apis") public static interface RandomGenerator.SplittableGenerator extends java.util.random.RandomGenerator.StreamableGenerator { 18035 method public static java.util.random.RandomGenerator.SplittableGenerator of(String); 18036 method public default java.util.stream.Stream<java.util.random.RandomGenerator> rngs(); 18037 method public java.util.random.RandomGenerator.SplittableGenerator split(); 18038 method public java.util.random.RandomGenerator.SplittableGenerator split(java.util.random.RandomGenerator.SplittableGenerator); 18039 method public default java.util.stream.Stream<java.util.random.RandomGenerator.SplittableGenerator> splits(); 18040 method public java.util.stream.Stream<java.util.random.RandomGenerator.SplittableGenerator> splits(long); 18041 method public java.util.stream.Stream<java.util.random.RandomGenerator.SplittableGenerator> splits(java.util.random.RandomGenerator.SplittableGenerator); 18042 method public java.util.stream.Stream<java.util.random.RandomGenerator.SplittableGenerator> splits(long, java.util.random.RandomGenerator.SplittableGenerator); 18043 } 18044 18045 @FlaggedApi("com.android.libcore.v_apis") public static interface RandomGenerator.StreamableGenerator extends java.util.random.RandomGenerator { 18046 method public static java.util.random.RandomGenerator.StreamableGenerator of(String); 18047 method public java.util.stream.Stream<java.util.random.RandomGenerator> rngs(); 18048 method public default java.util.stream.Stream<java.util.random.RandomGenerator> rngs(long); 18049 } 18050 18051 @FlaggedApi("com.android.libcore.v_apis") public final class RandomGeneratorFactory<T extends java.util.random.RandomGenerator> { 18052 method public static java.util.stream.Stream<java.util.random.RandomGeneratorFactory<java.util.random.RandomGenerator>> all(); 18053 method public T create(); 18054 method public T create(long); 18055 method public T create(byte[]); 18056 method public int equidistribution(); 18057 method public static java.util.random.RandomGeneratorFactory<java.util.random.RandomGenerator> getDefault(); 18058 method public String group(); 18059 method public boolean isArbitrarilyJumpable(); 18060 method public boolean isDeprecated(); 18061 method public boolean isHardware(); 18062 method public boolean isJumpable(); 18063 method public boolean isLeapable(); 18064 method public boolean isSplittable(); 18065 method public boolean isStatistical(); 18066 method public boolean isStochastic(); 18067 method public boolean isStreamable(); 18068 method public String name(); 18069 method public static <T extends java.util.random.RandomGenerator> java.util.random.RandomGeneratorFactory<T> of(String); 18070 method public java.math.BigInteger period(); 18071 method public int stateBits(); 18072 } 18073 18074} 18075 18076package java.util.regex { 18077 18078 public interface MatchResult { 18079 method public int end(); 18080 method public int end(int); 18081 method public String group(); 18082 method public String group(int); 18083 method public int groupCount(); 18084 method public int start(); 18085 method public int start(int); 18086 } 18087 18088 public final class Matcher implements java.util.regex.MatchResult { 18089 method @NonNull public java.util.regex.Matcher appendReplacement(@NonNull StringBuffer, @NonNull String); 18090 method @NonNull public java.util.regex.Matcher appendReplacement(@NonNull StringBuilder, @NonNull String); 18091 method @NonNull public StringBuffer appendTail(@NonNull StringBuffer); 18092 method @NonNull public StringBuilder appendTail(@NonNull StringBuilder); 18093 method public int end(); 18094 method public int end(int); 18095 method public int end(@NonNull String); 18096 method public boolean find(); 18097 method public boolean find(int); 18098 method @NonNull public String group(); 18099 method @Nullable public String group(int); 18100 method @Nullable public String group(@NonNull String); 18101 method public int groupCount(); 18102 method public boolean hasAnchoringBounds(); 18103 method public boolean hasTransparentBounds(); 18104 method public boolean hitEnd(); 18105 method public boolean lookingAt(); 18106 method public boolean matches(); 18107 method @NonNull public java.util.regex.Pattern pattern(); 18108 method @NonNull public static String quoteReplacement(@NonNull String); 18109 method @NonNull public java.util.regex.Matcher region(int, int); 18110 method public int regionEnd(); 18111 method public int regionStart(); 18112 method @NonNull public String replaceAll(@NonNull String); 18113 method @NonNull public String replaceAll(@NonNull java.util.function.Function<java.util.regex.MatchResult,java.lang.String>); 18114 method @NonNull public String replaceFirst(@NonNull String); 18115 method @NonNull public String replaceFirst(@NonNull java.util.function.Function<java.util.regex.MatchResult,java.lang.String>); 18116 method public boolean requireEnd(); 18117 method @NonNull public java.util.regex.Matcher reset(); 18118 method @NonNull public java.util.regex.Matcher reset(@NonNull CharSequence); 18119 method @NonNull public java.util.stream.Stream<java.util.regex.MatchResult> results(); 18120 method public int start(); 18121 method public int start(int); 18122 method public int start(@NonNull String); 18123 method @NonNull public java.util.regex.MatchResult toMatchResult(); 18124 method @NonNull public java.util.regex.Matcher useAnchoringBounds(boolean); 18125 method @NonNull public java.util.regex.Matcher usePattern(@NonNull java.util.regex.Pattern); 18126 method @NonNull public java.util.regex.Matcher useTransparentBounds(boolean); 18127 } 18128 18129 public final class Pattern implements java.io.Serializable { 18130 method @NonNull public java.util.function.Predicate<java.lang.String> asMatchPredicate(); 18131 method @NonNull public java.util.function.Predicate<java.lang.String> asPredicate(); 18132 method @NonNull public static java.util.regex.Pattern compile(@NonNull String); 18133 method @NonNull public static java.util.regex.Pattern compile(@NonNull String, int); 18134 method public int flags(); 18135 method @NonNull public java.util.regex.Matcher matcher(@NonNull CharSequence); 18136 method public static boolean matches(@NonNull String, @NonNull CharSequence); 18137 method @NonNull public String pattern(); 18138 method @NonNull public static String quote(@NonNull String); 18139 method @NonNull public String[] split(@NonNull CharSequence, int); 18140 method @NonNull public String[] split(@NonNull CharSequence); 18141 method @NonNull public java.util.stream.Stream<java.lang.String> splitAsStream(@NonNull CharSequence); 18142 field public static final int CANON_EQ = 128; // 0x80 18143 field public static final int CASE_INSENSITIVE = 2; // 0x2 18144 field public static final int COMMENTS = 4; // 0x4 18145 field public static final int DOTALL = 32; // 0x20 18146 field public static final int LITERAL = 16; // 0x10 18147 field public static final int MULTILINE = 8; // 0x8 18148 field public static final int UNICODE_CASE = 64; // 0x40 18149 field public static final int UNICODE_CHARACTER_CLASS = 256; // 0x100 18150 field public static final int UNIX_LINES = 1; // 0x1 18151 } 18152 18153 public class PatternSyntaxException extends java.lang.IllegalArgumentException { 18154 ctor public PatternSyntaxException(String, String, int); 18155 method public String getDescription(); 18156 method public int getIndex(); 18157 method public String getPattern(); 18158 } 18159 18160} 18161 18162package java.util.stream { 18163 18164 public interface BaseStream<T, S extends java.util.stream.BaseStream<T, S>> extends java.lang.AutoCloseable { 18165 method public void close(); 18166 method public boolean isParallel(); 18167 method public java.util.Iterator<T> iterator(); 18168 method public S onClose(Runnable); 18169 method public S parallel(); 18170 method public S sequential(); 18171 method public java.util.Spliterator<T> spliterator(); 18172 method public S unordered(); 18173 } 18174 18175 public interface Collector<T, A, R> { 18176 method public java.util.function.BiConsumer<A,T> accumulator(); 18177 method public java.util.Set<java.util.stream.Collector.Characteristics> characteristics(); 18178 method public java.util.function.BinaryOperator<A> combiner(); 18179 method public java.util.function.Function<A,R> finisher(); 18180 method public static <T, R> java.util.stream.Collector<T,R,R> of(java.util.function.Supplier<R>, java.util.function.BiConsumer<R,T>, java.util.function.BinaryOperator<R>, java.util.stream.Collector.Characteristics...); 18181 method public static <T, A, R> java.util.stream.Collector<T,A,R> of(java.util.function.Supplier<A>, java.util.function.BiConsumer<A,T>, java.util.function.BinaryOperator<A>, java.util.function.Function<A,R>, java.util.stream.Collector.Characteristics...); 18182 method public java.util.function.Supplier<A> supplier(); 18183 } 18184 18185 public enum Collector.Characteristics { 18186 enum_constant public static final java.util.stream.Collector.Characteristics CONCURRENT; 18187 enum_constant public static final java.util.stream.Collector.Characteristics IDENTITY_FINISH; 18188 enum_constant public static final java.util.stream.Collector.Characteristics UNORDERED; 18189 } 18190 18191 public final class Collectors { 18192 method public static <T> java.util.stream.Collector<T,?,java.lang.Double> averagingDouble(java.util.function.ToDoubleFunction<? super T>); 18193 method public static <T> java.util.stream.Collector<T,?,java.lang.Double> averagingInt(java.util.function.ToIntFunction<? super T>); 18194 method public static <T> java.util.stream.Collector<T,?,java.lang.Double> averagingLong(java.util.function.ToLongFunction<? super T>); 18195 method public static <T, A, R, RR> java.util.stream.Collector<T,A,RR> collectingAndThen(java.util.stream.Collector<T,A,R>, java.util.function.Function<R,RR>); 18196 method public static <T> java.util.stream.Collector<T,?,java.lang.Long> counting(); 18197 method public static <T, A, R> java.util.stream.Collector<T,?,R> filtering(java.util.function.Predicate<? super T>, java.util.stream.Collector<? super T,A,R>); 18198 method public static <T, U, A, R> java.util.stream.Collector<T,?,R> flatMapping(java.util.function.Function<? super T,? extends java.util.stream.Stream<? extends U>>, java.util.stream.Collector<? super U,A,R>); 18199 method public static <T, K> java.util.stream.Collector<T,?,java.util.Map<K,java.util.List<T>>> groupingBy(java.util.function.Function<? super T,? extends K>); 18200 method public static <T, K, A, D> java.util.stream.Collector<T,?,java.util.Map<K,D>> groupingBy(java.util.function.Function<? super T,? extends K>, java.util.stream.Collector<? super T,A,D>); 18201 method public static <T, K, D, A, M extends java.util.Map<K, D>> java.util.stream.Collector<T,?,M> groupingBy(java.util.function.Function<? super T,? extends K>, java.util.function.Supplier<M>, java.util.stream.Collector<? super T,A,D>); 18202 method public static <T, K> java.util.stream.Collector<T,?,java.util.concurrent.ConcurrentMap<K,java.util.List<T>>> groupingByConcurrent(java.util.function.Function<? super T,? extends K>); 18203 method public static <T, K, A, D> java.util.stream.Collector<T,?,java.util.concurrent.ConcurrentMap<K,D>> groupingByConcurrent(java.util.function.Function<? super T,? extends K>, java.util.stream.Collector<? super T,A,D>); 18204 method public static <T, K, A, D, M extends java.util.concurrent.ConcurrentMap<K, D>> java.util.stream.Collector<T,?,M> groupingByConcurrent(java.util.function.Function<? super T,? extends K>, java.util.function.Supplier<M>, java.util.stream.Collector<? super T,A,D>); 18205 method public static java.util.stream.Collector<java.lang.CharSequence,?,java.lang.String> joining(); 18206 method public static java.util.stream.Collector<java.lang.CharSequence,?,java.lang.String> joining(CharSequence); 18207 method public static java.util.stream.Collector<java.lang.CharSequence,?,java.lang.String> joining(CharSequence, CharSequence, CharSequence); 18208 method public static <T, U, A, R> java.util.stream.Collector<T,?,R> mapping(java.util.function.Function<? super T,? extends U>, java.util.stream.Collector<? super U,A,R>); 18209 method public static <T> java.util.stream.Collector<T,?,java.util.Optional<T>> maxBy(java.util.Comparator<? super T>); 18210 method public static <T> java.util.stream.Collector<T,?,java.util.Optional<T>> minBy(java.util.Comparator<? super T>); 18211 method public static <T> java.util.stream.Collector<T,?,java.util.Map<java.lang.Boolean,java.util.List<T>>> partitioningBy(java.util.function.Predicate<? super T>); 18212 method public static <T, D, A> java.util.stream.Collector<T,?,java.util.Map<java.lang.Boolean,D>> partitioningBy(java.util.function.Predicate<? super T>, java.util.stream.Collector<? super T,A,D>); 18213 method public static <T> java.util.stream.Collector<T,?,T> reducing(T, java.util.function.BinaryOperator<T>); 18214 method public static <T> java.util.stream.Collector<T,?,java.util.Optional<T>> reducing(java.util.function.BinaryOperator<T>); 18215 method public static <T, U> java.util.stream.Collector<T,?,U> reducing(U, java.util.function.Function<? super T,? extends U>, java.util.function.BinaryOperator<U>); 18216 method public static <T> java.util.stream.Collector<T,?,java.util.DoubleSummaryStatistics> summarizingDouble(java.util.function.ToDoubleFunction<? super T>); 18217 method public static <T> java.util.stream.Collector<T,?,java.util.IntSummaryStatistics> summarizingInt(java.util.function.ToIntFunction<? super T>); 18218 method public static <T> java.util.stream.Collector<T,?,java.util.LongSummaryStatistics> summarizingLong(java.util.function.ToLongFunction<? super T>); 18219 method public static <T> java.util.stream.Collector<T,?,java.lang.Double> summingDouble(java.util.function.ToDoubleFunction<? super T>); 18220 method public static <T> java.util.stream.Collector<T,?,java.lang.Integer> summingInt(java.util.function.ToIntFunction<? super T>); 18221 method public static <T> java.util.stream.Collector<T,?,java.lang.Long> summingLong(java.util.function.ToLongFunction<? super T>); 18222 method @FlaggedApi("com.android.libcore.v_apis") public static <T, R1, R2, R> java.util.stream.Collector<T,?,R> teeing(java.util.stream.Collector<? super T,?,R1>, java.util.stream.Collector<? super T,?,R2>, java.util.function.BiFunction<? super R1,? super R2,R>); 18223 method public static <T, C extends java.util.Collection<T>> java.util.stream.Collector<T,?,C> toCollection(java.util.function.Supplier<C>); 18224 method public static <T, K, U> java.util.stream.Collector<T,?,java.util.concurrent.ConcurrentMap<K,U>> toConcurrentMap(java.util.function.Function<? super T,? extends K>, java.util.function.Function<? super T,? extends U>); 18225 method public static <T, K, U> java.util.stream.Collector<T,?,java.util.concurrent.ConcurrentMap<K,U>> toConcurrentMap(java.util.function.Function<? super T,? extends K>, java.util.function.Function<? super T,? extends U>, java.util.function.BinaryOperator<U>); 18226 method public static <T, K, U, M extends java.util.concurrent.ConcurrentMap<K, U>> java.util.stream.Collector<T,?,M> toConcurrentMap(java.util.function.Function<? super T,? extends K>, java.util.function.Function<? super T,? extends U>, java.util.function.BinaryOperator<U>, java.util.function.Supplier<M>); 18227 method public static <T> java.util.stream.Collector<T,?,java.util.List<T>> toList(); 18228 method public static <T, K, U> java.util.stream.Collector<T,?,java.util.Map<K,U>> toMap(java.util.function.Function<? super T,? extends K>, java.util.function.Function<? super T,? extends U>); 18229 method public static <T, K, U> java.util.stream.Collector<T,?,java.util.Map<K,U>> toMap(java.util.function.Function<? super T,? extends K>, java.util.function.Function<? super T,? extends U>, java.util.function.BinaryOperator<U>); 18230 method public static <T, K, U, M extends java.util.Map<K, U>> java.util.stream.Collector<T,?,M> toMap(java.util.function.Function<? super T,? extends K>, java.util.function.Function<? super T,? extends U>, java.util.function.BinaryOperator<U>, java.util.function.Supplier<M>); 18231 method public static <T> java.util.stream.Collector<T,?,java.util.Set<T>> toSet(); 18232 method public static <T> java.util.stream.Collector<T,?,java.util.List<T>> toUnmodifiableList(); 18233 method public static <T, K, U> java.util.stream.Collector<T,?,java.util.Map<K,U>> toUnmodifiableMap(java.util.function.Function<? super T,? extends K>, java.util.function.Function<? super T,? extends U>); 18234 method public static <T, K, U> java.util.stream.Collector<T,?,java.util.Map<K,U>> toUnmodifiableMap(java.util.function.Function<? super T,? extends K>, java.util.function.Function<? super T,? extends U>, java.util.function.BinaryOperator<U>); 18235 method public static <T> java.util.stream.Collector<T,?,java.util.Set<T>> toUnmodifiableSet(); 18236 } 18237 18238 public interface DoubleStream extends java.util.stream.BaseStream<java.lang.Double,java.util.stream.DoubleStream> { 18239 method public boolean allMatch(java.util.function.DoublePredicate); 18240 method public boolean anyMatch(java.util.function.DoublePredicate); 18241 method public java.util.OptionalDouble average(); 18242 method public java.util.stream.Stream<java.lang.Double> boxed(); 18243 method public static java.util.stream.DoubleStream.Builder builder(); 18244 method public <R> R collect(java.util.function.Supplier<R>, java.util.function.ObjDoubleConsumer<R>, java.util.function.BiConsumer<R,R>); 18245 method public static java.util.stream.DoubleStream concat(java.util.stream.DoubleStream, java.util.stream.DoubleStream); 18246 method public long count(); 18247 method public java.util.stream.DoubleStream distinct(); 18248 method @FlaggedApi("com.android.libcore.v_apis") public default java.util.stream.DoubleStream dropWhile(java.util.function.DoublePredicate); 18249 method public static java.util.stream.DoubleStream empty(); 18250 method public java.util.stream.DoubleStream filter(java.util.function.DoublePredicate); 18251 method public java.util.OptionalDouble findAny(); 18252 method public java.util.OptionalDouble findFirst(); 18253 method public java.util.stream.DoubleStream flatMap(java.util.function.DoubleFunction<? extends java.util.stream.DoubleStream>); 18254 method public void forEach(java.util.function.DoubleConsumer); 18255 method public void forEachOrdered(java.util.function.DoubleConsumer); 18256 method public static java.util.stream.DoubleStream generate(java.util.function.DoubleSupplier); 18257 method public static java.util.stream.DoubleStream iterate(double, java.util.function.DoubleUnaryOperator); 18258 method @FlaggedApi("com.android.libcore.v_apis") public static java.util.stream.DoubleStream iterate(double, java.util.function.DoublePredicate, java.util.function.DoubleUnaryOperator); 18259 method public java.util.PrimitiveIterator.OfDouble iterator(); 18260 method public java.util.stream.DoubleStream limit(long); 18261 method public java.util.stream.DoubleStream map(java.util.function.DoubleUnaryOperator); 18262 method @FlaggedApi("com.android.libcore.v_apis") public default java.util.stream.DoubleStream mapMulti(java.util.stream.DoubleStream.DoubleMapMultiConsumer); 18263 method public java.util.stream.IntStream mapToInt(java.util.function.DoubleToIntFunction); 18264 method public java.util.stream.LongStream mapToLong(java.util.function.DoubleToLongFunction); 18265 method public <U> java.util.stream.Stream<U> mapToObj(java.util.function.DoubleFunction<? extends U>); 18266 method public java.util.OptionalDouble max(); 18267 method public java.util.OptionalDouble min(); 18268 method public boolean noneMatch(java.util.function.DoublePredicate); 18269 method public static java.util.stream.DoubleStream of(double); 18270 method public static java.util.stream.DoubleStream of(double...); 18271 method public java.util.stream.DoubleStream parallel(); 18272 method public java.util.stream.DoubleStream peek(java.util.function.DoubleConsumer); 18273 method public double reduce(double, java.util.function.DoubleBinaryOperator); 18274 method public java.util.OptionalDouble reduce(java.util.function.DoubleBinaryOperator); 18275 method public java.util.stream.DoubleStream sequential(); 18276 method public java.util.stream.DoubleStream skip(long); 18277 method public java.util.stream.DoubleStream sorted(); 18278 method public java.util.Spliterator.OfDouble spliterator(); 18279 method public double sum(); 18280 method public java.util.DoubleSummaryStatistics summaryStatistics(); 18281 method @FlaggedApi("com.android.libcore.v_apis") public default java.util.stream.DoubleStream takeWhile(java.util.function.DoublePredicate); 18282 method public double[] toArray(); 18283 } 18284 18285 public static interface DoubleStream.Builder extends java.util.function.DoubleConsumer { 18286 method public default java.util.stream.DoubleStream.Builder add(double); 18287 method public java.util.stream.DoubleStream build(); 18288 } 18289 18290 @FlaggedApi("com.android.libcore.v_apis") @java.lang.FunctionalInterface public static interface DoubleStream.DoubleMapMultiConsumer { 18291 method public void accept(double, java.util.function.DoubleConsumer); 18292 } 18293 18294 public interface IntStream extends java.util.stream.BaseStream<java.lang.Integer,java.util.stream.IntStream> { 18295 method public boolean allMatch(java.util.function.IntPredicate); 18296 method public boolean anyMatch(java.util.function.IntPredicate); 18297 method public java.util.stream.DoubleStream asDoubleStream(); 18298 method public java.util.stream.LongStream asLongStream(); 18299 method public java.util.OptionalDouble average(); 18300 method public java.util.stream.Stream<java.lang.Integer> boxed(); 18301 method public static java.util.stream.IntStream.Builder builder(); 18302 method public <R> R collect(java.util.function.Supplier<R>, java.util.function.ObjIntConsumer<R>, java.util.function.BiConsumer<R,R>); 18303 method public static java.util.stream.IntStream concat(java.util.stream.IntStream, java.util.stream.IntStream); 18304 method public long count(); 18305 method public java.util.stream.IntStream distinct(); 18306 method @FlaggedApi("com.android.libcore.v_apis") public default java.util.stream.IntStream dropWhile(java.util.function.IntPredicate); 18307 method public static java.util.stream.IntStream empty(); 18308 method public java.util.stream.IntStream filter(java.util.function.IntPredicate); 18309 method public java.util.OptionalInt findAny(); 18310 method public java.util.OptionalInt findFirst(); 18311 method public java.util.stream.IntStream flatMap(java.util.function.IntFunction<? extends java.util.stream.IntStream>); 18312 method public void forEach(java.util.function.IntConsumer); 18313 method public void forEachOrdered(java.util.function.IntConsumer); 18314 method public static java.util.stream.IntStream generate(java.util.function.IntSupplier); 18315 method public static java.util.stream.IntStream iterate(int, java.util.function.IntUnaryOperator); 18316 method @FlaggedApi("com.android.libcore.v_apis") public static java.util.stream.IntStream iterate(int, java.util.function.IntPredicate, java.util.function.IntUnaryOperator); 18317 method public java.util.PrimitiveIterator.OfInt iterator(); 18318 method public java.util.stream.IntStream limit(long); 18319 method public java.util.stream.IntStream map(java.util.function.IntUnaryOperator); 18320 method @FlaggedApi("com.android.libcore.v_apis") public default java.util.stream.IntStream mapMulti(java.util.stream.IntStream.IntMapMultiConsumer); 18321 method public java.util.stream.DoubleStream mapToDouble(java.util.function.IntToDoubleFunction); 18322 method public java.util.stream.LongStream mapToLong(java.util.function.IntToLongFunction); 18323 method public <U> java.util.stream.Stream<U> mapToObj(java.util.function.IntFunction<? extends U>); 18324 method public java.util.OptionalInt max(); 18325 method public java.util.OptionalInt min(); 18326 method public boolean noneMatch(java.util.function.IntPredicate); 18327 method public static java.util.stream.IntStream of(int); 18328 method public static java.util.stream.IntStream of(int...); 18329 method public java.util.stream.IntStream parallel(); 18330 method public java.util.stream.IntStream peek(java.util.function.IntConsumer); 18331 method public static java.util.stream.IntStream range(int, int); 18332 method public static java.util.stream.IntStream rangeClosed(int, int); 18333 method public int reduce(int, java.util.function.IntBinaryOperator); 18334 method public java.util.OptionalInt reduce(java.util.function.IntBinaryOperator); 18335 method public java.util.stream.IntStream sequential(); 18336 method public java.util.stream.IntStream skip(long); 18337 method public java.util.stream.IntStream sorted(); 18338 method public java.util.Spliterator.OfInt spliterator(); 18339 method public int sum(); 18340 method public java.util.IntSummaryStatistics summaryStatistics(); 18341 method @FlaggedApi("com.android.libcore.v_apis") public default java.util.stream.IntStream takeWhile(java.util.function.IntPredicate); 18342 method public int[] toArray(); 18343 } 18344 18345 public static interface IntStream.Builder extends java.util.function.IntConsumer { 18346 method public default java.util.stream.IntStream.Builder add(int); 18347 method public java.util.stream.IntStream build(); 18348 } 18349 18350 @FlaggedApi("com.android.libcore.v_apis") @java.lang.FunctionalInterface public static interface IntStream.IntMapMultiConsumer { 18351 method public void accept(int, java.util.function.IntConsumer); 18352 } 18353 18354 public interface LongStream extends java.util.stream.BaseStream<java.lang.Long,java.util.stream.LongStream> { 18355 method public boolean allMatch(java.util.function.LongPredicate); 18356 method public boolean anyMatch(java.util.function.LongPredicate); 18357 method public java.util.stream.DoubleStream asDoubleStream(); 18358 method public java.util.OptionalDouble average(); 18359 method public java.util.stream.Stream<java.lang.Long> boxed(); 18360 method public static java.util.stream.LongStream.Builder builder(); 18361 method public <R> R collect(java.util.function.Supplier<R>, java.util.function.ObjLongConsumer<R>, java.util.function.BiConsumer<R,R>); 18362 method public static java.util.stream.LongStream concat(java.util.stream.LongStream, java.util.stream.LongStream); 18363 method public long count(); 18364 method public java.util.stream.LongStream distinct(); 18365 method @FlaggedApi("com.android.libcore.v_apis") public default java.util.stream.LongStream dropWhile(java.util.function.LongPredicate); 18366 method public static java.util.stream.LongStream empty(); 18367 method public java.util.stream.LongStream filter(java.util.function.LongPredicate); 18368 method public java.util.OptionalLong findAny(); 18369 method public java.util.OptionalLong findFirst(); 18370 method public java.util.stream.LongStream flatMap(java.util.function.LongFunction<? extends java.util.stream.LongStream>); 18371 method public void forEach(java.util.function.LongConsumer); 18372 method public void forEachOrdered(java.util.function.LongConsumer); 18373 method public static java.util.stream.LongStream generate(java.util.function.LongSupplier); 18374 method public static java.util.stream.LongStream iterate(long, java.util.function.LongUnaryOperator); 18375 method @FlaggedApi("com.android.libcore.v_apis") public static java.util.stream.LongStream iterate(long, java.util.function.LongPredicate, java.util.function.LongUnaryOperator); 18376 method public java.util.PrimitiveIterator.OfLong iterator(); 18377 method public java.util.stream.LongStream limit(long); 18378 method public java.util.stream.LongStream map(java.util.function.LongUnaryOperator); 18379 method @FlaggedApi("com.android.libcore.v_apis") public default java.util.stream.LongStream mapMulti(java.util.stream.LongStream.LongMapMultiConsumer); 18380 method public java.util.stream.DoubleStream mapToDouble(java.util.function.LongToDoubleFunction); 18381 method public java.util.stream.IntStream mapToInt(java.util.function.LongToIntFunction); 18382 method public <U> java.util.stream.Stream<U> mapToObj(java.util.function.LongFunction<? extends U>); 18383 method public java.util.OptionalLong max(); 18384 method public java.util.OptionalLong min(); 18385 method public boolean noneMatch(java.util.function.LongPredicate); 18386 method public static java.util.stream.LongStream of(long); 18387 method public static java.util.stream.LongStream of(long...); 18388 method public java.util.stream.LongStream parallel(); 18389 method public java.util.stream.LongStream peek(java.util.function.LongConsumer); 18390 method public static java.util.stream.LongStream range(long, long); 18391 method public static java.util.stream.LongStream rangeClosed(long, long); 18392 method public long reduce(long, java.util.function.LongBinaryOperator); 18393 method public java.util.OptionalLong reduce(java.util.function.LongBinaryOperator); 18394 method public java.util.stream.LongStream sequential(); 18395 method public java.util.stream.LongStream skip(long); 18396 method public java.util.stream.LongStream sorted(); 18397 method public java.util.Spliterator.OfLong spliterator(); 18398 method public long sum(); 18399 method public java.util.LongSummaryStatistics summaryStatistics(); 18400 method @FlaggedApi("com.android.libcore.v_apis") public default java.util.stream.LongStream takeWhile(java.util.function.LongPredicate); 18401 method public long[] toArray(); 18402 } 18403 18404 public static interface LongStream.Builder extends java.util.function.LongConsumer { 18405 method public default java.util.stream.LongStream.Builder add(long); 18406 method public java.util.stream.LongStream build(); 18407 } 18408 18409 @FlaggedApi("com.android.libcore.v_apis") @java.lang.FunctionalInterface public static interface LongStream.LongMapMultiConsumer { 18410 method public void accept(long, java.util.function.LongConsumer); 18411 } 18412 18413 public interface Stream<T> extends java.util.stream.BaseStream<T,java.util.stream.Stream<T>> { 18414 method public boolean allMatch(java.util.function.Predicate<? super T>); 18415 method public boolean anyMatch(java.util.function.Predicate<? super T>); 18416 method public static <T> java.util.stream.Stream.Builder<T> builder(); 18417 method public <R> R collect(java.util.function.Supplier<R>, java.util.function.BiConsumer<R,? super T>, java.util.function.BiConsumer<R,R>); 18418 method public <R, A> R collect(java.util.stream.Collector<? super T,A,R>); 18419 method public static <T> java.util.stream.Stream<T> concat(java.util.stream.Stream<? extends T>, java.util.stream.Stream<? extends T>); 18420 method public long count(); 18421 method public java.util.stream.Stream<T> distinct(); 18422 method public default java.util.stream.Stream<T> dropWhile(java.util.function.Predicate<? super T>); 18423 method public static <T> java.util.stream.Stream<T> empty(); 18424 method public java.util.stream.Stream<T> filter(java.util.function.Predicate<? super T>); 18425 method public java.util.Optional<T> findAny(); 18426 method public java.util.Optional<T> findFirst(); 18427 method public <R> java.util.stream.Stream<R> flatMap(java.util.function.Function<? super T,? extends java.util.stream.Stream<? extends R>>); 18428 method public java.util.stream.DoubleStream flatMapToDouble(java.util.function.Function<? super T,? extends java.util.stream.DoubleStream>); 18429 method public java.util.stream.IntStream flatMapToInt(java.util.function.Function<? super T,? extends java.util.stream.IntStream>); 18430 method public java.util.stream.LongStream flatMapToLong(java.util.function.Function<? super T,? extends java.util.stream.LongStream>); 18431 method public void forEach(java.util.function.Consumer<? super T>); 18432 method public void forEachOrdered(java.util.function.Consumer<? super T>); 18433 method public static <T> java.util.stream.Stream<T> generate(java.util.function.Supplier<? extends T>); 18434 method public static <T> java.util.stream.Stream<T> iterate(T, java.util.function.UnaryOperator<T>); 18435 method public static <T> java.util.stream.Stream<T> iterate(T, java.util.function.Predicate<? super T>, java.util.function.UnaryOperator<T>); 18436 method public java.util.stream.Stream<T> limit(long); 18437 method public <R> java.util.stream.Stream<R> map(java.util.function.Function<? super T,? extends R>); 18438 method public default <R> java.util.stream.Stream<R> mapMulti(java.util.function.BiConsumer<? super T,? super java.util.function.Consumer<R>>); 18439 method public default java.util.stream.DoubleStream mapMultiToDouble(java.util.function.BiConsumer<? super T,? super java.util.function.DoubleConsumer>); 18440 method public default java.util.stream.IntStream mapMultiToInt(java.util.function.BiConsumer<? super T,? super java.util.function.IntConsumer>); 18441 method public default java.util.stream.LongStream mapMultiToLong(java.util.function.BiConsumer<? super T,? super java.util.function.LongConsumer>); 18442 method public java.util.stream.DoubleStream mapToDouble(java.util.function.ToDoubleFunction<? super T>); 18443 method public java.util.stream.IntStream mapToInt(java.util.function.ToIntFunction<? super T>); 18444 method public java.util.stream.LongStream mapToLong(java.util.function.ToLongFunction<? super T>); 18445 method public java.util.Optional<T> max(java.util.Comparator<? super T>); 18446 method public java.util.Optional<T> min(java.util.Comparator<? super T>); 18447 method public boolean noneMatch(java.util.function.Predicate<? super T>); 18448 method public static <T> java.util.stream.Stream<T> of(T); 18449 method @java.lang.SafeVarargs public static <T> java.util.stream.Stream<T> of(T...); 18450 method public static <T> java.util.stream.Stream<T> ofNullable(T); 18451 method public java.util.stream.Stream<T> peek(java.util.function.Consumer<? super T>); 18452 method public T reduce(T, java.util.function.BinaryOperator<T>); 18453 method public java.util.Optional<T> reduce(java.util.function.BinaryOperator<T>); 18454 method public <U> U reduce(U, java.util.function.BiFunction<U,? super T,U>, java.util.function.BinaryOperator<U>); 18455 method public java.util.stream.Stream<T> skip(long); 18456 method public java.util.stream.Stream<T> sorted(); 18457 method public java.util.stream.Stream<T> sorted(java.util.Comparator<? super T>); 18458 method public default java.util.stream.Stream<T> takeWhile(java.util.function.Predicate<? super T>); 18459 method public Object[] toArray(); 18460 method public <A> A[] toArray(java.util.function.IntFunction<A[]>); 18461 method public default java.util.List<T> toList(); 18462 } 18463 18464 public static interface Stream.Builder<T> extends java.util.function.Consumer<T> { 18465 method public default java.util.stream.Stream.Builder<T> add(T); 18466 method public java.util.stream.Stream<T> build(); 18467 } 18468 18469 public final class StreamSupport { 18470 method public static java.util.stream.DoubleStream doubleStream(java.util.Spliterator.OfDouble, boolean); 18471 method public static java.util.stream.DoubleStream doubleStream(java.util.function.Supplier<? extends java.util.Spliterator.OfDouble>, int, boolean); 18472 method public static java.util.stream.IntStream intStream(java.util.Spliterator.OfInt, boolean); 18473 method public static java.util.stream.IntStream intStream(java.util.function.Supplier<? extends java.util.Spliterator.OfInt>, int, boolean); 18474 method public static java.util.stream.LongStream longStream(java.util.Spliterator.OfLong, boolean); 18475 method public static java.util.stream.LongStream longStream(java.util.function.Supplier<? extends java.util.Spliterator.OfLong>, int, boolean); 18476 method public static <T> java.util.stream.Stream<T> stream(java.util.Spliterator<T>, boolean); 18477 method public static <T> java.util.stream.Stream<T> stream(java.util.function.Supplier<? extends java.util.Spliterator<T>>, int, boolean); 18478 } 18479 18480} 18481 18482package java.util.zip { 18483 18484 public class Adler32 implements java.util.zip.Checksum { 18485 ctor public Adler32(); 18486 method public long getValue(); 18487 method public void reset(); 18488 method public void update(int); 18489 method public void update(byte[], int, int); 18490 method public void update(byte[]); 18491 method public void update(java.nio.ByteBuffer); 18492 } 18493 18494 public class CRC32 implements java.util.zip.Checksum { 18495 ctor public CRC32(); 18496 method public long getValue(); 18497 method public void reset(); 18498 method public void update(int); 18499 method public void update(byte[], int, int); 18500 method public void update(byte[]); 18501 method public void update(java.nio.ByteBuffer); 18502 } 18503 18504 public final class CRC32C implements java.util.zip.Checksum { 18505 ctor public CRC32C(); 18506 method public long getValue(); 18507 method public void reset(); 18508 method public void update(int); 18509 method public void update(byte[], int, int); 18510 method public void update(java.nio.ByteBuffer); 18511 } 18512 18513 public class CheckedInputStream extends java.io.FilterInputStream { 18514 ctor public CheckedInputStream(java.io.InputStream, java.util.zip.Checksum); 18515 method public java.util.zip.Checksum getChecksum(); 18516 } 18517 18518 public class CheckedOutputStream extends java.io.FilterOutputStream { 18519 ctor public CheckedOutputStream(java.io.OutputStream, java.util.zip.Checksum); 18520 method public java.util.zip.Checksum getChecksum(); 18521 } 18522 18523 public interface Checksum { 18524 method public long getValue(); 18525 method public void reset(); 18526 method public void update(int); 18527 method public default void update(byte[]); 18528 method public void update(byte[], int, int); 18529 method public default void update(java.nio.ByteBuffer); 18530 } 18531 18532 public class DataFormatException extends java.lang.Exception { 18533 ctor public DataFormatException(); 18534 ctor public DataFormatException(String); 18535 } 18536 18537 public class Deflater { 18538 ctor public Deflater(int, boolean); 18539 ctor public Deflater(int); 18540 ctor public Deflater(); 18541 method public int deflate(byte[], int, int); 18542 method public int deflate(byte[]); 18543 method @FlaggedApi("com.android.libcore.v_apis") public int deflate(java.nio.ByteBuffer); 18544 method public int deflate(byte[], int, int, int); 18545 method @FlaggedApi("com.android.libcore.v_apis") public int deflate(java.nio.ByteBuffer, int); 18546 method public void end(); 18547 method public void finish(); 18548 method public boolean finished(); 18549 method public int getAdler(); 18550 method public long getBytesRead(); 18551 method public long getBytesWritten(); 18552 method public int getTotalIn(); 18553 method public int getTotalOut(); 18554 method public boolean needsInput(); 18555 method public void reset(); 18556 method public void setDictionary(byte[], int, int); 18557 method public void setDictionary(byte[]); 18558 method @FlaggedApi("com.android.libcore.v_apis") public void setDictionary(java.nio.ByteBuffer); 18559 method public void setInput(byte[], int, int); 18560 method public void setInput(byte[]); 18561 method @FlaggedApi("com.android.libcore.v_apis") public void setInput(java.nio.ByteBuffer); 18562 method public void setLevel(int); 18563 method public void setStrategy(int); 18564 field public static final int BEST_COMPRESSION = 9; // 0x9 18565 field public static final int BEST_SPEED = 1; // 0x1 18566 field public static final int DEFAULT_COMPRESSION = -1; // 0xffffffff 18567 field public static final int DEFAULT_STRATEGY = 0; // 0x0 18568 field public static final int DEFLATED = 8; // 0x8 18569 field public static final int FILTERED = 1; // 0x1 18570 field public static final int FULL_FLUSH = 3; // 0x3 18571 field public static final int HUFFMAN_ONLY = 2; // 0x2 18572 field public static final int NO_COMPRESSION = 0; // 0x0 18573 field public static final int NO_FLUSH = 0; // 0x0 18574 field public static final int SYNC_FLUSH = 2; // 0x2 18575 } 18576 18577 public class DeflaterInputStream extends java.io.FilterInputStream { 18578 ctor public DeflaterInputStream(java.io.InputStream); 18579 ctor public DeflaterInputStream(java.io.InputStream, java.util.zip.Deflater); 18580 ctor public DeflaterInputStream(java.io.InputStream, java.util.zip.Deflater, int); 18581 field protected final byte[] buf; 18582 field protected final java.util.zip.Deflater def; 18583 } 18584 18585 public class DeflaterOutputStream extends java.io.FilterOutputStream { 18586 ctor public DeflaterOutputStream(java.io.OutputStream, java.util.zip.Deflater, int, boolean); 18587 ctor public DeflaterOutputStream(java.io.OutputStream, java.util.zip.Deflater, int); 18588 ctor public DeflaterOutputStream(java.io.OutputStream, java.util.zip.Deflater, boolean); 18589 ctor public DeflaterOutputStream(java.io.OutputStream, java.util.zip.Deflater); 18590 ctor public DeflaterOutputStream(java.io.OutputStream, boolean); 18591 ctor public DeflaterOutputStream(java.io.OutputStream); 18592 method protected void deflate() throws java.io.IOException; 18593 method public void finish() throws java.io.IOException; 18594 field protected byte[] buf; 18595 field protected java.util.zip.Deflater def; 18596 } 18597 18598 public class GZIPInputStream extends java.util.zip.InflaterInputStream { 18599 ctor public GZIPInputStream(java.io.InputStream, int) throws java.io.IOException; 18600 ctor public GZIPInputStream(java.io.InputStream) throws java.io.IOException; 18601 field public static final int GZIP_MAGIC = 35615; // 0x8b1f 18602 field protected java.util.zip.CRC32 crc; 18603 field protected boolean eos; 18604 } 18605 18606 public class GZIPOutputStream extends java.util.zip.DeflaterOutputStream { 18607 ctor public GZIPOutputStream(java.io.OutputStream, int) throws java.io.IOException; 18608 ctor public GZIPOutputStream(java.io.OutputStream, int, boolean) throws java.io.IOException; 18609 ctor public GZIPOutputStream(java.io.OutputStream) throws java.io.IOException; 18610 ctor public GZIPOutputStream(java.io.OutputStream, boolean) throws java.io.IOException; 18611 field protected java.util.zip.CRC32 crc; 18612 } 18613 18614 public class Inflater { 18615 ctor public Inflater(boolean); 18616 ctor public Inflater(); 18617 method public void end(); 18618 method public boolean finished(); 18619 method public int getAdler(); 18620 method public long getBytesRead(); 18621 method public long getBytesWritten(); 18622 method public int getRemaining(); 18623 method public int getTotalIn(); 18624 method public int getTotalOut(); 18625 method public int inflate(byte[], int, int) throws java.util.zip.DataFormatException; 18626 method public int inflate(byte[]) throws java.util.zip.DataFormatException; 18627 method @FlaggedApi("com.android.libcore.v_apis") public int inflate(java.nio.ByteBuffer) throws java.util.zip.DataFormatException; 18628 method public boolean needsDictionary(); 18629 method public boolean needsInput(); 18630 method public void reset(); 18631 method public void setDictionary(byte[], int, int); 18632 method public void setDictionary(byte[]); 18633 method @FlaggedApi("com.android.libcore.v_apis") public void setDictionary(java.nio.ByteBuffer); 18634 method public void setInput(byte[], int, int); 18635 method public void setInput(byte[]); 18636 method @FlaggedApi("com.android.libcore.v_apis") public void setInput(java.nio.ByteBuffer); 18637 } 18638 18639 public class InflaterInputStream extends java.io.FilterInputStream { 18640 ctor public InflaterInputStream(java.io.InputStream, java.util.zip.Inflater, int); 18641 ctor public InflaterInputStream(java.io.InputStream, java.util.zip.Inflater); 18642 ctor public InflaterInputStream(java.io.InputStream); 18643 method protected void fill() throws java.io.IOException; 18644 field protected byte[] buf; 18645 field @Deprecated protected boolean closed; 18646 field protected java.util.zip.Inflater inf; 18647 field protected int len; 18648 } 18649 18650 public class InflaterOutputStream extends java.io.FilterOutputStream { 18651 ctor public InflaterOutputStream(java.io.OutputStream); 18652 ctor public InflaterOutputStream(java.io.OutputStream, java.util.zip.Inflater); 18653 ctor public InflaterOutputStream(java.io.OutputStream, java.util.zip.Inflater, int); 18654 method public void finish() throws java.io.IOException; 18655 field protected final byte[] buf; 18656 field protected final java.util.zip.Inflater inf; 18657 } 18658 18659 public class ZipEntry implements java.lang.Cloneable { 18660 ctor public ZipEntry(String); 18661 ctor public ZipEntry(java.util.zip.ZipEntry); 18662 method public Object clone(); 18663 method public String getComment(); 18664 method public long getCompressedSize(); 18665 method public long getCrc(); 18666 method public java.nio.file.attribute.FileTime getCreationTime(); 18667 method public byte[] getExtra(); 18668 method public java.nio.file.attribute.FileTime getLastAccessTime(); 18669 method public java.nio.file.attribute.FileTime getLastModifiedTime(); 18670 method public int getMethod(); 18671 method public String getName(); 18672 method public long getSize(); 18673 method public long getTime(); 18674 method @FlaggedApi("com.android.libcore.v_apis") public java.time.LocalDateTime getTimeLocal(); 18675 method public boolean isDirectory(); 18676 method public void setComment(String); 18677 method public void setCompressedSize(long); 18678 method public void setCrc(long); 18679 method public java.util.zip.ZipEntry setCreationTime(java.nio.file.attribute.FileTime); 18680 method public void setExtra(byte[]); 18681 method public java.util.zip.ZipEntry setLastAccessTime(java.nio.file.attribute.FileTime); 18682 method public java.util.zip.ZipEntry setLastModifiedTime(java.nio.file.attribute.FileTime); 18683 method public void setMethod(int); 18684 method public void setSize(long); 18685 method public void setTime(long); 18686 method @FlaggedApi("com.android.libcore.v_apis") public void setTimeLocal(java.time.LocalDateTime); 18687 field public static final int CENATT = 36; // 0x24 18688 field public static final int CENATX = 38; // 0x26 18689 field public static final int CENCOM = 32; // 0x20 18690 field public static final int CENCRC = 16; // 0x10 18691 field public static final int CENDSK = 34; // 0x22 18692 field public static final int CENEXT = 30; // 0x1e 18693 field public static final int CENFLG = 8; // 0x8 18694 field public static final int CENHDR = 46; // 0x2e 18695 field public static final int CENHOW = 10; // 0xa 18696 field public static final int CENLEN = 24; // 0x18 18697 field public static final int CENNAM = 28; // 0x1c 18698 field public static final int CENOFF = 42; // 0x2a 18699 field public static final long CENSIG = 33639248L; // 0x2014b50L 18700 field public static final int CENSIZ = 20; // 0x14 18701 field public static final int CENTIM = 12; // 0xc 18702 field public static final int CENVEM = 4; // 0x4 18703 field public static final int CENVER = 6; // 0x6 18704 field public static final int DEFLATED = 8; // 0x8 18705 field public static final int ENDCOM = 20; // 0x14 18706 field public static final int ENDHDR = 22; // 0x16 18707 field public static final int ENDOFF = 16; // 0x10 18708 field public static final long ENDSIG = 101010256L; // 0x6054b50L 18709 field public static final int ENDSIZ = 12; // 0xc 18710 field public static final int ENDSUB = 8; // 0x8 18711 field public static final int ENDTOT = 10; // 0xa 18712 field public static final int EXTCRC = 4; // 0x4 18713 field public static final int EXTHDR = 16; // 0x10 18714 field public static final int EXTLEN = 12; // 0xc 18715 field public static final long EXTSIG = 134695760L; // 0x8074b50L 18716 field public static final int EXTSIZ = 8; // 0x8 18717 field public static final int LOCCRC = 14; // 0xe 18718 field public static final int LOCEXT = 28; // 0x1c 18719 field public static final int LOCFLG = 6; // 0x6 18720 field public static final int LOCHDR = 30; // 0x1e 18721 field public static final int LOCHOW = 8; // 0x8 18722 field public static final int LOCLEN = 22; // 0x16 18723 field public static final int LOCNAM = 26; // 0x1a 18724 field public static final long LOCSIG = 67324752L; // 0x4034b50L 18725 field public static final int LOCSIZ = 18; // 0x12 18726 field public static final int LOCTIM = 10; // 0xa 18727 field public static final int LOCVER = 4; // 0x4 18728 field public static final int STORED = 0; // 0x0 18729 } 18730 18731 public class ZipError extends java.lang.InternalError { 18732 ctor public ZipError(String); 18733 } 18734 18735 public class ZipException extends java.io.IOException { 18736 ctor public ZipException(); 18737 ctor public ZipException(String); 18738 } 18739 18740 public class ZipFile implements java.io.Closeable { 18741 ctor public ZipFile(String) throws java.io.IOException; 18742 ctor public ZipFile(java.io.File, int) throws java.io.IOException; 18743 ctor public ZipFile(java.io.File) throws java.io.IOException, java.util.zip.ZipException; 18744 ctor public ZipFile(java.io.File, int, java.nio.charset.Charset) throws java.io.IOException; 18745 ctor public ZipFile(String, java.nio.charset.Charset) throws java.io.IOException; 18746 ctor public ZipFile(java.io.File, java.nio.charset.Charset) throws java.io.IOException; 18747 method public void close() throws java.io.IOException; 18748 method public java.util.Enumeration<? extends java.util.zip.ZipEntry> entries(); 18749 method public String getComment(); 18750 method public java.util.zip.ZipEntry getEntry(String); 18751 method public java.io.InputStream getInputStream(java.util.zip.ZipEntry) throws java.io.IOException; 18752 method public String getName(); 18753 method public int size(); 18754 method public java.util.stream.Stream<? extends java.util.zip.ZipEntry> stream(); 18755 field public static final int CENATT = 36; // 0x24 18756 field public static final int CENATX = 38; // 0x26 18757 field public static final int CENCOM = 32; // 0x20 18758 field public static final int CENCRC = 16; // 0x10 18759 field public static final int CENDSK = 34; // 0x22 18760 field public static final int CENEXT = 30; // 0x1e 18761 field public static final int CENFLG = 8; // 0x8 18762 field public static final int CENHDR = 46; // 0x2e 18763 field public static final int CENHOW = 10; // 0xa 18764 field public static final int CENLEN = 24; // 0x18 18765 field public static final int CENNAM = 28; // 0x1c 18766 field public static final int CENOFF = 42; // 0x2a 18767 field public static final long CENSIG = 33639248L; // 0x2014b50L 18768 field public static final int CENSIZ = 20; // 0x14 18769 field public static final int CENTIM = 12; // 0xc 18770 field public static final int CENVEM = 4; // 0x4 18771 field public static final int CENVER = 6; // 0x6 18772 field public static final int ENDCOM = 20; // 0x14 18773 field public static final int ENDHDR = 22; // 0x16 18774 field public static final int ENDOFF = 16; // 0x10 18775 field public static final long ENDSIG = 101010256L; // 0x6054b50L 18776 field public static final int ENDSIZ = 12; // 0xc 18777 field public static final int ENDSUB = 8; // 0x8 18778 field public static final int ENDTOT = 10; // 0xa 18779 field public static final int EXTCRC = 4; // 0x4 18780 field public static final int EXTHDR = 16; // 0x10 18781 field public static final int EXTLEN = 12; // 0xc 18782 field public static final long EXTSIG = 134695760L; // 0x8074b50L 18783 field public static final int EXTSIZ = 8; // 0x8 18784 field public static final int LOCCRC = 14; // 0xe 18785 field public static final int LOCEXT = 28; // 0x1c 18786 field public static final int LOCFLG = 6; // 0x6 18787 field public static final int LOCHDR = 30; // 0x1e 18788 field public static final int LOCHOW = 8; // 0x8 18789 field public static final int LOCLEN = 22; // 0x16 18790 field public static final int LOCNAM = 26; // 0x1a 18791 field public static final long LOCSIG = 67324752L; // 0x4034b50L 18792 field public static final int LOCSIZ = 18; // 0x12 18793 field public static final int LOCTIM = 10; // 0xa 18794 field public static final int LOCVER = 4; // 0x4 18795 field public static final int OPEN_DELETE = 4; // 0x4 18796 field public static final int OPEN_READ = 1; // 0x1 18797 } 18798 18799 public class ZipInputStream extends java.util.zip.InflaterInputStream { 18800 ctor public ZipInputStream(java.io.InputStream); 18801 ctor public ZipInputStream(java.io.InputStream, java.nio.charset.Charset); 18802 method public void closeEntry() throws java.io.IOException; 18803 method protected java.util.zip.ZipEntry createZipEntry(String); 18804 method public java.util.zip.ZipEntry getNextEntry() throws java.io.IOException; 18805 field public static final int CENATT = 36; // 0x24 18806 field public static final int CENATX = 38; // 0x26 18807 field public static final int CENCOM = 32; // 0x20 18808 field public static final int CENCRC = 16; // 0x10 18809 field public static final int CENDSK = 34; // 0x22 18810 field public static final int CENEXT = 30; // 0x1e 18811 field public static final int CENFLG = 8; // 0x8 18812 field public static final int CENHDR = 46; // 0x2e 18813 field public static final int CENHOW = 10; // 0xa 18814 field public static final int CENLEN = 24; // 0x18 18815 field public static final int CENNAM = 28; // 0x1c 18816 field public static final int CENOFF = 42; // 0x2a 18817 field public static final long CENSIG = 33639248L; // 0x2014b50L 18818 field public static final int CENSIZ = 20; // 0x14 18819 field public static final int CENTIM = 12; // 0xc 18820 field public static final int CENVEM = 4; // 0x4 18821 field public static final int CENVER = 6; // 0x6 18822 field public static final int ENDCOM = 20; // 0x14 18823 field public static final int ENDHDR = 22; // 0x16 18824 field public static final int ENDOFF = 16; // 0x10 18825 field public static final long ENDSIG = 101010256L; // 0x6054b50L 18826 field public static final int ENDSIZ = 12; // 0xc 18827 field public static final int ENDSUB = 8; // 0x8 18828 field public static final int ENDTOT = 10; // 0xa 18829 field public static final int EXTCRC = 4; // 0x4 18830 field public static final int EXTHDR = 16; // 0x10 18831 field public static final int EXTLEN = 12; // 0xc 18832 field public static final long EXTSIG = 134695760L; // 0x8074b50L 18833 field public static final int EXTSIZ = 8; // 0x8 18834 field public static final int LOCCRC = 14; // 0xe 18835 field public static final int LOCEXT = 28; // 0x1c 18836 field public static final int LOCFLG = 6; // 0x6 18837 field public static final int LOCHDR = 30; // 0x1e 18838 field public static final int LOCHOW = 8; // 0x8 18839 field public static final int LOCLEN = 22; // 0x16 18840 field public static final int LOCNAM = 26; // 0x1a 18841 field public static final long LOCSIG = 67324752L; // 0x4034b50L 18842 field public static final int LOCSIZ = 18; // 0x12 18843 field public static final int LOCTIM = 10; // 0xa 18844 field public static final int LOCVER = 4; // 0x4 18845 } 18846 18847 public class ZipOutputStream extends java.util.zip.DeflaterOutputStream { 18848 ctor public ZipOutputStream(java.io.OutputStream); 18849 ctor public ZipOutputStream(java.io.OutputStream, java.nio.charset.Charset); 18850 method public void closeEntry() throws java.io.IOException; 18851 method public void putNextEntry(java.util.zip.ZipEntry) throws java.io.IOException; 18852 method public void setComment(String); 18853 method public void setLevel(int); 18854 method public void setMethod(int); 18855 field public static final int CENATT = 36; // 0x24 18856 field public static final int CENATX = 38; // 0x26 18857 field public static final int CENCOM = 32; // 0x20 18858 field public static final int CENCRC = 16; // 0x10 18859 field public static final int CENDSK = 34; // 0x22 18860 field public static final int CENEXT = 30; // 0x1e 18861 field public static final int CENFLG = 8; // 0x8 18862 field public static final int CENHDR = 46; // 0x2e 18863 field public static final int CENHOW = 10; // 0xa 18864 field public static final int CENLEN = 24; // 0x18 18865 field public static final int CENNAM = 28; // 0x1c 18866 field public static final int CENOFF = 42; // 0x2a 18867 field public static final long CENSIG = 33639248L; // 0x2014b50L 18868 field public static final int CENSIZ = 20; // 0x14 18869 field public static final int CENTIM = 12; // 0xc 18870 field public static final int CENVEM = 4; // 0x4 18871 field public static final int CENVER = 6; // 0x6 18872 field public static final int DEFLATED = 8; // 0x8 18873 field public static final int ENDCOM = 20; // 0x14 18874 field public static final int ENDHDR = 22; // 0x16 18875 field public static final int ENDOFF = 16; // 0x10 18876 field public static final long ENDSIG = 101010256L; // 0x6054b50L 18877 field public static final int ENDSIZ = 12; // 0xc 18878 field public static final int ENDSUB = 8; // 0x8 18879 field public static final int ENDTOT = 10; // 0xa 18880 field public static final int EXTCRC = 4; // 0x4 18881 field public static final int EXTHDR = 16; // 0x10 18882 field public static final int EXTLEN = 12; // 0xc 18883 field public static final long EXTSIG = 134695760L; // 0x8074b50L 18884 field public static final int EXTSIZ = 8; // 0x8 18885 field public static final int LOCCRC = 14; // 0xe 18886 field public static final int LOCEXT = 28; // 0x1c 18887 field public static final int LOCFLG = 6; // 0x6 18888 field public static final int LOCHDR = 30; // 0x1e 18889 field public static final int LOCHOW = 8; // 0x8 18890 field public static final int LOCLEN = 22; // 0x16 18891 field public static final int LOCNAM = 26; // 0x1a 18892 field public static final long LOCSIG = 67324752L; // 0x4034b50L 18893 field public static final int LOCSIZ = 18; // 0x12 18894 field public static final int LOCTIM = 10; // 0xa 18895 field public static final int LOCVER = 4; // 0x4 18896 field public static final int STORED = 0; // 0x0 18897 } 18898 18899} 18900 18901package javax.annotation.processing { 18902 18903 @java.lang.annotation.Documented @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) @java.lang.annotation.Target({java.lang.annotation.ElementType.PACKAGE, java.lang.annotation.ElementType.TYPE, java.lang.annotation.ElementType.METHOD, java.lang.annotation.ElementType.CONSTRUCTOR, java.lang.annotation.ElementType.FIELD, java.lang.annotation.ElementType.LOCAL_VARIABLE, java.lang.annotation.ElementType.PARAMETER}) public @interface Generated { 18904 method public abstract String comments() default ""; 18905 method public abstract String date() default ""; 18906 method public abstract String[] value(); 18907 } 18908 18909} 18910 18911package javax.crypto { 18912 18913 public class AEADBadTagException extends javax.crypto.BadPaddingException { 18914 ctor public AEADBadTagException(); 18915 ctor public AEADBadTagException(String); 18916 } 18917 18918 public class BadPaddingException extends java.security.GeneralSecurityException { 18919 ctor public BadPaddingException(); 18920 ctor public BadPaddingException(String); 18921 } 18922 18923 public class Cipher { 18924 ctor protected Cipher(javax.crypto.CipherSpi, java.security.Provider, String); 18925 method public final byte[] doFinal() throws javax.crypto.BadPaddingException, javax.crypto.IllegalBlockSizeException; 18926 method public final int doFinal(byte[], int) throws javax.crypto.BadPaddingException, javax.crypto.IllegalBlockSizeException, javax.crypto.ShortBufferException; 18927 method public final byte[] doFinal(byte[]) throws javax.crypto.BadPaddingException, javax.crypto.IllegalBlockSizeException; 18928 method public final byte[] doFinal(byte[], int, int) throws javax.crypto.BadPaddingException, javax.crypto.IllegalBlockSizeException; 18929 method public final int doFinal(byte[], int, int, byte[]) throws javax.crypto.BadPaddingException, javax.crypto.IllegalBlockSizeException, javax.crypto.ShortBufferException; 18930 method public final int doFinal(byte[], int, int, byte[], int) throws javax.crypto.BadPaddingException, javax.crypto.IllegalBlockSizeException, javax.crypto.ShortBufferException; 18931 method public final int doFinal(java.nio.ByteBuffer, java.nio.ByteBuffer) throws javax.crypto.BadPaddingException, javax.crypto.IllegalBlockSizeException, javax.crypto.ShortBufferException; 18932 method public final String getAlgorithm(); 18933 method public final int getBlockSize(); 18934 method public final javax.crypto.ExemptionMechanism getExemptionMechanism(); 18935 method public final byte[] getIV(); 18936 method public static final javax.crypto.Cipher getInstance(String) throws java.security.NoSuchAlgorithmException, javax.crypto.NoSuchPaddingException; 18937 method public static final javax.crypto.Cipher getInstance(String, String) throws java.security.NoSuchAlgorithmException, javax.crypto.NoSuchPaddingException, java.security.NoSuchProviderException; 18938 method public static final javax.crypto.Cipher getInstance(String, java.security.Provider) throws java.security.NoSuchAlgorithmException, javax.crypto.NoSuchPaddingException; 18939 method public static final int getMaxAllowedKeyLength(String) throws java.security.NoSuchAlgorithmException; 18940 method public static final java.security.spec.AlgorithmParameterSpec getMaxAllowedParameterSpec(String) throws java.security.NoSuchAlgorithmException; 18941 method public final int getOutputSize(int); 18942 method public final java.security.AlgorithmParameters getParameters(); 18943 method public final java.security.Provider getProvider(); 18944 method public final void init(int, java.security.Key) throws java.security.InvalidKeyException; 18945 method public final void init(int, java.security.Key, java.security.SecureRandom) throws java.security.InvalidKeyException; 18946 method public final void init(int, java.security.Key, java.security.spec.AlgorithmParameterSpec) throws java.security.InvalidAlgorithmParameterException, java.security.InvalidKeyException; 18947 method public final void init(int, java.security.Key, java.security.spec.AlgorithmParameterSpec, java.security.SecureRandom) throws java.security.InvalidAlgorithmParameterException, java.security.InvalidKeyException; 18948 method public final void init(int, java.security.Key, java.security.AlgorithmParameters) throws java.security.InvalidAlgorithmParameterException, java.security.InvalidKeyException; 18949 method public final void init(int, java.security.Key, java.security.AlgorithmParameters, java.security.SecureRandom) throws java.security.InvalidAlgorithmParameterException, java.security.InvalidKeyException; 18950 method public final void init(int, java.security.cert.Certificate) throws java.security.InvalidKeyException; 18951 method public final void init(int, java.security.cert.Certificate, java.security.SecureRandom) throws java.security.InvalidKeyException; 18952 method public final java.security.Key unwrap(byte[], String, int) throws java.security.InvalidKeyException, java.security.NoSuchAlgorithmException; 18953 method public final byte[] update(byte[]); 18954 method public final byte[] update(byte[], int, int); 18955 method public final int update(byte[], int, int, byte[]) throws javax.crypto.ShortBufferException; 18956 method public final int update(byte[], int, int, byte[], int) throws javax.crypto.ShortBufferException; 18957 method public final int update(java.nio.ByteBuffer, java.nio.ByteBuffer) throws javax.crypto.ShortBufferException; 18958 method public final void updateAAD(byte[]); 18959 method public final void updateAAD(byte[], int, int); 18960 method public final void updateAAD(java.nio.ByteBuffer); 18961 method public final byte[] wrap(java.security.Key) throws javax.crypto.IllegalBlockSizeException, java.security.InvalidKeyException; 18962 field public static final int DECRYPT_MODE = 2; // 0x2 18963 field public static final int ENCRYPT_MODE = 1; // 0x1 18964 field public static final int PRIVATE_KEY = 2; // 0x2 18965 field public static final int PUBLIC_KEY = 1; // 0x1 18966 field public static final int SECRET_KEY = 3; // 0x3 18967 field public static final int UNWRAP_MODE = 4; // 0x4 18968 field public static final int WRAP_MODE = 3; // 0x3 18969 } 18970 18971 public class CipherInputStream extends java.io.FilterInputStream { 18972 ctor public CipherInputStream(java.io.InputStream, javax.crypto.Cipher); 18973 ctor protected CipherInputStream(java.io.InputStream); 18974 } 18975 18976 public class CipherOutputStream extends java.io.FilterOutputStream { 18977 ctor public CipherOutputStream(java.io.OutputStream, javax.crypto.Cipher); 18978 ctor protected CipherOutputStream(java.io.OutputStream); 18979 } 18980 18981 public abstract class CipherSpi { 18982 ctor public CipherSpi(); 18983 method protected abstract byte[] engineDoFinal(byte[], int, int) throws javax.crypto.BadPaddingException, javax.crypto.IllegalBlockSizeException; 18984 method protected abstract int engineDoFinal(byte[], int, int, byte[], int) throws javax.crypto.BadPaddingException, javax.crypto.IllegalBlockSizeException, javax.crypto.ShortBufferException; 18985 method protected int engineDoFinal(java.nio.ByteBuffer, java.nio.ByteBuffer) throws javax.crypto.BadPaddingException, javax.crypto.IllegalBlockSizeException, javax.crypto.ShortBufferException; 18986 method protected abstract int engineGetBlockSize(); 18987 method protected abstract byte[] engineGetIV(); 18988 method protected int engineGetKeySize(java.security.Key) throws java.security.InvalidKeyException; 18989 method protected abstract int engineGetOutputSize(int); 18990 method protected abstract java.security.AlgorithmParameters engineGetParameters(); 18991 method protected abstract void engineInit(int, java.security.Key, java.security.SecureRandom) throws java.security.InvalidKeyException; 18992 method protected abstract void engineInit(int, java.security.Key, java.security.spec.AlgorithmParameterSpec, java.security.SecureRandom) throws java.security.InvalidAlgorithmParameterException, java.security.InvalidKeyException; 18993 method protected abstract void engineInit(int, java.security.Key, java.security.AlgorithmParameters, java.security.SecureRandom) throws java.security.InvalidAlgorithmParameterException, java.security.InvalidKeyException; 18994 method protected abstract void engineSetMode(String) throws java.security.NoSuchAlgorithmException; 18995 method protected abstract void engineSetPadding(String) throws javax.crypto.NoSuchPaddingException; 18996 method protected java.security.Key engineUnwrap(byte[], String, int) throws java.security.InvalidKeyException, java.security.NoSuchAlgorithmException; 18997 method protected abstract byte[] engineUpdate(byte[], int, int); 18998 method protected abstract int engineUpdate(byte[], int, int, byte[], int) throws javax.crypto.ShortBufferException; 18999 method protected int engineUpdate(java.nio.ByteBuffer, java.nio.ByteBuffer) throws javax.crypto.ShortBufferException; 19000 method protected void engineUpdateAAD(byte[], int, int); 19001 method protected void engineUpdateAAD(java.nio.ByteBuffer); 19002 method protected byte[] engineWrap(java.security.Key) throws javax.crypto.IllegalBlockSizeException, java.security.InvalidKeyException; 19003 } 19004 19005 public class EncryptedPrivateKeyInfo { 19006 ctor public EncryptedPrivateKeyInfo(byte[]) throws java.io.IOException; 19007 ctor public EncryptedPrivateKeyInfo(String, byte[]) throws java.security.NoSuchAlgorithmException; 19008 ctor public EncryptedPrivateKeyInfo(java.security.AlgorithmParameters, byte[]) throws java.security.NoSuchAlgorithmException; 19009 method public String getAlgName(); 19010 method public java.security.AlgorithmParameters getAlgParameters(); 19011 method public byte[] getEncoded() throws java.io.IOException; 19012 method public byte[] getEncryptedData(); 19013 method public java.security.spec.PKCS8EncodedKeySpec getKeySpec(javax.crypto.Cipher) throws java.security.spec.InvalidKeySpecException; 19014 method public java.security.spec.PKCS8EncodedKeySpec getKeySpec(java.security.Key) throws java.security.InvalidKeyException, java.security.NoSuchAlgorithmException; 19015 method public java.security.spec.PKCS8EncodedKeySpec getKeySpec(java.security.Key, String) throws java.security.InvalidKeyException, java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException; 19016 method public java.security.spec.PKCS8EncodedKeySpec getKeySpec(java.security.Key, java.security.Provider) throws java.security.InvalidKeyException, java.security.NoSuchAlgorithmException; 19017 } 19018 19019 public class ExemptionMechanism { 19020 ctor protected ExemptionMechanism(javax.crypto.ExemptionMechanismSpi, java.security.Provider, String); 19021 method public final byte[] genExemptionBlob() throws javax.crypto.ExemptionMechanismException, java.lang.IllegalStateException; 19022 method public final int genExemptionBlob(byte[]) throws javax.crypto.ExemptionMechanismException, java.lang.IllegalStateException, javax.crypto.ShortBufferException; 19023 method public final int genExemptionBlob(byte[], int) throws javax.crypto.ExemptionMechanismException, java.lang.IllegalStateException, javax.crypto.ShortBufferException; 19024 method public static final javax.crypto.ExemptionMechanism getInstance(String) throws java.security.NoSuchAlgorithmException; 19025 method public static final javax.crypto.ExemptionMechanism getInstance(String, String) throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException; 19026 method public static final javax.crypto.ExemptionMechanism getInstance(String, java.security.Provider) throws java.security.NoSuchAlgorithmException; 19027 method public final String getName(); 19028 method public final int getOutputSize(int) throws java.lang.IllegalStateException; 19029 method public final java.security.Provider getProvider(); 19030 method public final void init(java.security.Key) throws javax.crypto.ExemptionMechanismException, java.security.InvalidKeyException; 19031 method public final void init(java.security.Key, java.security.spec.AlgorithmParameterSpec) throws javax.crypto.ExemptionMechanismException, java.security.InvalidAlgorithmParameterException, java.security.InvalidKeyException; 19032 method public final void init(java.security.Key, java.security.AlgorithmParameters) throws javax.crypto.ExemptionMechanismException, java.security.InvalidAlgorithmParameterException, java.security.InvalidKeyException; 19033 method public final boolean isCryptoAllowed(java.security.Key) throws javax.crypto.ExemptionMechanismException; 19034 } 19035 19036 public class ExemptionMechanismException extends java.security.GeneralSecurityException { 19037 ctor public ExemptionMechanismException(); 19038 ctor public ExemptionMechanismException(String); 19039 } 19040 19041 public abstract class ExemptionMechanismSpi { 19042 ctor public ExemptionMechanismSpi(); 19043 method protected abstract byte[] engineGenExemptionBlob() throws javax.crypto.ExemptionMechanismException; 19044 method protected abstract int engineGenExemptionBlob(byte[], int) throws javax.crypto.ExemptionMechanismException, javax.crypto.ShortBufferException; 19045 method protected abstract int engineGetOutputSize(int); 19046 method protected abstract void engineInit(java.security.Key) throws javax.crypto.ExemptionMechanismException, java.security.InvalidKeyException; 19047 method protected abstract void engineInit(java.security.Key, java.security.spec.AlgorithmParameterSpec) throws javax.crypto.ExemptionMechanismException, java.security.InvalidAlgorithmParameterException, java.security.InvalidKeyException; 19048 method protected abstract void engineInit(java.security.Key, java.security.AlgorithmParameters) throws javax.crypto.ExemptionMechanismException, java.security.InvalidAlgorithmParameterException, java.security.InvalidKeyException; 19049 } 19050 19051 public class IllegalBlockSizeException extends java.security.GeneralSecurityException { 19052 ctor public IllegalBlockSizeException(); 19053 ctor public IllegalBlockSizeException(String); 19054 } 19055 19056 public class KeyAgreement { 19057 ctor protected KeyAgreement(javax.crypto.KeyAgreementSpi, java.security.Provider, String); 19058 method public final java.security.Key doPhase(java.security.Key, boolean) throws java.lang.IllegalStateException, java.security.InvalidKeyException; 19059 method public final byte[] generateSecret() throws java.lang.IllegalStateException; 19060 method public final int generateSecret(byte[], int) throws java.lang.IllegalStateException, javax.crypto.ShortBufferException; 19061 method public final javax.crypto.SecretKey generateSecret(String) throws java.lang.IllegalStateException, java.security.InvalidKeyException, java.security.NoSuchAlgorithmException; 19062 method public final String getAlgorithm(); 19063 method public static final javax.crypto.KeyAgreement getInstance(String) throws java.security.NoSuchAlgorithmException; 19064 method public static final javax.crypto.KeyAgreement getInstance(String, String) throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException; 19065 method public static final javax.crypto.KeyAgreement getInstance(String, java.security.Provider) throws java.security.NoSuchAlgorithmException; 19066 method public final java.security.Provider getProvider(); 19067 method public final void init(java.security.Key) throws java.security.InvalidKeyException; 19068 method public final void init(java.security.Key, java.security.SecureRandom) throws java.security.InvalidKeyException; 19069 method public final void init(java.security.Key, java.security.spec.AlgorithmParameterSpec) throws java.security.InvalidAlgorithmParameterException, java.security.InvalidKeyException; 19070 method public final void init(java.security.Key, java.security.spec.AlgorithmParameterSpec, java.security.SecureRandom) throws java.security.InvalidAlgorithmParameterException, java.security.InvalidKeyException; 19071 } 19072 19073 public abstract class KeyAgreementSpi { 19074 ctor public KeyAgreementSpi(); 19075 method protected abstract java.security.Key engineDoPhase(java.security.Key, boolean) throws java.lang.IllegalStateException, java.security.InvalidKeyException; 19076 method protected abstract byte[] engineGenerateSecret() throws java.lang.IllegalStateException; 19077 method protected abstract int engineGenerateSecret(byte[], int) throws java.lang.IllegalStateException, javax.crypto.ShortBufferException; 19078 method protected abstract javax.crypto.SecretKey engineGenerateSecret(String) throws java.lang.IllegalStateException, java.security.InvalidKeyException, java.security.NoSuchAlgorithmException; 19079 method protected abstract void engineInit(java.security.Key, java.security.SecureRandom) throws java.security.InvalidKeyException; 19080 method protected abstract void engineInit(java.security.Key, java.security.spec.AlgorithmParameterSpec, java.security.SecureRandom) throws java.security.InvalidAlgorithmParameterException, java.security.InvalidKeyException; 19081 } 19082 19083 public class KeyGenerator { 19084 ctor protected KeyGenerator(javax.crypto.KeyGeneratorSpi, java.security.Provider, String); 19085 method public final javax.crypto.SecretKey generateKey(); 19086 method public final String getAlgorithm(); 19087 method public static final javax.crypto.KeyGenerator getInstance(String) throws java.security.NoSuchAlgorithmException; 19088 method public static final javax.crypto.KeyGenerator getInstance(String, String) throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException; 19089 method public static final javax.crypto.KeyGenerator getInstance(String, java.security.Provider) throws java.security.NoSuchAlgorithmException; 19090 method public final java.security.Provider getProvider(); 19091 method public final void init(java.security.SecureRandom); 19092 method public final void init(java.security.spec.AlgorithmParameterSpec) throws java.security.InvalidAlgorithmParameterException; 19093 method public final void init(java.security.spec.AlgorithmParameterSpec, java.security.SecureRandom) throws java.security.InvalidAlgorithmParameterException; 19094 method public final void init(int); 19095 method public final void init(int, java.security.SecureRandom); 19096 } 19097 19098 public abstract class KeyGeneratorSpi { 19099 ctor public KeyGeneratorSpi(); 19100 method protected abstract javax.crypto.SecretKey engineGenerateKey(); 19101 method protected abstract void engineInit(java.security.SecureRandom); 19102 method protected abstract void engineInit(java.security.spec.AlgorithmParameterSpec, java.security.SecureRandom) throws java.security.InvalidAlgorithmParameterException; 19103 method protected abstract void engineInit(int, java.security.SecureRandom); 19104 } 19105 19106 public class Mac implements java.lang.Cloneable { 19107 ctor protected Mac(javax.crypto.MacSpi, java.security.Provider, String); 19108 method public final Object clone() throws java.lang.CloneNotSupportedException; 19109 method public final byte[] doFinal() throws java.lang.IllegalStateException; 19110 method public final void doFinal(byte[], int) throws java.lang.IllegalStateException, javax.crypto.ShortBufferException; 19111 method public final byte[] doFinal(byte[]) throws java.lang.IllegalStateException; 19112 method public final String getAlgorithm(); 19113 method public static final javax.crypto.Mac getInstance(String) throws java.security.NoSuchAlgorithmException; 19114 method public static final javax.crypto.Mac getInstance(String, String) throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException; 19115 method public static final javax.crypto.Mac getInstance(String, java.security.Provider) throws java.security.NoSuchAlgorithmException; 19116 method public final int getMacLength(); 19117 method public final java.security.Provider getProvider(); 19118 method public final void init(java.security.Key) throws java.security.InvalidKeyException; 19119 method public final void init(java.security.Key, java.security.spec.AlgorithmParameterSpec) throws java.security.InvalidAlgorithmParameterException, java.security.InvalidKeyException; 19120 method public final void reset(); 19121 method public final void update(byte) throws java.lang.IllegalStateException; 19122 method public final void update(byte[]) throws java.lang.IllegalStateException; 19123 method public final void update(byte[], int, int) throws java.lang.IllegalStateException; 19124 method public final void update(java.nio.ByteBuffer); 19125 } 19126 19127 public abstract class MacSpi { 19128 ctor public MacSpi(); 19129 method public Object clone() throws java.lang.CloneNotSupportedException; 19130 method protected abstract byte[] engineDoFinal(); 19131 method protected abstract int engineGetMacLength(); 19132 method protected abstract void engineInit(java.security.Key, java.security.spec.AlgorithmParameterSpec) throws java.security.InvalidAlgorithmParameterException, java.security.InvalidKeyException; 19133 method protected abstract void engineReset(); 19134 method protected abstract void engineUpdate(byte); 19135 method protected abstract void engineUpdate(byte[], int, int); 19136 method protected void engineUpdate(java.nio.ByteBuffer); 19137 } 19138 19139 public class NoSuchPaddingException extends java.security.GeneralSecurityException { 19140 ctor public NoSuchPaddingException(); 19141 ctor public NoSuchPaddingException(String); 19142 } 19143 19144 public class NullCipher extends javax.crypto.Cipher { 19145 ctor public NullCipher(); 19146 } 19147 19148 public class SealedObject implements java.io.Serializable { 19149 ctor public SealedObject(java.io.Serializable, javax.crypto.Cipher) throws java.io.IOException, javax.crypto.IllegalBlockSizeException; 19150 ctor protected SealedObject(javax.crypto.SealedObject); 19151 method public final String getAlgorithm(); 19152 method public final Object getObject(java.security.Key) throws java.lang.ClassNotFoundException, java.io.IOException, java.security.InvalidKeyException, java.security.NoSuchAlgorithmException; 19153 method public final Object getObject(javax.crypto.Cipher) throws javax.crypto.BadPaddingException, java.lang.ClassNotFoundException, java.io.IOException, javax.crypto.IllegalBlockSizeException; 19154 method public final Object getObject(java.security.Key, String) throws java.lang.ClassNotFoundException, java.io.IOException, java.security.InvalidKeyException, java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException; 19155 field protected byte[] encodedParams; 19156 } 19157 19158 public interface SecretKey extends java.security.Key javax.security.auth.Destroyable { 19159 field public static final long serialVersionUID = -4795878709595146952L; // 0xbd719db928b8f538L 19160 } 19161 19162 public class SecretKeyFactory { 19163 ctor protected SecretKeyFactory(javax.crypto.SecretKeyFactorySpi, java.security.Provider, String); 19164 method public final javax.crypto.SecretKey generateSecret(java.security.spec.KeySpec) throws java.security.spec.InvalidKeySpecException; 19165 method public final String getAlgorithm(); 19166 method public static final javax.crypto.SecretKeyFactory getInstance(String) throws java.security.NoSuchAlgorithmException; 19167 method public static final javax.crypto.SecretKeyFactory getInstance(String, String) throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException; 19168 method public static final javax.crypto.SecretKeyFactory getInstance(String, java.security.Provider) throws java.security.NoSuchAlgorithmException; 19169 method public final java.security.spec.KeySpec getKeySpec(javax.crypto.SecretKey, Class<?>) throws java.security.spec.InvalidKeySpecException; 19170 method public final java.security.Provider getProvider(); 19171 method public final javax.crypto.SecretKey translateKey(javax.crypto.SecretKey) throws java.security.InvalidKeyException; 19172 } 19173 19174 public abstract class SecretKeyFactorySpi { 19175 ctor public SecretKeyFactorySpi(); 19176 method protected abstract javax.crypto.SecretKey engineGenerateSecret(java.security.spec.KeySpec) throws java.security.spec.InvalidKeySpecException; 19177 method protected abstract java.security.spec.KeySpec engineGetKeySpec(javax.crypto.SecretKey, Class<?>) throws java.security.spec.InvalidKeySpecException; 19178 method protected abstract javax.crypto.SecretKey engineTranslateKey(javax.crypto.SecretKey) throws java.security.InvalidKeyException; 19179 } 19180 19181 public class ShortBufferException extends java.security.GeneralSecurityException { 19182 ctor public ShortBufferException(); 19183 ctor public ShortBufferException(String); 19184 } 19185 19186} 19187 19188package javax.crypto.interfaces { 19189 19190 public interface DHKey { 19191 method public javax.crypto.spec.DHParameterSpec getParams(); 19192 } 19193 19194 public interface DHPrivateKey extends javax.crypto.interfaces.DHKey java.security.PrivateKey { 19195 method public java.math.BigInteger getX(); 19196 field public static final long serialVersionUID = 2211791113380396553L; // 0x1eb1dc4c8e677e09L 19197 } 19198 19199 public interface DHPublicKey extends javax.crypto.interfaces.DHKey java.security.PublicKey { 19200 method public java.math.BigInteger getY(); 19201 field public static final long serialVersionUID = -6628103563352519193L; // 0xa4043eed23df4de7L 19202 } 19203 19204 public interface PBEKey extends javax.crypto.SecretKey { 19205 method public int getIterationCount(); 19206 method public char[] getPassword(); 19207 method public byte[] getSalt(); 19208 field public static final long serialVersionUID = -1430015993304333921L; // 0xec279007d7f7c19fL 19209 } 19210 19211} 19212 19213package javax.crypto.spec { 19214 19215 @FlaggedApi("com.android.libcore.v_apis") public final class ChaCha20ParameterSpec implements java.security.spec.AlgorithmParameterSpec { 19216 ctor public ChaCha20ParameterSpec(byte[], int); 19217 method public int getCounter(); 19218 method public byte[] getNonce(); 19219 } 19220 19221 public class DESKeySpec implements java.security.spec.KeySpec { 19222 ctor public DESKeySpec(byte[]) throws java.security.InvalidKeyException; 19223 ctor public DESKeySpec(byte[], int) throws java.security.InvalidKeyException; 19224 method public byte[] getKey(); 19225 method public static boolean isParityAdjusted(byte[], int) throws java.security.InvalidKeyException; 19226 method public static boolean isWeak(byte[], int) throws java.security.InvalidKeyException; 19227 field public static final int DES_KEY_LEN = 8; // 0x8 19228 } 19229 19230 public class DESedeKeySpec implements java.security.spec.KeySpec { 19231 ctor public DESedeKeySpec(byte[]) throws java.security.InvalidKeyException; 19232 ctor public DESedeKeySpec(byte[], int) throws java.security.InvalidKeyException; 19233 method public byte[] getKey(); 19234 method public static boolean isParityAdjusted(byte[], int) throws java.security.InvalidKeyException; 19235 field public static final int DES_EDE_KEY_LEN = 24; // 0x18 19236 } 19237 19238 public class DHGenParameterSpec implements java.security.spec.AlgorithmParameterSpec { 19239 ctor public DHGenParameterSpec(int, int); 19240 method public int getExponentSize(); 19241 method public int getPrimeSize(); 19242 } 19243 19244 public class DHParameterSpec implements java.security.spec.AlgorithmParameterSpec { 19245 ctor public DHParameterSpec(java.math.BigInteger, java.math.BigInteger); 19246 ctor public DHParameterSpec(java.math.BigInteger, java.math.BigInteger, int); 19247 method public java.math.BigInteger getG(); 19248 method public int getL(); 19249 method public java.math.BigInteger getP(); 19250 } 19251 19252 public class DHPrivateKeySpec implements java.security.spec.KeySpec { 19253 ctor public DHPrivateKeySpec(java.math.BigInteger, java.math.BigInteger, java.math.BigInteger); 19254 method public java.math.BigInteger getG(); 19255 method public java.math.BigInteger getP(); 19256 method public java.math.BigInteger getX(); 19257 } 19258 19259 public class DHPublicKeySpec implements java.security.spec.KeySpec { 19260 ctor public DHPublicKeySpec(java.math.BigInteger, java.math.BigInteger, java.math.BigInteger); 19261 method public java.math.BigInteger getG(); 19262 method public java.math.BigInteger getP(); 19263 method public java.math.BigInteger getY(); 19264 } 19265 19266 public class GCMParameterSpec implements java.security.spec.AlgorithmParameterSpec { 19267 ctor public GCMParameterSpec(int, byte[]); 19268 ctor public GCMParameterSpec(int, byte[], int, int); 19269 method public byte[] getIV(); 19270 method public int getTLen(); 19271 } 19272 19273 public class IvParameterSpec implements java.security.spec.AlgorithmParameterSpec { 19274 ctor public IvParameterSpec(byte[]); 19275 ctor public IvParameterSpec(byte[], int, int); 19276 method public byte[] getIV(); 19277 } 19278 19279 public class OAEPParameterSpec implements java.security.spec.AlgorithmParameterSpec { 19280 ctor public OAEPParameterSpec(String, String, java.security.spec.AlgorithmParameterSpec, javax.crypto.spec.PSource); 19281 method public String getDigestAlgorithm(); 19282 method public String getMGFAlgorithm(); 19283 method public java.security.spec.AlgorithmParameterSpec getMGFParameters(); 19284 method public javax.crypto.spec.PSource getPSource(); 19285 field public static final javax.crypto.spec.OAEPParameterSpec DEFAULT; 19286 } 19287 19288 public class PBEKeySpec implements java.security.spec.KeySpec { 19289 ctor public PBEKeySpec(char[]); 19290 ctor public PBEKeySpec(char[], byte[], int, int); 19291 ctor public PBEKeySpec(char[], byte[], int); 19292 method public final void clearPassword(); 19293 method public final int getIterationCount(); 19294 method public final int getKeyLength(); 19295 method public final char[] getPassword(); 19296 method public final byte[] getSalt(); 19297 } 19298 19299 public class PBEParameterSpec implements java.security.spec.AlgorithmParameterSpec { 19300 ctor public PBEParameterSpec(byte[], int); 19301 ctor public PBEParameterSpec(byte[], int, java.security.spec.AlgorithmParameterSpec); 19302 method public int getIterationCount(); 19303 method public java.security.spec.AlgorithmParameterSpec getParameterSpec(); 19304 method public byte[] getSalt(); 19305 } 19306 19307 public class PSource { 19308 ctor protected PSource(String); 19309 method public String getAlgorithm(); 19310 } 19311 19312 public static final class PSource.PSpecified extends javax.crypto.spec.PSource { 19313 ctor public PSource.PSpecified(byte[]); 19314 method public byte[] getValue(); 19315 field public static final javax.crypto.spec.PSource.PSpecified DEFAULT; 19316 } 19317 19318 public class RC2ParameterSpec implements java.security.spec.AlgorithmParameterSpec { 19319 ctor public RC2ParameterSpec(int); 19320 ctor public RC2ParameterSpec(int, byte[]); 19321 ctor public RC2ParameterSpec(int, byte[], int); 19322 method public int getEffectiveKeyBits(); 19323 method public byte[] getIV(); 19324 } 19325 19326 public class RC5ParameterSpec implements java.security.spec.AlgorithmParameterSpec { 19327 ctor public RC5ParameterSpec(int, int, int); 19328 ctor public RC5ParameterSpec(int, int, int, byte[]); 19329 ctor public RC5ParameterSpec(int, int, int, byte[], int); 19330 method public byte[] getIV(); 19331 method public int getRounds(); 19332 method public int getVersion(); 19333 method public int getWordSize(); 19334 } 19335 19336 public class SecretKeySpec implements java.security.spec.KeySpec javax.crypto.SecretKey { 19337 ctor public SecretKeySpec(byte[], String); 19338 ctor public SecretKeySpec(byte[], int, int, String); 19339 method public String getAlgorithm(); 19340 method public byte[] getEncoded(); 19341 method public String getFormat(); 19342 } 19343 19344} 19345 19346package javax.net { 19347 19348 public abstract class ServerSocketFactory { 19349 ctor protected ServerSocketFactory(); 19350 method public java.net.ServerSocket createServerSocket() throws java.io.IOException; 19351 method public abstract java.net.ServerSocket createServerSocket(int) throws java.io.IOException; 19352 method public abstract java.net.ServerSocket createServerSocket(int, int) throws java.io.IOException; 19353 method public abstract java.net.ServerSocket createServerSocket(int, int, java.net.InetAddress) throws java.io.IOException; 19354 method public static javax.net.ServerSocketFactory getDefault(); 19355 } 19356 19357 public abstract class SocketFactory { 19358 ctor protected SocketFactory(); 19359 method public java.net.Socket createSocket() throws java.io.IOException; 19360 method public abstract java.net.Socket createSocket(String, int) throws java.io.IOException, java.net.UnknownHostException; 19361 method public abstract java.net.Socket createSocket(String, int, java.net.InetAddress, int) throws java.io.IOException, java.net.UnknownHostException; 19362 method public abstract java.net.Socket createSocket(java.net.InetAddress, int) throws java.io.IOException; 19363 method public abstract java.net.Socket createSocket(java.net.InetAddress, int, java.net.InetAddress, int) throws java.io.IOException; 19364 method public static javax.net.SocketFactory getDefault(); 19365 } 19366 19367} 19368 19369package javax.net.ssl { 19370 19371 public class CertPathTrustManagerParameters implements javax.net.ssl.ManagerFactoryParameters { 19372 ctor public CertPathTrustManagerParameters(java.security.cert.CertPathParameters); 19373 method public java.security.cert.CertPathParameters getParameters(); 19374 } 19375 19376 public abstract class ExtendedSSLSession implements javax.net.ssl.SSLSession { 19377 ctor public ExtendedSSLSession(); 19378 method public abstract String[] getLocalSupportedSignatureAlgorithms(); 19379 method public abstract String[] getPeerSupportedSignatureAlgorithms(); 19380 method public java.util.List<javax.net.ssl.SNIServerName> getRequestedServerNames(); 19381 } 19382 19383 public class HandshakeCompletedEvent extends java.util.EventObject { 19384 ctor public HandshakeCompletedEvent(javax.net.ssl.SSLSocket, javax.net.ssl.SSLSession); 19385 method public String getCipherSuite(); 19386 method public java.security.cert.Certificate[] getLocalCertificates(); 19387 method public java.security.Principal getLocalPrincipal(); 19388 method public javax.security.cert.X509Certificate[] getPeerCertificateChain() throws javax.net.ssl.SSLPeerUnverifiedException; 19389 method public java.security.cert.Certificate[] getPeerCertificates() throws javax.net.ssl.SSLPeerUnverifiedException; 19390 method public java.security.Principal getPeerPrincipal() throws javax.net.ssl.SSLPeerUnverifiedException; 19391 method public javax.net.ssl.SSLSession getSession(); 19392 method public javax.net.ssl.SSLSocket getSocket(); 19393 } 19394 19395 public interface HandshakeCompletedListener extends java.util.EventListener { 19396 method public void handshakeCompleted(javax.net.ssl.HandshakeCompletedEvent); 19397 } 19398 19399 public interface HostnameVerifier { 19400 method public boolean verify(String, javax.net.ssl.SSLSession); 19401 } 19402 19403 public abstract class HttpsURLConnection extends java.net.HttpURLConnection { 19404 ctor protected HttpsURLConnection(java.net.URL); 19405 method public abstract String getCipherSuite(); 19406 method public static javax.net.ssl.HostnameVerifier getDefaultHostnameVerifier(); 19407 method public static javax.net.ssl.SSLSocketFactory getDefaultSSLSocketFactory(); 19408 method public javax.net.ssl.HostnameVerifier getHostnameVerifier(); 19409 method public abstract java.security.cert.Certificate[] getLocalCertificates(); 19410 method public java.security.Principal getLocalPrincipal(); 19411 method public java.security.Principal getPeerPrincipal() throws javax.net.ssl.SSLPeerUnverifiedException; 19412 method public javax.net.ssl.SSLSocketFactory getSSLSocketFactory(); 19413 method public abstract java.security.cert.Certificate[] getServerCertificates() throws javax.net.ssl.SSLPeerUnverifiedException; 19414 method public static void setDefaultHostnameVerifier(javax.net.ssl.HostnameVerifier); 19415 method public static void setDefaultSSLSocketFactory(javax.net.ssl.SSLSocketFactory); 19416 method public void setHostnameVerifier(javax.net.ssl.HostnameVerifier); 19417 method public void setSSLSocketFactory(javax.net.ssl.SSLSocketFactory); 19418 field protected javax.net.ssl.HostnameVerifier hostnameVerifier; 19419 } 19420 19421 public interface KeyManager { 19422 } 19423 19424 public class KeyManagerFactory { 19425 ctor protected KeyManagerFactory(javax.net.ssl.KeyManagerFactorySpi, java.security.Provider, String); 19426 method public final String getAlgorithm(); 19427 method public static final String getDefaultAlgorithm(); 19428 method public static final javax.net.ssl.KeyManagerFactory getInstance(String) throws java.security.NoSuchAlgorithmException; 19429 method public static final javax.net.ssl.KeyManagerFactory getInstance(String, String) throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException; 19430 method public static final javax.net.ssl.KeyManagerFactory getInstance(String, java.security.Provider) throws java.security.NoSuchAlgorithmException; 19431 method public final javax.net.ssl.KeyManager[] getKeyManagers(); 19432 method public final java.security.Provider getProvider(); 19433 method public final void init(java.security.KeyStore, char[]) throws java.security.KeyStoreException, java.security.NoSuchAlgorithmException, java.security.UnrecoverableKeyException; 19434 method public final void init(javax.net.ssl.ManagerFactoryParameters) throws java.security.InvalidAlgorithmParameterException; 19435 } 19436 19437 public abstract class KeyManagerFactorySpi { 19438 ctor public KeyManagerFactorySpi(); 19439 method protected abstract javax.net.ssl.KeyManager[] engineGetKeyManagers(); 19440 method protected abstract void engineInit(java.security.KeyStore, char[]) throws java.security.KeyStoreException, java.security.NoSuchAlgorithmException, java.security.UnrecoverableKeyException; 19441 method protected abstract void engineInit(javax.net.ssl.ManagerFactoryParameters) throws java.security.InvalidAlgorithmParameterException; 19442 } 19443 19444 public class KeyStoreBuilderParameters implements javax.net.ssl.ManagerFactoryParameters { 19445 ctor public KeyStoreBuilderParameters(java.security.KeyStore.Builder); 19446 ctor public KeyStoreBuilderParameters(java.util.List<java.security.KeyStore.Builder>); 19447 method public java.util.List<java.security.KeyStore.Builder> getParameters(); 19448 } 19449 19450 public interface ManagerFactoryParameters { 19451 } 19452 19453 public final class SNIHostName extends javax.net.ssl.SNIServerName { 19454 ctor public SNIHostName(String); 19455 ctor public SNIHostName(byte[]); 19456 method public static javax.net.ssl.SNIMatcher createSNIMatcher(String); 19457 method public String getAsciiName(); 19458 } 19459 19460 public abstract class SNIMatcher { 19461 ctor protected SNIMatcher(int); 19462 method public final int getType(); 19463 method public abstract boolean matches(javax.net.ssl.SNIServerName); 19464 } 19465 19466 public abstract class SNIServerName { 19467 ctor protected SNIServerName(int, byte[]); 19468 method public final byte[] getEncoded(); 19469 method public final int getType(); 19470 } 19471 19472 public class SSLContext { 19473 ctor protected SSLContext(javax.net.ssl.SSLContextSpi, java.security.Provider, String); 19474 method public final javax.net.ssl.SSLEngine createSSLEngine(); 19475 method public final javax.net.ssl.SSLEngine createSSLEngine(String, int); 19476 method public final javax.net.ssl.SSLSessionContext getClientSessionContext(); 19477 method public static javax.net.ssl.SSLContext getDefault() throws java.security.NoSuchAlgorithmException; 19478 method public final javax.net.ssl.SSLParameters getDefaultSSLParameters(); 19479 method public static javax.net.ssl.SSLContext getInstance(String) throws java.security.NoSuchAlgorithmException; 19480 method public static javax.net.ssl.SSLContext getInstance(String, String) throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException; 19481 method public static javax.net.ssl.SSLContext getInstance(String, java.security.Provider) throws java.security.NoSuchAlgorithmException; 19482 method public final String getProtocol(); 19483 method public final java.security.Provider getProvider(); 19484 method public final javax.net.ssl.SSLSessionContext getServerSessionContext(); 19485 method public final javax.net.ssl.SSLServerSocketFactory getServerSocketFactory(); 19486 method public final javax.net.ssl.SSLSocketFactory getSocketFactory(); 19487 method public final javax.net.ssl.SSLParameters getSupportedSSLParameters(); 19488 method public final void init(javax.net.ssl.KeyManager[], javax.net.ssl.TrustManager[], java.security.SecureRandom) throws java.security.KeyManagementException; 19489 method public static void setDefault(javax.net.ssl.SSLContext); 19490 } 19491 19492 public abstract class SSLContextSpi { 19493 ctor public SSLContextSpi(); 19494 method protected abstract javax.net.ssl.SSLEngine engineCreateSSLEngine(); 19495 method protected abstract javax.net.ssl.SSLEngine engineCreateSSLEngine(String, int); 19496 method protected abstract javax.net.ssl.SSLSessionContext engineGetClientSessionContext(); 19497 method protected javax.net.ssl.SSLParameters engineGetDefaultSSLParameters(); 19498 method protected abstract javax.net.ssl.SSLSessionContext engineGetServerSessionContext(); 19499 method protected abstract javax.net.ssl.SSLServerSocketFactory engineGetServerSocketFactory(); 19500 method protected abstract javax.net.ssl.SSLSocketFactory engineGetSocketFactory(); 19501 method protected javax.net.ssl.SSLParameters engineGetSupportedSSLParameters(); 19502 method protected abstract void engineInit(javax.net.ssl.KeyManager[], javax.net.ssl.TrustManager[], java.security.SecureRandom) throws java.security.KeyManagementException; 19503 } 19504 19505 public abstract class SSLEngine { 19506 ctor protected SSLEngine(); 19507 ctor protected SSLEngine(String, int); 19508 method public abstract void beginHandshake() throws javax.net.ssl.SSLException; 19509 method public abstract void closeInbound() throws javax.net.ssl.SSLException; 19510 method public abstract void closeOutbound(); 19511 method public String getApplicationProtocol(); 19512 method public abstract Runnable getDelegatedTask(); 19513 method public abstract boolean getEnableSessionCreation(); 19514 method public abstract String[] getEnabledCipherSuites(); 19515 method public abstract String[] getEnabledProtocols(); 19516 method public String getHandshakeApplicationProtocol(); 19517 method public java.util.function.BiFunction<javax.net.ssl.SSLEngine,java.util.List<java.lang.String>,java.lang.String> getHandshakeApplicationProtocolSelector(); 19518 method public javax.net.ssl.SSLSession getHandshakeSession(); 19519 method public abstract javax.net.ssl.SSLEngineResult.HandshakeStatus getHandshakeStatus(); 19520 method public abstract boolean getNeedClientAuth(); 19521 method public String getPeerHost(); 19522 method public int getPeerPort(); 19523 method public javax.net.ssl.SSLParameters getSSLParameters(); 19524 method public abstract javax.net.ssl.SSLSession getSession(); 19525 method public abstract String[] getSupportedCipherSuites(); 19526 method public abstract String[] getSupportedProtocols(); 19527 method public abstract boolean getUseClientMode(); 19528 method public abstract boolean getWantClientAuth(); 19529 method public abstract boolean isInboundDone(); 19530 method public abstract boolean isOutboundDone(); 19531 method public abstract void setEnableSessionCreation(boolean); 19532 method public abstract void setEnabledCipherSuites(String[]); 19533 method public abstract void setEnabledProtocols(String[]); 19534 method public void setHandshakeApplicationProtocolSelector(java.util.function.BiFunction<javax.net.ssl.SSLEngine,java.util.List<java.lang.String>,java.lang.String>); 19535 method public abstract void setNeedClientAuth(boolean); 19536 method public void setSSLParameters(javax.net.ssl.SSLParameters); 19537 method public abstract void setUseClientMode(boolean); 19538 method public abstract void setWantClientAuth(boolean); 19539 method public javax.net.ssl.SSLEngineResult unwrap(java.nio.ByteBuffer, java.nio.ByteBuffer) throws javax.net.ssl.SSLException; 19540 method public javax.net.ssl.SSLEngineResult unwrap(java.nio.ByteBuffer, java.nio.ByteBuffer[]) throws javax.net.ssl.SSLException; 19541 method public abstract javax.net.ssl.SSLEngineResult unwrap(java.nio.ByteBuffer, java.nio.ByteBuffer[], int, int) throws javax.net.ssl.SSLException; 19542 method public javax.net.ssl.SSLEngineResult wrap(java.nio.ByteBuffer, java.nio.ByteBuffer) throws javax.net.ssl.SSLException; 19543 method public javax.net.ssl.SSLEngineResult wrap(java.nio.ByteBuffer[], java.nio.ByteBuffer) throws javax.net.ssl.SSLException; 19544 method public abstract javax.net.ssl.SSLEngineResult wrap(java.nio.ByteBuffer[], int, int, java.nio.ByteBuffer) throws javax.net.ssl.SSLException; 19545 } 19546 19547 public class SSLEngineResult { 19548 ctor public SSLEngineResult(javax.net.ssl.SSLEngineResult.Status, javax.net.ssl.SSLEngineResult.HandshakeStatus, int, int); 19549 method public final int bytesConsumed(); 19550 method public final int bytesProduced(); 19551 method public final javax.net.ssl.SSLEngineResult.HandshakeStatus getHandshakeStatus(); 19552 method public final javax.net.ssl.SSLEngineResult.Status getStatus(); 19553 } 19554 19555 public enum SSLEngineResult.HandshakeStatus { 19556 enum_constant public static final javax.net.ssl.SSLEngineResult.HandshakeStatus FINISHED; 19557 enum_constant public static final javax.net.ssl.SSLEngineResult.HandshakeStatus NEED_TASK; 19558 enum_constant public static final javax.net.ssl.SSLEngineResult.HandshakeStatus NEED_UNWRAP; 19559 enum_constant public static final javax.net.ssl.SSLEngineResult.HandshakeStatus NEED_WRAP; 19560 enum_constant public static final javax.net.ssl.SSLEngineResult.HandshakeStatus NOT_HANDSHAKING; 19561 } 19562 19563 public enum SSLEngineResult.Status { 19564 enum_constant public static final javax.net.ssl.SSLEngineResult.Status BUFFER_OVERFLOW; 19565 enum_constant public static final javax.net.ssl.SSLEngineResult.Status BUFFER_UNDERFLOW; 19566 enum_constant public static final javax.net.ssl.SSLEngineResult.Status CLOSED; 19567 enum_constant public static final javax.net.ssl.SSLEngineResult.Status OK; 19568 } 19569 19570 public class SSLException extends java.io.IOException { 19571 ctor public SSLException(String); 19572 ctor public SSLException(String, Throwable); 19573 ctor public SSLException(Throwable); 19574 } 19575 19576 public class SSLHandshakeException extends javax.net.ssl.SSLException { 19577 ctor public SSLHandshakeException(String); 19578 } 19579 19580 public class SSLKeyException extends javax.net.ssl.SSLException { 19581 ctor public SSLKeyException(String); 19582 } 19583 19584 public class SSLParameters { 19585 ctor public SSLParameters(); 19586 ctor public SSLParameters(String[]); 19587 ctor public SSLParameters(String[], String[]); 19588 method public java.security.AlgorithmConstraints getAlgorithmConstraints(); 19589 method public String[] getApplicationProtocols(); 19590 method public String[] getCipherSuites(); 19591 method public String getEndpointIdentificationAlgorithm(); 19592 method public boolean getNeedClientAuth(); 19593 method public String[] getProtocols(); 19594 method public final java.util.Collection<javax.net.ssl.SNIMatcher> getSNIMatchers(); 19595 method public final java.util.List<javax.net.ssl.SNIServerName> getServerNames(); 19596 method public final boolean getUseCipherSuitesOrder(); 19597 method public boolean getWantClientAuth(); 19598 method public void setAlgorithmConstraints(java.security.AlgorithmConstraints); 19599 method public void setApplicationProtocols(String[]); 19600 method public void setCipherSuites(String[]); 19601 method public void setEndpointIdentificationAlgorithm(String); 19602 method public void setNeedClientAuth(boolean); 19603 method public void setProtocols(String[]); 19604 method public final void setSNIMatchers(java.util.Collection<javax.net.ssl.SNIMatcher>); 19605 method public final void setServerNames(java.util.List<javax.net.ssl.SNIServerName>); 19606 method public final void setUseCipherSuitesOrder(boolean); 19607 method public void setWantClientAuth(boolean); 19608 } 19609 19610 public class SSLPeerUnverifiedException extends javax.net.ssl.SSLException { 19611 ctor public SSLPeerUnverifiedException(String); 19612 } 19613 19614 public final class SSLPermission extends java.security.BasicPermission { 19615 ctor public SSLPermission(String); 19616 ctor public SSLPermission(String, String); 19617 } 19618 19619 public class SSLProtocolException extends javax.net.ssl.SSLException { 19620 ctor public SSLProtocolException(String); 19621 } 19622 19623 public abstract class SSLServerSocket extends java.net.ServerSocket { 19624 ctor protected SSLServerSocket() throws java.io.IOException; 19625 ctor protected SSLServerSocket(int) throws java.io.IOException; 19626 ctor protected SSLServerSocket(int, int) throws java.io.IOException; 19627 ctor protected SSLServerSocket(int, int, java.net.InetAddress) throws java.io.IOException; 19628 method public abstract boolean getEnableSessionCreation(); 19629 method public abstract String[] getEnabledCipherSuites(); 19630 method public abstract String[] getEnabledProtocols(); 19631 method public abstract boolean getNeedClientAuth(); 19632 method public javax.net.ssl.SSLParameters getSSLParameters(); 19633 method public abstract String[] getSupportedCipherSuites(); 19634 method public abstract String[] getSupportedProtocols(); 19635 method public abstract boolean getUseClientMode(); 19636 method public abstract boolean getWantClientAuth(); 19637 method public abstract void setEnableSessionCreation(boolean); 19638 method public abstract void setEnabledCipherSuites(String[]); 19639 method public abstract void setEnabledProtocols(String[]); 19640 method public abstract void setNeedClientAuth(boolean); 19641 method public void setSSLParameters(javax.net.ssl.SSLParameters); 19642 method public abstract void setUseClientMode(boolean); 19643 method public abstract void setWantClientAuth(boolean); 19644 } 19645 19646 public abstract class SSLServerSocketFactory extends javax.net.ServerSocketFactory { 19647 ctor protected SSLServerSocketFactory(); 19648 method public static javax.net.ServerSocketFactory getDefault(); 19649 method public abstract String[] getDefaultCipherSuites(); 19650 method public abstract String[] getSupportedCipherSuites(); 19651 } 19652 19653 public interface SSLSession { 19654 method public int getApplicationBufferSize(); 19655 method public String getCipherSuite(); 19656 method public long getCreationTime(); 19657 method public byte[] getId(); 19658 method public long getLastAccessedTime(); 19659 method public java.security.cert.Certificate[] getLocalCertificates(); 19660 method public java.security.Principal getLocalPrincipal(); 19661 method public int getPacketBufferSize(); 19662 method public javax.security.cert.X509Certificate[] getPeerCertificateChain() throws javax.net.ssl.SSLPeerUnverifiedException; 19663 method public java.security.cert.Certificate[] getPeerCertificates() throws javax.net.ssl.SSLPeerUnverifiedException; 19664 method public String getPeerHost(); 19665 method public int getPeerPort(); 19666 method public java.security.Principal getPeerPrincipal() throws javax.net.ssl.SSLPeerUnverifiedException; 19667 method public String getProtocol(); 19668 method public javax.net.ssl.SSLSessionContext getSessionContext(); 19669 method public Object getValue(String); 19670 method public String[] getValueNames(); 19671 method public void invalidate(); 19672 method public boolean isValid(); 19673 method public void putValue(String, Object); 19674 method public void removeValue(String); 19675 } 19676 19677 public class SSLSessionBindingEvent extends java.util.EventObject { 19678 ctor public SSLSessionBindingEvent(javax.net.ssl.SSLSession, String); 19679 method public String getName(); 19680 method public javax.net.ssl.SSLSession getSession(); 19681 } 19682 19683 public interface SSLSessionBindingListener extends java.util.EventListener { 19684 method public void valueBound(javax.net.ssl.SSLSessionBindingEvent); 19685 method public void valueUnbound(javax.net.ssl.SSLSessionBindingEvent); 19686 } 19687 19688 public interface SSLSessionContext { 19689 method public java.util.Enumeration<byte[]> getIds(); 19690 method public javax.net.ssl.SSLSession getSession(byte[]); 19691 method public int getSessionCacheSize(); 19692 method public int getSessionTimeout(); 19693 method public void setSessionCacheSize(int) throws java.lang.IllegalArgumentException; 19694 method public void setSessionTimeout(int) throws java.lang.IllegalArgumentException; 19695 } 19696 19697 public abstract class SSLSocket extends java.net.Socket { 19698 ctor protected SSLSocket(); 19699 ctor protected SSLSocket(String, int) throws java.io.IOException, java.net.UnknownHostException; 19700 ctor protected SSLSocket(java.net.InetAddress, int) throws java.io.IOException; 19701 ctor protected SSLSocket(String, int, java.net.InetAddress, int) throws java.io.IOException, java.net.UnknownHostException; 19702 ctor protected SSLSocket(java.net.InetAddress, int, java.net.InetAddress, int) throws java.io.IOException; 19703 method public abstract void addHandshakeCompletedListener(javax.net.ssl.HandshakeCompletedListener); 19704 method public String getApplicationProtocol(); 19705 method public abstract boolean getEnableSessionCreation(); 19706 method public abstract String[] getEnabledCipherSuites(); 19707 method public abstract String[] getEnabledProtocols(); 19708 method public String getHandshakeApplicationProtocol(); 19709 method public java.util.function.BiFunction<javax.net.ssl.SSLSocket,java.util.List<java.lang.String>,java.lang.String> getHandshakeApplicationProtocolSelector(); 19710 method public javax.net.ssl.SSLSession getHandshakeSession(); 19711 method public abstract boolean getNeedClientAuth(); 19712 method public javax.net.ssl.SSLParameters getSSLParameters(); 19713 method public abstract javax.net.ssl.SSLSession getSession(); 19714 method public abstract String[] getSupportedCipherSuites(); 19715 method public abstract String[] getSupportedProtocols(); 19716 method public abstract boolean getUseClientMode(); 19717 method public abstract boolean getWantClientAuth(); 19718 method public abstract void removeHandshakeCompletedListener(javax.net.ssl.HandshakeCompletedListener); 19719 method public abstract void setEnableSessionCreation(boolean); 19720 method public abstract void setEnabledCipherSuites(String[]); 19721 method public abstract void setEnabledProtocols(String[]); 19722 method public void setHandshakeApplicationProtocolSelector(java.util.function.BiFunction<javax.net.ssl.SSLSocket,java.util.List<java.lang.String>,java.lang.String>); 19723 method public abstract void setNeedClientAuth(boolean); 19724 method public void setSSLParameters(javax.net.ssl.SSLParameters); 19725 method public abstract void setUseClientMode(boolean); 19726 method public abstract void setWantClientAuth(boolean); 19727 method public abstract void startHandshake() throws java.io.IOException; 19728 } 19729 19730 public abstract class SSLSocketFactory extends javax.net.SocketFactory { 19731 ctor public SSLSocketFactory(); 19732 method public abstract java.net.Socket createSocket(java.net.Socket, String, int, boolean) throws java.io.IOException; 19733 method public static javax.net.SocketFactory getDefault(); 19734 method public abstract String[] getDefaultCipherSuites(); 19735 method public abstract String[] getSupportedCipherSuites(); 19736 } 19737 19738 public final class StandardConstants { 19739 field public static final int SNI_HOST_NAME = 0; // 0x0 19740 } 19741 19742 public interface TrustManager { 19743 } 19744 19745 public class TrustManagerFactory { 19746 ctor protected TrustManagerFactory(javax.net.ssl.TrustManagerFactorySpi, java.security.Provider, String); 19747 method public final String getAlgorithm(); 19748 method public static final String getDefaultAlgorithm(); 19749 method public static final javax.net.ssl.TrustManagerFactory getInstance(String) throws java.security.NoSuchAlgorithmException; 19750 method public static final javax.net.ssl.TrustManagerFactory getInstance(String, String) throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException; 19751 method public static final javax.net.ssl.TrustManagerFactory getInstance(String, java.security.Provider) throws java.security.NoSuchAlgorithmException; 19752 method public final java.security.Provider getProvider(); 19753 method public final javax.net.ssl.TrustManager[] getTrustManagers(); 19754 method public final void init(java.security.KeyStore) throws java.security.KeyStoreException; 19755 method public final void init(javax.net.ssl.ManagerFactoryParameters) throws java.security.InvalidAlgorithmParameterException; 19756 } 19757 19758 public abstract class TrustManagerFactorySpi { 19759 ctor public TrustManagerFactorySpi(); 19760 method protected abstract javax.net.ssl.TrustManager[] engineGetTrustManagers(); 19761 method protected abstract void engineInit(java.security.KeyStore) throws java.security.KeyStoreException; 19762 method protected abstract void engineInit(javax.net.ssl.ManagerFactoryParameters) throws java.security.InvalidAlgorithmParameterException; 19763 } 19764 19765 public abstract class X509ExtendedKeyManager implements javax.net.ssl.X509KeyManager { 19766 ctor protected X509ExtendedKeyManager(); 19767 method public String chooseEngineClientAlias(String[], java.security.Principal[], javax.net.ssl.SSLEngine); 19768 method public String chooseEngineServerAlias(String, java.security.Principal[], javax.net.ssl.SSLEngine); 19769 } 19770 19771 public abstract class X509ExtendedTrustManager implements javax.net.ssl.X509TrustManager { 19772 ctor public X509ExtendedTrustManager(); 19773 method public abstract void checkClientTrusted(java.security.cert.X509Certificate[], String, java.net.Socket) throws java.security.cert.CertificateException; 19774 method public abstract void checkClientTrusted(java.security.cert.X509Certificate[], String, javax.net.ssl.SSLEngine) throws java.security.cert.CertificateException; 19775 method public abstract void checkServerTrusted(java.security.cert.X509Certificate[], String, java.net.Socket) throws java.security.cert.CertificateException; 19776 method public abstract void checkServerTrusted(java.security.cert.X509Certificate[], String, javax.net.ssl.SSLEngine) throws java.security.cert.CertificateException; 19777 } 19778 19779 public interface X509KeyManager extends javax.net.ssl.KeyManager { 19780 method public String chooseClientAlias(String[], java.security.Principal[], java.net.Socket); 19781 method public String chooseServerAlias(String, java.security.Principal[], java.net.Socket); 19782 method public java.security.cert.X509Certificate[] getCertificateChain(String); 19783 method public String[] getClientAliases(String, java.security.Principal[]); 19784 method public java.security.PrivateKey getPrivateKey(String); 19785 method public String[] getServerAliases(String, java.security.Principal[]); 19786 } 19787 19788 public interface X509TrustManager extends javax.net.ssl.TrustManager { 19789 method public void checkClientTrusted(java.security.cert.X509Certificate[], String) throws java.security.cert.CertificateException; 19790 method public void checkServerTrusted(java.security.cert.X509Certificate[], String) throws java.security.cert.CertificateException; 19791 method public java.security.cert.X509Certificate[] getAcceptedIssuers(); 19792 } 19793 19794} 19795 19796package javax.security.auth { 19797 19798 public final class AuthPermission extends java.security.BasicPermission { 19799 ctor public AuthPermission(String); 19800 ctor public AuthPermission(String, String); 19801 } 19802 19803 public class DestroyFailedException extends java.lang.Exception { 19804 ctor public DestroyFailedException(); 19805 ctor public DestroyFailedException(String); 19806 } 19807 19808 public interface Destroyable { 19809 method public default void destroy() throws javax.security.auth.DestroyFailedException; 19810 method public default boolean isDestroyed(); 19811 } 19812 19813 public final class PrivateCredentialPermission extends java.security.Permission { 19814 ctor public PrivateCredentialPermission(String, String); 19815 method public String getActions(); 19816 method public String getCredentialClass(); 19817 method public String[][] getPrincipals(); 19818 method public boolean implies(java.security.Permission); 19819 } 19820 19821 public final class Subject implements java.io.Serializable { 19822 ctor public Subject(); 19823 ctor public Subject(boolean, java.util.Set<? extends java.security.Principal>, java.util.Set<?>, java.util.Set<?>); 19824 method public static <T> T doAs(javax.security.auth.Subject, java.security.PrivilegedAction<T>); 19825 method public static <T> T doAs(javax.security.auth.Subject, java.security.PrivilegedExceptionAction<T>) throws java.security.PrivilegedActionException; 19826 method public static <T> T doAsPrivileged(javax.security.auth.Subject, java.security.PrivilegedAction<T>, java.security.AccessControlContext); 19827 method public static <T> T doAsPrivileged(javax.security.auth.Subject, java.security.PrivilegedExceptionAction<T>, java.security.AccessControlContext) throws java.security.PrivilegedActionException; 19828 method public java.util.Set<java.security.Principal> getPrincipals(); 19829 method public <T extends java.security.Principal> java.util.Set<T> getPrincipals(Class<T>); 19830 method public java.util.Set<java.lang.Object> getPrivateCredentials(); 19831 method public <T> java.util.Set<T> getPrivateCredentials(Class<T>); 19832 method public java.util.Set<java.lang.Object> getPublicCredentials(); 19833 method public <T> java.util.Set<T> getPublicCredentials(Class<T>); 19834 method public static javax.security.auth.Subject getSubject(java.security.AccessControlContext); 19835 method public boolean isReadOnly(); 19836 method public void setReadOnly(); 19837 } 19838 19839 public class SubjectDomainCombiner implements java.security.DomainCombiner { 19840 ctor public SubjectDomainCombiner(javax.security.auth.Subject); 19841 method public java.security.ProtectionDomain[] combine(java.security.ProtectionDomain[], java.security.ProtectionDomain[]); 19842 method public javax.security.auth.Subject getSubject(); 19843 } 19844 19845} 19846 19847package javax.security.auth.callback { 19848 19849 public interface Callback { 19850 } 19851 19852 public interface CallbackHandler { 19853 method public void handle(javax.security.auth.callback.Callback[]) throws java.io.IOException, javax.security.auth.callback.UnsupportedCallbackException; 19854 } 19855 19856 public class PasswordCallback implements javax.security.auth.callback.Callback java.io.Serializable { 19857 ctor public PasswordCallback(String, boolean); 19858 method public void clearPassword(); 19859 method public char[] getPassword(); 19860 method public String getPrompt(); 19861 method public boolean isEchoOn(); 19862 method public void setPassword(char[]); 19863 } 19864 19865 public class UnsupportedCallbackException extends java.lang.Exception { 19866 ctor public UnsupportedCallbackException(javax.security.auth.callback.Callback); 19867 ctor public UnsupportedCallbackException(javax.security.auth.callback.Callback, String); 19868 method public javax.security.auth.callback.Callback getCallback(); 19869 } 19870 19871} 19872 19873package javax.security.auth.login { 19874 19875 public class LoginException extends java.security.GeneralSecurityException { 19876 ctor public LoginException(); 19877 ctor public LoginException(String); 19878 } 19879 19880} 19881 19882package javax.security.auth.x500 { 19883 19884 public final class X500Principal implements java.security.Principal java.io.Serializable { 19885 ctor public X500Principal(String); 19886 ctor public X500Principal(String, java.util.Map<java.lang.String,java.lang.String>); 19887 ctor public X500Principal(byte[]); 19888 ctor public X500Principal(java.io.InputStream); 19889 method public boolean equals(Object); 19890 method public byte[] getEncoded(); 19891 method public String getName(); 19892 method public String getName(String); 19893 method public String getName(String, java.util.Map<java.lang.String,java.lang.String>); 19894 method public int hashCode(); 19895 method public String toString(); 19896 field public static final String CANONICAL = "CANONICAL"; 19897 field public static final String RFC1779 = "RFC1779"; 19898 field public static final String RFC2253 = "RFC2253"; 19899 } 19900 19901 @FlaggedApi("com.android.libcore.v_apis") public final class X500PrivateCredential implements javax.security.auth.Destroyable { 19902 ctor public X500PrivateCredential(java.security.cert.X509Certificate, java.security.PrivateKey); 19903 ctor public X500PrivateCredential(java.security.cert.X509Certificate, java.security.PrivateKey, String); 19904 method public void destroy(); 19905 method public String getAlias(); 19906 method public java.security.cert.X509Certificate getCertificate(); 19907 method public java.security.PrivateKey getPrivateKey(); 19908 method public boolean isDestroyed(); 19909 } 19910 19911} 19912 19913package javax.security.cert { 19914 19915 public abstract class Certificate { 19916 ctor public Certificate(); 19917 method public abstract byte[] getEncoded() throws javax.security.cert.CertificateEncodingException; 19918 method public abstract java.security.PublicKey getPublicKey(); 19919 method public abstract String toString(); 19920 method public abstract void verify(java.security.PublicKey) throws javax.security.cert.CertificateException, java.security.InvalidKeyException, java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException, java.security.SignatureException; 19921 method public abstract void verify(java.security.PublicKey, String) throws javax.security.cert.CertificateException, java.security.InvalidKeyException, java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException, java.security.SignatureException; 19922 } 19923 19924 public class CertificateEncodingException extends javax.security.cert.CertificateException { 19925 ctor public CertificateEncodingException(); 19926 ctor public CertificateEncodingException(String); 19927 } 19928 19929 public class CertificateException extends java.lang.Exception { 19930 ctor public CertificateException(); 19931 ctor public CertificateException(String); 19932 } 19933 19934 public class CertificateExpiredException extends javax.security.cert.CertificateException { 19935 ctor public CertificateExpiredException(); 19936 ctor public CertificateExpiredException(String); 19937 } 19938 19939 public class CertificateNotYetValidException extends javax.security.cert.CertificateException { 19940 ctor public CertificateNotYetValidException(); 19941 ctor public CertificateNotYetValidException(String); 19942 } 19943 19944 public class CertificateParsingException extends javax.security.cert.CertificateException { 19945 ctor public CertificateParsingException(); 19946 ctor public CertificateParsingException(String); 19947 } 19948 19949 public abstract class X509Certificate extends javax.security.cert.Certificate { 19950 ctor public X509Certificate(); 19951 method public abstract void checkValidity() throws javax.security.cert.CertificateExpiredException, javax.security.cert.CertificateNotYetValidException; 19952 method public abstract void checkValidity(java.util.Date) throws javax.security.cert.CertificateExpiredException, javax.security.cert.CertificateNotYetValidException; 19953 method public static final javax.security.cert.X509Certificate getInstance(java.io.InputStream) throws javax.security.cert.CertificateException; 19954 method public static final javax.security.cert.X509Certificate getInstance(byte[]) throws javax.security.cert.CertificateException; 19955 method public abstract java.security.Principal getIssuerDN(); 19956 method public abstract java.util.Date getNotAfter(); 19957 method public abstract java.util.Date getNotBefore(); 19958 method public abstract java.math.BigInteger getSerialNumber(); 19959 method public abstract String getSigAlgName(); 19960 method public abstract String getSigAlgOID(); 19961 method public abstract byte[] getSigAlgParams(); 19962 method public abstract java.security.Principal getSubjectDN(); 19963 method public abstract int getVersion(); 19964 } 19965 19966} 19967 19968package javax.sql { 19969 19970 public interface CommonDataSource { 19971 method public java.io.PrintWriter getLogWriter() throws java.sql.SQLException; 19972 method public int getLoginTimeout() throws java.sql.SQLException; 19973 method public java.util.logging.Logger getParentLogger() throws java.sql.SQLFeatureNotSupportedException; 19974 method public void setLogWriter(java.io.PrintWriter) throws java.sql.SQLException; 19975 method public void setLoginTimeout(int) throws java.sql.SQLException; 19976 } 19977 19978 public class ConnectionEvent extends java.util.EventObject { 19979 ctor public ConnectionEvent(javax.sql.PooledConnection); 19980 ctor public ConnectionEvent(javax.sql.PooledConnection, java.sql.SQLException); 19981 method public java.sql.SQLException getSQLException(); 19982 } 19983 19984 public interface ConnectionEventListener extends java.util.EventListener { 19985 method public void connectionClosed(javax.sql.ConnectionEvent); 19986 method public void connectionErrorOccurred(javax.sql.ConnectionEvent); 19987 } 19988 19989 public interface ConnectionPoolDataSource extends javax.sql.CommonDataSource { 19990 method public javax.sql.PooledConnection getPooledConnection() throws java.sql.SQLException; 19991 method public javax.sql.PooledConnection getPooledConnection(String, String) throws java.sql.SQLException; 19992 } 19993 19994 public interface DataSource extends javax.sql.CommonDataSource java.sql.Wrapper { 19995 method public java.sql.Connection getConnection() throws java.sql.SQLException; 19996 method public java.sql.Connection getConnection(String, String) throws java.sql.SQLException; 19997 } 19998 19999 public interface PooledConnection { 20000 method public void addConnectionEventListener(javax.sql.ConnectionEventListener); 20001 method public void addStatementEventListener(javax.sql.StatementEventListener); 20002 method public void close() throws java.sql.SQLException; 20003 method public java.sql.Connection getConnection() throws java.sql.SQLException; 20004 method public void removeConnectionEventListener(javax.sql.ConnectionEventListener); 20005 method public void removeStatementEventListener(javax.sql.StatementEventListener); 20006 } 20007 20008 public interface RowSet extends java.sql.ResultSet { 20009 method public void addRowSetListener(javax.sql.RowSetListener); 20010 method public void clearParameters() throws java.sql.SQLException; 20011 method public void execute() throws java.sql.SQLException; 20012 method public String getCommand(); 20013 method public String getDataSourceName(); 20014 method public boolean getEscapeProcessing() throws java.sql.SQLException; 20015 method public int getMaxFieldSize() throws java.sql.SQLException; 20016 method public int getMaxRows() throws java.sql.SQLException; 20017 method public String getPassword(); 20018 method public int getQueryTimeout() throws java.sql.SQLException; 20019 method public int getTransactionIsolation(); 20020 method public java.util.Map<java.lang.String,java.lang.Class<?>> getTypeMap() throws java.sql.SQLException; 20021 method public String getUrl() throws java.sql.SQLException; 20022 method public String getUsername(); 20023 method public boolean isReadOnly(); 20024 method public void removeRowSetListener(javax.sql.RowSetListener); 20025 method public void setArray(int, java.sql.Array) throws java.sql.SQLException; 20026 method public void setAsciiStream(int, java.io.InputStream, int) throws java.sql.SQLException; 20027 method public void setAsciiStream(String, java.io.InputStream, int) throws java.sql.SQLException; 20028 method public void setAsciiStream(int, java.io.InputStream) throws java.sql.SQLException; 20029 method public void setAsciiStream(String, java.io.InputStream) throws java.sql.SQLException; 20030 method public void setBigDecimal(int, java.math.BigDecimal) throws java.sql.SQLException; 20031 method public void setBigDecimal(String, java.math.BigDecimal) throws java.sql.SQLException; 20032 method public void setBinaryStream(int, java.io.InputStream, int) throws java.sql.SQLException; 20033 method public void setBinaryStream(String, java.io.InputStream, int) throws java.sql.SQLException; 20034 method public void setBinaryStream(int, java.io.InputStream) throws java.sql.SQLException; 20035 method public void setBinaryStream(String, java.io.InputStream) throws java.sql.SQLException; 20036 method public void setBlob(int, java.sql.Blob) throws java.sql.SQLException; 20037 method public void setBlob(int, java.io.InputStream, long) throws java.sql.SQLException; 20038 method public void setBlob(int, java.io.InputStream) throws java.sql.SQLException; 20039 method public void setBlob(String, java.io.InputStream, long) throws java.sql.SQLException; 20040 method public void setBlob(String, java.sql.Blob) throws java.sql.SQLException; 20041 method public void setBlob(String, java.io.InputStream) throws java.sql.SQLException; 20042 method public void setBoolean(int, boolean) throws java.sql.SQLException; 20043 method public void setBoolean(String, boolean) throws java.sql.SQLException; 20044 method public void setByte(int, byte) throws java.sql.SQLException; 20045 method public void setByte(String, byte) throws java.sql.SQLException; 20046 method public void setBytes(int, byte[]) throws java.sql.SQLException; 20047 method public void setBytes(String, byte[]) throws java.sql.SQLException; 20048 method public void setCharacterStream(int, java.io.Reader, int) throws java.sql.SQLException; 20049 method public void setCharacterStream(String, java.io.Reader, int) throws java.sql.SQLException; 20050 method public void setCharacterStream(int, java.io.Reader) throws java.sql.SQLException; 20051 method public void setCharacterStream(String, java.io.Reader) throws java.sql.SQLException; 20052 method public void setClob(int, java.sql.Clob) throws java.sql.SQLException; 20053 method public void setClob(int, java.io.Reader, long) throws java.sql.SQLException; 20054 method public void setClob(int, java.io.Reader) throws java.sql.SQLException; 20055 method public void setClob(String, java.io.Reader, long) throws java.sql.SQLException; 20056 method public void setClob(String, java.sql.Clob) throws java.sql.SQLException; 20057 method public void setClob(String, java.io.Reader) throws java.sql.SQLException; 20058 method public void setCommand(String) throws java.sql.SQLException; 20059 method public void setConcurrency(int) throws java.sql.SQLException; 20060 method public void setDataSourceName(String) throws java.sql.SQLException; 20061 method public void setDate(int, java.sql.Date) throws java.sql.SQLException; 20062 method public void setDate(int, java.sql.Date, java.util.Calendar) throws java.sql.SQLException; 20063 method public void setDate(String, java.sql.Date) throws java.sql.SQLException; 20064 method public void setDate(String, java.sql.Date, java.util.Calendar) throws java.sql.SQLException; 20065 method public void setDouble(int, double) throws java.sql.SQLException; 20066 method public void setDouble(String, double) throws java.sql.SQLException; 20067 method public void setEscapeProcessing(boolean) throws java.sql.SQLException; 20068 method public void setFloat(int, float) throws java.sql.SQLException; 20069 method public void setFloat(String, float) throws java.sql.SQLException; 20070 method public void setInt(int, int) throws java.sql.SQLException; 20071 method public void setInt(String, int) throws java.sql.SQLException; 20072 method public void setLong(int, long) throws java.sql.SQLException; 20073 method public void setLong(String, long) throws java.sql.SQLException; 20074 method public void setMaxFieldSize(int) throws java.sql.SQLException; 20075 method public void setMaxRows(int) throws java.sql.SQLException; 20076 method public void setNCharacterStream(int, java.io.Reader) throws java.sql.SQLException; 20077 method public void setNCharacterStream(int, java.io.Reader, long) throws java.sql.SQLException; 20078 method public void setNCharacterStream(String, java.io.Reader, long) throws java.sql.SQLException; 20079 method public void setNCharacterStream(String, java.io.Reader) throws java.sql.SQLException; 20080 method public void setNClob(String, java.sql.NClob) throws java.sql.SQLException; 20081 method public void setNClob(String, java.io.Reader, long) throws java.sql.SQLException; 20082 method public void setNClob(String, java.io.Reader) throws java.sql.SQLException; 20083 method public void setNClob(int, java.io.Reader, long) throws java.sql.SQLException; 20084 method public void setNClob(int, java.sql.NClob) throws java.sql.SQLException; 20085 method public void setNClob(int, java.io.Reader) throws java.sql.SQLException; 20086 method public void setNString(int, String) throws java.sql.SQLException; 20087 method public void setNString(String, String) throws java.sql.SQLException; 20088 method public void setNull(int, int) throws java.sql.SQLException; 20089 method public void setNull(String, int) throws java.sql.SQLException; 20090 method public void setNull(int, int, String) throws java.sql.SQLException; 20091 method public void setNull(String, int, String) throws java.sql.SQLException; 20092 method public void setObject(int, Object, int, int) throws java.sql.SQLException; 20093 method public void setObject(String, Object, int, int) throws java.sql.SQLException; 20094 method public void setObject(int, Object, int) throws java.sql.SQLException; 20095 method public void setObject(String, Object, int) throws java.sql.SQLException; 20096 method public void setObject(String, Object) throws java.sql.SQLException; 20097 method public void setObject(int, Object) throws java.sql.SQLException; 20098 method public void setPassword(String) throws java.sql.SQLException; 20099 method public void setQueryTimeout(int) throws java.sql.SQLException; 20100 method public void setReadOnly(boolean) throws java.sql.SQLException; 20101 method public void setRef(int, java.sql.Ref) throws java.sql.SQLException; 20102 method public void setRowId(int, java.sql.RowId) throws java.sql.SQLException; 20103 method public void setRowId(String, java.sql.RowId) throws java.sql.SQLException; 20104 method public void setSQLXML(int, java.sql.SQLXML) throws java.sql.SQLException; 20105 method public void setSQLXML(String, java.sql.SQLXML) throws java.sql.SQLException; 20106 method public void setShort(int, short) throws java.sql.SQLException; 20107 method public void setShort(String, short) throws java.sql.SQLException; 20108 method public void setString(int, String) throws java.sql.SQLException; 20109 method public void setString(String, String) throws java.sql.SQLException; 20110 method public void setTime(int, java.sql.Time) throws java.sql.SQLException; 20111 method public void setTime(int, java.sql.Time, java.util.Calendar) throws java.sql.SQLException; 20112 method public void setTime(String, java.sql.Time) throws java.sql.SQLException; 20113 method public void setTime(String, java.sql.Time, java.util.Calendar) throws java.sql.SQLException; 20114 method public void setTimestamp(int, java.sql.Timestamp) throws java.sql.SQLException; 20115 method public void setTimestamp(String, java.sql.Timestamp) throws java.sql.SQLException; 20116 method public void setTimestamp(int, java.sql.Timestamp, java.util.Calendar) throws java.sql.SQLException; 20117 method public void setTimestamp(String, java.sql.Timestamp, java.util.Calendar) throws java.sql.SQLException; 20118 method public void setTransactionIsolation(int) throws java.sql.SQLException; 20119 method public void setType(int) throws java.sql.SQLException; 20120 method public void setTypeMap(java.util.Map<java.lang.String,java.lang.Class<?>>) throws java.sql.SQLException; 20121 method public void setURL(int, java.net.URL) throws java.sql.SQLException; 20122 method public void setUrl(String) throws java.sql.SQLException; 20123 method public void setUsername(String) throws java.sql.SQLException; 20124 } 20125 20126 public class RowSetEvent extends java.util.EventObject { 20127 ctor public RowSetEvent(javax.sql.RowSet); 20128 } 20129 20130 public interface RowSetInternal { 20131 method public java.sql.Connection getConnection() throws java.sql.SQLException; 20132 method public java.sql.ResultSet getOriginal() throws java.sql.SQLException; 20133 method public java.sql.ResultSet getOriginalRow() throws java.sql.SQLException; 20134 method public Object[] getParams() throws java.sql.SQLException; 20135 method public void setMetaData(javax.sql.RowSetMetaData) throws java.sql.SQLException; 20136 } 20137 20138 public interface RowSetListener extends java.util.EventListener { 20139 method public void cursorMoved(javax.sql.RowSetEvent); 20140 method public void rowChanged(javax.sql.RowSetEvent); 20141 method public void rowSetChanged(javax.sql.RowSetEvent); 20142 } 20143 20144 public interface RowSetMetaData extends java.sql.ResultSetMetaData { 20145 method public void setAutoIncrement(int, boolean) throws java.sql.SQLException; 20146 method public void setCaseSensitive(int, boolean) throws java.sql.SQLException; 20147 method public void setCatalogName(int, String) throws java.sql.SQLException; 20148 method public void setColumnCount(int) throws java.sql.SQLException; 20149 method public void setColumnDisplaySize(int, int) throws java.sql.SQLException; 20150 method public void setColumnLabel(int, String) throws java.sql.SQLException; 20151 method public void setColumnName(int, String) throws java.sql.SQLException; 20152 method public void setColumnType(int, int) throws java.sql.SQLException; 20153 method public void setColumnTypeName(int, String) throws java.sql.SQLException; 20154 method public void setCurrency(int, boolean) throws java.sql.SQLException; 20155 method public void setNullable(int, int) throws java.sql.SQLException; 20156 method public void setPrecision(int, int) throws java.sql.SQLException; 20157 method public void setScale(int, int) throws java.sql.SQLException; 20158 method public void setSchemaName(int, String) throws java.sql.SQLException; 20159 method public void setSearchable(int, boolean) throws java.sql.SQLException; 20160 method public void setSigned(int, boolean) throws java.sql.SQLException; 20161 method public void setTableName(int, String) throws java.sql.SQLException; 20162 } 20163 20164 public interface RowSetReader { 20165 method public void readData(javax.sql.RowSetInternal) throws java.sql.SQLException; 20166 } 20167 20168 public interface RowSetWriter { 20169 method public boolean writeData(javax.sql.RowSetInternal) throws java.sql.SQLException; 20170 } 20171 20172 public class StatementEvent extends java.util.EventObject { 20173 ctor public StatementEvent(javax.sql.PooledConnection, java.sql.PreparedStatement); 20174 ctor public StatementEvent(javax.sql.PooledConnection, java.sql.PreparedStatement, java.sql.SQLException); 20175 method public java.sql.SQLException getSQLException(); 20176 method public java.sql.PreparedStatement getStatement(); 20177 } 20178 20179 public interface StatementEventListener extends java.util.EventListener { 20180 method public void statementClosed(javax.sql.StatementEvent); 20181 method public void statementErrorOccurred(javax.sql.StatementEvent); 20182 } 20183 20184} 20185 20186package javax.xml { 20187 20188 public final class XMLConstants { 20189 field public static final String DEFAULT_NS_PREFIX = ""; 20190 field public static final String FEATURE_SECURE_PROCESSING = "http://javax.xml.XMLConstants/feature/secure-processing"; 20191 field public static final String NULL_NS_URI = ""; 20192 field public static final String RELAXNG_NS_URI = "http://relaxng.org/ns/structure/1.0"; 20193 field public static final String W3C_XML_SCHEMA_INSTANCE_NS_URI = "http://www.w3.org/2001/XMLSchema-instance"; 20194 field public static final String W3C_XML_SCHEMA_NS_URI = "http://www.w3.org/2001/XMLSchema"; 20195 field public static final String W3C_XPATH_DATATYPE_NS_URI = "http://www.w3.org/2003/11/xpath-datatypes"; 20196 field public static final String XMLNS_ATTRIBUTE = "xmlns"; 20197 field public static final String XMLNS_ATTRIBUTE_NS_URI = "http://www.w3.org/2000/xmlns/"; 20198 field public static final String XML_DTD_NS_URI = "http://www.w3.org/TR/REC-xml"; 20199 field public static final String XML_NS_PREFIX = "xml"; 20200 field public static final String XML_NS_URI = "http://www.w3.org/XML/1998/namespace"; 20201 } 20202 20203} 20204 20205package javax.xml.datatype { 20206 20207 public class DatatypeConfigurationException extends java.lang.Exception { 20208 ctor public DatatypeConfigurationException(); 20209 ctor public DatatypeConfigurationException(String); 20210 ctor public DatatypeConfigurationException(String, Throwable); 20211 ctor public DatatypeConfigurationException(Throwable); 20212 } 20213 20214 public final class DatatypeConstants { 20215 field public static final int APRIL = 4; // 0x4 20216 field public static final int AUGUST = 8; // 0x8 20217 field public static final javax.xml.namespace.QName DATE; 20218 field public static final javax.xml.namespace.QName DATETIME; 20219 field public static final javax.xml.datatype.DatatypeConstants.Field DAYS; 20220 field public static final int DECEMBER = 12; // 0xc 20221 field public static final javax.xml.namespace.QName DURATION; 20222 field public static final javax.xml.namespace.QName DURATION_DAYTIME; 20223 field public static final javax.xml.namespace.QName DURATION_YEARMONTH; 20224 field public static final int EQUAL = 0; // 0x0 20225 field public static final int FEBRUARY = 2; // 0x2 20226 field public static final int FIELD_UNDEFINED = -2147483648; // 0x80000000 20227 field public static final javax.xml.namespace.QName GDAY; 20228 field public static final javax.xml.namespace.QName GMONTH; 20229 field public static final javax.xml.namespace.QName GMONTHDAY; 20230 field public static final int GREATER = 1; // 0x1 20231 field public static final javax.xml.namespace.QName GYEAR; 20232 field public static final javax.xml.namespace.QName GYEARMONTH; 20233 field public static final javax.xml.datatype.DatatypeConstants.Field HOURS; 20234 field public static final int INDETERMINATE = 2; // 0x2 20235 field public static final int JANUARY = 1; // 0x1 20236 field public static final int JULY = 7; // 0x7 20237 field public static final int JUNE = 6; // 0x6 20238 field public static final int LESSER = -1; // 0xffffffff 20239 field public static final int MARCH = 3; // 0x3 20240 field public static final int MAX_TIMEZONE_OFFSET = -840; // 0xfffffcb8 20241 field public static final int MAY = 5; // 0x5 20242 field public static final javax.xml.datatype.DatatypeConstants.Field MINUTES; 20243 field public static final int MIN_TIMEZONE_OFFSET = 840; // 0x348 20244 field public static final javax.xml.datatype.DatatypeConstants.Field MONTHS; 20245 field public static final int NOVEMBER = 11; // 0xb 20246 field public static final int OCTOBER = 10; // 0xa 20247 field public static final javax.xml.datatype.DatatypeConstants.Field SECONDS; 20248 field public static final int SEPTEMBER = 9; // 0x9 20249 field public static final javax.xml.namespace.QName TIME; 20250 field public static final javax.xml.datatype.DatatypeConstants.Field YEARS; 20251 } 20252 20253 public static final class DatatypeConstants.Field { 20254 method public int getId(); 20255 } 20256 20257 public abstract class DatatypeFactory { 20258 ctor protected DatatypeFactory(); 20259 method public abstract javax.xml.datatype.Duration newDuration(String); 20260 method public abstract javax.xml.datatype.Duration newDuration(long); 20261 method public abstract javax.xml.datatype.Duration newDuration(boolean, java.math.BigInteger, java.math.BigInteger, java.math.BigInteger, java.math.BigInteger, java.math.BigInteger, java.math.BigDecimal); 20262 method public javax.xml.datatype.Duration newDuration(boolean, int, int, int, int, int, int); 20263 method public javax.xml.datatype.Duration newDurationDayTime(String); 20264 method public javax.xml.datatype.Duration newDurationDayTime(long); 20265 method public javax.xml.datatype.Duration newDurationDayTime(boolean, java.math.BigInteger, java.math.BigInteger, java.math.BigInteger, java.math.BigInteger); 20266 method public javax.xml.datatype.Duration newDurationDayTime(boolean, int, int, int, int); 20267 method public javax.xml.datatype.Duration newDurationYearMonth(String); 20268 method public javax.xml.datatype.Duration newDurationYearMonth(long); 20269 method public javax.xml.datatype.Duration newDurationYearMonth(boolean, java.math.BigInteger, java.math.BigInteger); 20270 method public javax.xml.datatype.Duration newDurationYearMonth(boolean, int, int); 20271 method public static javax.xml.datatype.DatatypeFactory newInstance() throws javax.xml.datatype.DatatypeConfigurationException; 20272 method public static javax.xml.datatype.DatatypeFactory newInstance(String, ClassLoader) throws javax.xml.datatype.DatatypeConfigurationException; 20273 method public abstract javax.xml.datatype.XMLGregorianCalendar newXMLGregorianCalendar(); 20274 method public abstract javax.xml.datatype.XMLGregorianCalendar newXMLGregorianCalendar(String); 20275 method public abstract javax.xml.datatype.XMLGregorianCalendar newXMLGregorianCalendar(java.util.GregorianCalendar); 20276 method public abstract javax.xml.datatype.XMLGregorianCalendar newXMLGregorianCalendar(java.math.BigInteger, int, int, int, int, int, java.math.BigDecimal, int); 20277 method public javax.xml.datatype.XMLGregorianCalendar newXMLGregorianCalendar(int, int, int, int, int, int, int, int); 20278 method public javax.xml.datatype.XMLGregorianCalendar newXMLGregorianCalendarDate(int, int, int, int); 20279 method public javax.xml.datatype.XMLGregorianCalendar newXMLGregorianCalendarTime(int, int, int, int); 20280 method public javax.xml.datatype.XMLGregorianCalendar newXMLGregorianCalendarTime(int, int, int, java.math.BigDecimal, int); 20281 method public javax.xml.datatype.XMLGregorianCalendar newXMLGregorianCalendarTime(int, int, int, int, int); 20282 field public static final String DATATYPEFACTORY_IMPLEMENTATION_CLASS; 20283 field public static final String DATATYPEFACTORY_PROPERTY = "javax.xml.datatype.DatatypeFactory"; 20284 } 20285 20286 public abstract class Duration { 20287 ctor public Duration(); 20288 method public abstract javax.xml.datatype.Duration add(javax.xml.datatype.Duration); 20289 method public abstract void addTo(java.util.Calendar); 20290 method public void addTo(java.util.Date); 20291 method public abstract int compare(javax.xml.datatype.Duration); 20292 method public int getDays(); 20293 method public abstract Number getField(javax.xml.datatype.DatatypeConstants.Field); 20294 method public int getHours(); 20295 method public int getMinutes(); 20296 method public int getMonths(); 20297 method public int getSeconds(); 20298 method public abstract int getSign(); 20299 method public long getTimeInMillis(java.util.Calendar); 20300 method public long getTimeInMillis(java.util.Date); 20301 method public javax.xml.namespace.QName getXMLSchemaType(); 20302 method public int getYears(); 20303 method public abstract int hashCode(); 20304 method public boolean isLongerThan(javax.xml.datatype.Duration); 20305 method public abstract boolean isSet(javax.xml.datatype.DatatypeConstants.Field); 20306 method public boolean isShorterThan(javax.xml.datatype.Duration); 20307 method public javax.xml.datatype.Duration multiply(int); 20308 method public abstract javax.xml.datatype.Duration multiply(java.math.BigDecimal); 20309 method public abstract javax.xml.datatype.Duration negate(); 20310 method public abstract javax.xml.datatype.Duration normalizeWith(java.util.Calendar); 20311 method public javax.xml.datatype.Duration subtract(javax.xml.datatype.Duration); 20312 } 20313 20314 public abstract class XMLGregorianCalendar implements java.lang.Cloneable { 20315 ctor public XMLGregorianCalendar(); 20316 method public abstract void add(javax.xml.datatype.Duration); 20317 method public abstract void clear(); 20318 method public abstract Object clone(); 20319 method public abstract int compare(javax.xml.datatype.XMLGregorianCalendar); 20320 method public abstract int getDay(); 20321 method public abstract java.math.BigInteger getEon(); 20322 method public abstract java.math.BigInteger getEonAndYear(); 20323 method public abstract java.math.BigDecimal getFractionalSecond(); 20324 method public abstract int getHour(); 20325 method public int getMillisecond(); 20326 method public abstract int getMinute(); 20327 method public abstract int getMonth(); 20328 method public abstract int getSecond(); 20329 method public abstract java.util.TimeZone getTimeZone(int); 20330 method public abstract int getTimezone(); 20331 method public abstract javax.xml.namespace.QName getXMLSchemaType(); 20332 method public abstract int getYear(); 20333 method public abstract boolean isValid(); 20334 method public abstract javax.xml.datatype.XMLGregorianCalendar normalize(); 20335 method public abstract void reset(); 20336 method public abstract void setDay(int); 20337 method public abstract void setFractionalSecond(java.math.BigDecimal); 20338 method public abstract void setHour(int); 20339 method public abstract void setMillisecond(int); 20340 method public abstract void setMinute(int); 20341 method public abstract void setMonth(int); 20342 method public abstract void setSecond(int); 20343 method public void setTime(int, int, int); 20344 method public void setTime(int, int, int, java.math.BigDecimal); 20345 method public void setTime(int, int, int, int); 20346 method public abstract void setTimezone(int); 20347 method public abstract void setYear(java.math.BigInteger); 20348 method public abstract void setYear(int); 20349 method public abstract java.util.GregorianCalendar toGregorianCalendar(); 20350 method public abstract java.util.GregorianCalendar toGregorianCalendar(java.util.TimeZone, java.util.Locale, javax.xml.datatype.XMLGregorianCalendar); 20351 method public abstract String toXMLFormat(); 20352 } 20353 20354} 20355 20356package javax.xml.namespace { 20357 20358 public interface NamespaceContext { 20359 method public String getNamespaceURI(String); 20360 method public String getPrefix(String); 20361 method public java.util.Iterator getPrefixes(String); 20362 } 20363 20364 public class QName implements java.io.Serializable { 20365 ctor public QName(String, String); 20366 ctor public QName(String, String, String); 20367 ctor public QName(String); 20368 method public final boolean equals(Object); 20369 method public String getLocalPart(); 20370 method public String getNamespaceURI(); 20371 method public String getPrefix(); 20372 method public final int hashCode(); 20373 method public static javax.xml.namespace.QName valueOf(String); 20374 } 20375 20376} 20377 20378package javax.xml.parsers { 20379 20380 public abstract class DocumentBuilder { 20381 ctor protected DocumentBuilder(); 20382 method public abstract org.w3c.dom.DOMImplementation getDOMImplementation(); 20383 method public javax.xml.validation.Schema getSchema(); 20384 method public abstract boolean isNamespaceAware(); 20385 method public abstract boolean isValidating(); 20386 method public boolean isXIncludeAware(); 20387 method public abstract org.w3c.dom.Document newDocument(); 20388 method public org.w3c.dom.Document parse(java.io.InputStream) throws java.io.IOException, org.xml.sax.SAXException; 20389 method public org.w3c.dom.Document parse(java.io.InputStream, String) throws java.io.IOException, org.xml.sax.SAXException; 20390 method public org.w3c.dom.Document parse(String) throws java.io.IOException, org.xml.sax.SAXException; 20391 method public org.w3c.dom.Document parse(java.io.File) throws java.io.IOException, org.xml.sax.SAXException; 20392 method public abstract org.w3c.dom.Document parse(org.xml.sax.InputSource) throws java.io.IOException, org.xml.sax.SAXException; 20393 method public void reset(); 20394 method public abstract void setEntityResolver(org.xml.sax.EntityResolver); 20395 method public abstract void setErrorHandler(org.xml.sax.ErrorHandler); 20396 } 20397 20398 public abstract class DocumentBuilderFactory { 20399 ctor protected DocumentBuilderFactory(); 20400 method public abstract Object getAttribute(String) throws java.lang.IllegalArgumentException; 20401 method public abstract boolean getFeature(String) throws javax.xml.parsers.ParserConfigurationException; 20402 method public javax.xml.validation.Schema getSchema(); 20403 method public boolean isCoalescing(); 20404 method public boolean isExpandEntityReferences(); 20405 method public boolean isIgnoringComments(); 20406 method public boolean isIgnoringElementContentWhitespace(); 20407 method public boolean isNamespaceAware(); 20408 method public boolean isValidating(); 20409 method public boolean isXIncludeAware(); 20410 method public abstract javax.xml.parsers.DocumentBuilder newDocumentBuilder() throws javax.xml.parsers.ParserConfigurationException; 20411 method public static javax.xml.parsers.DocumentBuilderFactory newInstance(); 20412 method public static javax.xml.parsers.DocumentBuilderFactory newInstance(String, ClassLoader); 20413 method public abstract void setAttribute(String, Object) throws java.lang.IllegalArgumentException; 20414 method public void setCoalescing(boolean); 20415 method public void setExpandEntityReferences(boolean); 20416 method public abstract void setFeature(String, boolean) throws javax.xml.parsers.ParserConfigurationException; 20417 method public void setIgnoringComments(boolean); 20418 method public void setIgnoringElementContentWhitespace(boolean); 20419 method public void setNamespaceAware(boolean); 20420 method public void setSchema(javax.xml.validation.Schema); 20421 method public void setValidating(boolean); 20422 method public void setXIncludeAware(boolean); 20423 } 20424 20425 public class FactoryConfigurationError extends java.lang.Error { 20426 ctor public FactoryConfigurationError(); 20427 ctor public FactoryConfigurationError(String); 20428 ctor public FactoryConfigurationError(Exception); 20429 ctor public FactoryConfigurationError(Exception, String); 20430 method public Exception getException(); 20431 } 20432 20433 public class ParserConfigurationException extends java.lang.Exception { 20434 ctor public ParserConfigurationException(); 20435 ctor public ParserConfigurationException(String); 20436 } 20437 20438 public abstract class SAXParser { 20439 ctor protected SAXParser(); 20440 method public abstract org.xml.sax.Parser getParser() throws org.xml.sax.SAXException; 20441 method public abstract Object getProperty(String) throws org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedException; 20442 method public javax.xml.validation.Schema getSchema(); 20443 method public abstract org.xml.sax.XMLReader getXMLReader() throws org.xml.sax.SAXException; 20444 method public abstract boolean isNamespaceAware(); 20445 method public abstract boolean isValidating(); 20446 method public boolean isXIncludeAware(); 20447 method public void parse(java.io.InputStream, org.xml.sax.HandlerBase) throws java.io.IOException, org.xml.sax.SAXException; 20448 method public void parse(java.io.InputStream, org.xml.sax.HandlerBase, String) throws java.io.IOException, org.xml.sax.SAXException; 20449 method public void parse(java.io.InputStream, org.xml.sax.helpers.DefaultHandler) throws java.io.IOException, org.xml.sax.SAXException; 20450 method public void parse(java.io.InputStream, org.xml.sax.helpers.DefaultHandler, String) throws java.io.IOException, org.xml.sax.SAXException; 20451 method public void parse(String, org.xml.sax.HandlerBase) throws java.io.IOException, org.xml.sax.SAXException; 20452 method public void parse(String, org.xml.sax.helpers.DefaultHandler) throws java.io.IOException, org.xml.sax.SAXException; 20453 method public void parse(java.io.File, org.xml.sax.HandlerBase) throws java.io.IOException, org.xml.sax.SAXException; 20454 method public void parse(java.io.File, org.xml.sax.helpers.DefaultHandler) throws java.io.IOException, org.xml.sax.SAXException; 20455 method public void parse(org.xml.sax.InputSource, org.xml.sax.HandlerBase) throws java.io.IOException, org.xml.sax.SAXException; 20456 method public void parse(org.xml.sax.InputSource, org.xml.sax.helpers.DefaultHandler) throws java.io.IOException, org.xml.sax.SAXException; 20457 method public void reset(); 20458 method public abstract void setProperty(String, Object) throws org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedException; 20459 } 20460 20461 public abstract class SAXParserFactory { 20462 ctor protected SAXParserFactory(); 20463 method public abstract boolean getFeature(String) throws javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedException; 20464 method public javax.xml.validation.Schema getSchema(); 20465 method public boolean isNamespaceAware(); 20466 method public boolean isValidating(); 20467 method public boolean isXIncludeAware(); 20468 method public static javax.xml.parsers.SAXParserFactory newInstance(); 20469 method public static javax.xml.parsers.SAXParserFactory newInstance(String, ClassLoader); 20470 method public abstract javax.xml.parsers.SAXParser newSAXParser() throws javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException; 20471 method public abstract void setFeature(String, boolean) throws javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedException; 20472 method public void setNamespaceAware(boolean); 20473 method public void setSchema(javax.xml.validation.Schema); 20474 method public void setValidating(boolean); 20475 method public void setXIncludeAware(boolean); 20476 } 20477 20478} 20479 20480package javax.xml.transform { 20481 20482 public interface ErrorListener { 20483 method public void error(javax.xml.transform.TransformerException) throws javax.xml.transform.TransformerException; 20484 method public void fatalError(javax.xml.transform.TransformerException) throws javax.xml.transform.TransformerException; 20485 method public void warning(javax.xml.transform.TransformerException) throws javax.xml.transform.TransformerException; 20486 } 20487 20488 public class OutputKeys { 20489 field public static final String CDATA_SECTION_ELEMENTS = "cdata-section-elements"; 20490 field public static final String DOCTYPE_PUBLIC = "doctype-public"; 20491 field public static final String DOCTYPE_SYSTEM = "doctype-system"; 20492 field public static final String ENCODING = "encoding"; 20493 field public static final String INDENT = "indent"; 20494 field public static final String MEDIA_TYPE = "media-type"; 20495 field public static final String METHOD = "method"; 20496 field public static final String OMIT_XML_DECLARATION = "omit-xml-declaration"; 20497 field public static final String STANDALONE = "standalone"; 20498 field public static final String VERSION = "version"; 20499 } 20500 20501 public interface Result { 20502 method public String getSystemId(); 20503 method public void setSystemId(String); 20504 field public static final String PI_DISABLE_OUTPUT_ESCAPING = "javax.xml.transform.disable-output-escaping"; 20505 field public static final String PI_ENABLE_OUTPUT_ESCAPING = "javax.xml.transform.enable-output-escaping"; 20506 } 20507 20508 public interface Source { 20509 method public String getSystemId(); 20510 method public void setSystemId(String); 20511 } 20512 20513 public interface SourceLocator { 20514 method public int getColumnNumber(); 20515 method public int getLineNumber(); 20516 method public String getPublicId(); 20517 method public String getSystemId(); 20518 } 20519 20520 public interface Templates { 20521 method public java.util.Properties getOutputProperties(); 20522 method public javax.xml.transform.Transformer newTransformer() throws javax.xml.transform.TransformerConfigurationException; 20523 } 20524 20525 public abstract class Transformer { 20526 ctor protected Transformer(); 20527 method public abstract void clearParameters(); 20528 method public abstract javax.xml.transform.ErrorListener getErrorListener(); 20529 method public abstract java.util.Properties getOutputProperties(); 20530 method public abstract String getOutputProperty(String) throws java.lang.IllegalArgumentException; 20531 method public abstract Object getParameter(String); 20532 method public abstract javax.xml.transform.URIResolver getURIResolver(); 20533 method public void reset(); 20534 method public abstract void setErrorListener(javax.xml.transform.ErrorListener) throws java.lang.IllegalArgumentException; 20535 method public abstract void setOutputProperties(java.util.Properties); 20536 method public abstract void setOutputProperty(String, String) throws java.lang.IllegalArgumentException; 20537 method public abstract void setParameter(String, Object); 20538 method public abstract void setURIResolver(javax.xml.transform.URIResolver); 20539 method public abstract void transform(javax.xml.transform.Source, javax.xml.transform.Result) throws javax.xml.transform.TransformerException; 20540 } 20541 20542 public class TransformerConfigurationException extends javax.xml.transform.TransformerException { 20543 ctor public TransformerConfigurationException(); 20544 ctor public TransformerConfigurationException(String); 20545 ctor public TransformerConfigurationException(Throwable); 20546 ctor public TransformerConfigurationException(String, Throwable); 20547 ctor public TransformerConfigurationException(String, javax.xml.transform.SourceLocator); 20548 ctor public TransformerConfigurationException(String, javax.xml.transform.SourceLocator, Throwable); 20549 } 20550 20551 public class TransformerException extends java.lang.Exception { 20552 ctor public TransformerException(String); 20553 ctor public TransformerException(Throwable); 20554 ctor public TransformerException(String, Throwable); 20555 ctor public TransformerException(String, javax.xml.transform.SourceLocator); 20556 ctor public TransformerException(String, javax.xml.transform.SourceLocator, Throwable); 20557 method public Throwable getException(); 20558 method public String getLocationAsString(); 20559 method public javax.xml.transform.SourceLocator getLocator(); 20560 method public String getMessageAndLocation(); 20561 method public void setLocator(javax.xml.transform.SourceLocator); 20562 } 20563 20564 public abstract class TransformerFactory { 20565 ctor protected TransformerFactory(); 20566 method public abstract javax.xml.transform.Source getAssociatedStylesheet(javax.xml.transform.Source, String, String, String) throws javax.xml.transform.TransformerConfigurationException; 20567 method public abstract Object getAttribute(String); 20568 method public abstract javax.xml.transform.ErrorListener getErrorListener(); 20569 method public abstract boolean getFeature(String); 20570 method public abstract javax.xml.transform.URIResolver getURIResolver(); 20571 method public static javax.xml.transform.TransformerFactory newInstance() throws javax.xml.transform.TransformerFactoryConfigurationError; 20572 method public static javax.xml.transform.TransformerFactory newInstance(String, ClassLoader) throws javax.xml.transform.TransformerFactoryConfigurationError; 20573 method public abstract javax.xml.transform.Templates newTemplates(javax.xml.transform.Source) throws javax.xml.transform.TransformerConfigurationException; 20574 method public abstract javax.xml.transform.Transformer newTransformer(javax.xml.transform.Source) throws javax.xml.transform.TransformerConfigurationException; 20575 method public abstract javax.xml.transform.Transformer newTransformer() throws javax.xml.transform.TransformerConfigurationException; 20576 method public abstract void setAttribute(String, Object); 20577 method public abstract void setErrorListener(javax.xml.transform.ErrorListener); 20578 method public abstract void setFeature(String, boolean) throws javax.xml.transform.TransformerConfigurationException; 20579 method public abstract void setURIResolver(javax.xml.transform.URIResolver); 20580 } 20581 20582 public class TransformerFactoryConfigurationError extends java.lang.Error { 20583 ctor public TransformerFactoryConfigurationError(); 20584 ctor public TransformerFactoryConfigurationError(String); 20585 ctor public TransformerFactoryConfigurationError(Exception); 20586 ctor public TransformerFactoryConfigurationError(Exception, String); 20587 method public Exception getException(); 20588 } 20589 20590 public interface URIResolver { 20591 method public javax.xml.transform.Source resolve(String, String) throws javax.xml.transform.TransformerException; 20592 } 20593 20594} 20595 20596package javax.xml.transform.dom { 20597 20598 public interface DOMLocator extends javax.xml.transform.SourceLocator { 20599 method public org.w3c.dom.Node getOriginatingNode(); 20600 } 20601 20602 public class DOMResult implements javax.xml.transform.Result { 20603 ctor public DOMResult(); 20604 ctor public DOMResult(org.w3c.dom.Node); 20605 ctor public DOMResult(org.w3c.dom.Node, String); 20606 ctor public DOMResult(org.w3c.dom.Node, org.w3c.dom.Node); 20607 ctor public DOMResult(org.w3c.dom.Node, org.w3c.dom.Node, String); 20608 method public org.w3c.dom.Node getNextSibling(); 20609 method public org.w3c.dom.Node getNode(); 20610 method public String getSystemId(); 20611 method public void setNextSibling(org.w3c.dom.Node); 20612 method public void setNode(org.w3c.dom.Node); 20613 method public void setSystemId(String); 20614 field public static final String FEATURE = "http://javax.xml.transform.dom.DOMResult/feature"; 20615 } 20616 20617 public class DOMSource implements javax.xml.transform.Source { 20618 ctor public DOMSource(); 20619 ctor public DOMSource(org.w3c.dom.Node); 20620 ctor public DOMSource(org.w3c.dom.Node, String); 20621 method public org.w3c.dom.Node getNode(); 20622 method public String getSystemId(); 20623 method public void setNode(org.w3c.dom.Node); 20624 method public void setSystemId(String); 20625 field public static final String FEATURE = "http://javax.xml.transform.dom.DOMSource/feature"; 20626 } 20627 20628} 20629 20630package javax.xml.transform.sax { 20631 20632 public class SAXResult implements javax.xml.transform.Result { 20633 ctor public SAXResult(); 20634 ctor public SAXResult(org.xml.sax.ContentHandler); 20635 method public org.xml.sax.ContentHandler getHandler(); 20636 method public org.xml.sax.ext.LexicalHandler getLexicalHandler(); 20637 method public String getSystemId(); 20638 method public void setHandler(org.xml.sax.ContentHandler); 20639 method public void setLexicalHandler(org.xml.sax.ext.LexicalHandler); 20640 method public void setSystemId(String); 20641 field public static final String FEATURE = "http://javax.xml.transform.sax.SAXResult/feature"; 20642 } 20643 20644 public class SAXSource implements javax.xml.transform.Source { 20645 ctor public SAXSource(); 20646 ctor public SAXSource(org.xml.sax.XMLReader, org.xml.sax.InputSource); 20647 ctor public SAXSource(org.xml.sax.InputSource); 20648 method public org.xml.sax.InputSource getInputSource(); 20649 method public String getSystemId(); 20650 method public org.xml.sax.XMLReader getXMLReader(); 20651 method public void setInputSource(org.xml.sax.InputSource); 20652 method public void setSystemId(String); 20653 method public void setXMLReader(org.xml.sax.XMLReader); 20654 method public static org.xml.sax.InputSource sourceToInputSource(javax.xml.transform.Source); 20655 field public static final String FEATURE = "http://javax.xml.transform.sax.SAXSource/feature"; 20656 } 20657 20658 public abstract class SAXTransformerFactory extends javax.xml.transform.TransformerFactory { 20659 ctor protected SAXTransformerFactory(); 20660 method public abstract javax.xml.transform.sax.TemplatesHandler newTemplatesHandler() throws javax.xml.transform.TransformerConfigurationException; 20661 method public abstract javax.xml.transform.sax.TransformerHandler newTransformerHandler(javax.xml.transform.Source) throws javax.xml.transform.TransformerConfigurationException; 20662 method public abstract javax.xml.transform.sax.TransformerHandler newTransformerHandler(javax.xml.transform.Templates) throws javax.xml.transform.TransformerConfigurationException; 20663 method public abstract javax.xml.transform.sax.TransformerHandler newTransformerHandler() throws javax.xml.transform.TransformerConfigurationException; 20664 method public abstract org.xml.sax.XMLFilter newXMLFilter(javax.xml.transform.Source) throws javax.xml.transform.TransformerConfigurationException; 20665 method public abstract org.xml.sax.XMLFilter newXMLFilter(javax.xml.transform.Templates) throws javax.xml.transform.TransformerConfigurationException; 20666 field public static final String FEATURE = "http://javax.xml.transform.sax.SAXTransformerFactory/feature"; 20667 field public static final String FEATURE_XMLFILTER = "http://javax.xml.transform.sax.SAXTransformerFactory/feature/xmlfilter"; 20668 } 20669 20670 public interface TemplatesHandler extends org.xml.sax.ContentHandler { 20671 method public String getSystemId(); 20672 method public javax.xml.transform.Templates getTemplates(); 20673 method public void setSystemId(String); 20674 } 20675 20676 public interface TransformerHandler extends org.xml.sax.ContentHandler org.xml.sax.DTDHandler org.xml.sax.ext.LexicalHandler { 20677 method public String getSystemId(); 20678 method public javax.xml.transform.Transformer getTransformer(); 20679 method public void setResult(javax.xml.transform.Result) throws java.lang.IllegalArgumentException; 20680 method public void setSystemId(String); 20681 } 20682 20683} 20684 20685package javax.xml.transform.stream { 20686 20687 public class StreamResult implements javax.xml.transform.Result { 20688 ctor public StreamResult(); 20689 ctor public StreamResult(java.io.OutputStream); 20690 ctor public StreamResult(java.io.Writer); 20691 ctor public StreamResult(String); 20692 ctor public StreamResult(java.io.File); 20693 method public java.io.OutputStream getOutputStream(); 20694 method public String getSystemId(); 20695 method public java.io.Writer getWriter(); 20696 method public void setOutputStream(java.io.OutputStream); 20697 method public void setSystemId(String); 20698 method public void setSystemId(java.io.File); 20699 method public void setWriter(java.io.Writer); 20700 field public static final String FEATURE = "http://javax.xml.transform.stream.StreamResult/feature"; 20701 } 20702 20703 public class StreamSource implements javax.xml.transform.Source { 20704 ctor public StreamSource(); 20705 ctor public StreamSource(java.io.InputStream); 20706 ctor public StreamSource(java.io.InputStream, String); 20707 ctor public StreamSource(java.io.Reader); 20708 ctor public StreamSource(java.io.Reader, String); 20709 ctor public StreamSource(String); 20710 ctor public StreamSource(java.io.File); 20711 method public java.io.InputStream getInputStream(); 20712 method public String getPublicId(); 20713 method public java.io.Reader getReader(); 20714 method public String getSystemId(); 20715 method public void setInputStream(java.io.InputStream); 20716 method public void setPublicId(String); 20717 method public void setReader(java.io.Reader); 20718 method public void setSystemId(String); 20719 method public void setSystemId(java.io.File); 20720 field public static final String FEATURE = "http://javax.xml.transform.stream.StreamSource/feature"; 20721 } 20722 20723} 20724 20725package javax.xml.validation { 20726 20727 public abstract class Schema { 20728 ctor protected Schema(); 20729 method public abstract javax.xml.validation.Validator newValidator(); 20730 method public abstract javax.xml.validation.ValidatorHandler newValidatorHandler(); 20731 } 20732 20733 public abstract class SchemaFactory { 20734 ctor protected SchemaFactory(); 20735 method public abstract org.xml.sax.ErrorHandler getErrorHandler(); 20736 method public boolean getFeature(String) throws org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedException; 20737 method public Object getProperty(String) throws org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedException; 20738 method public abstract org.w3c.dom.ls.LSResourceResolver getResourceResolver(); 20739 method public abstract boolean isSchemaLanguageSupported(String); 20740 method public static javax.xml.validation.SchemaFactory newInstance(String); 20741 method public static javax.xml.validation.SchemaFactory newInstance(String, String, ClassLoader); 20742 method public javax.xml.validation.Schema newSchema(javax.xml.transform.Source) throws org.xml.sax.SAXException; 20743 method public javax.xml.validation.Schema newSchema(java.io.File) throws org.xml.sax.SAXException; 20744 method public javax.xml.validation.Schema newSchema(java.net.URL) throws org.xml.sax.SAXException; 20745 method public abstract javax.xml.validation.Schema newSchema(javax.xml.transform.Source[]) throws org.xml.sax.SAXException; 20746 method public abstract javax.xml.validation.Schema newSchema() throws org.xml.sax.SAXException; 20747 method public abstract void setErrorHandler(org.xml.sax.ErrorHandler); 20748 method public void setFeature(String, boolean) throws org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedException; 20749 method public void setProperty(String, Object) throws org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedException; 20750 method public abstract void setResourceResolver(org.w3c.dom.ls.LSResourceResolver); 20751 } 20752 20753 public abstract class SchemaFactoryLoader { 20754 ctor protected SchemaFactoryLoader(); 20755 method public abstract javax.xml.validation.SchemaFactory newFactory(String); 20756 } 20757 20758 public abstract class TypeInfoProvider { 20759 ctor protected TypeInfoProvider(); 20760 method public abstract org.w3c.dom.TypeInfo getAttributeTypeInfo(int); 20761 method public abstract org.w3c.dom.TypeInfo getElementTypeInfo(); 20762 method public abstract boolean isIdAttribute(int); 20763 method public abstract boolean isSpecified(int); 20764 } 20765 20766 public abstract class Validator { 20767 ctor protected Validator(); 20768 method public abstract org.xml.sax.ErrorHandler getErrorHandler(); 20769 method public boolean getFeature(String) throws org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedException; 20770 method public Object getProperty(String) throws org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedException; 20771 method public abstract org.w3c.dom.ls.LSResourceResolver getResourceResolver(); 20772 method public abstract void reset(); 20773 method public abstract void setErrorHandler(org.xml.sax.ErrorHandler); 20774 method public void setFeature(String, boolean) throws org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedException; 20775 method public void setProperty(String, Object) throws org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedException; 20776 method public abstract void setResourceResolver(org.w3c.dom.ls.LSResourceResolver); 20777 method public void validate(javax.xml.transform.Source) throws java.io.IOException, org.xml.sax.SAXException; 20778 method public abstract void validate(javax.xml.transform.Source, javax.xml.transform.Result) throws java.io.IOException, org.xml.sax.SAXException; 20779 } 20780 20781 public abstract class ValidatorHandler implements org.xml.sax.ContentHandler { 20782 ctor protected ValidatorHandler(); 20783 method public abstract org.xml.sax.ContentHandler getContentHandler(); 20784 method public abstract org.xml.sax.ErrorHandler getErrorHandler(); 20785 method public boolean getFeature(String) throws org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedException; 20786 method public Object getProperty(String) throws org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedException; 20787 method public abstract org.w3c.dom.ls.LSResourceResolver getResourceResolver(); 20788 method public abstract javax.xml.validation.TypeInfoProvider getTypeInfoProvider(); 20789 method public abstract void setContentHandler(org.xml.sax.ContentHandler); 20790 method public abstract void setErrorHandler(org.xml.sax.ErrorHandler); 20791 method public void setFeature(String, boolean) throws org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedException; 20792 method public void setProperty(String, Object) throws org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedException; 20793 method public abstract void setResourceResolver(org.w3c.dom.ls.LSResourceResolver); 20794 } 20795 20796} 20797 20798package javax.xml.xpath { 20799 20800 public interface XPath { 20801 method public javax.xml.xpath.XPathExpression compile(String) throws javax.xml.xpath.XPathExpressionException; 20802 method public Object evaluate(String, Object, javax.xml.namespace.QName) throws javax.xml.xpath.XPathExpressionException; 20803 method public String evaluate(String, Object) throws javax.xml.xpath.XPathExpressionException; 20804 method public Object evaluate(String, org.xml.sax.InputSource, javax.xml.namespace.QName) throws javax.xml.xpath.XPathExpressionException; 20805 method public String evaluate(String, org.xml.sax.InputSource) throws javax.xml.xpath.XPathExpressionException; 20806 method public javax.xml.namespace.NamespaceContext getNamespaceContext(); 20807 method public javax.xml.xpath.XPathFunctionResolver getXPathFunctionResolver(); 20808 method public javax.xml.xpath.XPathVariableResolver getXPathVariableResolver(); 20809 method public void reset(); 20810 method public void setNamespaceContext(javax.xml.namespace.NamespaceContext); 20811 method public void setXPathFunctionResolver(javax.xml.xpath.XPathFunctionResolver); 20812 method public void setXPathVariableResolver(javax.xml.xpath.XPathVariableResolver); 20813 } 20814 20815 public class XPathConstants { 20816 field public static final javax.xml.namespace.QName BOOLEAN; 20817 field public static final String DOM_OBJECT_MODEL = "http://java.sun.com/jaxp/xpath/dom"; 20818 field public static final javax.xml.namespace.QName NODE; 20819 field public static final javax.xml.namespace.QName NODESET; 20820 field public static final javax.xml.namespace.QName NUMBER; 20821 field public static final javax.xml.namespace.QName STRING; 20822 } 20823 20824 public class XPathException extends java.lang.Exception { 20825 ctor public XPathException(String); 20826 ctor public XPathException(Throwable); 20827 } 20828 20829 public interface XPathExpression { 20830 method public Object evaluate(Object, javax.xml.namespace.QName) throws javax.xml.xpath.XPathExpressionException; 20831 method public String evaluate(Object) throws javax.xml.xpath.XPathExpressionException; 20832 method public Object evaluate(org.xml.sax.InputSource, javax.xml.namespace.QName) throws javax.xml.xpath.XPathExpressionException; 20833 method public String evaluate(org.xml.sax.InputSource) throws javax.xml.xpath.XPathExpressionException; 20834 } 20835 20836 public class XPathExpressionException extends javax.xml.xpath.XPathException { 20837 ctor public XPathExpressionException(String); 20838 ctor public XPathExpressionException(Throwable); 20839 } 20840 20841 public abstract class XPathFactory { 20842 ctor protected XPathFactory(); 20843 method public abstract boolean getFeature(String) throws javax.xml.xpath.XPathFactoryConfigurationException; 20844 method public abstract boolean isObjectModelSupported(String); 20845 method public static final javax.xml.xpath.XPathFactory newInstance(); 20846 method public static final javax.xml.xpath.XPathFactory newInstance(String) throws javax.xml.xpath.XPathFactoryConfigurationException; 20847 method public static javax.xml.xpath.XPathFactory newInstance(String, String, ClassLoader) throws javax.xml.xpath.XPathFactoryConfigurationException; 20848 method public abstract javax.xml.xpath.XPath newXPath(); 20849 method public abstract void setFeature(String, boolean) throws javax.xml.xpath.XPathFactoryConfigurationException; 20850 method public abstract void setXPathFunctionResolver(javax.xml.xpath.XPathFunctionResolver); 20851 method public abstract void setXPathVariableResolver(javax.xml.xpath.XPathVariableResolver); 20852 field public static final String DEFAULT_OBJECT_MODEL_URI = "http://java.sun.com/jaxp/xpath/dom"; 20853 field public static final String DEFAULT_PROPERTY_NAME = "javax.xml.xpath.XPathFactory"; 20854 } 20855 20856 public class XPathFactoryConfigurationException extends javax.xml.xpath.XPathException { 20857 ctor public XPathFactoryConfigurationException(String); 20858 ctor public XPathFactoryConfigurationException(Throwable); 20859 } 20860 20861 public interface XPathFunction { 20862 method public Object evaluate(java.util.List) throws javax.xml.xpath.XPathFunctionException; 20863 } 20864 20865 public class XPathFunctionException extends javax.xml.xpath.XPathExpressionException { 20866 ctor public XPathFunctionException(String); 20867 ctor public XPathFunctionException(Throwable); 20868 } 20869 20870 public interface XPathFunctionResolver { 20871 method public javax.xml.xpath.XPathFunction resolveFunction(javax.xml.namespace.QName, int); 20872 } 20873 20874 public interface XPathVariableResolver { 20875 method public Object resolveVariable(javax.xml.namespace.QName); 20876 } 20877 20878} 20879 20880package org.json { 20881 20882 public class JSONArray { 20883 ctor public JSONArray(); 20884 ctor public JSONArray(java.util.Collection); 20885 ctor public JSONArray(org.json.JSONTokener) throws org.json.JSONException; 20886 ctor public JSONArray(String) throws org.json.JSONException; 20887 ctor public JSONArray(Object) throws org.json.JSONException; 20888 method public Object get(int) throws org.json.JSONException; 20889 method public boolean getBoolean(int) throws org.json.JSONException; 20890 method public double getDouble(int) throws org.json.JSONException; 20891 method public int getInt(int) throws org.json.JSONException; 20892 method public org.json.JSONArray getJSONArray(int) throws org.json.JSONException; 20893 method public org.json.JSONObject getJSONObject(int) throws org.json.JSONException; 20894 method public long getLong(int) throws org.json.JSONException; 20895 method public String getString(int) throws org.json.JSONException; 20896 method public boolean isNull(int); 20897 method public String join(String) throws org.json.JSONException; 20898 method public int length(); 20899 method public Object opt(int); 20900 method public boolean optBoolean(int); 20901 method public boolean optBoolean(int, boolean); 20902 method public double optDouble(int); 20903 method public double optDouble(int, double); 20904 method public int optInt(int); 20905 method public int optInt(int, int); 20906 method public org.json.JSONArray optJSONArray(int); 20907 method public org.json.JSONObject optJSONObject(int); 20908 method public long optLong(int); 20909 method public long optLong(int, long); 20910 method public String optString(int); 20911 method public String optString(int, String); 20912 method public org.json.JSONArray put(boolean); 20913 method public org.json.JSONArray put(double) throws org.json.JSONException; 20914 method public org.json.JSONArray put(int); 20915 method public org.json.JSONArray put(long); 20916 method public org.json.JSONArray put(Object); 20917 method public org.json.JSONArray put(int, boolean) throws org.json.JSONException; 20918 method public org.json.JSONArray put(int, double) throws org.json.JSONException; 20919 method public org.json.JSONArray put(int, int) throws org.json.JSONException; 20920 method public org.json.JSONArray put(int, long) throws org.json.JSONException; 20921 method public org.json.JSONArray put(int, Object) throws org.json.JSONException; 20922 method public Object remove(int); 20923 method public org.json.JSONObject toJSONObject(org.json.JSONArray) throws org.json.JSONException; 20924 method public String toString(int) throws org.json.JSONException; 20925 } 20926 20927 public class JSONException extends java.lang.Exception { 20928 ctor public JSONException(String); 20929 ctor public JSONException(String, Throwable); 20930 ctor public JSONException(Throwable); 20931 } 20932 20933 public class JSONObject { 20934 ctor public JSONObject(); 20935 ctor public JSONObject(@NonNull java.util.Map); 20936 ctor public JSONObject(@NonNull org.json.JSONTokener) throws org.json.JSONException; 20937 ctor public JSONObject(@NonNull String) throws org.json.JSONException; 20938 ctor public JSONObject(@NonNull org.json.JSONObject, @NonNull String[]) throws org.json.JSONException; 20939 method @NonNull public org.json.JSONObject accumulate(@NonNull String, @Nullable Object) throws org.json.JSONException; 20940 method @NonNull public org.json.JSONObject append(@NonNull String, @Nullable Object) throws org.json.JSONException; 20941 method @NonNull public Object get(@NonNull String) throws org.json.JSONException; 20942 method public boolean getBoolean(@NonNull String) throws org.json.JSONException; 20943 method public double getDouble(@NonNull String) throws org.json.JSONException; 20944 method public int getInt(@NonNull String) throws org.json.JSONException; 20945 method @NonNull public org.json.JSONArray getJSONArray(@NonNull String) throws org.json.JSONException; 20946 method @NonNull public org.json.JSONObject getJSONObject(@NonNull String) throws org.json.JSONException; 20947 method public long getLong(@NonNull String) throws org.json.JSONException; 20948 method @NonNull public String getString(@NonNull String) throws org.json.JSONException; 20949 method public boolean has(@Nullable String); 20950 method public boolean isNull(@Nullable String); 20951 method @NonNull public java.util.Iterator<java.lang.String> keys(); 20952 method public int length(); 20953 method @Nullable public org.json.JSONArray names(); 20954 method @NonNull public static String numberToString(@NonNull Number) throws org.json.JSONException; 20955 method @Nullable public Object opt(@Nullable String); 20956 method public boolean optBoolean(@Nullable String); 20957 method public boolean optBoolean(@Nullable String, boolean); 20958 method public double optDouble(@Nullable String); 20959 method public double optDouble(@Nullable String, double); 20960 method public int optInt(@Nullable String); 20961 method public int optInt(@Nullable String, int); 20962 method @Nullable public org.json.JSONArray optJSONArray(@Nullable String); 20963 method @Nullable public org.json.JSONObject optJSONObject(@Nullable String); 20964 method public long optLong(@Nullable String); 20965 method public long optLong(@Nullable String, long); 20966 method @NonNull public String optString(@Nullable String); 20967 method @NonNull public String optString(@Nullable String, @NonNull String); 20968 method @NonNull public org.json.JSONObject put(@NonNull String, boolean) throws org.json.JSONException; 20969 method @NonNull public org.json.JSONObject put(@NonNull String, double) throws org.json.JSONException; 20970 method @NonNull public org.json.JSONObject put(@NonNull String, int) throws org.json.JSONException; 20971 method @NonNull public org.json.JSONObject put(@NonNull String, long) throws org.json.JSONException; 20972 method @NonNull public org.json.JSONObject put(@NonNull String, @Nullable Object) throws org.json.JSONException; 20973 method @NonNull public org.json.JSONObject putOpt(@Nullable String, @Nullable Object) throws org.json.JSONException; 20974 method @NonNull public static String quote(@Nullable String); 20975 method @Nullable public Object remove(@Nullable String); 20976 method @Nullable public org.json.JSONArray toJSONArray(@Nullable org.json.JSONArray) throws org.json.JSONException; 20977 method @NonNull public String toString(int) throws org.json.JSONException; 20978 method @Nullable public static Object wrap(@Nullable Object); 20979 field @NonNull public static final Object NULL; 20980 } 20981 20982 public class JSONStringer { 20983 ctor public JSONStringer(); 20984 method public org.json.JSONStringer array() throws org.json.JSONException; 20985 method public org.json.JSONStringer endArray() throws org.json.JSONException; 20986 method public org.json.JSONStringer endObject() throws org.json.JSONException; 20987 method public org.json.JSONStringer key(String) throws org.json.JSONException; 20988 method public org.json.JSONStringer object() throws org.json.JSONException; 20989 method public org.json.JSONStringer value(Object) throws org.json.JSONException; 20990 method public org.json.JSONStringer value(boolean) throws org.json.JSONException; 20991 method public org.json.JSONStringer value(double) throws org.json.JSONException; 20992 method public org.json.JSONStringer value(long) throws org.json.JSONException; 20993 } 20994 20995 public class JSONTokener { 20996 ctor public JSONTokener(String); 20997 method public void back(); 20998 method public static int dehexchar(char); 20999 method public boolean more(); 21000 method public char next(); 21001 method public char next(char) throws org.json.JSONException; 21002 method public String next(int) throws org.json.JSONException; 21003 method public char nextClean() throws org.json.JSONException; 21004 method public String nextString(char) throws org.json.JSONException; 21005 method public String nextTo(String); 21006 method public String nextTo(char); 21007 method public Object nextValue() throws org.json.JSONException; 21008 method public void skipPast(String); 21009 method public char skipTo(char); 21010 method public org.json.JSONException syntaxError(String); 21011 } 21012 21013} 21014 21015package org.w3c.dom { 21016 21017 public interface Attr extends org.w3c.dom.Node { 21018 method public String getName(); 21019 method public org.w3c.dom.Element getOwnerElement(); 21020 method public org.w3c.dom.TypeInfo getSchemaTypeInfo(); 21021 method public boolean getSpecified(); 21022 method public String getValue(); 21023 method public boolean isId(); 21024 method public void setValue(String) throws org.w3c.dom.DOMException; 21025 } 21026 21027 public interface CDATASection extends org.w3c.dom.Text { 21028 } 21029 21030 public interface CharacterData extends org.w3c.dom.Node { 21031 method public void appendData(String) throws org.w3c.dom.DOMException; 21032 method public void deleteData(int, int) throws org.w3c.dom.DOMException; 21033 method public String getData() throws org.w3c.dom.DOMException; 21034 method public int getLength(); 21035 method public void insertData(int, String) throws org.w3c.dom.DOMException; 21036 method public void replaceData(int, int, String) throws org.w3c.dom.DOMException; 21037 method public void setData(String) throws org.w3c.dom.DOMException; 21038 method public String substringData(int, int) throws org.w3c.dom.DOMException; 21039 } 21040 21041 public interface Comment extends org.w3c.dom.CharacterData { 21042 } 21043 21044 public interface DOMConfiguration { 21045 method public boolean canSetParameter(String, Object); 21046 method public Object getParameter(String) throws org.w3c.dom.DOMException; 21047 method public org.w3c.dom.DOMStringList getParameterNames(); 21048 method public void setParameter(String, Object) throws org.w3c.dom.DOMException; 21049 } 21050 21051 public interface DOMError { 21052 method public org.w3c.dom.DOMLocator getLocation(); 21053 method public String getMessage(); 21054 method public Object getRelatedData(); 21055 method public Object getRelatedException(); 21056 method public short getSeverity(); 21057 method public String getType(); 21058 field public static final short SEVERITY_ERROR = 2; // 0x2 21059 field public static final short SEVERITY_FATAL_ERROR = 3; // 0x3 21060 field public static final short SEVERITY_WARNING = 1; // 0x1 21061 } 21062 21063 public interface DOMErrorHandler { 21064 method public boolean handleError(org.w3c.dom.DOMError); 21065 } 21066 21067 public class DOMException extends java.lang.RuntimeException { 21068 ctor public DOMException(short, String); 21069 field public static final short DOMSTRING_SIZE_ERR = 2; // 0x2 21070 field public static final short HIERARCHY_REQUEST_ERR = 3; // 0x3 21071 field public static final short INDEX_SIZE_ERR = 1; // 0x1 21072 field public static final short INUSE_ATTRIBUTE_ERR = 10; // 0xa 21073 field public static final short INVALID_ACCESS_ERR = 15; // 0xf 21074 field public static final short INVALID_CHARACTER_ERR = 5; // 0x5 21075 field public static final short INVALID_MODIFICATION_ERR = 13; // 0xd 21076 field public static final short INVALID_STATE_ERR = 11; // 0xb 21077 field public static final short NAMESPACE_ERR = 14; // 0xe 21078 field public static final short NOT_FOUND_ERR = 8; // 0x8 21079 field public static final short NOT_SUPPORTED_ERR = 9; // 0x9 21080 field public static final short NO_DATA_ALLOWED_ERR = 6; // 0x6 21081 field public static final short NO_MODIFICATION_ALLOWED_ERR = 7; // 0x7 21082 field public static final short SYNTAX_ERR = 12; // 0xc 21083 field public static final short TYPE_MISMATCH_ERR = 17; // 0x11 21084 field public static final short VALIDATION_ERR = 16; // 0x10 21085 field public static final short WRONG_DOCUMENT_ERR = 4; // 0x4 21086 field public short code; 21087 } 21088 21089 public interface DOMImplementation { 21090 method public org.w3c.dom.Document createDocument(String, String, org.w3c.dom.DocumentType) throws org.w3c.dom.DOMException; 21091 method public org.w3c.dom.DocumentType createDocumentType(String, String, String) throws org.w3c.dom.DOMException; 21092 method public Object getFeature(String, String); 21093 method public boolean hasFeature(String, String); 21094 } 21095 21096 public interface DOMImplementationList { 21097 method public int getLength(); 21098 method public org.w3c.dom.DOMImplementation item(int); 21099 } 21100 21101 public interface DOMImplementationSource { 21102 method public org.w3c.dom.DOMImplementation getDOMImplementation(String); 21103 method public org.w3c.dom.DOMImplementationList getDOMImplementationList(String); 21104 } 21105 21106 public interface DOMLocator { 21107 method public int getByteOffset(); 21108 method public int getColumnNumber(); 21109 method public int getLineNumber(); 21110 method public org.w3c.dom.Node getRelatedNode(); 21111 method public String getUri(); 21112 method public int getUtf16Offset(); 21113 } 21114 21115 public interface DOMStringList { 21116 method public boolean contains(String); 21117 method public int getLength(); 21118 method public String item(int); 21119 } 21120 21121 public interface Document extends org.w3c.dom.Node { 21122 method public org.w3c.dom.Node adoptNode(org.w3c.dom.Node) throws org.w3c.dom.DOMException; 21123 method public org.w3c.dom.Attr createAttribute(String) throws org.w3c.dom.DOMException; 21124 method public org.w3c.dom.Attr createAttributeNS(String, String) throws org.w3c.dom.DOMException; 21125 method public org.w3c.dom.CDATASection createCDATASection(String) throws org.w3c.dom.DOMException; 21126 method public org.w3c.dom.Comment createComment(String); 21127 method public org.w3c.dom.DocumentFragment createDocumentFragment(); 21128 method public org.w3c.dom.Element createElement(String) throws org.w3c.dom.DOMException; 21129 method public org.w3c.dom.Element createElementNS(String, String) throws org.w3c.dom.DOMException; 21130 method public org.w3c.dom.EntityReference createEntityReference(String) throws org.w3c.dom.DOMException; 21131 method public org.w3c.dom.ProcessingInstruction createProcessingInstruction(String, String) throws org.w3c.dom.DOMException; 21132 method public org.w3c.dom.Text createTextNode(String); 21133 method public org.w3c.dom.DocumentType getDoctype(); 21134 method public org.w3c.dom.Element getDocumentElement(); 21135 method public String getDocumentURI(); 21136 method public org.w3c.dom.DOMConfiguration getDomConfig(); 21137 method public org.w3c.dom.Element getElementById(String); 21138 method public org.w3c.dom.NodeList getElementsByTagName(String); 21139 method public org.w3c.dom.NodeList getElementsByTagNameNS(String, String); 21140 method public org.w3c.dom.DOMImplementation getImplementation(); 21141 method public String getInputEncoding(); 21142 method public boolean getStrictErrorChecking(); 21143 method public String getXmlEncoding(); 21144 method public boolean getXmlStandalone(); 21145 method public String getXmlVersion(); 21146 method public org.w3c.dom.Node importNode(org.w3c.dom.Node, boolean) throws org.w3c.dom.DOMException; 21147 method public void normalizeDocument(); 21148 method public org.w3c.dom.Node renameNode(org.w3c.dom.Node, String, String) throws org.w3c.dom.DOMException; 21149 method public void setDocumentURI(String); 21150 method public void setStrictErrorChecking(boolean); 21151 method public void setXmlStandalone(boolean) throws org.w3c.dom.DOMException; 21152 method public void setXmlVersion(String) throws org.w3c.dom.DOMException; 21153 } 21154 21155 public interface DocumentFragment extends org.w3c.dom.Node { 21156 } 21157 21158 public interface DocumentType extends org.w3c.dom.Node { 21159 method public org.w3c.dom.NamedNodeMap getEntities(); 21160 method public String getInternalSubset(); 21161 method public String getName(); 21162 method public org.w3c.dom.NamedNodeMap getNotations(); 21163 method public String getPublicId(); 21164 method public String getSystemId(); 21165 } 21166 21167 public interface Element extends org.w3c.dom.Node { 21168 method public String getAttribute(String); 21169 method public String getAttributeNS(String, String) throws org.w3c.dom.DOMException; 21170 method public org.w3c.dom.Attr getAttributeNode(String); 21171 method public org.w3c.dom.Attr getAttributeNodeNS(String, String) throws org.w3c.dom.DOMException; 21172 method public org.w3c.dom.NodeList getElementsByTagName(String); 21173 method public org.w3c.dom.NodeList getElementsByTagNameNS(String, String) throws org.w3c.dom.DOMException; 21174 method public org.w3c.dom.TypeInfo getSchemaTypeInfo(); 21175 method public String getTagName(); 21176 method public boolean hasAttribute(String); 21177 method public boolean hasAttributeNS(String, String) throws org.w3c.dom.DOMException; 21178 method public void removeAttribute(String) throws org.w3c.dom.DOMException; 21179 method public void removeAttributeNS(String, String) throws org.w3c.dom.DOMException; 21180 method public org.w3c.dom.Attr removeAttributeNode(org.w3c.dom.Attr) throws org.w3c.dom.DOMException; 21181 method public void setAttribute(String, String) throws org.w3c.dom.DOMException; 21182 method public void setAttributeNS(String, String, String) throws org.w3c.dom.DOMException; 21183 method public org.w3c.dom.Attr setAttributeNode(org.w3c.dom.Attr) throws org.w3c.dom.DOMException; 21184 method public org.w3c.dom.Attr setAttributeNodeNS(org.w3c.dom.Attr) throws org.w3c.dom.DOMException; 21185 method public void setIdAttribute(String, boolean) throws org.w3c.dom.DOMException; 21186 method public void setIdAttributeNS(String, String, boolean) throws org.w3c.dom.DOMException; 21187 method public void setIdAttributeNode(org.w3c.dom.Attr, boolean) throws org.w3c.dom.DOMException; 21188 } 21189 21190 public interface Entity extends org.w3c.dom.Node { 21191 method public String getInputEncoding(); 21192 method public String getNotationName(); 21193 method public String getPublicId(); 21194 method public String getSystemId(); 21195 method public String getXmlEncoding(); 21196 method public String getXmlVersion(); 21197 } 21198 21199 public interface EntityReference extends org.w3c.dom.Node { 21200 } 21201 21202 public interface NameList { 21203 method public boolean contains(String); 21204 method public boolean containsNS(String, String); 21205 method public int getLength(); 21206 method public String getName(int); 21207 method public String getNamespaceURI(int); 21208 } 21209 21210 public interface NamedNodeMap { 21211 method public int getLength(); 21212 method public org.w3c.dom.Node getNamedItem(String); 21213 method public org.w3c.dom.Node getNamedItemNS(String, String) throws org.w3c.dom.DOMException; 21214 method public org.w3c.dom.Node item(int); 21215 method public org.w3c.dom.Node removeNamedItem(String) throws org.w3c.dom.DOMException; 21216 method public org.w3c.dom.Node removeNamedItemNS(String, String) throws org.w3c.dom.DOMException; 21217 method public org.w3c.dom.Node setNamedItem(org.w3c.dom.Node) throws org.w3c.dom.DOMException; 21218 method public org.w3c.dom.Node setNamedItemNS(org.w3c.dom.Node) throws org.w3c.dom.DOMException; 21219 } 21220 21221 public interface Node { 21222 method public org.w3c.dom.Node appendChild(org.w3c.dom.Node) throws org.w3c.dom.DOMException; 21223 method public org.w3c.dom.Node cloneNode(boolean); 21224 method public short compareDocumentPosition(org.w3c.dom.Node) throws org.w3c.dom.DOMException; 21225 method public org.w3c.dom.NamedNodeMap getAttributes(); 21226 method public String getBaseURI(); 21227 method public org.w3c.dom.NodeList getChildNodes(); 21228 method public Object getFeature(String, String); 21229 method public org.w3c.dom.Node getFirstChild(); 21230 method public org.w3c.dom.Node getLastChild(); 21231 method public String getLocalName(); 21232 method public String getNamespaceURI(); 21233 method public org.w3c.dom.Node getNextSibling(); 21234 method public String getNodeName(); 21235 method public short getNodeType(); 21236 method public String getNodeValue() throws org.w3c.dom.DOMException; 21237 method public org.w3c.dom.Document getOwnerDocument(); 21238 method public org.w3c.dom.Node getParentNode(); 21239 method public String getPrefix(); 21240 method public org.w3c.dom.Node getPreviousSibling(); 21241 method public String getTextContent() throws org.w3c.dom.DOMException; 21242 method public Object getUserData(String); 21243 method public boolean hasAttributes(); 21244 method public boolean hasChildNodes(); 21245 method public org.w3c.dom.Node insertBefore(org.w3c.dom.Node, org.w3c.dom.Node) throws org.w3c.dom.DOMException; 21246 method public boolean isDefaultNamespace(String); 21247 method public boolean isEqualNode(org.w3c.dom.Node); 21248 method public boolean isSameNode(org.w3c.dom.Node); 21249 method public boolean isSupported(String, String); 21250 method public String lookupNamespaceURI(String); 21251 method public String lookupPrefix(String); 21252 method public void normalize(); 21253 method public org.w3c.dom.Node removeChild(org.w3c.dom.Node) throws org.w3c.dom.DOMException; 21254 method public org.w3c.dom.Node replaceChild(org.w3c.dom.Node, org.w3c.dom.Node) throws org.w3c.dom.DOMException; 21255 method public void setNodeValue(String) throws org.w3c.dom.DOMException; 21256 method public void setPrefix(String) throws org.w3c.dom.DOMException; 21257 method public void setTextContent(String) throws org.w3c.dom.DOMException; 21258 method public Object setUserData(String, Object, org.w3c.dom.UserDataHandler); 21259 field public static final short ATTRIBUTE_NODE = 2; // 0x2 21260 field public static final short CDATA_SECTION_NODE = 4; // 0x4 21261 field public static final short COMMENT_NODE = 8; // 0x8 21262 field public static final short DOCUMENT_FRAGMENT_NODE = 11; // 0xb 21263 field public static final short DOCUMENT_NODE = 9; // 0x9 21264 field public static final short DOCUMENT_POSITION_CONTAINED_BY = 16; // 0x10 21265 field public static final short DOCUMENT_POSITION_CONTAINS = 8; // 0x8 21266 field public static final short DOCUMENT_POSITION_DISCONNECTED = 1; // 0x1 21267 field public static final short DOCUMENT_POSITION_FOLLOWING = 4; // 0x4 21268 field public static final short DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 32; // 0x20 21269 field public static final short DOCUMENT_POSITION_PRECEDING = 2; // 0x2 21270 field public static final short DOCUMENT_TYPE_NODE = 10; // 0xa 21271 field public static final short ELEMENT_NODE = 1; // 0x1 21272 field public static final short ENTITY_NODE = 6; // 0x6 21273 field public static final short ENTITY_REFERENCE_NODE = 5; // 0x5 21274 field public static final short NOTATION_NODE = 12; // 0xc 21275 field public static final short PROCESSING_INSTRUCTION_NODE = 7; // 0x7 21276 field public static final short TEXT_NODE = 3; // 0x3 21277 } 21278 21279 public interface NodeList { 21280 method public int getLength(); 21281 method public org.w3c.dom.Node item(int); 21282 } 21283 21284 public interface Notation extends org.w3c.dom.Node { 21285 method public String getPublicId(); 21286 method public String getSystemId(); 21287 } 21288 21289 public interface ProcessingInstruction extends org.w3c.dom.Node { 21290 method public String getData(); 21291 method public String getTarget(); 21292 method public void setData(String) throws org.w3c.dom.DOMException; 21293 } 21294 21295 public interface Text extends org.w3c.dom.CharacterData { 21296 method public String getWholeText(); 21297 method public boolean isElementContentWhitespace(); 21298 method public org.w3c.dom.Text replaceWholeText(String) throws org.w3c.dom.DOMException; 21299 method public org.w3c.dom.Text splitText(int) throws org.w3c.dom.DOMException; 21300 } 21301 21302 public interface TypeInfo { 21303 method public String getTypeName(); 21304 method public String getTypeNamespace(); 21305 method public boolean isDerivedFrom(String, String, int); 21306 field public static final int DERIVATION_EXTENSION = 2; // 0x2 21307 field public static final int DERIVATION_LIST = 8; // 0x8 21308 field public static final int DERIVATION_RESTRICTION = 1; // 0x1 21309 field public static final int DERIVATION_UNION = 4; // 0x4 21310 } 21311 21312 public interface UserDataHandler { 21313 method public void handle(short, String, Object, org.w3c.dom.Node, org.w3c.dom.Node); 21314 field public static final short NODE_ADOPTED = 5; // 0x5 21315 field public static final short NODE_CLONED = 1; // 0x1 21316 field public static final short NODE_DELETED = 3; // 0x3 21317 field public static final short NODE_IMPORTED = 2; // 0x2 21318 field public static final short NODE_RENAMED = 4; // 0x4 21319 } 21320 21321} 21322 21323package org.w3c.dom.ls { 21324 21325 public interface DOMImplementationLS { 21326 method public org.w3c.dom.ls.LSInput createLSInput(); 21327 method public org.w3c.dom.ls.LSOutput createLSOutput(); 21328 method public org.w3c.dom.ls.LSParser createLSParser(short, String) throws org.w3c.dom.DOMException; 21329 method public org.w3c.dom.ls.LSSerializer createLSSerializer(); 21330 field public static final short MODE_ASYNCHRONOUS = 2; // 0x2 21331 field public static final short MODE_SYNCHRONOUS = 1; // 0x1 21332 } 21333 21334 public class LSException extends java.lang.RuntimeException { 21335 ctor public LSException(short, String); 21336 field public static final short PARSE_ERR = 81; // 0x51 21337 field public static final short SERIALIZE_ERR = 82; // 0x52 21338 field public short code; 21339 } 21340 21341 public interface LSInput { 21342 method public String getBaseURI(); 21343 method public java.io.InputStream getByteStream(); 21344 method public boolean getCertifiedText(); 21345 method public java.io.Reader getCharacterStream(); 21346 method public String getEncoding(); 21347 method public String getPublicId(); 21348 method public String getStringData(); 21349 method public String getSystemId(); 21350 method public void setBaseURI(String); 21351 method public void setByteStream(java.io.InputStream); 21352 method public void setCertifiedText(boolean); 21353 method public void setCharacterStream(java.io.Reader); 21354 method public void setEncoding(String); 21355 method public void setPublicId(String); 21356 method public void setStringData(String); 21357 method public void setSystemId(String); 21358 } 21359 21360 public interface LSOutput { 21361 method public java.io.OutputStream getByteStream(); 21362 method public java.io.Writer getCharacterStream(); 21363 method public String getEncoding(); 21364 method public String getSystemId(); 21365 method public void setByteStream(java.io.OutputStream); 21366 method public void setCharacterStream(java.io.Writer); 21367 method public void setEncoding(String); 21368 method public void setSystemId(String); 21369 } 21370 21371 public interface LSParser { 21372 method public void abort(); 21373 method public boolean getAsync(); 21374 method public boolean getBusy(); 21375 method public org.w3c.dom.DOMConfiguration getDomConfig(); 21376 method public org.w3c.dom.ls.LSParserFilter getFilter(); 21377 method public org.w3c.dom.Document parse(org.w3c.dom.ls.LSInput) throws org.w3c.dom.DOMException, org.w3c.dom.ls.LSException; 21378 method public org.w3c.dom.Document parseURI(String) throws org.w3c.dom.DOMException, org.w3c.dom.ls.LSException; 21379 method public org.w3c.dom.Node parseWithContext(org.w3c.dom.ls.LSInput, org.w3c.dom.Node, short) throws org.w3c.dom.DOMException, org.w3c.dom.ls.LSException; 21380 method public void setFilter(org.w3c.dom.ls.LSParserFilter); 21381 field public static final short ACTION_APPEND_AS_CHILDREN = 1; // 0x1 21382 field public static final short ACTION_INSERT_AFTER = 4; // 0x4 21383 field public static final short ACTION_INSERT_BEFORE = 3; // 0x3 21384 field public static final short ACTION_REPLACE = 5; // 0x5 21385 field public static final short ACTION_REPLACE_CHILDREN = 2; // 0x2 21386 } 21387 21388 public interface LSParserFilter { 21389 method public short acceptNode(org.w3c.dom.Node); 21390 method public int getWhatToShow(); 21391 method public short startElement(org.w3c.dom.Element); 21392 field public static final short FILTER_ACCEPT = 1; // 0x1 21393 field public static final short FILTER_INTERRUPT = 4; // 0x4 21394 field public static final short FILTER_REJECT = 2; // 0x2 21395 field public static final short FILTER_SKIP = 3; // 0x3 21396 } 21397 21398 public interface LSResourceResolver { 21399 method public org.w3c.dom.ls.LSInput resolveResource(String, String, String, String, String); 21400 } 21401 21402 public interface LSSerializer { 21403 method public org.w3c.dom.DOMConfiguration getDomConfig(); 21404 method public String getNewLine(); 21405 method public void setNewLine(String); 21406 method public boolean write(org.w3c.dom.Node, org.w3c.dom.ls.LSOutput) throws org.w3c.dom.ls.LSException; 21407 method public String writeToString(org.w3c.dom.Node) throws org.w3c.dom.DOMException, org.w3c.dom.ls.LSException; 21408 method public boolean writeToURI(org.w3c.dom.Node, String) throws org.w3c.dom.ls.LSException; 21409 } 21410 21411} 21412 21413package org.xml.sax { 21414 21415 @Deprecated public interface AttributeList { 21416 method @Deprecated public int getLength(); 21417 method @Deprecated public String getName(int); 21418 method @Deprecated public String getType(int); 21419 method @Deprecated public String getType(String); 21420 method @Deprecated public String getValue(int); 21421 method @Deprecated public String getValue(String); 21422 } 21423 21424 public interface Attributes { 21425 method public int getIndex(String, String); 21426 method public int getIndex(String); 21427 method public int getLength(); 21428 method public String getLocalName(int); 21429 method public String getQName(int); 21430 method public String getType(int); 21431 method public String getType(String, String); 21432 method public String getType(String); 21433 method public String getURI(int); 21434 method public String getValue(int); 21435 method public String getValue(String, String); 21436 method public String getValue(String); 21437 } 21438 21439 public interface ContentHandler { 21440 method public void characters(char[], int, int) throws org.xml.sax.SAXException; 21441 method public void endDocument() throws org.xml.sax.SAXException; 21442 method public void endElement(String, String, String) throws org.xml.sax.SAXException; 21443 method public void endPrefixMapping(String) throws org.xml.sax.SAXException; 21444 method public void ignorableWhitespace(char[], int, int) throws org.xml.sax.SAXException; 21445 method public void processingInstruction(String, String) throws org.xml.sax.SAXException; 21446 method public void setDocumentLocator(org.xml.sax.Locator); 21447 method public void skippedEntity(String) throws org.xml.sax.SAXException; 21448 method public void startDocument() throws org.xml.sax.SAXException; 21449 method public void startElement(String, String, String, org.xml.sax.Attributes) throws org.xml.sax.SAXException; 21450 method public void startPrefixMapping(String, String) throws org.xml.sax.SAXException; 21451 } 21452 21453 public interface DTDHandler { 21454 method public void notationDecl(String, String, String) throws org.xml.sax.SAXException; 21455 method public void unparsedEntityDecl(String, String, String, String) throws org.xml.sax.SAXException; 21456 } 21457 21458 @Deprecated public interface DocumentHandler { 21459 method @Deprecated public void characters(char[], int, int) throws org.xml.sax.SAXException; 21460 method @Deprecated public void endDocument() throws org.xml.sax.SAXException; 21461 method @Deprecated public void endElement(String) throws org.xml.sax.SAXException; 21462 method @Deprecated public void ignorableWhitespace(char[], int, int) throws org.xml.sax.SAXException; 21463 method @Deprecated public void processingInstruction(String, String) throws org.xml.sax.SAXException; 21464 method @Deprecated public void setDocumentLocator(org.xml.sax.Locator); 21465 method @Deprecated public void startDocument() throws org.xml.sax.SAXException; 21466 method @Deprecated public void startElement(String, org.xml.sax.AttributeList) throws org.xml.sax.SAXException; 21467 } 21468 21469 public interface EntityResolver { 21470 method public org.xml.sax.InputSource resolveEntity(String, String) throws java.io.IOException, org.xml.sax.SAXException; 21471 } 21472 21473 public interface ErrorHandler { 21474 method public void error(org.xml.sax.SAXParseException) throws org.xml.sax.SAXException; 21475 method public void fatalError(org.xml.sax.SAXParseException) throws org.xml.sax.SAXException; 21476 method public void warning(org.xml.sax.SAXParseException) throws org.xml.sax.SAXException; 21477 } 21478 21479 @Deprecated public class HandlerBase implements org.xml.sax.DTDHandler org.xml.sax.DocumentHandler org.xml.sax.EntityResolver org.xml.sax.ErrorHandler { 21480 ctor @Deprecated public HandlerBase(); 21481 method @Deprecated public void characters(char[], int, int) throws org.xml.sax.SAXException; 21482 method @Deprecated public void endDocument() throws org.xml.sax.SAXException; 21483 method @Deprecated public void endElement(String) throws org.xml.sax.SAXException; 21484 method @Deprecated public void error(org.xml.sax.SAXParseException) throws org.xml.sax.SAXException; 21485 method @Deprecated public void fatalError(org.xml.sax.SAXParseException) throws org.xml.sax.SAXException; 21486 method @Deprecated public void ignorableWhitespace(char[], int, int) throws org.xml.sax.SAXException; 21487 method @Deprecated public void notationDecl(String, String, String); 21488 method @Deprecated public void processingInstruction(String, String) throws org.xml.sax.SAXException; 21489 method @Deprecated public org.xml.sax.InputSource resolveEntity(String, String) throws org.xml.sax.SAXException; 21490 method @Deprecated public void setDocumentLocator(org.xml.sax.Locator); 21491 method @Deprecated public void startDocument() throws org.xml.sax.SAXException; 21492 method @Deprecated public void startElement(String, org.xml.sax.AttributeList) throws org.xml.sax.SAXException; 21493 method @Deprecated public void unparsedEntityDecl(String, String, String, String); 21494 method @Deprecated public void warning(org.xml.sax.SAXParseException) throws org.xml.sax.SAXException; 21495 } 21496 21497 public class InputSource { 21498 ctor public InputSource(); 21499 ctor public InputSource(String); 21500 ctor public InputSource(java.io.InputStream); 21501 ctor public InputSource(java.io.Reader); 21502 method public java.io.InputStream getByteStream(); 21503 method public java.io.Reader getCharacterStream(); 21504 method public String getEncoding(); 21505 method public String getPublicId(); 21506 method public String getSystemId(); 21507 method public void setByteStream(java.io.InputStream); 21508 method public void setCharacterStream(java.io.Reader); 21509 method public void setEncoding(String); 21510 method public void setPublicId(String); 21511 method public void setSystemId(String); 21512 } 21513 21514 public interface Locator { 21515 method public int getColumnNumber(); 21516 method public int getLineNumber(); 21517 method public String getPublicId(); 21518 method public String getSystemId(); 21519 } 21520 21521 @Deprecated public interface Parser { 21522 method @Deprecated public void parse(org.xml.sax.InputSource) throws java.io.IOException, org.xml.sax.SAXException; 21523 method @Deprecated public void parse(String) throws java.io.IOException, org.xml.sax.SAXException; 21524 method @Deprecated public void setDTDHandler(org.xml.sax.DTDHandler); 21525 method @Deprecated public void setDocumentHandler(org.xml.sax.DocumentHandler); 21526 method @Deprecated public void setEntityResolver(org.xml.sax.EntityResolver); 21527 method @Deprecated public void setErrorHandler(org.xml.sax.ErrorHandler); 21528 method @Deprecated public void setLocale(java.util.Locale) throws org.xml.sax.SAXException; 21529 } 21530 21531 public class SAXException extends java.lang.Exception { 21532 ctor public SAXException(); 21533 ctor public SAXException(String); 21534 ctor public SAXException(Exception); 21535 ctor public SAXException(String, Exception); 21536 method public Exception getException(); 21537 } 21538 21539 public class SAXNotRecognizedException extends org.xml.sax.SAXException { 21540 ctor public SAXNotRecognizedException(); 21541 ctor public SAXNotRecognizedException(String); 21542 } 21543 21544 public class SAXNotSupportedException extends org.xml.sax.SAXException { 21545 ctor public SAXNotSupportedException(); 21546 ctor public SAXNotSupportedException(String); 21547 } 21548 21549 public class SAXParseException extends org.xml.sax.SAXException { 21550 ctor public SAXParseException(String, org.xml.sax.Locator); 21551 ctor public SAXParseException(String, org.xml.sax.Locator, Exception); 21552 ctor public SAXParseException(String, String, String, int, int); 21553 ctor public SAXParseException(String, String, String, int, int, Exception); 21554 method public int getColumnNumber(); 21555 method public int getLineNumber(); 21556 method public String getPublicId(); 21557 method public String getSystemId(); 21558 } 21559 21560 public interface XMLFilter extends org.xml.sax.XMLReader { 21561 method public org.xml.sax.XMLReader getParent(); 21562 method public void setParent(org.xml.sax.XMLReader); 21563 } 21564 21565 public interface XMLReader { 21566 method public org.xml.sax.ContentHandler getContentHandler(); 21567 method public org.xml.sax.DTDHandler getDTDHandler(); 21568 method public org.xml.sax.EntityResolver getEntityResolver(); 21569 method public org.xml.sax.ErrorHandler getErrorHandler(); 21570 method public boolean getFeature(String) throws org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedException; 21571 method public Object getProperty(String) throws org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedException; 21572 method public void parse(org.xml.sax.InputSource) throws java.io.IOException, org.xml.sax.SAXException; 21573 method public void parse(String) throws java.io.IOException, org.xml.sax.SAXException; 21574 method public void setContentHandler(org.xml.sax.ContentHandler); 21575 method public void setDTDHandler(org.xml.sax.DTDHandler); 21576 method public void setEntityResolver(org.xml.sax.EntityResolver); 21577 method public void setErrorHandler(org.xml.sax.ErrorHandler); 21578 method public void setFeature(String, boolean) throws org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedException; 21579 method public void setProperty(String, Object) throws org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedException; 21580 } 21581 21582} 21583 21584package org.xml.sax.ext { 21585 21586 public interface Attributes2 extends org.xml.sax.Attributes { 21587 method public boolean isDeclared(int); 21588 method public boolean isDeclared(String); 21589 method public boolean isDeclared(String, String); 21590 method public boolean isSpecified(int); 21591 method public boolean isSpecified(String, String); 21592 method public boolean isSpecified(String); 21593 } 21594 21595 public class Attributes2Impl extends org.xml.sax.helpers.AttributesImpl implements org.xml.sax.ext.Attributes2 { 21596 ctor public Attributes2Impl(); 21597 ctor public Attributes2Impl(org.xml.sax.Attributes); 21598 method public boolean isDeclared(int); 21599 method public boolean isDeclared(String, String); 21600 method public boolean isDeclared(String); 21601 method public boolean isSpecified(int); 21602 method public boolean isSpecified(String, String); 21603 method public boolean isSpecified(String); 21604 method public void setDeclared(int, boolean); 21605 method public void setSpecified(int, boolean); 21606 } 21607 21608 public interface DeclHandler { 21609 method public void attributeDecl(String, String, String, String, String) throws org.xml.sax.SAXException; 21610 method public void elementDecl(String, String) throws org.xml.sax.SAXException; 21611 method public void externalEntityDecl(String, String, String) throws org.xml.sax.SAXException; 21612 method public void internalEntityDecl(String, String) throws org.xml.sax.SAXException; 21613 } 21614 21615 public class DefaultHandler2 extends org.xml.sax.helpers.DefaultHandler implements org.xml.sax.ext.DeclHandler org.xml.sax.ext.EntityResolver2 org.xml.sax.ext.LexicalHandler { 21616 ctor public DefaultHandler2(); 21617 method public void attributeDecl(String, String, String, String, String) throws org.xml.sax.SAXException; 21618 method public void comment(char[], int, int) throws org.xml.sax.SAXException; 21619 method public void elementDecl(String, String) throws org.xml.sax.SAXException; 21620 method public void endCDATA() throws org.xml.sax.SAXException; 21621 method public void endDTD() throws org.xml.sax.SAXException; 21622 method public void endEntity(String) throws org.xml.sax.SAXException; 21623 method public void externalEntityDecl(String, String, String) throws org.xml.sax.SAXException; 21624 method public org.xml.sax.InputSource getExternalSubset(String, String) throws java.io.IOException, org.xml.sax.SAXException; 21625 method public void internalEntityDecl(String, String) throws org.xml.sax.SAXException; 21626 method public org.xml.sax.InputSource resolveEntity(String, String, String, String) throws java.io.IOException, org.xml.sax.SAXException; 21627 method public void startCDATA() throws org.xml.sax.SAXException; 21628 method public void startDTD(String, String, String) throws org.xml.sax.SAXException; 21629 method public void startEntity(String) throws org.xml.sax.SAXException; 21630 } 21631 21632 public interface EntityResolver2 extends org.xml.sax.EntityResolver { 21633 method public org.xml.sax.InputSource getExternalSubset(String, String) throws java.io.IOException, org.xml.sax.SAXException; 21634 method public org.xml.sax.InputSource resolveEntity(String, String, String, String) throws java.io.IOException, org.xml.sax.SAXException; 21635 } 21636 21637 public interface LexicalHandler { 21638 method public void comment(char[], int, int) throws org.xml.sax.SAXException; 21639 method public void endCDATA() throws org.xml.sax.SAXException; 21640 method public void endDTD() throws org.xml.sax.SAXException; 21641 method public void endEntity(String) throws org.xml.sax.SAXException; 21642 method public void startCDATA() throws org.xml.sax.SAXException; 21643 method public void startDTD(String, String, String) throws org.xml.sax.SAXException; 21644 method public void startEntity(String) throws org.xml.sax.SAXException; 21645 } 21646 21647 public interface Locator2 extends org.xml.sax.Locator { 21648 method public String getEncoding(); 21649 method public String getXMLVersion(); 21650 } 21651 21652 public class Locator2Impl extends org.xml.sax.helpers.LocatorImpl implements org.xml.sax.ext.Locator2 { 21653 ctor public Locator2Impl(); 21654 ctor public Locator2Impl(org.xml.sax.Locator); 21655 method public String getEncoding(); 21656 method public String getXMLVersion(); 21657 method public void setEncoding(String); 21658 method public void setXMLVersion(String); 21659 } 21660 21661} 21662 21663package org.xml.sax.helpers { 21664 21665 @Deprecated public class AttributeListImpl implements org.xml.sax.AttributeList { 21666 ctor @Deprecated public AttributeListImpl(); 21667 ctor @Deprecated public AttributeListImpl(org.xml.sax.AttributeList); 21668 method @Deprecated public void addAttribute(String, String, String); 21669 method @Deprecated public void clear(); 21670 method @Deprecated public int getLength(); 21671 method @Deprecated public String getName(int); 21672 method @Deprecated public String getType(int); 21673 method @Deprecated public String getType(String); 21674 method @Deprecated public String getValue(int); 21675 method @Deprecated public String getValue(String); 21676 method @Deprecated public void removeAttribute(String); 21677 method @Deprecated public void setAttributeList(org.xml.sax.AttributeList); 21678 } 21679 21680 public class AttributesImpl implements org.xml.sax.Attributes { 21681 ctor public AttributesImpl(); 21682 ctor public AttributesImpl(org.xml.sax.Attributes); 21683 method public void addAttribute(String, String, String, String, String); 21684 method public void clear(); 21685 method public int getIndex(String, String); 21686 method public int getIndex(String); 21687 method public int getLength(); 21688 method public String getLocalName(int); 21689 method public String getQName(int); 21690 method public String getType(int); 21691 method public String getType(String, String); 21692 method public String getType(String); 21693 method public String getURI(int); 21694 method public String getValue(int); 21695 method public String getValue(String, String); 21696 method public String getValue(String); 21697 method public void removeAttribute(int); 21698 method public void setAttribute(int, String, String, String, String, String); 21699 method public void setAttributes(org.xml.sax.Attributes); 21700 method public void setLocalName(int, String); 21701 method public void setQName(int, String); 21702 method public void setType(int, String); 21703 method public void setURI(int, String); 21704 method public void setValue(int, String); 21705 } 21706 21707 public class DefaultHandler implements org.xml.sax.ContentHandler org.xml.sax.DTDHandler org.xml.sax.EntityResolver org.xml.sax.ErrorHandler { 21708 ctor public DefaultHandler(); 21709 method public void characters(char[], int, int) throws org.xml.sax.SAXException; 21710 method public void endDocument() throws org.xml.sax.SAXException; 21711 method public void endElement(String, String, String) throws org.xml.sax.SAXException; 21712 method public void endPrefixMapping(String) throws org.xml.sax.SAXException; 21713 method public void error(org.xml.sax.SAXParseException) throws org.xml.sax.SAXException; 21714 method public void fatalError(org.xml.sax.SAXParseException) throws org.xml.sax.SAXException; 21715 method public void ignorableWhitespace(char[], int, int) throws org.xml.sax.SAXException; 21716 method public void notationDecl(String, String, String) throws org.xml.sax.SAXException; 21717 method public void processingInstruction(String, String) throws org.xml.sax.SAXException; 21718 method public org.xml.sax.InputSource resolveEntity(String, String) throws java.io.IOException, org.xml.sax.SAXException; 21719 method public void setDocumentLocator(org.xml.sax.Locator); 21720 method public void skippedEntity(String) throws org.xml.sax.SAXException; 21721 method public void startDocument() throws org.xml.sax.SAXException; 21722 method public void startElement(String, String, String, org.xml.sax.Attributes) throws org.xml.sax.SAXException; 21723 method public void startPrefixMapping(String, String) throws org.xml.sax.SAXException; 21724 method public void unparsedEntityDecl(String, String, String, String) throws org.xml.sax.SAXException; 21725 method public void warning(org.xml.sax.SAXParseException) throws org.xml.sax.SAXException; 21726 } 21727 21728 public class LocatorImpl implements org.xml.sax.Locator { 21729 ctor public LocatorImpl(); 21730 ctor public LocatorImpl(org.xml.sax.Locator); 21731 method public int getColumnNumber(); 21732 method public int getLineNumber(); 21733 method public String getPublicId(); 21734 method public String getSystemId(); 21735 method public void setColumnNumber(int); 21736 method public void setLineNumber(int); 21737 method public void setPublicId(String); 21738 method public void setSystemId(String); 21739 } 21740 21741 public class NamespaceSupport { 21742 ctor public NamespaceSupport(); 21743 method public boolean declarePrefix(String, String); 21744 method public java.util.Enumeration getDeclaredPrefixes(); 21745 method public String getPrefix(String); 21746 method public java.util.Enumeration getPrefixes(); 21747 method public java.util.Enumeration getPrefixes(String); 21748 method public String getURI(String); 21749 method public boolean isNamespaceDeclUris(); 21750 method public void popContext(); 21751 method public String[] processName(String, String[], boolean); 21752 method public void pushContext(); 21753 method public void reset(); 21754 method public void setNamespaceDeclUris(boolean); 21755 field public static final String NSDECL = "http://www.w3.org/xmlns/2000/"; 21756 field public static final String XMLNS = "http://www.w3.org/XML/1998/namespace"; 21757 } 21758 21759 public class ParserAdapter implements org.xml.sax.DocumentHandler org.xml.sax.XMLReader { 21760 ctor public ParserAdapter() throws org.xml.sax.SAXException; 21761 ctor public ParserAdapter(org.xml.sax.Parser); 21762 method public void characters(char[], int, int) throws org.xml.sax.SAXException; 21763 method public void endDocument() throws org.xml.sax.SAXException; 21764 method public void endElement(String) throws org.xml.sax.SAXException; 21765 method public org.xml.sax.ContentHandler getContentHandler(); 21766 method public org.xml.sax.DTDHandler getDTDHandler(); 21767 method public org.xml.sax.EntityResolver getEntityResolver(); 21768 method public org.xml.sax.ErrorHandler getErrorHandler(); 21769 method public boolean getFeature(String) throws org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedException; 21770 method public Object getProperty(String) throws org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedException; 21771 method public void ignorableWhitespace(char[], int, int) throws org.xml.sax.SAXException; 21772 method public void parse(String) throws java.io.IOException, org.xml.sax.SAXException; 21773 method public void parse(org.xml.sax.InputSource) throws java.io.IOException, org.xml.sax.SAXException; 21774 method public void processingInstruction(String, String) throws org.xml.sax.SAXException; 21775 method public void setContentHandler(org.xml.sax.ContentHandler); 21776 method public void setDTDHandler(org.xml.sax.DTDHandler); 21777 method public void setDocumentLocator(org.xml.sax.Locator); 21778 method public void setEntityResolver(org.xml.sax.EntityResolver); 21779 method public void setErrorHandler(org.xml.sax.ErrorHandler); 21780 method public void setFeature(String, boolean) throws org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedException; 21781 method public void setProperty(String, Object) throws org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedException; 21782 method public void startDocument() throws org.xml.sax.SAXException; 21783 method public void startElement(String, org.xml.sax.AttributeList) throws org.xml.sax.SAXException; 21784 } 21785 21786 @Deprecated public class ParserFactory { 21787 method @Deprecated public static org.xml.sax.Parser makeParser() throws java.lang.ClassCastException, java.lang.ClassNotFoundException, java.lang.IllegalAccessException, java.lang.InstantiationException, java.lang.NullPointerException; 21788 method @Deprecated public static org.xml.sax.Parser makeParser(String) throws java.lang.ClassCastException, java.lang.ClassNotFoundException, java.lang.IllegalAccessException, java.lang.InstantiationException; 21789 } 21790 21791 public class XMLFilterImpl implements org.xml.sax.ContentHandler org.xml.sax.DTDHandler org.xml.sax.EntityResolver org.xml.sax.ErrorHandler org.xml.sax.XMLFilter { 21792 ctor public XMLFilterImpl(); 21793 ctor public XMLFilterImpl(org.xml.sax.XMLReader); 21794 method public void characters(char[], int, int) throws org.xml.sax.SAXException; 21795 method public void endDocument() throws org.xml.sax.SAXException; 21796 method public void endElement(String, String, String) throws org.xml.sax.SAXException; 21797 method public void endPrefixMapping(String) throws org.xml.sax.SAXException; 21798 method public void error(org.xml.sax.SAXParseException) throws org.xml.sax.SAXException; 21799 method public void fatalError(org.xml.sax.SAXParseException) throws org.xml.sax.SAXException; 21800 method public org.xml.sax.ContentHandler getContentHandler(); 21801 method public org.xml.sax.DTDHandler getDTDHandler(); 21802 method public org.xml.sax.EntityResolver getEntityResolver(); 21803 method public org.xml.sax.ErrorHandler getErrorHandler(); 21804 method public boolean getFeature(String) throws org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedException; 21805 method public org.xml.sax.XMLReader getParent(); 21806 method public Object getProperty(String) throws org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedException; 21807 method public void ignorableWhitespace(char[], int, int) throws org.xml.sax.SAXException; 21808 method public void notationDecl(String, String, String) throws org.xml.sax.SAXException; 21809 method public void parse(org.xml.sax.InputSource) throws java.io.IOException, org.xml.sax.SAXException; 21810 method public void parse(String) throws java.io.IOException, org.xml.sax.SAXException; 21811 method public void processingInstruction(String, String) throws org.xml.sax.SAXException; 21812 method public org.xml.sax.InputSource resolveEntity(String, String) throws java.io.IOException, org.xml.sax.SAXException; 21813 method public void setContentHandler(org.xml.sax.ContentHandler); 21814 method public void setDTDHandler(org.xml.sax.DTDHandler); 21815 method public void setDocumentLocator(org.xml.sax.Locator); 21816 method public void setEntityResolver(org.xml.sax.EntityResolver); 21817 method public void setErrorHandler(org.xml.sax.ErrorHandler); 21818 method public void setFeature(String, boolean) throws org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedException; 21819 method public void setParent(org.xml.sax.XMLReader); 21820 method public void setProperty(String, Object) throws org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedException; 21821 method public void skippedEntity(String) throws org.xml.sax.SAXException; 21822 method public void startDocument() throws org.xml.sax.SAXException; 21823 method public void startElement(String, String, String, org.xml.sax.Attributes) throws org.xml.sax.SAXException; 21824 method public void startPrefixMapping(String, String) throws org.xml.sax.SAXException; 21825 method public void unparsedEntityDecl(String, String, String, String) throws org.xml.sax.SAXException; 21826 method public void warning(org.xml.sax.SAXParseException) throws org.xml.sax.SAXException; 21827 } 21828 21829 public class XMLReaderAdapter implements org.xml.sax.ContentHandler org.xml.sax.Parser { 21830 ctor public XMLReaderAdapter() throws org.xml.sax.SAXException; 21831 ctor public XMLReaderAdapter(org.xml.sax.XMLReader); 21832 method public void characters(char[], int, int) throws org.xml.sax.SAXException; 21833 method public void endDocument() throws org.xml.sax.SAXException; 21834 method public void endElement(String, String, String) throws org.xml.sax.SAXException; 21835 method public void endPrefixMapping(String); 21836 method public void ignorableWhitespace(char[], int, int) throws org.xml.sax.SAXException; 21837 method public void parse(String) throws java.io.IOException, org.xml.sax.SAXException; 21838 method public void parse(org.xml.sax.InputSource) throws java.io.IOException, org.xml.sax.SAXException; 21839 method public void processingInstruction(String, String) throws org.xml.sax.SAXException; 21840 method public void setDTDHandler(org.xml.sax.DTDHandler); 21841 method public void setDocumentHandler(org.xml.sax.DocumentHandler); 21842 method public void setDocumentLocator(org.xml.sax.Locator); 21843 method public void setEntityResolver(org.xml.sax.EntityResolver); 21844 method public void setErrorHandler(org.xml.sax.ErrorHandler); 21845 method public void setLocale(java.util.Locale) throws org.xml.sax.SAXException; 21846 method public void skippedEntity(String) throws org.xml.sax.SAXException; 21847 method public void startDocument() throws org.xml.sax.SAXException; 21848 method public void startElement(String, String, String, org.xml.sax.Attributes) throws org.xml.sax.SAXException; 21849 method public void startPrefixMapping(String, String); 21850 } 21851 21852 public final class XMLReaderFactory { 21853 method public static org.xml.sax.XMLReader createXMLReader() throws org.xml.sax.SAXException; 21854 method public static org.xml.sax.XMLReader createXMLReader(String) throws org.xml.sax.SAXException; 21855 } 21856 21857} 21858 21859package org.xmlpull.v1 { 21860 21861 public interface XmlPullParser { 21862 method public void defineEntityReplacementText(String, String) throws org.xmlpull.v1.XmlPullParserException; 21863 method public int getAttributeCount(); 21864 method public String getAttributeName(int); 21865 method public String getAttributeNamespace(int); 21866 method public String getAttributePrefix(int); 21867 method public String getAttributeType(int); 21868 method public String getAttributeValue(int); 21869 method public String getAttributeValue(String, String); 21870 method public int getColumnNumber(); 21871 method public int getDepth(); 21872 method public int getEventType() throws org.xmlpull.v1.XmlPullParserException; 21873 method public boolean getFeature(String); 21874 method public String getInputEncoding(); 21875 method public int getLineNumber(); 21876 method public String getName(); 21877 method public String getNamespace(String); 21878 method public String getNamespace(); 21879 method public int getNamespaceCount(int) throws org.xmlpull.v1.XmlPullParserException; 21880 method public String getNamespacePrefix(int) throws org.xmlpull.v1.XmlPullParserException; 21881 method public String getNamespaceUri(int) throws org.xmlpull.v1.XmlPullParserException; 21882 method public String getPositionDescription(); 21883 method public String getPrefix(); 21884 method public Object getProperty(String); 21885 method public String getText(); 21886 method public char[] getTextCharacters(int[]); 21887 method public boolean isAttributeDefault(int); 21888 method public boolean isEmptyElementTag() throws org.xmlpull.v1.XmlPullParserException; 21889 method public boolean isWhitespace() throws org.xmlpull.v1.XmlPullParserException; 21890 method public int next() throws java.io.IOException, org.xmlpull.v1.XmlPullParserException; 21891 method public int nextTag() throws java.io.IOException, org.xmlpull.v1.XmlPullParserException; 21892 method public String nextText() throws java.io.IOException, org.xmlpull.v1.XmlPullParserException; 21893 method public int nextToken() throws java.io.IOException, org.xmlpull.v1.XmlPullParserException; 21894 method public void require(int, String, String) throws java.io.IOException, org.xmlpull.v1.XmlPullParserException; 21895 method public void setFeature(String, boolean) throws org.xmlpull.v1.XmlPullParserException; 21896 method public void setInput(java.io.Reader) throws org.xmlpull.v1.XmlPullParserException; 21897 method public void setInput(java.io.InputStream, String) throws org.xmlpull.v1.XmlPullParserException; 21898 method public void setProperty(String, Object) throws org.xmlpull.v1.XmlPullParserException; 21899 field public static final int CDSECT = 5; // 0x5 21900 field public static final int COMMENT = 9; // 0x9 21901 field public static final int DOCDECL = 10; // 0xa 21902 field public static final int END_DOCUMENT = 1; // 0x1 21903 field public static final int END_TAG = 3; // 0x3 21904 field public static final int ENTITY_REF = 6; // 0x6 21905 field public static final String FEATURE_PROCESS_DOCDECL = "http://xmlpull.org/v1/doc/features.html#process-docdecl"; 21906 field public static final String FEATURE_PROCESS_NAMESPACES = "http://xmlpull.org/v1/doc/features.html#process-namespaces"; 21907 field public static final String FEATURE_REPORT_NAMESPACE_ATTRIBUTES = "http://xmlpull.org/v1/doc/features.html#report-namespace-prefixes"; 21908 field public static final String FEATURE_VALIDATION = "http://xmlpull.org/v1/doc/features.html#validation"; 21909 field public static final int IGNORABLE_WHITESPACE = 7; // 0x7 21910 field public static final String NO_NAMESPACE = ""; 21911 field public static final int PROCESSING_INSTRUCTION = 8; // 0x8 21912 field public static final int START_DOCUMENT = 0; // 0x0 21913 field public static final int START_TAG = 2; // 0x2 21914 field public static final int TEXT = 4; // 0x4 21915 field public static final String[] TYPES; 21916 } 21917 21918 public class XmlPullParserException extends java.lang.Exception { 21919 ctor public XmlPullParserException(String); 21920 ctor public XmlPullParserException(String, org.xmlpull.v1.XmlPullParser, Throwable); 21921 method public int getColumnNumber(); 21922 method public Throwable getDetail(); 21923 method public int getLineNumber(); 21924 field protected int column; 21925 field protected Throwable detail; 21926 field protected int row; 21927 } 21928 21929 public class XmlPullParserFactory { 21930 ctor protected XmlPullParserFactory(); 21931 method public boolean getFeature(String); 21932 method public boolean isNamespaceAware(); 21933 method public boolean isValidating(); 21934 method public static org.xmlpull.v1.XmlPullParserFactory newInstance() throws org.xmlpull.v1.XmlPullParserException; 21935 method public static org.xmlpull.v1.XmlPullParserFactory newInstance(String, Class) throws org.xmlpull.v1.XmlPullParserException; 21936 method public org.xmlpull.v1.XmlPullParser newPullParser() throws org.xmlpull.v1.XmlPullParserException; 21937 method public org.xmlpull.v1.XmlSerializer newSerializer() throws org.xmlpull.v1.XmlPullParserException; 21938 method public void setFeature(String, boolean) throws org.xmlpull.v1.XmlPullParserException; 21939 method public void setNamespaceAware(boolean); 21940 method public void setValidating(boolean); 21941 field public static final String PROPERTY_NAME = "org.xmlpull.v1.XmlPullParserFactory"; 21942 field protected String classNamesLocation; 21943 field protected java.util.HashMap<java.lang.String,java.lang.Boolean> features; 21944 field protected java.util.ArrayList parserClasses; 21945 field protected java.util.ArrayList serializerClasses; 21946 } 21947 21948 public interface XmlSerializer { 21949 method public org.xmlpull.v1.XmlSerializer attribute(String, String, String) throws java.io.IOException, java.lang.IllegalArgumentException, java.lang.IllegalStateException; 21950 method public void cdsect(String) throws java.io.IOException, java.lang.IllegalArgumentException, java.lang.IllegalStateException; 21951 method public void comment(String) throws java.io.IOException, java.lang.IllegalArgumentException, java.lang.IllegalStateException; 21952 method public void docdecl(String) throws java.io.IOException, java.lang.IllegalArgumentException, java.lang.IllegalStateException; 21953 method public void endDocument() throws java.io.IOException, java.lang.IllegalArgumentException, java.lang.IllegalStateException; 21954 method public org.xmlpull.v1.XmlSerializer endTag(String, String) throws java.io.IOException, java.lang.IllegalArgumentException, java.lang.IllegalStateException; 21955 method public void entityRef(String) throws java.io.IOException, java.lang.IllegalArgumentException, java.lang.IllegalStateException; 21956 method public void flush() throws java.io.IOException; 21957 method public int getDepth(); 21958 method public boolean getFeature(String); 21959 method public String getName(); 21960 method public String getNamespace(); 21961 method public String getPrefix(String, boolean) throws java.lang.IllegalArgumentException; 21962 method public Object getProperty(String); 21963 method public void ignorableWhitespace(String) throws java.io.IOException, java.lang.IllegalArgumentException, java.lang.IllegalStateException; 21964 method public void processingInstruction(String) throws java.io.IOException, java.lang.IllegalArgumentException, java.lang.IllegalStateException; 21965 method public void setFeature(String, boolean) throws java.lang.IllegalArgumentException, java.lang.IllegalStateException; 21966 method public void setOutput(java.io.OutputStream, String) throws java.io.IOException, java.lang.IllegalArgumentException, java.lang.IllegalStateException; 21967 method public void setOutput(java.io.Writer) throws java.io.IOException, java.lang.IllegalArgumentException, java.lang.IllegalStateException; 21968 method public void setPrefix(String, String) throws java.io.IOException, java.lang.IllegalArgumentException, java.lang.IllegalStateException; 21969 method public void setProperty(String, Object) throws java.lang.IllegalArgumentException, java.lang.IllegalStateException; 21970 method public void startDocument(String, Boolean) throws java.io.IOException, java.lang.IllegalArgumentException, java.lang.IllegalStateException; 21971 method public org.xmlpull.v1.XmlSerializer startTag(String, String) throws java.io.IOException, java.lang.IllegalArgumentException, java.lang.IllegalStateException; 21972 method public org.xmlpull.v1.XmlSerializer text(String) throws java.io.IOException, java.lang.IllegalArgumentException, java.lang.IllegalStateException; 21973 method public org.xmlpull.v1.XmlSerializer text(char[], int, int) throws java.io.IOException, java.lang.IllegalArgumentException, java.lang.IllegalStateException; 21974 } 21975 21976} 21977 21978package org.xmlpull.v1.sax2 { 21979 21980 public class Driver implements org.xml.sax.Attributes org.xml.sax.Locator org.xml.sax.XMLReader { 21981 ctor public Driver() throws org.xmlpull.v1.XmlPullParserException; 21982 ctor public Driver(org.xmlpull.v1.XmlPullParser) throws org.xmlpull.v1.XmlPullParserException; 21983 method public int getColumnNumber(); 21984 method public org.xml.sax.ContentHandler getContentHandler(); 21985 method public org.xml.sax.DTDHandler getDTDHandler(); 21986 method public org.xml.sax.EntityResolver getEntityResolver(); 21987 method public org.xml.sax.ErrorHandler getErrorHandler(); 21988 method public boolean getFeature(String) throws org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedException; 21989 method public int getIndex(String, String); 21990 method public int getIndex(String); 21991 method public int getLength(); 21992 method public int getLineNumber(); 21993 method public String getLocalName(int); 21994 method public Object getProperty(String) throws org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedException; 21995 method public String getPublicId(); 21996 method public String getQName(int); 21997 method public String getSystemId(); 21998 method public String getType(int); 21999 method public String getType(String, String); 22000 method public String getType(String); 22001 method public String getURI(int); 22002 method public String getValue(int); 22003 method public String getValue(String, String); 22004 method public String getValue(String); 22005 method public void parse(org.xml.sax.InputSource) throws java.io.IOException, org.xml.sax.SAXException; 22006 method public void parse(String) throws java.io.IOException, org.xml.sax.SAXException; 22007 method public void parseSubTree(org.xmlpull.v1.XmlPullParser) throws java.io.IOException, org.xml.sax.SAXException; 22008 method public void setContentHandler(org.xml.sax.ContentHandler); 22009 method public void setDTDHandler(org.xml.sax.DTDHandler); 22010 method public void setEntityResolver(org.xml.sax.EntityResolver); 22011 method public void setErrorHandler(org.xml.sax.ErrorHandler); 22012 method public void setFeature(String, boolean) throws org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedException; 22013 method public void setProperty(String, Object) throws org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedException; 22014 method protected void startElement(String, String, String) throws org.xml.sax.SAXException; 22015 field protected static final String APACHE_DYNAMIC_VALIDATION_FEATURE = "http://apache.org/xml/features/validation/dynamic"; 22016 field protected static final String APACHE_SCHEMA_VALIDATION_FEATURE = "http://apache.org/xml/features/validation/schema"; 22017 field protected static final String DECLARATION_HANDLER_PROPERTY = "http://xml.org/sax/properties/declaration-handler"; 22018 field protected static final String LEXICAL_HANDLER_PROPERTY = "http://xml.org/sax/properties/lexical-handler"; 22019 field protected static final String NAMESPACES_FEATURE = "http://xml.org/sax/features/namespaces"; 22020 field protected static final String NAMESPACE_PREFIXES_FEATURE = "http://xml.org/sax/features/namespace-prefixes"; 22021 field protected static final String VALIDATION_FEATURE = "http://xml.org/sax/features/validation"; 22022 field protected org.xml.sax.ContentHandler contentHandler; 22023 field protected org.xml.sax.ErrorHandler errorHandler; 22024 field protected org.xmlpull.v1.XmlPullParser pp; 22025 field protected String systemId; 22026 } 22027 22028} 22029 22030