Collection
Iface
constructor
name
add
add_
all
add_
all_
array
add_
all_
iterator
clear
contains
contains_
all
contains_
all_
array
contains_
all_
iterator
get_
is_
empty
get_
read_
only
get_
read_
only_
view
get_
size
remove
remove_
all
remove_
all_
array
remove_
all_
iterator
retain_
all
to_
array
GJS API Reference
Gee-0.8
Gee
CollectionIface
Class CollectionIface
Hierarchy
CollectionIface
Index
Constructors
constructor
Properties
name
Methods
add
add_
all
add_
all_
array
add_
all_
iterator
clear
contains
contains_
all
contains_
all_
array
contains_
all_
iterator
get_
is_
empty
get_
read_
only
get_
read_
only_
view
get_
size
remove
remove_
all
remove_
all_
array
remove_
all_
iterator
retain_
all
to_
array
Constructors
constructor
new
Collection
Iface
(
)
:
Gee
.
CollectionIface
Returns
Gee
.
CollectionIface
Properties
Static
name
name
:
string
Methods
add
add
(
self
:
Gee
.
Collection
, item
:
object
)
:
boolean
Parameters
self:
Gee
.
Collection
item:
object
Returns
boolean
add_
all
add_
all
(
self
:
Gee
.
Collection
, collection
:
Gee
.
Collection
)
:
boolean
Parameters
self:
Gee
.
Collection
collection:
Gee
.
Collection
Returns
boolean
add_
all_
array
add_
all_
array
(
self
:
Gee
.
Collection
, array
:
object
[]
)
:
boolean
Parameters
self:
Gee
.
Collection
array:
object
[]
Returns
boolean
add_
all_
iterator
add_
all_
iterator
(
self
:
Gee
.
Collection
, iter
:
Gee
.
Iterator
)
:
boolean
Parameters
self:
Gee
.
Collection
iter:
Gee
.
Iterator
Returns
boolean
clear
clear
(
self
:
Gee
.
Collection
)
:
void
Parameters
self:
Gee
.
Collection
Returns
void
contains
contains
(
self
:
Gee
.
Collection
, item
:
object
)
:
boolean
Parameters
self:
Gee
.
Collection
item:
object
Returns
boolean
contains_
all
contains_
all
(
self
:
Gee
.
Collection
, collection
:
Gee
.
Collection
)
:
boolean
Parameters
self:
Gee
.
Collection
collection:
Gee
.
Collection
Returns
boolean
contains_
all_
array
contains_
all_
array
(
self
:
Gee
.
Collection
, array
:
object
[]
)
:
boolean
Parameters
self:
Gee
.
Collection
array:
object
[]
Returns
boolean
contains_
all_
iterator
contains_
all_
iterator
(
self
:
Gee
.
Collection
, iter
:
Gee
.
Iterator
)
:
boolean
Parameters
self:
Gee
.
Collection
iter:
Gee
.
Iterator
Returns
boolean
get_
is_
empty
get_
is_
empty
(
self
:
Gee
.
Collection
)
:
boolean
Parameters
self:
Gee
.
Collection
Returns
boolean
get_
read_
only
get_
read_
only
(
self
:
Gee
.
Collection
)
:
boolean
Parameters
self:
Gee
.
Collection
Returns
boolean
get_
read_
only_
view
get_
read_
only_
view
(
self
:
Gee
.
Collection
)
:
Gee
.
Collection
Parameters
self:
Gee
.
Collection
Returns
Gee
.
Collection
get_
size
get_
size
(
self
:
Gee
.
Collection
)
:
number
Parameters
self:
Gee
.
Collection
Returns
number
remove
remove
(
self
:
Gee
.
Collection
, item
:
object
)
:
boolean
Parameters
self:
Gee
.
Collection
item:
object
Returns
boolean
remove_
all
remove_
all
(
self
:
Gee
.
Collection
, collection
:
Gee
.
Collection
)
:
boolean
Parameters
self:
Gee
.
Collection
collection:
Gee
.
Collection
Returns
boolean
remove_
all_
array
remove_
all_
array
(
self
:
Gee
.
Collection
, array
:
object
[]
)
:
boolean
Parameters
self:
Gee
.
Collection
array:
object
[]
Returns
boolean
remove_
all_
iterator
remove_
all_
iterator
(
self
:
Gee
.
Collection
, iter
:
Gee
.
Iterator
)
:
boolean
Parameters
self:
Gee
.
Collection
iter:
Gee
.
Iterator
Returns
boolean
retain_
all
retain_
all
(
self
:
Gee
.
Collection
, collection
:
Gee
.
Collection
)
:
boolean
Parameters
self:
Gee
.
Collection
collection:
Gee
.
Collection
Returns
boolean
to_
array
to_
array
(
)
:
[
object
[]
,
number
]
Returns
[
object
[]
,
number
]
Collection
Iface
constructor
name
add
add_
all
add_
all_
array
add_
all_
iterator
clear
contains
contains_
all
contains_
all_
array
contains_
all_
iterator
get_
is_
empty
get_
read_
only
get_
read_
only_
view
get_
size
remove
remove_
all
remove_
all_
array
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