KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > java > text > EntryPair


1 /*
2  * @(#)EntryPair.java 1.13 03/12/19
3  *
4  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7
8 /*
9  * (C) Copyright Taligent, Inc. 1996 - All Rights Reserved
10  * (C) Copyright IBM Corp. 1996 - All Rights Reserved
11  *
12  * The original version of this source code and documentation is copyrighted
13  * and owned by Taligent, Inc., a wholly-owned subsidiary of IBM. These
14  * materials are provided under terms of a License Agreement between Taligent
15  * and Sun. This technology is protected by multiple US and International
16  * patents. This notice and attribution to Taligent may not be removed.
17  * Taligent is a registered trademark of Taligent, Inc.
18  *
19  */

20
21 package java.text;
22
23 /**
24  * This is used for building contracting character tables. entryName
25  * is the contracting character name and value is its collation
26  * order.
27  */

28 final class EntryPair
29 {
30     public String JavaDoc entryName;
31     public int value;
32     public boolean fwd;
33     
34     public EntryPair(String JavaDoc name, int value) {
35         this(name, value, true);
36     }
37     public EntryPair(String JavaDoc name, int value, boolean fwd) {
38         this.entryName = name;
39         this.value = value;
40         this.fwd = fwd;
41     }
42 }
43
Popular Tags