private static int checkWildCard ( final SearchableString value , final Literal suffix , final int start ) { for ( final int index : value . getIndices ( suffix ) ) { if ( index >= start ) { return index ; } } return - 1 ; }
Return found index or - 1