MCPcopy Create free account
hub / github.com/ArtifexSoftware/mupdf / pushFuture

Method pushFuture

platform/java/example/Viewer.java:1170–1178  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1168 }
1169
1170 protected void pushFuture() {
1171 if (futureCount + 1 >= future.length) {
1172 for (int i = 0; i < future.length - 1; i++)
1173 future[i] = future[i + 1];
1174 future[futureCount] = saveMark();
1175 } else {
1176 future[futureCount++] = saveMark();
1177 }
1178 }
1179
1180 protected void clearFuture() {
1181 futureCount = 0;

Callers 1

popHistoryMethod · 0.95

Calls 1

saveMarkMethod · 0.95

Tested by

no test coverage detected