|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbioroot.PatternMatch
Class to hold information and helper methods relating to pattern matches.
Constructor Summary | |
PatternMatch(int start,
int end,
java.lang.String match)
|
Method Summary | |
static PatternMatch[] |
arrayListToArray(java.util.ArrayList arrayList)
Convert an ArrayList of PatternMatch to PatternMatch[] |
static PatternMatch[] |
mapIt(java.util.regex.Matcher matcher)
Returns an array of hits (PatternMatch[]) given a Matcher. |
static java.util.ArrayList |
mapItArrayList(java.util.regex.Matcher matcher)
Returns an ArrayList of PatternMatch given a Matcher. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public PatternMatch(int start, int end, java.lang.String match)
Method Detail |
public java.lang.String toString()
public static PatternMatch[] mapIt(java.util.regex.Matcher matcher)
public static java.util.ArrayList mapItArrayList(java.util.regex.Matcher matcher)
public static PatternMatch[] arrayListToArray(java.util.ArrayList arrayList)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |