public class SearchMode extends Object implements PatternOption
Modifier and Type | Field and Description |
---|---|
static SearchMode |
ALL |
static SearchMode |
DEFAULT |
static SearchMode |
FIRSTMATCH_NON_OVERLAPPING |
static SearchMode |
LONGEST_NON_OVERLAPPING |
static SearchMode |
LONGEST_WITH_OVERLAP |
Modifier and Type | Method and Description |
---|---|
boolean |
findAll() |
boolean |
findLongest() |
boolean |
findNonOverlapping() |
boolean |
findOverlapping() |
static SearchMode |
firstOf(PatternOption[] options) |
public static final SearchMode ALL
public static final SearchMode LONGEST_NON_OVERLAPPING
public static final SearchMode LONGEST_WITH_OVERLAP
public static final SearchMode FIRSTMATCH_NON_OVERLAPPING
public static final SearchMode DEFAULT
public boolean findLongest()
public boolean findAll()
public boolean findOverlapping()
public boolean findNonOverlapping()
public static SearchMode firstOf(PatternOption[] options)
Copyright © 2019. All rights reserved.