Class 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.function.Function

        andThen, compose
    • Constructor Detail

      • TestCount

        public TestCount​(java.lang.Object expectedValue)
        Parameters:
        expectedValue - expected value
    • Method Detail

      • apply

        public java.lang.Integer apply​(java.util.Map<java.lang.String,​java.lang.Object> simulationRes)
        Specified by:
        apply in interface java.util.function.Function<java.util.Map<java.lang.String,​java.lang.Object>,​java.lang.Integer>