public abstract class SearchAlgorithm extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SearchAlgorithm.SLOW_IC |
Modifier and Type | Field and Description |
---|---|
static SearchAlgorithm |
BM |
static SearchAlgorithm |
BM_NOT_REV |
static SearchAlgorithm |
MAP |
static SearchAlgorithm |
MAP_SB |
static SearchAlgorithm |
NONE |
static SearchAlgorithm |
SLOW |
static SearchAlgorithm |
SLOW_IC_SB |
static SearchAlgorithm |
SLOW_SB |
Constructor and Description |
---|
SearchAlgorithm() |
Modifier and Type | Method and Description |
---|---|
abstract String |
getName() |
abstract int |
search(Regex regex,
byte[] text,
int textP,
int textEnd,
int textRange) |
abstract int |
searchBackward(Regex regex,
byte[] text,
int textP,
int adjustText,
int textEnd,
int textStart,
int s_,
int range_) |
public static final SearchAlgorithm NONE
public static final SearchAlgorithm SLOW
public static final SearchAlgorithm SLOW_SB
public static final SearchAlgorithm SLOW_IC_SB
public static final SearchAlgorithm BM
public static final SearchAlgorithm BM_NOT_REV
public static final SearchAlgorithm MAP
public static final SearchAlgorithm MAP_SB
public abstract String getName()
public abstract int search(Regex regex, byte[] text, int textP, int textEnd, int textRange)
public abstract int searchBackward(Regex regex, byte[] text, int textP, int adjustText, int textEnd, int textStart, int s_, int range_)
Copyright © 2018. All rights reserved.