01: /*
02: *
03: * @(#)EntryPair.java 1.17 06/10/10
04: *
05: * Portions Copyright 2000-2006 Sun Microsystems, Inc. All Rights
06: * Reserved. Use is subject to license terms.
07: * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER
08: *
09: * This program is free software; you can redistribute it and/or
10: * modify it under the terms of the GNU General Public License version
11: * 2 only, as published by the Free Software Foundation.
12: *
13: * This program is distributed in the hope that it will be useful, but
14: * WITHOUT ANY WARRANTY; without even the implied warranty of
15: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16: * General Public License version 2 for more details (a copy is
17: * included at /legal/license.txt).
18: *
19: * You should have received a copy of the GNU General Public License
20: * version 2 along with this work; if not, write to the Free Software
21: * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
22: * 02110-1301 USA
23: *
24: * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
25: * Clara, CA 95054 or visit www.sun.com if you need additional
26: * information or have any questions.
27: */
28:
29: /*
30: * (C) Copyright Taligent, Inc. 1996 - All Rights Reserved
31: * (C) Copyright IBM Corp. 1996 - All Rights Reserved
32: *
33: * The original version of this source code and documentation is copyrighted
34: * and owned by Taligent, Inc., a wholly-owned subsidiary of IBM. These
35: * materials are provided under terms of a License Agreement between Taligent
36: * and Sun. This technology is protected by multiple US and International
37: * patents. This notice and attribution to Taligent may not be removed.
38: * Taligent is a registered trademark of Taligent, Inc.
39: *
40: */
41:
42: package java.text;
43:
44: /**
45: * This is used for building contracting character tables. entryName
46: * is the contracting character name and value is its collation
47: * order.
48: */
49: final class EntryPair {
50: public String entryName;
51: public int value;
52: public boolean fwd;
53:
54: public EntryPair(String name, int value) {
55: this (name, value, true);
56: }
57:
58: public EntryPair(String name, int value, boolean fwd) {
59: this.entryName = name;
60: this.value = value;
61: this.fwd = fwd;
62: }
63: }
|