Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (102)
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 (322)
Collections:
Other Resources:
JDK 11 jdk.hotspot.agent.jmod - Hotspot Agent Module
JDK 11 jdk.hotspot.agent.jmod is the JMOD file for JDK 11 Hotspot Agent module.
JDK 11 Hotspot Agent module compiled class files are stored in \fyicenter\jdk-11.0.1\jmods\jdk.hotspot.agent.jmod.
JDK 11 Hotspot Agent module compiled class files are also linked and stored in the \fyicenter\jdk-11.0.1\lib\modules JImage file.
JDK 11 Hotspot Agent module source code files are stored in \fyicenter\jdk-11.0.1\lib\src.zip\jdk.hotspot.agent.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ sun/jvm/hotspot/ui/tree/SimpleTreeModel.java
/*
* Copyright (c) 2000, 2001, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package sun.jvm.hotspot.ui.tree;
import java.util.*;
import javax.swing.*;
import javax.swing.event.*;
import javax.swing.tree.*;
/** A very simple tree model which allows the root to be set, so we
can reuse the same model for various types of data; the
specialization is contained within the nodes. This tree model
operates on SimpleTreeNodes. */
public class SimpleTreeModel implements TreeModel {
private static final SimpleTreeNode singletonNullRoot = new SimpleTreeNode() {
public int getChildCount() { return 0; }
public SimpleTreeNode getChild(int index) { return null; }
public boolean isLeaf() { return true; }
public int getIndexOfChild(SimpleTreeNode child) { return 0; }
public String toString() { return ""; }
public String getName() { return toString(); }
public String getValue() { return toString(); }
};
private SimpleTreeNode root = singletonNullRoot;
/** List<TreeModelListener> */
private List listeners = new ArrayList();
public void setRoot(SimpleTreeNode node) {
if (node != null) {
root = node;
} else {
root = singletonNullRoot;
}
fireTreeStructureChanged();
}
public Object getRoot() {
return root;
}
public Object getChild(Object parent, int index) {
return ((SimpleTreeNode) parent).getChild(index);
}
public int getChildCount(Object parent) {
return ((SimpleTreeNode) parent).getChildCount();
}
public boolean isLeaf(Object node) {
if (node == null) {
return true;
}
return ((SimpleTreeNode) node).isLeaf();
}
/** Unsupported operation */
public void valueForPathChanged(TreePath path, Object newValue) {
throw new UnsupportedOperationException();
}
public int getIndexOfChild(Object parent, Object child) {
return ((SimpleTreeNode) parent).getIndexOfChild((SimpleTreeNode) child);
}
public void addTreeModelListener(TreeModelListener l) {
listeners.add(l);
}
public void removeTreeModelListener(TreeModelListener l) {
listeners.remove(l);
}
public void fireTreeStructureChanged() {
TreeModelEvent e = new TreeModelEvent(getRoot(), new Object[] { getRoot() }, null, null);
for (Iterator iter = listeners.iterator(); iter.hasNext(); ) {
TreeModelListener l = (TreeModelListener) iter.next();
l.treeStructureChanged(e);
}
}
}
⏎ sun/jvm/hotspot/ui/tree/SimpleTreeModel.java
Or download all of them as a single archive file:
File name: jdk.hotspot.agent-11.0.1-src.zip File size: 1243786 bytes Release date: 2018-11-04 Download
⇒ JDK 11 jdk.httpserver.jmod - HTTP Server Module
2020-02-29, ≈403🔥, 0💬
Popular Posts:
maven-embedder-3.8.6.jar is the JAR file for Apache Maven 3.8.6 Embedder module. Apache Maven is a s...
Java Servlet 3.0 Specification API. JAR File Size and Download Location: File name: servlet-api.jar,...
JDK 11 java.xml.crypto.jmod is the JMOD file for JDK 11 XML (eXtensible Markup Language) Crypto modu...
How to merge two JAR files with "jar" commands? I am tired of specifying multiple JAR files in the c...
JDK 11 jdk.crypto.mscapi.jmod is the JMOD file for JDK 11 Crypto MSCAPI module. JDK 11 Crypto MSCAPI...