aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/makedict/PendingAttribute.java
diff options
context:
space:
mode:
authorTom Ouyang <ouyang@google.com>2012-03-21 18:10:21 +0900
committerTom Ouyang <ouyang@google.com>2012-03-21 19:30:26 +0900
commite276c2401e5702222b21c4dfe2a25219c2f6619f (patch)
tree46c7b2bafab5d5cf600b5ce922e34f5bd6d42617 /java/src/com/android/inputmethod/latin/makedict/PendingAttribute.java
parent1fe943aabdf6c9a40c634bf4a5450cbed4f6c136 (diff)
downloadlatinime-e276c2401e5702222b21c4dfe2a25219c2f6619f.tar.gz
latinime-e276c2401e5702222b21c4dfe2a25219c2f6619f.tar.xz
latinime-e276c2401e5702222b21c4dfe2a25219c2f6619f.zip
Move makedict to LatinIME android keyboard.
Bug: 6188977 Change-Id: I4d2ef504bb983abbda3cb52ee450cb46f58d95cf
Diffstat (limited to 'java/src/com/android/inputmethod/latin/makedict/PendingAttribute.java')
-rw-r--r--java/src/com/android/inputmethod/latin/makedict/PendingAttribute.java32
1 files changed, 32 insertions, 0 deletions
diff --git a/java/src/com/android/inputmethod/latin/makedict/PendingAttribute.java b/java/src/com/android/inputmethod/latin/makedict/PendingAttribute.java
new file mode 100644
index 000000000..5b41d27f2
--- /dev/null
+++ b/java/src/com/android/inputmethod/latin/makedict/PendingAttribute.java
@@ -0,0 +1,32 @@
+/*
+ * Copyright (C) 2011 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+package com.android.inputmethod.latin.makedict;
+
+/**
+ * A not-yet-resolved attribute.
+ *
+ * An attribute is either a bigram or a shortcut.
+ * All instances of this class are always immutable.
+ */
+public class PendingAttribute {
+ public final int mFrequency;
+ public final int mAddress;
+ public PendingAttribute(final int frequency, final int address) {
+ mFrequency = frequency;
+ mAddress = address;
+ }
+}