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 jdk.jcmd.jmod - JCmd Tool
JDK 17 jdk.jcmd.jmod is the JMOD file for JDK 17 JCmd tool, which can be invoked by the "jcmd" command.
JDK 17 JCmd tool compiled class files are stored in \fyicenter\jdk-17.0.5\jmods\jdk.jcmd.jmod.
JDK 17 JCmd tool compiled class files are also linked and stored in the \fyicenter\jdk-17.0.5\lib\modules JImage file.
JDK 17 JCmd source code files are stored in \fyicenter\jdk-17.0.5\lib\src.zip\jdk.jcmd.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ sun/tools/jstat/OptionFormat.java
/* * Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package sun.tools.jstat; import java.util.*; import sun.jvmstat.monitor.MonitorException; /** * A class for describing the output format specified by a command * line option that was parsed from an option description file. * * @author Brian Doherty * @since 1.5 */ public class OptionFormat { protected String name; protected List<OptionFormat> children; public OptionFormat(String name) { this.name = name; this.children = new ArrayList<OptionFormat>(); } public boolean equals(Object o) { if (o == this) { return true; } if (!(o instanceof OptionFormat)) { return false; } OptionFormat of = (OptionFormat)o; return (this.name.compareTo(of.name) == 0); } public int hashCode() { return name.hashCode(); } public void addSubFormat(OptionFormat f) { children.add(f); } public OptionFormat getSubFormat(int index) { return children.get(index); } public void insertSubFormat(int index, OptionFormat f) { children.add(index, f); } public String getName() { return name; } public void apply(Closure c) throws MonitorException { for (Iterator<OptionFormat> i = children.iterator(); i.hasNext(); /* empty */) { OptionFormat o = i.next(); c.visit(o, i.hasNext()); } for (Iterator <OptionFormat>i = children.iterator(); i.hasNext(); /* empty */) { OptionFormat o = i.next(); o.apply(c); } } public void printFormat() { printFormat(0); } public void printFormat(int indentLevel) { String indentAmount = " "; StringBuilder indent = new StringBuilder(""); for (int j = 0; j < indentLevel; j++) { indent.append(indentAmount); } System.out.println(indent + name + " {"); // iterate over all children and call their printFormat() methods for (OptionFormat of : children) { of.printFormat(indentLevel+1); } System.out.println(indent + "}"); } }
⏎ sun/tools/jstat/OptionFormat.java
Or download all of them as a single archive file:
File name: jdk.jcmd-17.0.5-src.zip File size: 51997 bytes Release date: 2022-09-13 Download
⇒ JDK 17 jdk.jconsole.jmod - JConsole Tool
2023-08-17, 2820👍, 0💬
Popular Posts:
JAX-WS is an API for building web services and clients. It is the next generation Web Services API r...
What Is log4j-1.2.15.jar? I got the JAR file from apache-log4j-1.2.15.zip. log4j-1.2.15.jar is the v...
What JAR files are required to run dom\Counter.java provided in the Apache Xerces package? You can f...
JDK 11 jdk.jlink.jmod is the JMOD file for JDK 11 JLink tool, which can be invoked by the "jlink" co...
JasperReports, the world's most popular open source business intelligence and reporting engine and J...