Iterator
on Java primitive arraysjava :: JavaArrayIterator :: _array
java :: JavaArrayIterator :: _index
java :: JavaArrayIterator :: array
java :: JavaArrayIterator :: array=
java :: JavaArrayIterator :: defaultinit
java :: JavaArrayIterator :: index=
java $ JavaArrayIterator :: SELF
Type of this instance, automatically specialized in every classjava :: JavaArrayIterator :: _array
java :: JavaArrayIterator :: _index
java :: JavaArrayIterator :: array
java :: JavaArrayIterator :: array=
core :: Object :: class_factory
Implementation used byget_class
to create the specific class.
core :: IndexedIterator :: defaultinit
java :: JavaArrayIterator :: defaultinit
core :: Object :: defaultinit
core :: Iterator :: defaultinit
java :: JavaArrayIterator :: index=
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).
# An `Iterator` on Java primitive arrays
private class JavaArrayIterator[E: Object]
super IndexedIterator[E]
var array: AbstractJavaArray[E]
redef fun item do return array[index]
redef fun is_ok do return index < array.length
redef fun next do index += 1
redef var index = 0
end
lib/java/collections.nit:178,1--191,3