pipeline :: PipeSelect :: _predicate
pipeline :: PipeSelect :: defaultinit
pipeline :: PipeSelect :: do_skip
pipeline :: PipeSelect :: predicate=
pipeline $ PipeSelect :: SELF
Type of this instance, automatically specialized in every classpipeline $ PipeSelect :: init
pipeline :: PipeSelect :: _predicate
core :: Object :: class_factory
Implementation used byget_class
to create the specific class.
pipeline :: PipeSelect :: defaultinit
core :: Object :: defaultinit
core :: Iterator :: defaultinit
pipeline :: PipeSelect :: do_skip
core :: Object :: is_same_instance
Return true ifself
and other
are the same instance (i.e. same identity).
core :: Object :: is_same_serialized
Isself
the same as other
in a serialization context?
core :: Object :: is_same_type
Return true ifself
and other
have the same dynamic type.
core :: Object :: native_class_name
The class name of the object in CString format.Iterator
whose elements are sorted by the function
core :: Object :: output_class_name
Display class name on stdout (debug only).pipeline :: PipeSelect :: predicate=
private class PipeSelect[E]
super Iterator[E]
var source: Iterator[E]
var predicate: Function[E, Bool]
init do do_skip
fun do_skip
do
while source.is_ok and not predicate.apply(source.item) do source.next
end
redef fun is_ok do return source.is_ok
redef fun item do return source.item
redef fun next
do
source.next
do_skip
end
end
lib/pipeline/pipeline.nit:494,1--517,3