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/naming/pcosnaming/PersistentBindingIterator.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.naming.pcosnaming; // Import general CORBA classes import org.omg.CORBA.SystemException; import org.omg.CORBA.ORB; import org.omg.CORBA.INTERNAL; // Get org.omg.CosNaming Types import org.omg.CosNaming.Binding; import org.omg.CosNaming.BindingType; import org.omg.CosNaming.BindingTypeHolder; import org.omg.CosNaming.NameComponent; import org.omg.PortableServer.POA; // Get base implementation import com.sun.corba.se.impl.naming.pcosnaming.NamingContextImpl; import com.sun.corba.se.impl.naming.pcosnaming.InternalBindingValue; import com.sun.corba.se.impl.naming.cosnaming.BindingIteratorImpl; // Get a hash table import java.util.Hashtable; import java.util.Enumeration; /** * Class TransientBindingIterator implements the abstract methods * defined by BindingIteratorImpl, to use with the TransientNamingContext * implementation of the NamingContextImpl. The TransientBindingIterator * implementation receives a hash table of InternalBindingValues, and uses * an Enumeration to iterate over the contents of the hash table. * @see BindingIteratorImpl * @see TransientNamingContext */ public class PersistentBindingIterator extends BindingIteratorImpl { private POA biPOA; /** * Constructs a new PersistentBindingIterator object. * @param orb a org.omg.CORBA.ORB object. * @param aTable A hashtable containing InternalBindingValues which is * the content of the PersistentNamingContext. * @param java.lang.Exception a Java exception. * @exception Exception a Java exception thrown of the base class cannot * initialize. */ public PersistentBindingIterator(org.omg.CORBA.ORB orb, Hashtable aTable, POA thePOA ) throws java.lang.Exception { super(orb); this.orb = orb; theHashtable = aTable; theEnumeration = this.theHashtable.keys(); currentSize = this.theHashtable.size(); biPOA = thePOA; } /** * Returns the next binding in the NamingContext. Uses the enumeration * object to determine if there are more bindings and if so, returns * the next binding from the InternalBindingValue. * @param b The Binding as an out parameter. * @return true if there were more bindings. */ final public boolean NextOne(org.omg.CosNaming.BindingHolder b) { // If there are more elements get the next element boolean hasMore = theEnumeration.hasMoreElements(); if (hasMore) { InternalBindingKey theBindingKey = ((InternalBindingKey)theEnumeration.nextElement()); InternalBindingValue theElement = (InternalBindingValue)theHashtable.get( theBindingKey ); NameComponent n = new NameComponent( theBindingKey.id, theBindingKey.kind ); NameComponent[] nlist = new NameComponent[1]; nlist[0] = n; BindingType theType = theElement.theBindingType; b.value = new Binding( nlist, theType ); } else { // Return empty but marshalable binding b.value = new Binding(new NameComponent[0],BindingType.nobject); } return hasMore; } /** * Destroys this BindingIterator by disconnecting from the ORB * @exception org.omg.CORBA.SystemException One of a fixed set of CORBA system exceptions. */ final public void Destroy() { // Remove the object from the Active Object Map. try { byte[] objectId = biPOA.servant_to_id( this ); if( objectId != null ) { biPOA.deactivate_object( objectId ); } } catch( Exception e ) { throw new INTERNAL( "Exception in BindingIterator.Destroy " + e ); } } /** * Returns the remaining number of elements in the iterator. * @return the remaining number of elements in the iterator. */ public final int RemainingElements() { return currentSize; } private int currentSize; private Hashtable theHashtable; private Enumeration theEnumeration; private org.omg.CORBA.ORB orb; }
⏎ com/sun/corba/se/impl/naming/pcosnaming/PersistentBindingIterator.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, 368847👍, 3💬
Popular Posts:
What Is jms.jar? I heard it's related to JMS (Java Message Service) 1.1? The if you have an jms.jar ...
Java Architecture for XML Binding (JAXB) is a Java API that allows Java developers to map Java class...
Apache Ant is a Java-based build tool. In theory, it is kind of like make, without make's wrinkles. ...
JRE 8 rt.jar is the JAR file for JRE 8 RT (Runtime) libraries. JRE (Java Runtime) 8 is the runtime e...
JDK 1.1 source code directory contains Java source code for JDK 1.1 core classes: "C:\fyicenter\jdk-...