Package org.languagetool.tools
Class InterruptibleCharSequence
java.lang.Object
org.languagetool.tools.InterruptibleCharSequence
- All Implemented Interfaces:
CharSequence
CharSequence that noticed thread interrupts -- as might be necessary
to recover from a loose regex on unexpected challenging input.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncharcharAt(int index) intlength()subSequence(int start, int end) @NotNull StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.CharSequence
chars, codePoints, isEmpty
-
Field Details
-
inner
-
-
Constructor Details
-
InterruptibleCharSequence
-
-
Method Details
-
charAt
public char charAt(int index) - Specified by:
charAtin interfaceCharSequence
-
length
public int length()- Specified by:
lengthin interfaceCharSequence
-
subSequence
- Specified by:
subSequencein interfaceCharSequence
-
toString
- Specified by:
toStringin interfaceCharSequence- Overrides:
toStringin classObject
-