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/naming/cosnaming/BindingIteratorImpl.java
/* * Copyright (c) 1996, 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.cosnaming; // Import general CORBA classes import org.omg.CORBA.ORB; import org.omg.CORBA.Object; // Import org.omg.CosNaming classes import org.omg.CosNaming.Binding; import org.omg.CosNaming.BindingType; import org.omg.CosNaming.BindingHolder; import org.omg.CosNaming.BindingListHolder; import org.omg.CosNaming.BindingIteratorHolder; import org.omg.CosNaming.BindingIteratorPOA; import org.omg.CORBA.BAD_PARAM; /** * Class BindingIteratorImpl implements the org.omg.CosNaming::BindingIterator * interface, but does not implement the method to retrieve the next * binding in the NamingContext for which it was created. This is left * to a subclass, which is why this class is abstract; BindingIteratorImpl * provides an implementation of the interface operations on top of two * subclass methods, allowing multiple implementations of iterators that * differ in storage and access to the contents of a NamingContext * implementation. * <p> * The operation next_one() is implemented by the subclass, whereas * next_n() is implemented on top of the next_one() implementation. * Destroy must also be implemented by the subclass. * <p> * A subclass must implement NextOne() and Destroy(); these * methods are invoked from synchronized methods and need therefore * not be synchronized themselves. */ public abstract class BindingIteratorImpl extends BindingIteratorPOA { protected ORB orb ; /** * Create a binding iterator servant. * runs the super constructor. * @param orb an ORB object. * @exception java.lang.Exception a Java exception. */ public BindingIteratorImpl(ORB orb) throws java.lang.Exception { super(); this.orb = orb ; } /** * Return the next binding. It also returns true or false, indicating * whether there were more bindings. * @param b The Binding as an out parameter. * @return true if there were more bindings. * @exception org.omg.CORBA.SystemException One of a fixed set of CORBA * system exceptions. * @see NextOne */ public synchronized boolean next_one(org.omg.CosNaming.BindingHolder b) { // NextOne actually returns the next one return NextOne(b); } /** * Return the next n bindings. It also returns true or false, indicating * whether there were more bindings. * @param how_many The number of requested bindings in the BindingList. * @param bl The BindingList as an out parameter. * @return true if there were more bindings. * @exception org.omg.CORBA.SystemException One of a fixed set of CORBA * system exceptions. * @see NextOne */ public synchronized boolean next_n(int how_many, org.omg.CosNaming.BindingListHolder blh) { if( how_many == 0 ) { throw new BAD_PARAM( " 'how_many' parameter is set to 0 which is" + " invalid" ); } return list( how_many, blh ); } /** * lists next n bindings. It returns true or false, indicating * whether there were more bindings. This method has the package private * scope, It will be called from NamingContext.list() operation or * this.next_n(). * @param how_many The number of requested bindings in the BindingList. * @param bl The BindingList as an out parameter. * @return true if there were more bindings. */ public boolean list( int how_many, org.omg.CosNaming.BindingListHolder blh) { // Take the smallest of what's left and what's being asked for int numberToGet = Math.min(RemainingElements(),how_many); // Create a resulting BindingList Binding[] bl = new Binding[numberToGet]; BindingHolder bh = new BindingHolder(); int i = 0; // Keep iterating as long as there are entries while (i < numberToGet && this.NextOne(bh) == true) { bl[i] = bh.value; i++; } // Found any at all? if (i == 0) { // No blh.value = new Binding[0]; return false; } // Set into holder blh.value = bl; return true; } /** * Destroy this BindingIterator object. The object corresponding to this * object reference is destroyed. * @exception org.omg.CORBA.SystemException One of a fixed set of CORBA * system exceptions. * @see Destroy */ public synchronized void destroy() { // Destroy actually destroys this.Destroy(); } /** * Abstract method for returning the next binding in the NamingContext * for which this BindingIterator was created. * @param b The Binding as an out parameter. * @return true if there were more bindings. * @exception org.omg.CORBA.SystemException One of a fixed set of CORBA * system exceptions. */ protected abstract boolean NextOne(org.omg.CosNaming.BindingHolder b); /** * Abstract method for destroying this BindingIterator. * @exception org.omg.CORBA.SystemException One of a fixed set of CORBA * system exceptions. */ protected abstract void Destroy(); /** * Abstract method for returning the remaining number of elements. * @return the remaining number of elements in the iterator. */ protected abstract int RemainingElements(); }
⏎ com/sun/corba/se/impl/naming/cosnaming/BindingIteratorImpl.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, 337437👍, 3💬
Popular Posts:
If you are a Java developer, it is very often that you need to use some 3rd party libraries to perfo...
Rhino JavaScript Java Library is an open-source implementation of JavaScript written entirely in Jav...
What Is log4j-1.2.15.jar? I got the JAR file from apache-log4j-1.2.15.zip. log4j-1.2.15.jar is the v...
What Is fop.jar? I got it from the fop-2.7-bin.zip. fop.jar in fop-2.7-bin.zip is the JAR file for F...
The JSR 105 XML Digital Signature 1.0.1 FCS implementation provides an API and implementation that a...