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/SnmpNull.java
/* * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package com.sun.jmx.snmp; /** * Represents an SNMP null value. * <p><b>This API is a Sun Microsystems internal API and is subject * to change without notice.</b></p> */ public class SnmpNull extends SnmpValue { private static final long serialVersionUID = 1783782515994279177L; // CONSTRUCTORS //------------- /** * Constructs a new <CODE>SnmpNull</CODE>. */ public SnmpNull() { tag = NullTag ; } /** * Constructs a new <CODE>SnmpNull</CODE>. * <BR>For mibgen private use only. */ public SnmpNull(String dummy) { this(); } /** * Constructs a new <CODE>SnmpNull</CODE> from the specified tag value. * @param t The initialization value. */ public SnmpNull(int t) { tag = t ; } // PUBLIC METHODS //--------------- /** * Returns the tag value of this <CODE>SnmpNull</CODE>. * @return The value. */ public int getTag() { return tag ; } /** * Converts the <CODE>NULL</CODE> value to its ASN.1 <CODE>String</CODE> form. * When the tag is not the universal one, it is preprended * to the <CODE>String</CODE> form. * @return The <CODE>String</CODE> representation of the value. */ public String toString() { String result = "" ; if (tag != 5) { result += "[" + tag + "] " ; } result += "NULL" ; switch(tag) { case errNoSuchObjectTag : result += " (noSuchObject)" ; break ; case errNoSuchInstanceTag : result += " (noSuchInstance)" ; break ; case errEndOfMibViewTag : result += " (endOfMibView)" ; break ; } return result ; } /** * Converts the <CODE>NULL</CODE> value to its <CODE>SnmpOid</CODE> form. * Normally, a <CODE>NULL</CODE> value cannot be used as an index value, * this method triggers an exception. * @return The OID representation of the value. */ public SnmpOid toOid() { throw new IllegalArgumentException() ; } /** * Performs a clone action. This provides a workaround for the * <CODE>SnmpValue</CODE> interface. * @return The SnmpValue clone. */ final synchronized public SnmpValue duplicate() { return (SnmpValue) clone() ; } /** * Clones the <CODE>SnmpNull</CODE> object, making a copy of its data. * @return The object clone. */ final synchronized public Object clone() { SnmpNull newclone = null ; try { newclone = (SnmpNull) super.clone() ; newclone.tag = tag ; } catch (CloneNotSupportedException e) { throw new InternalError(e) ; // vm bug. } return newclone ; } /** * Returns a textual description of the type object. * @return ASN.1 textual description. */ final public String getTypeName() { return name ; } /** * Checks if this <CODE>SnmpNull</CODE> object corresponds to a <CODE>noSuchObject</CODE> value. * @return <CODE>true</CODE> if the tag equals {@link com.sun.jmx.snmp.SnmpDataTypeEnums#errNoSuchObjectTag}, * <CODE>false</CODE> otherwise. */ public boolean isNoSuchObjectValue() { return (tag == SnmpDataTypeEnums.errNoSuchObjectTag); } /** * Checks if this <CODE>SnmpNull</CODE> object corresponds to a <CODE>noSuchInstance</CODE> value. * @return <CODE>true</CODE> if the tag equals {@link com.sun.jmx.snmp.SnmpDataTypeEnums#errNoSuchInstanceTag}, * <CODE>false</CODE> otherwise. */ public boolean isNoSuchInstanceValue() { return (tag == SnmpDataTypeEnums.errNoSuchInstanceTag); } /** * Checks if this <CODE>SnmpNull</CODE> object corresponds to an <CODE>endOfMibView</CODE> value. * @return <CODE>true</CODE> if the tag equals {@link com.sun.jmx.snmp.SnmpDataTypeEnums#errEndOfMibViewTag}, * <CODE>false</CODE> otherwise. */ public boolean isEndOfMibViewValue() { return (tag == SnmpDataTypeEnums.errEndOfMibViewTag); } // VARIABLES //---------- /** * Name of the type. */ final static String name = "Null" ; /** * This is the tag of the NULL value. By default, it is the universal tag value. */ private int tag = 5 ; }
⏎ com/sun/jmx/snmp/SnmpNull.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, 254102👍, 3💬
Popular Posts:
A stream buffer is a stream-based representation of an XML infoset in Java. Stream buffers are desig...
JDOM provides a solution for using XML from Java that is as simple as Java itself. There is no compe...
What is the dom\GetElementsByTagName .javaprovided in the Apache Xerces package? I have Apache Xerce...
JasperReports, the world's most popular open source business intelligence and reporting engine and J...
JRE 8 rt.jar is the JAR file for JRE 8 RT (Runtime) libraries. JRE (Java Runtime) 8 is the runtime e...