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:
JRE 8 rt.jar - com.* Package Source Code
JRE 8 rt.jar is the JAR file for JRE 8 RT (Runtime) libraries. JRE (Java Runtime) 8 is the runtime environment included in JDK 8. JRE 8 rt.jar libraries are divided into 6 packages:
com.* - Internal Oracle and Sun Microsystems libraries java.* - Standard Java API libraries. javax.* - Extended Java API libraries. jdk.* - JDK supporting libraries. org.* - Third party libraries. sun.* - Old libraries developed by Sun Microsystems.
JAR File Information:
Directory of C:\fyicenter\jdk-1.8.0_191\jre\lib 63,596,151 rt.jar
Here is the list of Java classes of the com.* package in JRE 1.8.0_191 rt.jar. Java source codes are also provided.
✍: FYIcenter
⏎ com/sun/jmx/snmp/SnmpOidDatabaseSupport.java
/* * * Copyright (c) 2007, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ // Copyright (c) 1995-96 by Cisco Systems, Inc. package com.sun.jmx.snmp; // java import // import java.util.Vector; // jmx import // import com.sun.jmx.snmp.SnmpOidTable; import com.sun.jmx.snmp.SnmpOidRecord; import com.sun.jmx.snmp.SnmpStatusException; import static com.sun.jmx.mbeanserver.Util.cast; /** * Defines a set of <CODE>SnmpOidTable</CODE> objects containing metadata definitions for MIB variables. * Each <CODE>SnmpOidTable</CODE> should contain information on variables of one MIB. * It provides resolution of all MIB variables contained in the <CODE>SnmpOidTable</CODE> objects. * <p><b>This API is a Sun Microsystems internal API and is subject * to change without notice.</b></p> */ public class SnmpOidDatabaseSupport implements SnmpOidDatabase { /** * Creates an empty <CODE>SnmpOidDatabaseSupport</CODE>. */ public SnmpOidDatabaseSupport(){ tables=new Vector<SnmpOidTable>(); } /** * Creates an <CODE>SnmpOidDatabaseSupport</CODE> containing the specified <CODE>SnmpOidTable</CODE> object. * @param table The <CODE>SnmpOidTable</CODE> object used to initialize this <CODE>SnmpOidDatabaseSupport</CODE>. */ public SnmpOidDatabaseSupport(SnmpOidTable table){ tables=new Vector<SnmpOidTable>(); tables.addElement(table); } /** * Adds a <CODE>SnmpOidTable</CODE> object in this <CODE>SnmpOidDatabase</CODE>. * @param table The table to add. */ public void add(SnmpOidTable table) { if (!tables.contains(table)) { tables.addElement(table); } } /** * Removes a <CODE>SnmpOidTable</CODE> object from this <CODE>SnmpOidDatabase</CODE>. * @param table The table to be removed. * @exception SnmpStatusException The specified <CODE>SnmpOidTable</CODE> does not exist in this <CODE>SnmpOidDatabase</CODE>. */ public void remove(SnmpOidTable table) throws SnmpStatusException { if (!tables.contains(table)) { throw new SnmpStatusException("The specified SnmpOidTable does not exist in this SnmpOidDatabase"); } tables.removeElement(table); } /** * Searches for a MIB variable given its logical name and returns an <CODE>SnmpOidRecord</CODE> * object containing information on the variable. * @param name The name of the MIB variable. * @return The <CODE>SnmpOidRecord</CODE> object containing information on the variable. * * @exception SnmpStatusException The specified name does not exist in this <CODE>SnmpOidDatabase</CODE> */ public SnmpOidRecord resolveVarName(String name) throws SnmpStatusException { for (int i=0;i<tables.size();i++) { try { return (tables.elementAt(i).resolveVarName(name)); } catch (SnmpStatusException e) { if (i==tables.size()-1) { throw new SnmpStatusException(e.getMessage()); } } } return null; } /** * Searches for a MIB variable given its OID and returns an <CODE>SnmpOidRecord</CODE> object containing * information on the variable. * @param oid The OID of the MIB variable. * @return The <CODE>SnmpOidRecord</CODE> object containing information on the variable. * @exception SnmpStatusException The specified oid does not exist in this <CODE>SnmpOidDatabase</CODE>. */ public SnmpOidRecord resolveVarOid(String oid) throws SnmpStatusException { for (int i=0;i<tables.size();i++) { try { return tables.elementAt(i).resolveVarOid(oid); } catch (SnmpStatusException e) { if (i==tables.size()-1) { throw new SnmpStatusException(e.getMessage()); } } } return null; } /** * Returns a list that can be used to traverse all the entries of the <CODE>SnmpOidTable</CODE> objects * of this <CODE>SnmpOidDatabase</CODE>. * @return A vector of <CODE>SnmpOidTable</CODE> objects containing all the elements of this <CODE>SnmpOidDatabase</CODE>. */ public Vector<?> getAllEntries() { Vector<SnmpOidTable> res = new Vector<SnmpOidTable>(); for (int i=0;i<tables.size();i++) { Vector<SnmpOidTable> tmp = cast(tables.elementAt(i).getAllEntries()); if (tmp != null) { for(int ii=0; ii<tmp.size(); ii++) { res.addElement(tmp.elementAt(ii)); } } } // res.addAll(((SnmpOidTable)tables.elementAt(i)).getAllEntries()); return res; } /** * Removes all <CODE>SnmpOidTable</CODE> objects from this <CODE>SnmpOidDatabase</CODE>. */ public void removeAll(){ tables.removeAllElements() ; } private Vector<SnmpOidTable> tables; }
⏎ com/sun/jmx/snmp/SnmpOidDatabaseSupport.java
Or download all of them as a single archive file:
File name: jre-rt-com-1.8.0_191-src.zip File size: 8099783 bytes Release date: 2018-10-28 Download
⇒ Backup JDK 8 Installation Directory
2023-02-07, 251870👍, 3💬
Popular Posts:
commons-collections4-4.2 -sources.jaris the source JAR file for Apache Commons Collections 4.2, whic...
Apache Commons Codec library provides implementations of common encoders and decoders such as Base64...
JDK 11 java.xml.crypto.jmod is the JMOD file for JDK 11 XML (eXtensible Markup Language) Crypto modu...
ASM is an all purpose Java bytecode manipulation and analysis framework. It can be used to modify ex...
commons-io-2.6-sources.j aris the source JAR file for Apache Commons IO 2.6, which is a library of u...