Package org.protelis.test.matcher
Class TestCount
- java.lang.Object
-
- org.protelis.test.matcher.TestCount
-
- All Implemented Interfaces:
java.util.function.Function<java.util.Map<java.lang.String,java.lang.Object>,java.lang.Integer>
public final class TestCount extends java.lang.Object implements java.util.function.Function<java.util.Map<java.lang.String,java.lang.Object>,java.lang.Integer>
Count the occurences of a given value.
-
-
Constructor Summary
Constructors Constructor Description TestCount(java.lang.Object expectedValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Integer
apply(java.util.Map<java.lang.String,java.lang.Object> simulationRes)
-