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/Operator.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.*; /** * A typesafe enumeration for describing mathematical operators. * * @author Brian Doherty * @since 1.5 */ public abstract class Operator { private static int nextOrdinal = 0; private static HashMap<String, Operator> map = new HashMap<String, Operator>(); private final String name; private final int ordinal = nextOrdinal++; private Operator(String name) { this.name = name; map.put(name, this); } protected abstract double eval(double x, double y); /* Operator '+' */ public static final Operator PLUS = new Operator("+") { protected double eval(double x, double y) { return x + y; } }; /* Operator '-' */ public static final Operator MINUS = new Operator("-") { protected double eval(double x, double y) { return x - y; } }; /* Operator '/' */ public static final Operator DIVIDE = new Operator("/") { protected double eval(double x, double y) { if (y == 0) { return Double.NaN; } return x / y; } }; /* Operator '*' */ public static final Operator MULTIPLY = new Operator("*") { protected double eval(double x, double y) { return x * y; } }; /** * Returns the string representation of this Operator object. * * @return the string representation of this Operator object */ public String toString() { return name; } /** * Maps a string to its corresponding Operator object. * * @param s an string to match against Operator objects. * @return The Operator object matching the given string. */ public static Operator toOperator(String s) { return map.get(s); } /** * Returns an enumeration of the keys for this enumerated type * * @param s an string to match against Operator objects. * @return The Operator object matching the given string. */ protected static Set<?> keySet() { return map.keySet(); } }
⏎ sun/tools/jstat/Operator.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, 2831👍, 0💬
Popular Posts:
JLayer is a library that decodes/plays/converts MPEG 1/2/2.5 Layer 1/2/3 (i.e. MP3) in real time for...
Where to find answers to frequently asked questions on Downloading and Using JDK (Java Development K...
The Bouncy Castle Crypto package is a Java implementation of cryptographic algorithms, it was develo...
Jackson is "the Java JSON library" or "the best JSON parser for Java". Or simply as "JSON for Java"....
What Is mail.jar of JavaMail 1.3? I got the JAR file from javamail-1_3.zip. mail.jar in javamail-1_3...