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/corba/se/impl/orbutil/ObjectWriter.java
/* * Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package com.sun.corba.se.impl.orbutil ; import java.util.Arrays ; public abstract class ObjectWriter { public static ObjectWriter make( boolean isIndenting, int initialLevel, int increment ) { if (isIndenting) return new IndentingObjectWriter( initialLevel, increment ) ; else return new SimpleObjectWriter() ; } public abstract void startObject( Object obj ) ; public abstract void startElement() ; public abstract void endElement() ; public abstract void endObject( String str ) ; public abstract void endObject() ; public String toString() { return result.toString() ; } public void append( boolean arg ) { result.append( arg ) ; } public void append( char arg ) { result.append( arg ) ; } public void append( short arg ) { result.append( arg ) ; } public void append( int arg ) { result.append( arg ) ; } public void append( long arg ) { result.append( arg ) ; } public void append( float arg ) { result.append( arg ) ; } public void append( double arg ) { result.append( arg ) ; } public void append( String arg ) { result.append( arg ) ; } //================================================================================================= // Implementation //================================================================================================= protected StringBuffer result ; protected ObjectWriter() { result = new StringBuffer() ; } protected void appendObjectHeader( Object obj ) { result.append( obj.getClass().getName() ) ; result.append( "<" ) ; result.append( System.identityHashCode( obj ) ) ; result.append( ">" ) ; Class compClass = obj.getClass().getComponentType() ; if (compClass != null) { result.append( "[" ) ; if (compClass == boolean.class) { boolean[] arr = (boolean[])obj ; result.append( arr.length ) ; result.append( "]" ) ; } else if (compClass == byte.class) { byte[] arr = (byte[])obj ; result.append( arr.length ) ; result.append( "]" ) ; } else if (compClass == short.class) { short[] arr = (short[])obj ; result.append( arr.length ) ; result.append( "]" ) ; } else if (compClass == int.class) { int[] arr = (int[])obj ; result.append( arr.length ) ; result.append( "]" ) ; } else if (compClass == long.class) { long[] arr = (long[])obj ; result.append( arr.length ) ; result.append( "]" ) ; } else if (compClass == char.class) { char[] arr = (char[])obj ; result.append( arr.length ) ; result.append( "]" ) ; } else if (compClass == float.class) { float[] arr = (float[])obj ; result.append( arr.length ) ; result.append( "]" ) ; } else if (compClass == double.class) { double[] arr = (double[])obj ; result.append( arr.length ) ; result.append( "]" ) ; } else { // array of object java.lang.Object[] arr = (java.lang.Object[])obj ; result.append( arr.length ) ; result.append( "]" ) ; } } result.append( "(" ) ; } /** Expected patterns: * startObject endObject( str ) * header( elem )\n * startObject ( startElement append* endElement ) * endObject * header(\n * append*\n * * )\n */ private static class IndentingObjectWriter extends ObjectWriter { private int level ; private int increment ; public IndentingObjectWriter( int initialLevel, int increment ) { this.level = initialLevel ; this.increment = increment ; startLine() ; } private void startLine() { char[] fill = new char[ level * increment ] ; Arrays.fill( fill, ' ' ) ; result.append( fill ) ; } public void startObject( java.lang.Object obj ) { appendObjectHeader( obj ) ; level++ ; } public void startElement() { result.append( "\n" ) ; startLine() ; } public void endElement() { } public void endObject( String str ) { level-- ; result.append( str ) ; result.append( ")" ) ; } public void endObject( ) { level-- ; result.append( "\n" ) ; startLine() ; result.append( ")" ) ; } } private static class SimpleObjectWriter extends ObjectWriter { public void startObject( java.lang.Object obj ) { appendObjectHeader( obj ) ; result.append( " " ) ; } public void startElement() { result.append( " " ) ; } public void endObject( String str ) { result.append( str ) ; result.append( ")" ) ; } public void endElement() { } public void endObject() { result.append( ")" ) ; } } }
⏎ com/sun/corba/se/impl/orbutil/ObjectWriter.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, 316983👍, 3💬
Popular Posts:
What Is javax.websocket-api-1.1. jar?javax.websocket-api-1.1. jaris the JAR file for Java API for We...
JDK 11 jdk.localedata.jmod is the JMOD file for JDK 11 Localedata module. JDK 11 Locale Data module ...
What Is jms.jar? I heard it's related to JMS (Java Message Service) 1.1? The if you have an jms.jar ...
JDK 11 jdk.dynalink.jmod is the JMOD file for JDK 11 Dynamic Linking module. JDK 11 Dynamic Linking ...
JAX-WS is an API for building web services and clients. It is the next generation Web Services API r...