2 *******************************************************************************
\r
3 * Copyright (C) 1998-2004, International Business Machines Corporation and *
\r
4 * others. All Rights Reserved. *
\r
5 *******************************************************************************
\r
7 * Created on Dec 3, 2003
\r
9 *******************************************************************************
\r
11 package com.ibm.icu.dev.tool.layout;
\r
13 public class LigatureEntry
\r
15 private int[] componentChars;
\r
16 private int ligature;
\r
18 public LigatureEntry(int ligature, int[] componentChars, int componentCount)
\r
20 this.componentChars = new int[componentCount];
\r
21 this.ligature = ligature;
\r
22 System.arraycopy(componentChars, 0, this.componentChars, 0, componentCount);
\r
25 public int getComponentCount()
\r
27 return componentChars.length;
\r
30 public int getComponentChar(int componentIndex)
\r
32 return componentChars[componentIndex];
\r
35 public int getLigature()
\r