public void clear() { delegate.clear(); }
public void clear() { delegate.clear(); }
public SearchResult setRuleParameters(List<RuleParamDto> ruleParams) { ruleParamsByRuleId.clear(); for (RuleParamDto ruleParam : ruleParams) { ruleParamsByRuleId.put(ruleParam.getRuleId(), ruleParam); } return this; }
public K withEntries(Map<String, List<String>> entries) { listMultimap.clear(); for (String name : entries.keySet()) { for (String value : entries.get(name)) { withEntry(name, value); } } return (K) this; }
/** * Sets this BindsConfig to be identical to other * * @param other The BindsConfig to copy */ public void setBinds(BindsConfig other) { uriBoundInputs.clear(); uriBoundInputs.putAll(other.uriBoundInputs); }
public K withEntries(List<T> entries) { listMultimap.clear(); if (entries != null) { for (T entry : entries) { withEntry(entry); } } return (K) this; }
@Subscribe public void onGameTick(GameTick gameTick) { playerLocationLastTick = client.getLocalPlayer().getWorldLocation(); itemSpawns.clear(); killPoints.clear(); }
private void populateRacMap() { locMap.clear(); List<PriamInstance> instances = factory.getAllIds(config.getAppName()); for (PriamInstance ins : instances) { locMap.put(ins.getRac(), ins); } }
public void testLinkedClear() { ListMultimap<String, Integer> map = create(); map.put("foo", 1); map.put("foo", 2); map.put("bar", 3); List<Integer> foos = map.get("foo"); Collection<Integer> values = map.values(); assertEquals(asList(1, 2), foos); assertThat(values).containsExactly(1, 2, 3).inOrder(); map.clear(); assertEquals(Collections.emptyList(), foos); assertThat(values).isEmpty(); assertEquals("[]", map.entries().toString()); assertEquals("{}", map.toString()); }
@Override @VisibleForTesting public void clearAnonymousHookForUnitTest() { myAnonymousInvokers.clear(); }
public void setAlwaysFalse() { propertyRestrictions.clear(); path = "/"; pathRestriction = PathRestriction.EXACT; alwaysFalse = true; }
public void setAlwaysFalse() { propertyRestrictions.clear(); path = "/"; pathRestriction = PathRestriction.EXACT; alwaysFalse = true; }
public DryRun reset() { executedScripts.clear(); totallyOrderedScripts.clear(); return this; }
public void clear() { logs.clear(); logsByLevel.clear(); } }
void clear() { oid2Changes.clear(); gid2Changes.clear(); }
@Override public void leaveFile(JavaFileScannerContext context) { if (!hasNativeMethod) { classes.forEach(this::checkClassFields); } classes.clear(); assignments.clear(); unknownIdentifiers.clear(); hasNativeMethod = false; }
public void setNodes(Collection<Node> nodes) { this.nodes.clear(); this.nodeMap.clear(); this.nodeNameMap.clear(); for (Node node : nodes) { addNode(node); } }
@Override public void visitScript(ScriptTree tree) { undeclaredIdentifiersByName.clear(); excludedNames.clear(); super.visitScript(tree); for (String name : undeclaredIdentifiersByName.keySet()) { List<IdentifierTree> identifiers = undeclaredIdentifiersByName.get(name); PreciseIssue issue = addIssue(identifiers.get(0), String.format(MESSAGE, name)); identifiers.subList(1, identifiers.size()).stream().forEach(issue::secondary); } }
void _initWith(@NonNull CoreShaderOptions that) { args.clear(); args.addAll(that.getGlslcArgs()); scopedArgs.clear(); scopedArgs.putAll(that.getScopedGlslcArgs()); } }