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

Method trim1

src/main/java/fieldbox/boxes/plugins/Missing.java:128–132  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

126 }
127
128 private static void trim1() {
129 if (log.size() > maxLogSize * 2) {
130 log = new ArrayList<>(log.subList(maxLogSize, log.size()));
131 }
132 }
133
134 static public <T> void setTo(Box b, Dict.Prop<T> what, T value) {
135 T was = b.properties.get(what);

Callers 3

recordGetMethod · 0.95
recordSetMethod · 0.95
recordDeleteMethod · 0.95

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected