| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| public static enum | |
| public static class | StringSupport.
rb_str_tr / rb_str_tr_bang |
| public static class | StringSupport.
tr_setup_table |
| Modifier and Type | Field and Description |
|---|---|
| private static final VarHandle | |
| private static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| private static final Object | |
| public static final ByteList[] | |
| public static final String[] | |
| private static final int | |
| private static final int | |
| private static final long | |
| private static final int | |
| public static final int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static ByteList | |
| public static boolean | |
| public static boolean | |
| public static Encoding | |
| public static Encoding | |
| public static Encoding | |
| public static void | asciiOnlyCaseMap(Ruby runtime, ByteList value, IntHolder flags, Encoding enc)
Deprecated
since 10.0.
|
| public static void | |
| public static void | |
| public static int | |
| public static String | |
| public static int | |
| private static int | byteRindex(final byte[] strBytes, final int strBeg, final int strLen, final byte[] subBytes, final int subBeg, final int subLen, int pos, final Encoding enc)
|
| public static int | |
| public static int | bytesToFixBrokenTrailingCharacter(byte[] bytes, int begin, int byteSize, Encoding encoding, int usingLength)
|
| public static int | |
| public static ByteList | |
| public static ByteList | |
| public static int | checkCaseMapOptions(Ruby runtime, IRubyObject arg0, IRubyObject arg1, int flags)
Deprecated
since 10.0.
|
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static RubyString | |
| public static void | checkStringSafety(Ruby runtime, IRubyObject value)
Check whether input object's string value contains a null byte, and if so throw ArgumentError. |
| public static void | |
| private static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static String | |
| public static int | |
| public static int | |
| private static int | |
| private static int | |
| public static long | |
| public static CharSequence | |
| public static String | |
| public static int | |
| public static boolean | |
| public static boolean | |
| private static int | |
| private static int | |
| public static String | |
| public static ByteList | |
| public static ByteList | |
| public static int | |
| private static Encoding | |
| public static int | |
| public static String | |
| private static int[] | |
| public static long | |
| public static long | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static boolean | |
| private static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static int | |
| public static int | |
| public static int | |
| public static boolean | |
| public static boolean | |
| public static int | |
| public static int | |
| public static boolean | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static boolean | multiByteSqueeze(ByteList value, boolean[] squeeze, StringSupport.
|
| public static boolean | multiByteSqueeze(Ruby runtime, ByteList value, boolean[] squeeze, StringSupport.
Deprecated
since 10.0.
|
| public static boolean | multiByteSqueeze(ThreadContext context, ByteList value, boolean[] squeeze, StringSupport.
|
| public static int | Returns: the byte offset of the requested character, or -1 if the requested character offset is outside the given byte offset rangethe encoding of the characters in the byte array enc, byte[] the byte array bytes, int starting offset p, int limit offset end, int character offset to find n)Return the byte offset of the nth character |
| public static int | |
| public static int | Returns: the offset of the nth character in the string, or -1 if nth is out of the stringencoding to use enc, byte[] bytes to scan bytes, int starting byte offset p, int ending byte offset end, int index of character for which to find byte offset n, boolean whether the byte contents are in a single byte encoding singlebyte)Get the position of the nth character in the given byte array, using the given encoding and range. |
| private static int | |
| private static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static long | |
| public static int | |
| public static int | |
| public static int | |
| private static StringSupport. | |
| private static int | |
| private static int | |
| private static int | |
| private static int | |
| public static IRubyObject | rbStrEnumerateLines(RubyString str, ThreadContext context, String name, IRubyObject arg, Block block, boolean wantarray)
|
| public static IRubyObject | rbStrEnumerateLines(RubyString str, ThreadContext context, String name, IRubyObject arg, IRubyObject opts, Block block, boolean wantarray)
|
| private static void | rbStrEnumerateLinesEmptySep(RubyString str, ThreadContext context, final boolean chomp, Block block, RubyArray<T extends IRubyObject> ary, final byte[] strBytes, final int ptr, final int len, final int pend, final Encoding enc, int subptr)
|
| public static CharSequence | |
| public static CharSequence | |
| private static CharSequence | |
| public static ByteList | |
| public static void | |
| public static void | replaceInternal19(Ruby runtime, int beg, int len, RubyString source, RubyString repl)
Deprecated
since 9.4.
|
| public static int | rindex(ByteList source, int sourceChars, int subChars, int pos, CodeRangeable subStringCodeRangeable, Encoding enc)
|
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static boolean | |
| public static List | |
| public static List | split(final String
the string str, final char the separator sep, final int has same effect as with lim)String#split(String, int)Split string into (limited) sub-parts. |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static int | |
| public static int | |
| public static int | strCount(ThreadContext context, ByteList str, boolean[] table, StringSupport.
|
| pack-priv static CodeRangeable | strDeleteBang(CodeRangeable rubyString, boolean[] squeeze, StringSupport.
rb_str_delete_bang |
| public static CodeRangeable | strDeleteBang(CodeRangeable rubyString, Ruby runtime, boolean[] squeeze, StringSupport.
Deprecated
since 10.0.
|
| public static CodeRangeable | strDeleteBang(ThreadContext context, CodeRangeable rubyString, boolean[] squeeze, StringSupport.
|
| private static RubyString | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| private static int | |
| public static long | |
| public static long | |
| public static long | |
| public static long | |
| public static long | |
| private static int | |
| public static Object[] | |
| private static int | |
| public static void | |
| public static void | strUpdate(Ruby runtime, int beg, int len, RubyString source, RubyString repl)
Deprecated
since 10.0.
|
| public static void | |
| private static StringSupport. | |
| public static StringSupport. | |
| public static StringSupport. | |
| public static ByteList | |
| public static ByteList | |
| public static ByteList | |
| private static void | |
| public static int | |
| public static int | |
| private static int | |
| public static boolean | |
| public static int | |
| public static int | |
| private static int | |
| public static StringSupport. | trSetupTable(final ByteList str, final boolean[] stable, StringSupport.
|
| public static StringSupport. | trSetupTable(final ByteList str, final Ruby runtime, final boolean[] stable, StringSupport.
Deprecated
since 10.0.
|
| public static StringSupport. | trSetupTable(ThreadContext context, final ByteList str, final boolean[] stable, StringSupport.
|
| public static CodeRangeable | trTransHelper(CodeRangeable self, CodeRangeable srcStr, CodeRangeable replStr, boolean sflag)
rb_str_tr / rb_str_tr_bang |
| public static CodeRangeable | trTransHelper(Ruby runtime, CodeRangeable self, CodeRangeable srcStr, CodeRangeable replStr, boolean sflag)
Deprecated
since 10.0.
|
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| private static boolean |