TokyoCabinet.List – tokyocabinet Reference Manual
List
Object Hierarchy:
TokyoCabinet.List
TokyoCabinet.List
TokyoCabinet.List
Description:
[
Compact
]
[
CCode
( cname =
"TCLIST"
, copy_function =
"tclistdup"
, cprefix =
"tclist"
, free_function =
"tclistdel"
) ]
public
class
List
Namespace:
TokyoCabinet
Package:
tokyocabinet
Content:
Structs:
Datum
Delegates:
public
delegate
int
CompareDatumFunc
(
Datum
a,
Datum
b)
Creation methods:
public
List
()
public
List.from_strings
(
string
s1, ...)
public
List.load
(
uint8
[] ptr)
public
List.sized
(
int
anum)
Methods:
public
unowned
uint8
[]
_dump
()
public
unowned
uint8
[]
_pop
()
public
unowned
string
_pop_string
()
public
unowned
uint8
[]
_remove
(
int
index)
public
unowned
string
_remove_string
(
int
index)
public
unowned
uint8
[]
_shift
()
public
unowned
string
_shift_string
()
public
int
binary_search
(
uint8
[] ptr)
public
void
clear
()
public
List
copy
()
public
uint8
[]
dump
()
public
unowned
uint8
[]?
index
(
int
index)
public
unowned
string
?
index_string
(
int
index)
public
void
insert
(
int
index,
uint8
[] data)
public
void
insert_string
(
int
index,
string
str)
public
int
linear_search
(
uint8
[] ptr)
public
uint8
[]
pop
()
public
string
pop_string
()
public
void
push
(
uint8
[] data)
public
void
push_printf
(
string
fmt, ...)
public
void
push_string
(
string
str)
public
uint8
[]
remove
(
int
index)
public
string
remove_string
(
int
index)
public
void
replace
(
int
index,
uint8
[] data)
public
void
replace_string
(
int
index,
string
str)
public
void
reverse
()
public
uint8
[]
shift
()
public
string
shift_string
()
public
void
sort
(
CompareDatumFunc
func)
public
void
sort_insensitive
()
public
void
sort_sensitive
()
public
void
unshift
(
uint8
[] data)
public
void
unshift_string
(
string
str)
Fields:
public
Datum
[]
array
public
int
num_used
public
int
start
2022 vala-language.org