CUPS.Array – cups Reference Manual
Array
Object Hierarchy:
CUPS.Array
CUPS.Array
CUPS.Array
Description:
[
Compact
]
[
CCode
( cname =
"cups_array_t"
, copy_function =
"cupsArrayDup"
, free_function =
"cupsArrayDelete"
) ]
public
class
Array
<
T
>
Namespace:
CUPS
Package:
cups
Content:
Creation methods:
public
Array
(
ArrayFunc
f,
T
d)
public
Array.with_hash
(
ArrayFunc
f,
T
d,
ArrayHashFunc
h,
int
hsize)
Methods:
public
int
add
(
T
e)
public
void
clear
()
public
int
count
()
public
unowned
T
current
()
public
unowned
T
find
(
T
e)
public
unowned
T
first
()
public
int
get_index
()
public
int
get_insert
()
public
unowned
T
index
(
int
n)
public
int
insert
(
T
e)
public
unowned
T
last
()
public
unowned
T
next
()
public
unowned
T
prev
()
public
int
remove
(
T
e)
public
unowned
T
restore
()
public
int
save
()
2022 vala-language.org