org.joni
Class SearchAlgorithm.SLOW_IC

java.lang.Object
  extended by org.joni.SearchAlgorithm
      extended by org.joni.SearchAlgorithm.SLOW_IC
Enclosing class:
SearchAlgorithm

public static final class SearchAlgorithm.SLOW_IC
extends SearchAlgorithm


Nested Class Summary
 
Nested classes/interfaces inherited from class org.joni.SearchAlgorithm
SearchAlgorithm.SLOW_IC
 
Field Summary
private  byte[] buf
           
private  int caseFoldFlag
           
private  org.jcodings.Encoding enc
           
private  org.jcodings.IntHolder holder
           
 
Fields inherited from class org.joni.SearchAlgorithm
BM, BM_NOT_REV, MAP, MAP_SB, NONE, SLOW, SLOW_IC_SB, SLOW_SB
 
Constructor Summary
SearchAlgorithm.SLOW_IC(Regex regex)
           
 
Method Summary
 String getName()
           
private  boolean lowerCaseMatch(byte[] t, int tP, int tEnd, byte[] bytes, int p, int end)
           
 int search(Regex regex, byte[] text, int textP, int textEnd, int textRange)
           
 int searchBackward(Regex regex, byte[] text, int textP, int adjustText, int textEnd, int textStart, int s_, int range_)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

buf

private final byte[] buf

holder

private final org.jcodings.IntHolder holder

caseFoldFlag

private final int caseFoldFlag

enc

private final org.jcodings.Encoding enc
Constructor Detail

SearchAlgorithm.SLOW_IC

public SearchAlgorithm.SLOW_IC(Regex regex)
Method Detail

getName

public final String getName()
Specified by:
getName in class SearchAlgorithm

search

public final int search(Regex regex,
                        byte[] text,
                        int textP,
                        int textEnd,
                        int textRange)
Specified by:
search in class SearchAlgorithm

searchBackward

public final int searchBackward(Regex regex,
                                byte[] text,
                                int textP,
                                int adjustText,
                                int textEnd,
                                int textStart,
                                int s_,
                                int range_)
Specified by:
searchBackward in class SearchAlgorithm

lowerCaseMatch

private boolean lowerCaseMatch(byte[] t,
                               int tP,
                               int tEnd,
                               byte[] bytes,
                               int p,
                               int end)


Copyright © 2013. All Rights Reserved.