| 程序包 | 说明 |
|---|---|
| org.luaj.vm2 |
| 限定符和类型 | 方法和说明 |
|---|---|
LuaUtf8String |
LuaUtf8String.substring(int beginIndex,
int endIndex)
Take a substring using Java zero-based indexes for begin and end or range.
|
static LuaUtf8String |
LuaUtf8String.valueOf(char[] bytes)
Construct a
LuaUtf8String using the supplied characters as byte values. |
static LuaUtf8String |
LuaUtf8String.valueOf(char[] bytes,
int off,
int len)
Construct a
LuaUtf8String using the supplied characters as byte values. |
static LuaUtf8String |
LuaUtf8String.valueOfString(LuaString string) |
static LuaUtf8String |
LuaUtf8String.valueOfString(String string)
Get a
LuaUtf8String instance whose bytes match
the supplied Java String using the UTF8 encoding. |
static LuaUtf8String |
LuaUtf8String.valueUsing(char[] bytes)
Construct a
LuaUtf8String for all the bytes in a byte array, possibly using
the supplied array as the backing store. |
static LuaUtf8String |
LuaUtf8String.valueUsing(char[] bytes,
int off,
int len)
Construct a
LuaUtf8String around, possibly using the the supplied
byte array as the backing store. |
| 限定符和类型 | 方法和说明 |
|---|---|
LuaValue |
LuaUtf8String.concatTo(LuaUtf8String lhs) |
static boolean |
LuaUtf8String.equals(LuaUtf8String a,
int i,
LuaUtf8String b,
int j,
int n) |
int |
LuaUtf8String.indexOf(LuaUtf8String s,
int start)
Find the index of a string starting at a point in this string
|
int |
LuaUtf8String.indexOfAny(LuaUtf8String accept)
Java version of strpbrk - find index of any byte that in an accept string.
|
int |
LuaUtf8String.lastIndexOf(LuaUtf8String s)
Find the last index of a string in this string
|
boolean |
LuaUtf8String.raweq(LuaUtf8String s) |
int |
LuaUtf8String.strcmp(LuaUtf8String rhs) |
Copyright © 2020. All rights reserved.