MCPcopy Index your code
hub / github.com/processing/processing / removeEldestEntry

Method removeEldestEntry

core/src/processing/core/PApplet.java:9258–9262  ·  view source on GitHub ↗
(Map.Entry<String, Pattern> eldest)

Source from the content-addressed store, hash-verified

9256 if (matchPatterns == null) {
9257 matchPatterns = new LinkedHashMap<String, Pattern>(16, 0.75f, true) {
9258 @Override
9259 protected boolean removeEldestEntry(Map.Entry<String, Pattern> eldest) {
9260 // Limit the number of match patterns at 10 most recently used
9261 return size() == 10;
9262 }
9263 };
9264 } else {
9265 p = matchPatterns.get(regexp);

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.95

Tested by

no test coverage detected