java.util.regex
Class Matcher
java.lang.Object
java.util.regex.Matcher
- public final class Matcher
- extends Object
Specifications inherited from class Object |
represents objectState <- org.jmlspecs.lang.JMLDataGroup.IT;
public represents _getClass <- \typeof(this); |
Constructor Summary |
(package private) |
Matcher()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Matcher
Matcher()
pattern
public Pattern pattern()
- Specifications: non_null
reset
public Matcher reset()
- Specifications: non_null
reset
public Matcher reset(non_null CharSequence input)
- Specifications: non_null
start
public int start()
start
public int start(int group)
end
public int end()
end
public int end(int group)
group
public String group()
- Specifications: non_null
group
public String group(int group)
- Specifications: non_null
groupCount
public int groupCount()
matches
public boolean matches()
find
public boolean find()
find
public boolean find(int start)
lookingAt
public boolean lookingAt()
appendReplacement
public Matcher appendReplacement(non_null StringBuffer sb,
non_null String replacement)
- Specifications: non_null
appendTail
public StringBuffer appendTail(non_null StringBuffer sb)
- Specifications: non_null
replaceAll
public String replaceAll(non_null String replacement)
- Specifications: pure non_null
replaceFirst
public String replaceFirst(non_null String replacement)
- Specifications: pure non_null
JML is Copyright (C) 1998-2002 by Iowa State University and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This release depends on code from the MultiJava project and is based in part on the Kopi project Copyright (C) 1990-99 DMS Decision Management Systems Ges.m.b.H.