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:
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/CacheTable.java
/* * Copyright (c) 1999, 2003, 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 org.omg.CORBA.INTERNAL; import org.omg.CORBA.CompletionStatus; import com.sun.corba.se.spi.logging.CORBALogDomains; import com.sun.corba.se.spi.orb.ORB; import com.sun.corba.se.impl.logging.ORBUtilSystemException; public class CacheTable { class Entry { java.lang.Object key; int val; Entry next; // this chains the collision list of table "map" Entry rnext; // this chains the collision list of table "rmap" public Entry(java.lang.Object k, int v) { key = k; val = v; next = null; rnext = null; } } private boolean noReverseMap; // size must be power of 2 static final int INITIAL_SIZE = 16; static final int MAX_SIZE = 1 << 30; int size; int entryCount; private Entry [] map; private Entry [] rmap; private ORB orb; private ORBUtilSystemException wrapper; private CacheTable() {} public CacheTable(ORB orb, boolean u) { //System.out.println("using new cache table"); this.orb = orb; wrapper = ORBUtilSystemException.get(orb, CORBALogDomains.RPC_ENCODING); noReverseMap = u; size = INITIAL_SIZE; entryCount = 0; initTables(); } private void initTables() { map = new Entry[size]; rmap = noReverseMap ? null : new Entry[size]; } private void grow() { if (size == MAX_SIZE) return; Entry [] oldMap = map; int oldSize = size; size <<= 1; initTables(); // now rehash the entries into the new table for (int i = 0; i < oldSize; i++) { for (Entry e = oldMap[i]; e != null; e = e.next) put_table(e.key, e.val); } } private int moduloTableSize(int h) { // these are the "supplemental hash function" copied from // java.util.HashMap, supposed to be "critical" h += ~(h << 9); h ^= (h >>> 14); h += (h << 4); h ^= (h >>> 10); return h & (size - 1); } private int hash(java.lang.Object key) { return moduloTableSize(System.identityHashCode(key)); } private int hash(int val) { return moduloTableSize(val); } public final void put(java.lang.Object key, int val) { if (put_table(key, val)) { entryCount++; if (entryCount > size * 3 / 4) grow(); } } private boolean put_table(java.lang.Object key, int val) { int index = hash(key); for (Entry e = map[index]; e != null; e = e.next) { if (e.key == key) { if (e.val != val) { throw wrapper.duplicateIndirectionOffset(); } // if we get here we are trying to put in the same key/val pair // this is a no-op, so we just return return false; } } // this means the key is not present in our table // then it shouldnt be present in our reverse table either Entry newEntry = new Entry(key, val); newEntry.next = map[index]; map[index] = newEntry; if (!noReverseMap) { int rindex = hash(val); newEntry.rnext = rmap[rindex]; rmap[rindex] = newEntry; } return true; } public final boolean containsKey(java.lang.Object key) { return (getVal(key) != -1); } public final int getVal(java.lang.Object key) { int index = hash(key); for (Entry e = map[index]; e != null; e = e.next) { if (e.key == key) return e.val; } return -1; } public final boolean containsVal(int val) { return (getKey(val) != null); } public final boolean containsOrderedVal(int val) { return containsVal(val); } public final java.lang.Object getKey(int val) { int index = hash(val); for (Entry e = rmap[index]; e != null; e = e.rnext) { if (e.val == val) return e.key; } return null; } public void done() { map = null; rmap = null; } }
⏎ com/sun/corba/se/impl/orbutil/CacheTable.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, 373964👍, 3💬
Popular Posts:
What Is poi-3.5.jar - Part 2? poi-3.5.jar is one of the JAR files for Apache POI 3.5, which provides...
layout.jar is a component in iText Java library to provide layout functionalities. iText Java librar...
JRE 8 rt.jar is the JAR file for JRE 8 RT (Runtime) libraries. JRE (Java Runtime) 8 is the runtime e...
What is jxl.jar 2.6.12? jxl.jar 2.6.12 is the JAR file for Java Excel API 2.6.12, which is a Java li...
Smack is an Open Source XMPP (Jabber) client library for instant messaging and presence. A pure Java...