SpliteratorTask
Object Hierarchy:
Description:
public abstract class SpliteratorTask<
R,
G> :
ForkJoinTask<
R>
A base class for spliterator based fork-join tasks.
Content:
Properties:
- protected abstract R empty_result { public owned get; }
Gets an empty result.
- protected bool is_leaf { public get; }
Whether or not this task is a leaf node.
- protected bool is_leftmost { public get; }
Whether or not the path from the root to this involves only left child
of each node.
- protected SpliteratorTask<R,G>? left_child { public get; }
The left child of this task.
- protected SpliteratorTask<R,G>? right_child { public get; }
The right child of this task.
- protected Spliterator<G> spliterator { public get; }
Creation methods:
Methods:
- protected void cancel_later_nodes ()
Cancels all tasks which following this in the encounter order.
- protected override void compute ()
- protected abstract R leaf_compute () throws Error
Computes this leaf node task.
- protected abstract SpliteratorTask<R,G> make_child (Spliterator<G> spliterator)
Creates a child task with the given spliterator.
- protected abstract R merge_results (owned R left, owned R right) throws Error
Merges the left and right result, then returns the merged result.
Inherited Members:
All known members inherited from class Gpseq.ForkJoinTask
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref
All known members inherited from interface Gpseq.Task