Gee.Traversable

g GObject.GInterface GObject.GInterface Gee.Traversable Gee.Traversable GObject.GInterface->Gee.Traversable

Implementations:

Gee.AbstractCollection, Gee.AbstractMap

Methods

all_match (pred, *pred_target)

any_match (pred, *pred_target)

chop (offset, length)

filter (pred, *pred_target)

first_match (pred, *pred_target)

flat_map (a_type, a_dup_func, a_destroy_func, f, *f_target)

fold (a_type, a_dup_func, a_destroy_func, f, f_target, seed)

foreach (f, *f_target)

get_element_type ()

map (a_type, a_dup_func, a_destroy_func, f, *f_target)

max (compare, *compare_target)

min (compare, *compare_target)

order_by (compare, *compare_target)

scan (a_type, a_dup_func, a_destroy_func, f, f_target, seed)

stream (a_type, a_dup_func, a_destroy_func, f, *f_target)

tee (forks)

Virtual Methods

do_all_match (pred, pred_target)

do_any_match (pred, pred_target)

do_chop (offset, length)

do_filter (pred, pred_target)

do_first_match (pred, pred_target)

do_flat_map (a_type, a_dup_func, a_destroy_func, f, f_target)

do_fold (a_type, a_dup_func, a_destroy_func, f, f_target, seed)

do_foreach (f, f_target)

do_get_element_type ()

do_map (a_type, a_dup_func, a_destroy_func, f, f_target)

do_max (compare, compare_target)

do_min (compare, compare_target)

do_order_by (compare, compare_target)

do_scan (a_type, a_dup_func, a_destroy_func, f, f_target, seed)

do_stream (a_type, a_dup_func, a_destroy_func, f, f_target)

do_tee (forks)

Properties

None

Signals

None

Fields

None

Class Details

class Gee.Traversable
Bases:

GObject.GInterface

Structure:

Gee.TraversableIface

all_match(pred, *pred_target)
Parameters:
Return type:

bool

any_match(pred, *pred_target)
Parameters:
Return type:

bool

chop(offset, length)
Parameters:
  • offset (int) –

  • length (int) –

Return type:

Gee.Iterator

filter(pred, *pred_target)
Parameters:
Return type:

Gee.Iterator

first_match(pred, *pred_target)
Parameters:
Return type:

object or None

flat_map(a_type, a_dup_func, a_destroy_func, f, *f_target)
Parameters:
Return type:

Gee.Iterator

fold(a_type, a_dup_func, a_destroy_func, f, f_target, seed)
Parameters:
Return type:

object or None

foreach(f, *f_target)
Parameters:
Return type:

bool

get_element_type()
Return type:

GObject.GType

map(a_type, a_dup_func, a_destroy_func, f, *f_target)
Parameters:
Return type:

Gee.Iterator

max(compare, *compare_target)
Parameters:
Return type:

object or None

min(compare, *compare_target)
Parameters:
Return type:

object or None

order_by(compare, *compare_target)
Parameters:
Return type:

Gee.Iterator

scan(a_type, a_dup_func, a_destroy_func, f, f_target, seed)
Parameters:
Return type:

Gee.Iterator

stream(a_type, a_dup_func, a_destroy_func, f, *f_target)
Parameters:
Return type:

Gee.Iterator

tee(forks)
Parameters:

forks (int) –

Return type:

[Gee.Iterator]

do_all_match(pred, pred_target) virtual
Parameters:
Return type:

bool

do_any_match(pred, pred_target) virtual
Parameters:
Return type:

bool

do_chop(offset, length) virtual
Parameters:
  • offset (int) –

  • length (int) –

Return type:

Gee.Iterator

do_filter(pred, pred_target) virtual
Parameters:
Return type:

Gee.Iterator

do_first_match(pred, pred_target) virtual
Parameters:
Return type:

object or None

do_flat_map(a_type, a_dup_func, a_destroy_func, f, f_target) virtual
Parameters:
Return type:

Gee.Iterator

do_fold(a_type, a_dup_func, a_destroy_func, f, f_target, seed) virtual
Parameters:
Return type:

object or None

do_foreach(f, f_target) virtual
Parameters:
Return type:

bool

do_get_element_type() virtual
Return type:

GObject.GType

do_map(a_type, a_dup_func, a_destroy_func, f, f_target) virtual
Parameters:
Return type:

Gee.Iterator

do_max(compare, compare_target) virtual
Parameters:
Return type:

object or None

do_min(compare, compare_target) virtual
Parameters:
Return type:

object or None

do_order_by(compare, compare_target) virtual
Parameters:
Return type:

Gee.Iterator

do_scan(a_type, a_dup_func, a_destroy_func, f, f_target, seed) virtual
Parameters:
Return type:

Gee.Iterator

do_stream(a_type, a_dup_func, a_destroy_func, f, f_target) virtual
Parameters:
Return type:

Gee.Iterator

do_tee(forks) virtual
Parameters:

forks (int) –

Return type:

[Gee.Iterator]