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/text/UnicodeClassMapping.java
/* * @(#)UnicodeClassMapping.java 1.8 01/12/10 * * (C) Copyright Taligent, Inc. 1996-1997 - All Rights Reserved * (C) Copyright IBM Corp. 1996-1997 - All Rights Reserved * * Portions copyright (c) 2002 Sun Microsystems, Inc. All Rights Reserved. * * The original version of this source code and documentation is copyrighted * and owned by Taligent, Inc., a wholly-owned subsidiary of IBM. These * materials are provided under terms of a License Agreement between Taligent * and Sun. This technology is protected by multiple US and International * patents. This notice and attribution to Taligent may not be removed. * Taligent is a registered trademark of Taligent, Inc. * * Permission to use, copy, modify, and distribute this software * and its documentation for NON-COMMERCIAL purposes and without * fee is hereby granted provided that this copyright notice * appears in all copies. Please refer to the file "copyright.html" * for further important copyright and licensing information. * * SUN MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF * THE SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED * TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A * PARTICULAR PURPOSE, OR NON-INFRINGEMENT. SUN SHALL NOT BE LIABLE FOR * ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR * DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES. * */ package java.text; import java.lang.Character; /** * This class maps categories to state change inputs for the * WordBreakTable. An entire category is mapped to the same * value unless the character in question appears in the exception list. */ final class UnicodeClassMapping { private int mappedValue[]; private SpecialMapping exceptionChars[]; private boolean hasException[]; private int asciiValues[]; /** * Create a mapping given a mapping from categories and a list * of exceptions. Both the mapping list and exceptionChars list must * be sorted in ascending order. */ public UnicodeClassMapping(int mappedValue[], SpecialMapping exceptionChars[], boolean hasException[], int asciiValues[]) { this.mappedValue = mappedValue; this.exceptionChars = exceptionChars; this.hasException = hasException; this.asciiValues = asciiValues; } /** * Map a character to a stage change input for WordBreakTable * @param ch The character to map. * @return The mapped value. */ public int mappedChar(char ch) { if (ch <= 255) return asciiValues[ch]; // get an appropriate category based on the character's Unicode class // if there's no entry in the exception table for that Unicode class, // we're done; otherwise we have to look in the exception table for // the character's category (\uffff is treated here as a sentinel // value meaning "end of the string"-- we always look in the exception // table for its category) int charType = Character.getType(ch); if ((exceptionChars.length == 0) //|| (ch > '\u003f' && ch < '\u00a0') || (!hasException[charType] && ch != '\uffff')) { return mappedValue[charType]; } //do binary search of exceptionChars table int min = 0; int max = exceptionChars.length - 1; while (max > min) { int pos = (max + min) >> 1; if (ch > exceptionChars[pos].endChar) min = pos + 1; else max = pos; } SpecialMapping sm = exceptionChars[min]; if (sm.startChar <= ch && ch <= sm.endChar) return sm.newValue; else return mappedValue[charType]; } }
⏎ java/text/UnicodeClassMapping.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, 151333👍, 0💬
Popular Posts:
JDK 11 jdk.jdi.jmod is the JMOD file for JDK 11 JDI (Java Debug Interface) tool. JDK 11 JDI tool com...
The JSR 105 XML Digital Signature 1.0.1 FCS implementation provides an API and implementation that a...
What is the dom\GetElementsByTagName .javaprovided in the Apache Xerces package? I have Apache Xerce...
What Is ojdbc14.jar for Oracle 10g R2? ojdbc14.jar for Oracle 10g R2 is the JAR files of ojdbc.jar, ...
JDK 11 jdk.crypto.cryptoki.jmod is the JMOD file for JDK 11 Crypto Cryptoki module. JDK 11 Crypto KI...