functional :: FunIter :: defaultinit
core :: Object :: class_factory
Implementation used byget_class
to create the specific class.
functional :: FunIter :: defaultinit
core :: Object :: defaultinit
core :: Iterator :: 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.
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).pred
.
# Base class for all iterators using functional types.
private abstract class FunIter[OLD,NEW]
super Iterator[NEW]
var my_iter: Iterator[OLD]
redef fun next
do
my_iter.next
end
redef fun start
do
my_iter.start
end
redef fun finish
do
my_iter.finish
end
redef fun is_ok
do
return my_iter.is_ok
end
end
lib/functional/iter_extras.nit:230,1--254,3