Back to project page xposed-keyboard-tweaks.
The source code is released under:
Apache License
If you think the Android project xposed-keyboard-tweaks listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package ca.spacek.gkdd.blacklist; //from ww w . ja v a2 s. c o m import java.util.Iterator; import java.util.List; import ca.spacek.gkdd.BlackList; /** * Created by temp on 20/04/14. */ public class SuggestionBlackLister { private final BlackList blackList; public SuggestionBlackLister(BlackList blackList) { this.blackList = blackList; } public void filterResults(List<String> words) { for (Iterator<String> iterator = words.iterator(); iterator.hasNext(); ) { String next = iterator.next(); if (blackList.contains(next)) { iterator.remove(); } } } }