This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Person = { | |
| id:number, name:string, address:string | |
| 1, Petter, META | |
| 2, Jesper, F1 | |
| 3, Johan, E1 | |
| 20, 'Florian Pokorny', 'Borggården' | |
| 21, 'Viggo Kann', 'Nånstans på CSC' | |
| 22, 'Ricky Martin', 'Paris' | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| [PeekIter]: Wrapper class for iterators, implements peeking. | |
| """ | |
| __VERSION = "0.1" | |
| __AUTHOR = "Olian04" | |
| class PeekIter: | |
| """PeekIter wrapper class, adds peek, done and next functionality to an iter. | |
| [iterator]: The iterator to wrap. |
NewerOlder