Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cschanck/single-file-java
/ peek
Method
peek
src/main/java/org/sfj/JSONOne.java:623–628 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
621
}
622
623
char peek() {
624
if
(isAtEnd()) {
625
return
'\0'
;
626
}
627
return
input.charAt(current);
628
}
629
630
private
boolean isAtEnd() {
631
return
current >= input.length();
Callers
3
exponent
Method · 0.95
fraction
Method · 0.95
digits
Method · 0.95
Calls
1
isAtEnd
Method · 0.95
Tested by
no test coverage detected