package net.bible.android.control.page; import java.util.List; import org.crosswire.jsword.passage.Key; import org.crosswire.jsword.passage.TreeKey; public class TreeKeyHelper { public static int findIndexOf(Key key, List keyList) { int index = -1; if (key !=null) { boolean isKeyTree = key instanceof TreeKey; for (int i=0; i