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

Method removeValue

src/main/java/field/utility/Dict.java:726–734  ·  view source on GitHub ↗
(Object c)

Source from the content-addressed store, hash-verified

724 }
725
726 public void removeValue(Object c) {
727 Set<Entry<Prop, Object>> es = dictionary.entrySet();
728 Iterator<Entry<Prop, Object>> is = es.iterator();
729 while (is.hasNext()) {
730 Entry<Prop, Object> n = is.next();
731 if (n.getValue()
732 .equals(c)) is.remove();
733 }
734 }
735
736 public void multiply(Prop<Float> k, float missingValue, float by) {
737 put(k, getFloat(k, missingValue) * by);

Callers 1

minusAssignFunction · 0.45

Calls 6

hasNextMethod · 0.65
nextMethod · 0.65
iteratorMethod · 0.45
equalsMethod · 0.45
getValueMethod · 0.45
removeMethod · 0.45

Tested by

no test coverage detected