Package com.alibaba.graphscope.stdcxx
Interface StdString
-
- All Superinterfaces:
com.alibaba.fastffi.CXXPointer
,com.alibaba.fastffi.CXXRange<StdString.Iterator>
,com.alibaba.fastffi.CXXValueRange<StdString.Iterator>
,com.alibaba.fastffi.FFIJava
,com.alibaba.fastffi.FFIPointer
,com.alibaba.fastffi.FFIStringProvider
,com.alibaba.fastffi.FFIStringReceiver
,FFIType
,Iterable<StdString.Iterator>
,Serializable
- All Known Implementing Classes:
StdString_cxx_0xcec1e274
public interface StdString extends com.alibaba.fastffi.CXXPointer, com.alibaba.fastffi.CXXValueRange<StdString.Iterator>, com.alibaba.fastffi.FFIStringReceiver, com.alibaba.fastffi.FFIStringProvider
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
StdString.Factory
static interface
StdString.Iterator
-
Field Summary
Fields Modifier and Type Field Description static StdString.Factory
factory
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StdString
append(StdString rhs)
byte
at(long index)
The actual String returns a reference but we can use a value.StdString.Iterator
begin()
long
c_str()
void
clear()
int
compare(StdString str)
long
data()
StdString.Iterator
end()
default long
find(byte c)
long
find(byte c, long pos)
default long
find(StdString str)
long
find(StdString str, long pos)
default long
find_first_of(byte c)
long
find_first_of(byte c, long pos)
default long
find_first_of(StdString str)
long
find_first_of(StdString str, long pos)
default long
find_last_of(byte c)
long
find_last_of(byte c, long pos)
default long
find_last_of(StdString str)
long
find_last_of(StdString str, long pos)
void
push_back(byte c)
void
resize(long size)
long
size()
default StdString
substr(long pos)
StdString
substr(long pos, long len)
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Field Detail
-
factory
static final StdString.Factory factory
-
-
Method Detail
-
size
long size()
- Specified by:
size
in interfacecom.alibaba.fastffi.FFIStringProvider
-
data
long data()
- Specified by:
data
in interfacecom.alibaba.fastffi.FFIStringProvider
- Specified by:
data
in interfacecom.alibaba.fastffi.FFIStringReceiver
-
c_str
long c_str()
-
resize
void resize(long size)
- Specified by:
resize
in interfacecom.alibaba.fastffi.FFIStringReceiver
-
clear
void clear()
-
push_back
void push_back(byte c)
-
at
byte at(long index)
The actual String returns a reference but we can use a value.- Parameters:
index
- index pos.- Returns:
- byte at index
-
begin
StdString.Iterator begin()
- Specified by:
begin
in interfacecom.alibaba.fastffi.CXXRange<StdString.Iterator>
-
end
StdString.Iterator end()
- Specified by:
end
in interfacecom.alibaba.fastffi.CXXRange<StdString.Iterator>
-
find
long find(StdString str, long pos)
-
find
default long find(StdString str)
-
find
long find(byte c, long pos)
-
find
default long find(byte c)
-
substr
StdString substr(long pos, long len)
-
substr
default StdString substr(long pos)
-
find_first_of
long find_first_of(StdString str, long pos)
-
find_first_of
long find_first_of(byte c, long pos)
-
find_first_of
default long find_first_of(StdString str)
-
find_first_of
default long find_first_of(byte c)
-
find_last_of
long find_last_of(StdString str, long pos)
-
find_last_of
default long find_last_of(StdString str)
-
find_last_of
long find_last_of(byte c, long pos)
-
find_last_of
default long find_last_of(byte c)
-
compare
int compare(StdString str)
-
-