Android Open Source - TaigIME-android Candidate

From Project

Back to project page TaigIME-android.


The source code is released under:

GNU General Public License

If you think the Android project TaigIME-android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

 * //from  ww w  . j  ava2  s  .  c o m
package fr.magistry.taigime;

import java.util.ArrayList;
import java.util.List;

 * @author pierre

public class Candidate {
     * A possible word given the input

  private TaigiWord mWord;
  private String mInput;
  public Candidate(String input, TaigiWord w){
    mWord = w;
    mInput = input;
  public TaigiWord getWord(){
    return mWord;
  public String getInputed(){
    return mInput;
  public static ArrayList<Candidate> buildSuggestions(String input, List<Candidate> liste){
    ArrayList<Candidate> result = new ArrayList<Candidate>();
    result.add(new Candidate(input, new TaigiWord(-1,input,"","")));
    for(Candidate c : liste){
    return result;

Java Source Code List