skip to navigation
skip to content

javaiterator 1.2.0b3

A simple Java-like python iterator

# Java-like bidirectional iterator class

Simple Java-like iterator to make easier to iterate trough lists

### Install:
----
`pip install javaiterator`

----

### How to use:

```python
from javaiterator import Iterator

l = [0, 1, 2, 3, 4, 5]
i = Iterator(l)

while i.has_next():
print(i.next())

# OUTPUT:
# 0
# 1
# 2
# 3
# 4
# 5

```

For me, it looks better than the trying and catching way of doing it  
File Type Py Version Uploaded on Size
javaiterator-1.2.0b3.tar.gz (md5) Source 2017-01-31 2KB