Spliterator
Object Hierarchy:
Gpseq.Spliterator
Gpseq.Spliterator
Gpseq.Spliterator
GLib.Object
GLib.Object
GLib.Object->Gpseq.Spliterator
Description:
[ GenericAccessors ]public interface Spliterator <G > : Object
An object for traversing and partitioning elements of a data source.
All known implementing classes:
Content:
Properties:
public Type element_type { get ; }
The type of the elements in this spliterator.
public abstract int64 estimated_size { get ; }
The estimated size of the remaining elements. it is negative if
infinite, unknown, or can't be estimated for any reason.
public abstract bool is_size_known { get ; }
Whether or not the accurate size of this spliterator is known.
Static methods:
Methods:
public virtual void each (Func <G > f) throws Error
Applies the given function to each of the remaining elements.
public virtual bool each_chunk (EachChunkFunc <G > f) throws Error
Applies the given function to each chunk of the remaining elements,
until last chunk or function returns false.
public abstract bool try_advance (Func <G > consumer) throws Error
If a remaining element exists, performs the given consumer function on
it, advances to the next element if remaining, and returns true. otherwise returns false.
public abstract Spliterator <G >? try_split ()
If this spliterator can be partitioned, returns a spliterator covering
some elements that will not be covered by this spliterator. otherwise, returns null.
Inherited Members:
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