Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenStarbound/OpenStarbound
/ next
Method
next
source/core/StarIterator.hpp:60–66 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
58
}
59
60
value_ref next() {
61
if (hasNext()) {
62
direction = -1;
63
return *(curr++);
64
}
65
throw IteratorException(
"next() called on end"
);
66
}
67
68
value_ref previous() {
69
if (hasPrevious()) {
Callers
4
peekNext
Method · 0.45
peekNext
Method · 0.45
peekNext
Method · 0.45
peekNext
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected