mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-05 16:36:56 +07:00
26 lines
713 B
Java
26 lines
713 B
Java
import java.util.List;
|
|
|
|
class Foo {
|
|
public void matchAfterFragment(int patternIndex, int matchLen) {
|
|
int star = patternIndex < matchLen ? matchLen : -1;
|
|
while (matchLen > 0) {
|
|
int i = matchLen == star ? matchLen : star;
|
|
}
|
|
}
|
|
|
|
public void matchAfterFragmentBoxed(Integer patternIndex, Integer matchLen) {
|
|
Integer star = patternIndex < matchLen ? matchLen : -1;
|
|
while (matchLen > 0) {
|
|
Integer i = matchLen == star ? matchLen : star;
|
|
}
|
|
}
|
|
|
|
public void matchAfterFragmentSemiBoxed(Integer patternIndex, Integer matchLen) {
|
|
int star = patternIndex < matchLen ? matchLen : -1;
|
|
while (matchLen > 0) {
|
|
Integer i = matchLen == star ? matchLen : star;
|
|
}
|
|
}
|
|
|
|
}
|