Package org.jruby
Class RubyRegexp.SearchMatchTask
java.lang.Object
org.jruby.RubyRegexp.SearchMatchTask
- All Implemented Interfaces:
RubyThread.Task<org.joni.Matcher,,Integer> RubyThread.Unblocker<org.joni.Matcher>
- Enclosing class:
- RubyRegexp
private static class RubyRegexp.SearchMatchTask
extends Object
implements RubyThread.Task<org.joni.Matcher,Integer>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSearchMatchTask(RubyThread thread, int start, int range, int option, boolean match) -
Method Summary
Modifier and TypeMethodDescriptionrun(ThreadContext context, org.joni.Matcher matcher) voidwakeup(RubyThread thread, org.joni.Matcher matcher)
-
Field Details
-
thread
-
start
final int start -
range
final int range -
option
final int option -
match
final boolean match
-
-
Constructor Details
-
SearchMatchTask
SearchMatchTask(RubyThread thread, int start, int range, int option, boolean match)
-
-
Method Details
-
run
- Specified by:
runin interfaceRubyThread.Task<org.joni.Matcher,Integer> - Throws:
InterruptedException
-
wakeup
- Specified by:
wakeupin interfaceRubyThread.Task<org.joni.Matcher,Integer> - Specified by:
wakeupin interfaceRubyThread.Unblocker<org.joni.Matcher>
-