Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (309)
Collections:
Other Resources:
JDK 17 java.base.jmod - Base Module
JDK 17 java.base.jmod is the JMOD file for JDK 17 Base module.
JDK 17 Base module compiled class files are stored in \fyicenter\jdk-17.0.5\jmods\java.base.jmod.
JDK 17 Base module compiled class files are also linked and stored in the \fyicenter\jdk-17.0.5\lib\modules JImage file.
JDK 17 Base module source code files are stored in \fyicenter\jdk-17.0.5\lib\src.zip\java.base.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ java/nio/file/WatchEvent.java
/* * Copyright (c) 2007, 2013, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package java.nio.file; /** * An event or a repeated event for an object that is registered with a {@link * WatchService}. * * <p> An event is classified by its {@link #kind() kind} and has a {@link * #count() count} to indicate the number of times that the event has been * observed. This allows for efficient representation of repeated events. The * {@link #context() context} method returns any context associated with * the event. In the case of a repeated event then the context is the same for * all events. * * <p> Watch events are immutable and safe for use by multiple concurrent * threads. * * @param <T> The type of the context object associated with the event * * @since 1.7 */ public interface WatchEvent<T> { /** * An event kind, for the purposes of identification. * * @since 1.7 * @see StandardWatchEventKinds */ public static interface Kind<T> { /** * Returns the name of the event kind. * * @return the name of the event kind */ String name(); /** * Returns the type of the {@link WatchEvent#context context} value. * * * @return the type of the context value */ Class<T> type(); } /** * An event modifier that qualifies how a {@link Watchable} is registered * with a {@link WatchService}. * * <p> This release does not define any <em>standard</em> modifiers. * * @since 1.7 * @see Watchable#register */ public static interface Modifier { /** * Returns the name of the modifier. * * @return the name of the modifier */ String name(); } /** * Returns the event kind. * * @return the event kind */ Kind<T> kind(); /** * Returns the event count. If the event count is greater than {@code 1} * then this is a repeated event. * * @return the event count */ int count(); /** * Returns the context for the event. * * <p> In the case of {@link StandardWatchEventKinds#ENTRY_CREATE ENTRY_CREATE}, * {@link StandardWatchEventKinds#ENTRY_DELETE ENTRY_DELETE}, and {@link * StandardWatchEventKinds#ENTRY_MODIFY ENTRY_MODIFY} events the context is * a {@code Path} that is the {@link Path#relativize relative} path between * the directory registered with the watch service, and the entry that is * created, deleted, or modified. * * @return the event context; may be {@code null} */ T context(); }
⏎ java/nio/file/WatchEvent.java
Or download all of them as a single archive file:
File name: java.base-17.0.5-src.zip File size: 8883851 bytes Release date: 2022-09-13 Download
2023-09-26, 68855👍, 1💬
Popular Posts:
Xalan-Java, Version 2.7.1, is an XSLT processor for transforming XML documents into HTML, text, or o...
Where to find answers to frequently asked questions on Downloading and Installing Connector/J - JDBC...
What Is jtds-1.2.2.jar? jtds-1.2.2.jar is the JAR files of jTDS Java library 1.2.2, which is a JDBC ...
What Is javamail1_1_3.zip? javamail1_1_3.zip is the binary package of JavaMail API 1.1.3 in ZIP form...
What Is poi-ooxml-5.2.3.jar? poi-ooxml-5.2.3.jar is one of the JAR files for Apache POI 5.2.3, which...