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/WordBreakTable.java
/* * @(#)WordBreakTable.java 1.3 01/12/10 * * (C) Copyright Taligent, Inc. 1996 - All Rights Reserved * (C) Copyright IBM Corp. 1996 - 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; /** * This class implements a state transition table. * After each transition, using the get method, the * new state is returned along with information about * the state change (ex. was it a "marked" transition"). * This class is internal only. */ final class WordBreakTable { /** * Construct a table using existing data. See SentenceBreakBoundary and * the other SimpleTextBoundary subclasses for examples. * @param cols number of columns in the table * @param data an encoded byte array containing state and transition data */ public WordBreakTable(int cols, byte data[]) { this.data = data; this.cols = cols; } /** * Get the resulting state moving from oldState accepting input * @param oldState current state * @param input input * @return int resulting state and transition data */ public int get(int oldState, int input) { return data[(oldState & INDEX_MASK) * cols + input]; } /** * Checks to see if the transition into the specified state was "marked" * @param state the state as returned by get, initialState, or endState * @return true if transition into state was marked. */ public boolean isMarkState(int state) { return (state & MARK_MASK) != 0; } /** * Check is a state is the end state * @param state the state to check * @return true if state is an end state */ public boolean isEndState(int state) { return (state & INDEX_MASK) == END_STATE; } /** * Get the start state * @return the initial state */ public int initialState() { return INITIAL_STATE; } static final byte MARK_MASK = (byte)0x80; static final byte INDEX_MASK = (byte)0x7F; private static final int INITIAL_STATE = 1; private static final int END_STATE = 0; private byte data[]; private int cols; }
⏎ java/text/WordBreakTable.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, 159770👍, 0💬
Popular Posts:
What Is activation.jar? I heard it's related to JAF (JavaBeans Activation Framework) 1.0.2? The if y...
How to download and install Apache XMLBeans Source Package? The source package contains Java source ...
Apache Neethi provides general framework for the programmers to use WS Policy. It is compliant with ...
How to perform XML Schema validation with sax\Writer.java provided in the Apache Xerces package? You...
How to download and install JDK (Java Development Kit) 6? If you want to write Java applications, yo...