1. /*
  2. * @(#)EntryPair.java 1.10 00/01/19
  3. *
  4. * Copyright 1996-2000 Sun Microsystems, Inc. All Rights Reserved.
  5. *
  6. * This software is the proprietary information of Sun Microsystems, Inc.
  7. * Use is subject to license terms.
  8. *
  9. */
  10. /*
  11. * (C) Copyright Taligent, Inc. 1996 - All Rights Reserved
  12. * (C) Copyright IBM Corp. 1996 - All Rights Reserved
  13. *
  14. * The original version of this source code and documentation is copyrighted
  15. * and owned by Taligent, Inc., a wholly-owned subsidiary of IBM. These
  16. * materials are provided under terms of a License Agreement between Taligent
  17. * and Sun. This technology is protected by multiple US and International
  18. * patents. This notice and attribution to Taligent may not be removed.
  19. * Taligent is a registered trademark of Taligent, Inc.
  20. *
  21. */
  22. package java.text;
  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 entryName;
  31. public int value;
  32. public boolean fwd;
  33. public EntryPair(String name, int value) {
  34. this(name, value, true);
  35. }
  36. public EntryPair(String name, int value, boolean fwd) {
  37. this.entryName = name;
  38. this.value = value;
  39. this.fwd = fwd;
  40. }
  41. }