1. /*
  2. * @(#)EntryPair.java 1.12 03/01/23
  3. *
  4. * Copyright 2003 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. /*
  8. * (C) Copyright Taligent, Inc. 1996 - All Rights Reserved
  9. * (C) Copyright IBM Corp. 1996 - All Rights Reserved
  10. *
  11. * The original version of this source code and documentation is copyrighted
  12. * and owned by Taligent, Inc., a wholly-owned subsidiary of IBM. These
  13. * materials are provided under terms of a License Agreement between Taligent
  14. * and Sun. This technology is protected by multiple US and International
  15. * patents. This notice and attribution to Taligent may not be removed.
  16. * Taligent is a registered trademark of Taligent, Inc.
  17. *
  18. */
  19. package java.text;
  20. /**
  21. * This is used for building contracting character tables. entryName
  22. * is the contracting character name and value is its collation
  23. * order.
  24. */
  25. final class EntryPair
  26. {
  27. public String entryName;
  28. public int value;
  29. public boolean fwd;
  30. public EntryPair(String name, int value) {
  31. this(name, value, true);
  32. }
  33. public EntryPair(String name, int value, boolean fwd) {
  34. this.entryName = name;
  35. this.value = value;
  36. this.fwd = fwd;
  37. }
  38. }