1/*
2 * Copyright (C) 2011 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5 * use this file except in compliance with the License. You may obtain a copy of
6 * the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 * License for the specific language governing permissions and limitations under
14 * the License.
15 */
16
17package com.android.inputmethod.latin;
18
19import java.util.ArrayList;
20
21/**
22 * Raw char group info straight out of a file. This will contain numbers for addresses.
23 */
24public class CharGroupInfo {
25
26    public final int mOriginalAddress;
27    public final int mEndAddress;
28    public final int mFlags;
29    public final int[] mCharacters;
30    public final int mFrequency;
31    public final int mChildrenAddress;
32    public final ArrayList<PendingAttribute> mBigrams;
33
34    public CharGroupInfo(final int originalAddress, final int endAddress, final int flags,
35            final int[] characters, final int frequency, final int childrenAddress,
36            final ArrayList<PendingAttribute> bigrams) {
37        mOriginalAddress = originalAddress;
38        mEndAddress = endAddress;
39        mFlags = flags;
40        mCharacters = characters;
41        mFrequency = frequency;
42        mChildrenAddress = childrenAddress;
43        mBigrams = bigrams;
44    }
45}
46