core :: HashSetIterator :: _node
The position in the internal map storagecore :: HashSetIterator :: defaultinit
core :: HashSetIterator :: node
The position in the internal map storagecore :: HashSetIterator :: node=
The position in the internal map storagecore $ HashSetIterator :: SELF
Type of this instance, automatically specialized in every classcore $ HashSetIterator :: init
core :: HashSetIterator :: _node
The position in the internal map storagecore :: Object :: class_factory
Implementation used byget_class
to create the specific class.
core :: HashSetIterator :: 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.
core :: Object :: native_class_name
The class name of the object in CString format.core :: HashSetIterator :: node
The position in the internal map storagecore :: HashSetIterator :: node=
The position in the internal map storageIterator
whose elements are sorted by the function
core :: Object :: output_class_name
Display class name on stdout (debug only).
private class HashSetIterator[E]
super Iterator[E]
redef fun is_ok do return _node != null
redef fun item
do
assert is_ok
return _node._key
end
redef fun next
do
assert is_ok
_node = _node._next_item
end
# The set to iterate on
var set: HashSet[E]
# The position in the internal map storage
var node: nullable HashSetNode[E] = null
init
do
_node = _set._first_item
end
end
lib/core/collection/hash_collection.nit:485,1--511,3