Traversable
Iface
constructor
name
all_
match
any_
match
chop
filter
first_
match
flat_
map
fold
foreach
get_
element_
type
map
max
min
order_
by
scan
stream
tee
GJS API Reference
Gee-0.8
Gee
TraversableIface
Class TraversableIface
Hierarchy
TraversableIface
Index
Constructors
constructor
Properties
name
Methods
all_
match
any_
match
chop
filter
first_
match
flat_
map
fold
foreach
get_
element_
type
map
max
min
order_
by
scan
stream
tee
Constructors
constructor
new
Traversable
Iface
(
)
:
TraversableIface
Returns
TraversableIface
Properties
Static
name
name
:
string
Methods
all_
match
all_
match
(
self
:
Traversable
, pred
:
Gee
.
Predicate
)
:
boolean
Parameters
self:
Traversable
pred:
Gee
.
Predicate
Returns
boolean
any_
match
any_
match
(
self
:
Traversable
, pred
:
Gee
.
Predicate
)
:
boolean
Parameters
self:
Traversable
pred:
Gee
.
Predicate
Returns
boolean
chop
chop
(
self
:
Traversable
, offset
:
number
, length
:
number
)
:
Gee
.
Iterator
Parameters
self:
Traversable
offset:
number
length:
number
Returns
Gee
.
Iterator
filter
filter
(
self
:
Traversable
, pred
:
Gee
.
Predicate
)
:
Gee
.
Iterator
Parameters
self:
Traversable
pred:
Gee
.
Predicate
Returns
Gee
.
Iterator
first_
match
first_
match
(
self
:
Traversable
, pred
:
Gee
.
Predicate
)
:
object
Parameters
self:
Traversable
pred:
Gee
.
Predicate
Returns
object
flat_
map
flat_
map
(
self
:
Traversable
, a_type
:
GType
<
unknown
>
, a_dup_func
:
BoxedCopyFunc
, a_destroy_func
:
GLib
.
DestroyNotify
, f
:
Gee
.
FlatMapFunc
)
:
Gee
.
Iterator
Parameters
self:
Traversable
a_type:
GType
<
unknown
>
a_dup_func:
BoxedCopyFunc
a_destroy_func:
GLib
.
DestroyNotify
f:
Gee
.
FlatMapFunc
Returns
Gee
.
Iterator
fold
fold
(
self
:
Traversable
, a_type
:
GType
<
unknown
>
, a_dup_func
:
BoxedCopyFunc
, a_destroy_func
:
GLib
.
DestroyNotify
, f
:
Gee
.
FoldFunc
, seed
:
object
)
:
object
Parameters
self:
Traversable
a_type:
GType
<
unknown
>
a_dup_func:
BoxedCopyFunc
a_destroy_func:
GLib
.
DestroyNotify
f:
Gee
.
FoldFunc
seed:
object
Returns
object
foreach
foreach
(
self
:
Traversable
, f
:
ForallFunc
)
:
boolean
Parameters
self:
Traversable
f:
ForallFunc
Returns
boolean
get_
element_
type
get_
element_
type
(
self
:
Traversable
)
:
GType
<
unknown
>
Parameters
self:
Traversable
Returns
GType
<
unknown
>
map
map
(
self
:
Traversable
, a_type
:
GType
<
unknown
>
, a_dup_func
:
BoxedCopyFunc
, a_destroy_func
:
GLib
.
DestroyNotify
, f
:
Gee
.
MapFunc
)
:
Gee
.
Iterator
Parameters
self:
Traversable
a_type:
GType
<
unknown
>
a_dup_func:
BoxedCopyFunc
a_destroy_func:
GLib
.
DestroyNotify
f:
Gee
.
MapFunc
Returns
Gee
.
Iterator
max
max
(
self
:
Traversable
, compare
:
CompareDataFunc
)
:
object
Parameters
self:
Traversable
compare:
CompareDataFunc
Returns
object
min
min
(
self
:
Traversable
, compare
:
CompareDataFunc
)
:
object
Parameters
self:
Traversable
compare:
CompareDataFunc
Returns
object
order_
by
order_
by
(
self
:
Traversable
, compare
:
CompareDataFunc
)
:
Gee
.
Iterator
Parameters
self:
Traversable
compare:
CompareDataFunc
Returns
Gee
.
Iterator
scan
scan
(
self
:
Traversable
, a_type
:
GType
<
unknown
>
, a_dup_func
:
BoxedCopyFunc
, a_destroy_func
:
GLib
.
DestroyNotify
, f
:
Gee
.
FoldFunc
, seed
:
object
)
:
Gee
.
Iterator
Parameters
self:
Traversable
a_type:
GType
<
unknown
>
a_dup_func:
BoxedCopyFunc
a_destroy_func:
GLib
.
DestroyNotify
f:
Gee
.
FoldFunc
seed:
object
Returns
Gee
.
Iterator
stream
stream
(
self
:
Traversable
, a_type
:
GType
<
unknown
>
, a_dup_func
:
BoxedCopyFunc
, a_destroy_func
:
GLib
.
DestroyNotify
, f
:
StreamFunc
)
:
Gee
.
Iterator
Parameters
self:
Traversable
a_type:
GType
<
unknown
>
a_dup_func:
BoxedCopyFunc
a_destroy_func:
GLib
.
DestroyNotify
f:
StreamFunc
Returns
Gee
.
Iterator
tee
tee
(
self
:
Traversable
)
:
[
Gee
.
Iterator
[]
,
number
]
Parameters
self:
Traversable
Returns
[
Gee
.
Iterator
[]
,
number
]
Traversable
Iface
constructor
name
all_
match
any_
match
chop
filter
first_
match
flat_
map
fold
foreach
get_
element_
type
map
max
min
order_
by
scan
stream
tee
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHZWVfMF84LkdlZS5UcmF2ZXJzYWJsZUlmYWNlLmh0bWwjY29uc3RydWN0b3IiLCJuYW1lIjoiY29uc3RydWN0b3IiLCJjaGlsZHJlbiI6W10sImlzRXh0ZXJuIjpmYWxzZSwiaXNJbnRlcm4iOnRydWV9LHsiY2xhc3NOYW1lcyI6InRzZC1raW5kLXByb3BlcnR5IHRzZC1wYXJlbnQta2luZC1jbGFzcyB0c2QtaXMtc3RhdGljIiwiaHJlZiI6IkdlZV8wXzguR2VlLlRyYXZlcnNhYmxlSWZhY2UuaHRtbCNuYW1lIiwibmFtZSI6Im5hbWUiLCJjaGlsZHJlbiI6W10sImlzRXh0ZXJuIjpmYWxzZSwiaXNJbnRlcm4iOnRydWV9LHsiY2xhc3NOYW1lcyI6InRzZC1raW5kLW1ldGhvZCB0c2QtcGFyZW50LWtpbmQtY2xhc3MiLCJocmVmIjoiR2VlXzBfOC5HZWUuVHJhdmVyc2FibGVJZmFjZS5odG1sI2FsbF9tYXRjaCIsIm5hbWUiOiJhbGxfbWF0Y2giLCJjaGlsZHJlbiI6W10sImlzRXh0ZXJuIjpmYWxzZSwiaXNJbnRlcm4iOnRydWV9LHsiY2xhc3NOYW1lcyI6InRzZC1raW5kLW1ldGhvZCB0c2QtcGFyZW50L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