MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / pad

Method pad

src/main/java/field/graphics/util/Saver.java:152–157  ·  view source on GitHub ↗
(int i)

Source from the content-addressed store, hash-verified

150 private void runHooks(Pair<ByteBuffer ,ByteBuffer > storage) {
151 hooks.values().stream().forEach(x -> x.accept(storage.first));
152 }
153
154 @HiddenInAutocomplete
155 static public String pad(int i) {
156 String s = i + "";
157 while (s.length() < 6) s = "0" + s;
158 return s;
159 }
160

Callers 2

getScreenshotterMethod · 0.95
updateMethod · 0.95

Calls 1

lengthMethod · 0.45

Tested by

no test coverage detected