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 11 jdk.jcmd.jmod - JCmd Tool
JDK 11 jdk.jcmd.jmod is the JMOD file for JDK 11 JCmd tool, which can be invoked by the "jcmd" command.
JDK 11 JCmd tool compiled class files are stored in \fyicenter\jdk-11.0.1\jmods\jdk.jcmd.jmod.
JDK 11 JCmd tool compiled class files are also linked and stored in the \fyicenter\jdk-11.0.1\lib\modules JImage file.
JDK 11 JCmd source code files are stored in \fyicenter\jdk-11.0.1\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/Alignment.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 data alignment semantics * * @author Brian Doherty * @since 1.5 */ public abstract class Alignment { private static int nextOrdinal = 0; private static HashMap<String, Alignment> map = new HashMap<String, Alignment>(); private static final String blanks = " "; private final String name; private final int value = nextOrdinal++; protected abstract String align(String s, int width); /** * Alignment representing a Centered alignment */ public static final Alignment CENTER = new Alignment("center") { protected String align(String s, int width) { int length = s.length(); if (length >= width) { return s; } int pad = width - length; int pad2 = pad / 2; int padr = pad % 2; if (pad2 == 0) { // only 0 or 1 character to pad return s + blanks.substring(0, padr); } else { // pad on both sides return blanks.substring(0, pad2) + s + blanks.substring(0, pad2 + padr); } } }; /** * Alignment representing a Left alignment */ public static final Alignment LEFT = new Alignment("left") { protected String align(String s, int width) { int length = s.length(); if (length >= width) { return s; } int pad = width - length; return s+blanks.substring(0, pad); } }; /** * Alignment representing a Right alignment */ public static final Alignment RIGHT = new Alignment("right") { protected String align(String s, int width) { int length = s.length(); if (length >= width) { return s; } int pad = width - length; return blanks.substring(0, pad) + s; } }; /** * Maps a string value to its corresponding Alignment object. * * @param s an string to match against Alignment objects. * @return The Alignment object matching the given string. */ public static Alignment toAlignment(String s) { return map.get(s); } /** * Returns an enumeration of the keys for this enumerated type * * @return Set of Key Words for this enumeration. */ public static Set<String> keySet() { return map.keySet(); } public String toString() { return name; } private Alignment(String name) { this.name = name; map.put(name, this); } }
⏎ sun/tools/jstat/Alignment.java
Or download all of them as a single archive file:
File name: jdk.jcmd-11.0.1-src.zip File size: 47892 bytes Release date: 2018-11-04 Download
⇒ JDK 11 jdk.jconsole.jmod - JConsole Tool
2020-07-07, 15081👍, 0💬
Popular Posts:
JDK 11 java.xml.jmod is the JMOD file for JDK 11 XML (eXtensible Markup Language) module. JDK 11 XML...
Apache ZooKeeper is an open-source server which enables highly reliable distributed coordination. Ap...
JDK 11 java.desktop.jmod is the JMOD file for JDK 11 Desktop module. JDK 11 Desktop module compiled ...
Apache Commons Lang 3 is the 3rd version of Apache Commons Lang, which provides a host of helper uti...
jlGui is a music player for the Java platform. It is based on Java Sound 1.0 (i.e. JDK 1.3+). It sup...