core :: SequenceRead :: reverse_iterator
var reviter = [1,2,3].reverse_iterator
assert reviter.to_a == [3,2,1]
# Gets an iterator starting at the end and going backwards
#
# var reviter = [1,2,3].reverse_iterator
# assert reviter.to_a == [3,2,1]
fun reverse_iterator: IndexedIterator[E] is abstract
lib/core/collection/abstract_collection.nit:1051,2--1055,53
redef fun reverse_iterator do return new ArrayReverseIterator[E](self)
lib/core/collection/array.nit:154,2--71
redef fun reverse_iterator do return self.reverse_iterator_from(self.length - 1)
lib/core/text/abstract_text.nit:1460,2--81
redef fun reverse_iterator do return self.reverse_iterator_from(target.byte_length - 1)
lib/core/text/abstract_text.nit:1478,2--88
redef fun reverse_iterator
do
mutex.lock
var r = real_collection.reverse_iterator
mutex.unlock
return r
end
lib/pthreads/concurrent_collections.nit:260,2--266,4
redef fun reverse_iterator do return new JavaArrayReverseIterator[E](self)
lib/java/collections.nit:46,2--75
redef fun reverse_iterator: ListIterator[E] do return new ListReverseIterator[E](self)
lib/core/collection/list.nit:197,2--87
redef fun reverse_iterator do return entities.reverse_iterator
lib/dom/xml_entities.nit:99,2--63
redef fun reverse_iterator do return items.reverse_iterator
src/parser/parser_nodes.nit:255,2--60