Back to project page OneSearch.
The source code is released under:
MIT License
If you think the Android project OneSearch 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 chrisjluc.funsearch.wordSearchGenerator.models; //from w ww . j a v a 2 s .co m /** * Holds the data required to determine if the current node can hold the candidate character * * Created by chrisjluc on 2014-10-19. */ public class PossibleInstance { /** * Position of character in word * * ex. Word is abcd, position is 1, so we know the letter of interest is b */ public int positionInWord; /** * orientation of possible instance */ public int orientation; /** * if the possible instance of interest is reverse of the original word */ public boolean reversed; public PossibleInstance(int orientation, boolean reversed, int positionInWord) { this.orientation = orientation; this.reversed = reversed; this.positionInWord = positionInWord; } }