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:
JDK 1.1 Source Code Directory
JDK 1.1 source code directory contains Java source code for JDK 1.1 core classes: "C:\fyicenter\jdk-1.1.8\src".
Here is the list of Java classes of the JDK 1.1 source code:
✍: FYIcenter
⏎ java/rmi/server/ObjID.java
/* * @(#)ObjID.java 1.10 01/12/10 * * Copyright 2002 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ package java.rmi.server; import java.io.ObjectInput; import java.io.ObjectOutput; /** * The class ObjID is used to identify remote objects uniquely in a VM * over time. Each identifier contains an object number and an address * space identifier that is unique with respect to a specific host. An * object identifier is assigned to a remote object when it is * exported. */ public final class ObjID implements java.io.Serializable { private static final long serialVersionUID = -6386392263968365220L; /** well-known id for the registry */ public static final int REGISTRY_ID = 0; /** well-known id for the distributed garbage collector */ public static final int DGC_ID = 2; /** object number */ private long objNum; /** address space identifier (unique to host) */ private UID space; private static long nextNum = 0; private final static UID mySpace = new UID(); /** * Generate unique object identifier. */ public ObjID () { synchronized (mySpace) { space = mySpace; objNum = nextNum++; } } /** * Generate a "well-known" object ID. An object ID generated via * this constructor will not clash with any object IDs generated * via the default constructor. * @param num a unique well-known object number */ public ObjID (int num) { space = new UID((short)0); objNum = num; } /** * Private constructor for creating an object ID given its contents * that is read from a stream. */ private ObjID(long objNum, UID space) { this.objNum = objNum; this.space = space; } /** * Marshal object id to output stream. */ public void write(ObjectOutput out) throws java.io.IOException { out.writeLong(objNum); space.write(out); } /** * The read method constructs an object id whose contents is read * from the specified input stream. */ public static ObjID read(ObjectInput in) throws java.io.IOException { long num = in.readLong(); UID space = UID.read(in); return new ObjID(num, space); } /** * The hashcode is the object number. */ public int hashCode() { return (int) objNum; } /** * Two object identifiers are considered equal if they have the * same contents. */ public boolean equals(Object obj) { if ((obj != null) && (obj instanceof ObjID)) { ObjID id = (ObjID)obj; return (objNum == id.objNum && space.equals(id.space)); } else { return false; } } /** * Returns a string containing the object id representation. The * address space identifier is included in the string * representation only if the object id is from a non-local * address space. */ public String toString() { return "[" + (space.equals(mySpace) ? "" : space + ", ") + objNum + "]"; } }
⏎ java/rmi/server/ObjID.java
Or download all of them as a single archive file:
File name: jdk-1.1.8-src.zip File size: 1574187 bytes Release date: 2018-11-16 Download
⇒ Backup JDK 1.1 Installation Directory
2018-11-17, 150709👍, 0💬
Popular Posts:
Guava is a suite of core and expanded libraries that include utility classes, google's collections, ...
Rhino JavaScript Java Library is an open-source implementation of JavaScript written entirely in Jav...
JDK 11 jdk.javadoc.jmod is the JMOD file for JDK 11 Java Document tool, which can be invoked by the ...
Jackson is "the Java JSON library" or "the best JSON parser for Java". Or simply as "JSON for Java"....
JDK 11 jdk.crypto.mscapi.jmod is the JMOD file for JDK 11 Crypto MSCAPI module. JDK 11 Crypto MSCAPI...