mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
am 608ef472
: Merge "Add accessor methods for typed word info to SuggestedWords and for word and source dictionary to SuggestedWordInfo."
* commit '608ef4729c26dca2be48eb72f372a278a03ff26d': Add accessor methods for typed word info to SuggestedWords and for word and source dictionary to SuggestedWordInfo.
This commit is contained in:
commit
02ffa6c3c0
@ -111,6 +111,14 @@ public class SuggestedWords {
|
|||||||
return size() - /* typed word */ 1;
|
return size() - /* typed word */ 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get {@link SuggestedWordInfo} object for the typed word.
|
||||||
|
* @return The {@link SuggestedWordInfo} object for the typed word.
|
||||||
|
*/
|
||||||
|
public SuggestedWordInfo getTypedWordInfo() {
|
||||||
|
return mTypedWordInfo;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get suggested word at <code>index</code>.
|
* Get suggested word at <code>index</code>.
|
||||||
* @param index The index of the suggested word.
|
* @param index The index of the suggested word.
|
||||||
@ -347,6 +355,14 @@ public class SuggestedWords {
|
|||||||
return mDebugString;
|
return mDebugString;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String getWord() {
|
||||||
|
return mWord;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Dictionary getSourceDictionary() {
|
||||||
|
return mSourceDict;
|
||||||
|
}
|
||||||
|
|
||||||
public int codePointAt(int i) {
|
public int codePointAt(int i) {
|
||||||
return mWord.codePointAt(i);
|
return mWord.codePointAt(i);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user