]> gitweb.fperrin.net Git - Dictionary.git/blob - jars/icu4j-52_1/tools/misc/src/com/ibm/icu/dev/tool/layout/LigatureEntry.java
Clean up imports.
[Dictionary.git] / jars / icu4j-52_1 / tools / misc / src / com / ibm / icu / dev / tool / layout / LigatureEntry.java
1 /*
2  *******************************************************************************
3  * Copyright (C) 1998-2004, International Business Machines Corporation and    *
4  * others. All Rights Reserved.                                                *
5  *******************************************************************************
6  *
7  * Created on Dec 3, 2003
8  *
9  *******************************************************************************
10  */
11 package com.ibm.icu.dev.tool.layout;
12
13 public class LigatureEntry
14 {
15     private int[] componentChars;
16     private int ligature;
17     
18     public LigatureEntry(int ligature, int[] componentChars, int componentCount)
19     {
20         this.componentChars = new int[componentCount];
21         this.ligature = ligature;
22         System.arraycopy(componentChars, 0, this.componentChars, 0, componentCount);
23 }
24     
25     public int getComponentCount()
26     {
27         return componentChars.length;
28     }
29     
30     public int getComponentChar(int componentIndex)
31     {
32         return componentChars[componentIndex];
33     }
34     
35     public int getLigature()
36     {
37         return ligature;
38     }
39 }