Uses of Interface
org.jruby.util.CodeRangeable
Packages that use CodeRangeable
-
Uses of CodeRangeable in org.jruby
Classes in org.jruby that implement CodeRangeableModifier and TypeClassDescriptionclassImplementation of Ruby String class Concurrency: no synchronization is required among readers, but all users must synchronize externally with writers.static classAn FString is a frozen string that is also deduplicated and cached.Methods in org.jruby with parameters of type CodeRangeableModifier and TypeMethodDescriptionstatic org.jcodings.EncodingRubyEncoding.checkEncoding(ThreadContext context, org.jcodings.Encoding encoding, CodeRangeable other) Check whether the given encoding and the encoding from the givenCodeRangeableare compatible.final org.jcodings.EncodingRubyString.checkEncoding(CodeRangeable other) -
Uses of CodeRangeable in org.jruby.util
Methods in org.jruby.util that return CodeRangeableModifier and TypeMethodDescriptionstatic CodeRangeableStringSupport.strDeleteBang(ThreadContext context, CodeRangeable rubyString, boolean[] squeeze, StringSupport.TrTables tables, org.jcodings.Encoding enc) static CodeRangeableStringSupport.strDeleteBang(CodeRangeable rubyString, Ruby runtime, boolean[] squeeze, StringSupport.TrTables tables, org.jcodings.Encoding enc) Deprecated.static CodeRangeableStringSupport.trTransHelper(Ruby runtime, CodeRangeable self, CodeRangeable srcStr, CodeRangeable replStr, boolean sflag) Deprecated.static CodeRangeableStringSupport.trTransHelper(CodeRangeable self, CodeRangeable srcStr, CodeRangeable replStr, boolean sflag) rb_str_tr / rb_str_tr_bangMethods in org.jruby.util with parameters of type CodeRangeableModifier and TypeMethodDescriptionstatic booleanStringSupport.areComparable(CodeRangeable string, CodeRangeable other) static booleanStringSupport.areComparableViaCodeRange(CodeRangeable string, CodeRangeable other) static org.jcodings.EncodingStringSupport.areCompatible(org.jcodings.Encoding enc1, CodeRangeable str2) static org.jcodings.EncodingStringSupport.areCompatible(CodeRangeable str1, CodeRangeable str2) rb_enc_compatiblestatic voidStringSupport.associateEncoding(CodeRangeable string, org.jcodings.Encoding enc) static intStringSupport.byteindex(CodeRangeable sourceString, CodeRangeable otherString, int offset, org.jcodings.Encoding enc) static intStringSupport.byterindex(ByteList source, int pos, CodeRangeable subStringCodeRangeable, org.jcodings.Encoding enc) org.jcodings.EncodingCodeRangeable.checkEncoding(CodeRangeable other) static intStringSupport.choppedLength(CodeRangeable str) MRI: chopped_lengthstatic intStringSupport.index(CodeRangeable sourceString, CodeRangeable otherString, int offset, org.jcodings.Encoding enc) static booleanStringSupport.isAsciiOnly(CodeRangeable string) static booleanCodeRangeSupport.isCodeRangeAsciiOnly(CodeRangeable string) static booleanStringSupport.isSingleByteOptimizable(CodeRangeable string, org.jcodings.Encoding encoding) static ByteListStringSupport.replaceInternal(int beg, int len, ByteListHolder source, CodeRangeable repl) static voidStringSupport.replaceInternal19(int beg, int len, CodeRangeable source, CodeRangeable repl) Deprecated.static intStringSupport.rindex(ByteList source, int sourceChars, int subChars, int pos, CodeRangeable subStringCodeRangeable, org.jcodings.Encoding enc) static CodeRangeableStringSupport.strDeleteBang(ThreadContext context, CodeRangeable rubyString, boolean[] squeeze, StringSupport.TrTables tables, org.jcodings.Encoding enc) static CodeRangeableStringSupport.strDeleteBang(CodeRangeable rubyString, Ruby runtime, boolean[] squeeze, StringSupport.TrTables tables, org.jcodings.Encoding enc) Deprecated.static intStringSupport.strLengthFromRubyString(CodeRangeable string) static intStringSupport.strLengthFromRubyString(CodeRangeable string, org.jcodings.Encoding enc) static intStringSupport.strLengthFromRubyString(CodeRangeable string, ByteList bytes, org.jcodings.Encoding enc) static voidStringSupport.strUpdate(int beg, int len, CodeRangeable source, CodeRangeable repl) static CodeRangeableStringSupport.trTransHelper(Ruby runtime, CodeRangeable self, CodeRangeable srcStr, CodeRangeable replStr, boolean sflag) Deprecated.static CodeRangeableStringSupport.trTransHelper(CodeRangeable self, CodeRangeable srcStr, CodeRangeable replStr, boolean sflag) rb_str_tr / rb_str_tr_bang -
Uses of CodeRangeable in org.jruby.util.io
Methods in org.jruby.util.io with parameters of type CodeRangeableModifier and TypeMethodDescriptionstatic intEncodingUtils.encCrStrBufCat(Ruby runtime, CodeRangeable str, byte[] ptrBytes, int ptr, int len, org.jcodings.Encoding ptrEnc, int ptr_cr) static intEncodingUtils.encCrStrBufCat(Ruby runtime, CodeRangeable str, ByteList ptr, org.jcodings.Encoding ptrEnc, int ptr_cr)