MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / getParenLength

Method getParenLength

CodenameOne/src/com/codename1/util/regex/RE.java:656–661  ·  view source on GitHub ↗
(int which)

Source from the content-addressed store, hash-verified

654 ///
655 /// Number of characters in the parenthesized subexpression
656 public final int getParenLength(int which) {
657 if (which < parenCount) {
658 return getParenEnd(which) - getParenStart(which);
659 }
660 return -1;
661 }
662
663 /// Sets the start of a paren level
664 ///

Callers 1

invoke2Method · 0.80

Calls 2

getParenEndMethod · 0.95
getParenStartMethod · 0.95

Tested by

no test coverage detected