org.joni
Class SearchAlgorithm.SLOW_IC
java.lang.Object
org.joni.SearchAlgorithm
org.joni.SearchAlgorithm.SLOW_IC
- Enclosing class:
- SearchAlgorithm
public static final class SearchAlgorithm.SLOW_IC
- extends SearchAlgorithm
|
Field Summary |
private byte[] |
buf
|
private int |
caseFoldFlag
|
private org.jcodings.Encoding |
enc
|
private org.jcodings.IntHolder |
holder
|
|
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 |
buf
private final byte[] buf
holder
private final org.jcodings.IntHolder holder
caseFoldFlag
private final int caseFoldFlag
enc
private final org.jcodings.Encoding enc
SearchAlgorithm.SLOW_IC
public SearchAlgorithm.SLOW_IC(Regex regex)
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.