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 TypeClassDescriptionclass
Implementation of Ruby String class Concurrency: no synchronization is required among readers, but all users must synchronize externally with writers.static class
An FString is a frozen string that is also deduplicated and cached.Methods in org.jruby with parameters of type CodeRangeableModifier and TypeMethodDescriptionstatic org.jcodings.Encoding
RubyEncoding.checkEncoding
(ThreadContext context, org.jcodings.Encoding encoding, CodeRangeable other) Check whether the given encoding and the encoding from the givenCodeRangeable
are compatible.final org.jcodings.Encoding
RubyString.checkEncoding
(CodeRangeable other) -
Uses of CodeRangeable in org.jruby.util
Methods in org.jruby.util that return CodeRangeableModifier and TypeMethodDescriptionstatic CodeRangeable
StringSupport.strDeleteBang
(ThreadContext context, CodeRangeable rubyString, boolean[] squeeze, StringSupport.TrTables tables, org.jcodings.Encoding enc) static CodeRangeable
StringSupport.strDeleteBang
(CodeRangeable rubyString, Ruby runtime, boolean[] squeeze, StringSupport.TrTables tables, org.jcodings.Encoding enc) Deprecated.static CodeRangeable
StringSupport.trTransHelper
(Ruby runtime, CodeRangeable self, CodeRangeable srcStr, CodeRangeable replStr, boolean sflag) Deprecated.static CodeRangeable
StringSupport.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 boolean
StringSupport.areComparable
(CodeRangeable string, CodeRangeable other) static boolean
StringSupport.areComparableViaCodeRange
(CodeRangeable string, CodeRangeable other) static org.jcodings.Encoding
StringSupport.areCompatible
(org.jcodings.Encoding enc1, CodeRangeable str2) static org.jcodings.Encoding
StringSupport.areCompatible
(CodeRangeable str1, CodeRangeable str2) rb_enc_compatiblestatic void
StringSupport.associateEncoding
(CodeRangeable string, org.jcodings.Encoding enc) static int
StringSupport.byteindex
(CodeRangeable sourceString, CodeRangeable otherString, int offset, org.jcodings.Encoding enc) static int
StringSupport.byterindex
(ByteList source, int pos, CodeRangeable subStringCodeRangeable, org.jcodings.Encoding enc) org.jcodings.Encoding
CodeRangeable.checkEncoding
(CodeRangeable other) static int
StringSupport.choppedLength
(CodeRangeable str) MRI: chopped_lengthstatic int
StringSupport.index
(CodeRangeable sourceString, CodeRangeable otherString, int offset, org.jcodings.Encoding enc) static boolean
StringSupport.isAsciiOnly
(CodeRangeable string) static boolean
CodeRangeSupport.isCodeRangeAsciiOnly
(CodeRangeable string) static boolean
StringSupport.isSingleByteOptimizable
(CodeRangeable string, org.jcodings.Encoding encoding) static ByteList
StringSupport.replaceInternal
(int beg, int len, ByteListHolder source, CodeRangeable repl) static void
StringSupport.replaceInternal19
(int beg, int len, CodeRangeable source, CodeRangeable repl) Deprecated.static int
StringSupport.rindex
(ByteList source, int sourceChars, int subChars, int pos, CodeRangeable subStringCodeRangeable, org.jcodings.Encoding enc) static CodeRangeable
StringSupport.strDeleteBang
(ThreadContext context, CodeRangeable rubyString, boolean[] squeeze, StringSupport.TrTables tables, org.jcodings.Encoding enc) static CodeRangeable
StringSupport.strDeleteBang
(CodeRangeable rubyString, Ruby runtime, boolean[] squeeze, StringSupport.TrTables tables, org.jcodings.Encoding enc) Deprecated.static int
StringSupport.strLengthFromRubyString
(CodeRangeable string) static int
StringSupport.strLengthFromRubyString
(CodeRangeable string, org.jcodings.Encoding enc) static int
StringSupport.strLengthFromRubyString
(CodeRangeable string, ByteList bytes, org.jcodings.Encoding enc) static void
StringSupport.strUpdate
(int beg, int len, CodeRangeable source, CodeRangeable repl) static CodeRangeable
StringSupport.trTransHelper
(Ruby runtime, CodeRangeable self, CodeRangeable srcStr, CodeRangeable replStr, boolean sflag) Deprecated.static CodeRangeable
StringSupport.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 int
EncodingUtils.encCrStrBufCat
(Ruby runtime, CodeRangeable str, byte[] ptrBytes, int ptr, int len, org.jcodings.Encoding ptrEnc, int ptr_cr) static int
EncodingUtils.encCrStrBufCat
(Ruby runtime, CodeRangeable str, ByteList ptr, org.jcodings.Encoding ptrEnc, int ptr_cr)