🦦 chris_cadev notes

Search IconIcon to open search

example code iterator pattern

Last updated July 27, 2022.


# example code iterator pattern

1
2
3
4
5
6
7
HandInventory inv = new HandInventory();
InventoryIterator iter = inv.getIterator();
while(!iter.isDone()) {
	Item item = iter.current();
	// do something cool c:
	iter.next();
}

# References

# position

https://www.youtube.com/watch?v=uNTNEfwYXhI&t=5588s

# author

Christopher Okhravi


Interactive Graph