pipeline :: PipeMap :: _item_cache
pipeline :: PipeMap :: _item_cached
pipeline :: PipeMap :: defaultinit
pipeline :: PipeMap :: item_cache
pipeline :: PipeMap :: item_cache=
pipeline :: PipeMap :: item_cached
pipeline :: PipeMap :: item_cached=
pipeline :: PipeMap :: _item_cache
pipeline :: PipeMap :: _item_cached
core :: Object :: class_factory
Implementation used byget_class
to create the specific class.
pipeline :: PipeMap :: defaultinit
core :: Iterator :: defaultinit
core :: Object :: defaultinit
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.
pipeline :: PipeMap :: item_cache
pipeline :: PipeMap :: item_cache=
pipeline :: PipeMap :: item_cached
pipeline :: PipeMap :: item_cached=
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).
private class PipeMap[E, F]
super Iterator[F]
var source: Iterator[E]
var function: Function[E, F]
var item_cache: nullable F = null
var item_cached = false
redef fun is_ok do return source.is_ok
redef fun item do
if item_cached then return item_cache
item_cache = function.apply(source.item)
item_cached = true
return item_cache
end
redef fun next do
source.next
item_cached = false
end
end
lib/pipeline/pipeline.nit:519,1--541,3