Skip to content

Commit 27c1c44

Browse files
author
zhourenjian
committed
Add java.util.regex APIs
Not fully implemented
1 parent 60a60e3 commit 27c1c44

File tree

4 files changed

+1184
-0
lines changed

4 files changed

+1184
-0
lines changed
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one or more
3+
* contributor license agreements. See the NOTICE file distributed with
4+
* this work for additional information regarding copyright ownership.
5+
* The ASF licenses this file to You under the Apache License, Version 2.0
6+
* (the "License"); you may not use this file except in compliance with
7+
* the License. You may obtain a copy of the License at
8+
*
9+
* http://www.apache.org/licenses/LICENSE-2.0
10+
*
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS,
13+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
* See the License for the specific language governing permissions and
15+
* limitations under the License.
16+
*/
17+
18+
/**
19+
* @author Nikolay A. Kuznetsov
20+
* @version $Revision: 1.6.2.2 $
21+
*/
22+
package java.util.regex;
23+
24+
/**
25+
* @com.intel.drl.spec_ref
26+
*
27+
* @author Nikolay A. Kuznetsov
28+
* @version $Revision: 1.6.2.2 $
29+
*/
30+
public interface MatchResult {
31+
32+
/**
33+
* @com.intel.drl.spec_ref
34+
*/
35+
int end();
36+
37+
/**
38+
* @com.intel.drl.spec_ref
39+
*/
40+
int end(int group);
41+
42+
/**
43+
* @com.intel.drl.spec_ref
44+
*/
45+
String group();
46+
47+
/**
48+
* @com.intel.drl.spec_ref
49+
*/
50+
String group(int group);
51+
52+
/**
53+
* @com.intel.drl.spec_ref
54+
*/
55+
int groupCount();
56+
57+
/**
58+
* @com.intel.drl.spec_ref
59+
*/
60+
int start();
61+
62+
/**
63+
* @com.intel.drl.spec_ref
64+
*/
65+
int start(int group);
66+
}

0 commit comments

Comments
 (0)