Package | Description |
---|---|
org.jruby | |
org.jruby.util | |
org.jruby.util.io |
Modifier and Type | Class and Description |
---|---|
class |
RubyString
Implementation of Ruby String class
Concurrency: no synchronization is required among readers, but
all users must synchronize externally with writers.
|
Modifier and Type | Method and Description |
---|---|
static org.jcodings.Encoding |
RubyEncoding.areCompatible(CodeRangeable obj1,
CodeRangeable obj2) |
org.jcodings.Encoding |
RubyString.checkEncoding(CodeRangeable other) |
Modifier and Type | Method and Description |
---|---|
static CodeRangeable |
StringSupport.delete_bangCommon19(CodeRangeable rubyString,
Ruby runtime,
boolean[] squeeze,
StringSupport.TrTables tables,
org.jcodings.Encoding enc)
rb_str_delete_bang
|
static CodeRangeable |
StringSupport.trTransHelper(Ruby runtime,
CodeRangeable self,
CodeRangeable srcStr,
CodeRangeable replStr,
boolean sflag)
rb_str_tr / rb_str_tr_bang
|
Modifier and Type | Method and Description |
---|---|
static boolean |
StringSupport.areComparable(CodeRangeable string,
CodeRangeable other) |
static boolean |
StringSupport.areComparableViaCodeRange(CodeRangeable string,
CodeRangeable other) |
static org.jcodings.Encoding |
StringSupport.areCompatible(CodeRangeable string,
CodeRangeable other)
rb_enc_compatible
|
static void |
StringSupport.associateEncoding(CodeRangeable string,
org.jcodings.Encoding enc) |
org.jcodings.Encoding |
CodeRangeable.checkEncoding(CodeRangeable other) |
static int |
StringSupport.choppedLength19(CodeRangeable str,
Ruby runtime)
MRI: chopped_length
|
static CodeRangeable |
StringSupport.delete_bangCommon19(CodeRangeable rubyString,
Ruby runtime,
boolean[] squeeze,
StringSupport.TrTables tables,
org.jcodings.Encoding enc)
rb_str_delete_bang
|
static 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 org.jruby.util.ByteList |
StringSupport.replaceInternal(int beg,
int len,
ByteListHolder source,
CodeRangeable repl) |
static void |
StringSupport.replaceInternal19(int beg,
int len,
CodeRangeable source,
CodeRangeable repl) |
static int |
StringSupport.rindex(org.jruby.util.ByteList source,
int sourceChars,
int subChars,
int pos,
CodeRangeable subStringCodeRangeable,
org.jcodings.Encoding enc) |
static int |
StringSupport.strLengthFromRubyString(CodeRangeable string) |
static int |
StringSupport.strLengthFromRubyString(CodeRangeable string,
org.jcodings.Encoding enc) |
static CodeRangeable |
StringSupport.trTransHelper(Ruby runtime,
CodeRangeable self,
CodeRangeable srcStr,
CodeRangeable replStr,
boolean sflag)
rb_str_tr / rb_str_tr_bang
|
Modifier and Type | Method and Description |
---|---|
static void |
EncodingUtils.encCrStrBufCat(Ruby runtime,
CodeRangeable str,
byte[] ptrBytes,
int ptr,
int len,
org.jcodings.Encoding ptrEnc,
int ptr_cr,
int[] ptr_cr_ret) |
static void |
EncodingUtils.encCrStrBufCat(Ruby runtime,
CodeRangeable str,
org.jruby.util.ByteList ptr,
org.jcodings.Encoding ptrEnc,
int ptr_cr,
int[] ptr_cr_ret) |
Copyright © 2001-2015 JRuby. All Rights Reserved.