@Test public void testReset() { countCacheHit(); countInstantiation(); withDurations(1, 1); withMappings(2); calculateMinimumMappingDuration(); calculateNumberOfMappings(); assertNumberOfInstantiationsIs(1); assertNumberOfCacheHitsIs(1); assertMinimumMappingDurationIs(1.5F); assertNumberOfMappingsIs(2); reset(); calculateMinimumMappingDuration(); calculateNumberOfMappings(); assertNumberOfInstantiationsIs(0); assertNumberOfCacheHitsIs(0); assertMinimumMappingDurationIs(0); assertNumberOfMappingsIs(0); }
void reset() { fill(this.mappingDurationFrequencies, 0); this.instantiations = 0; this.mappings = 0; this.cacheHits = 0; }
ResourceModelStatistics { void reset() { fill(this.mappingDurationFrequencies, 0); this.instantiations = 0; this.mappings = 0; this.cacheHits = 0; } }
ResourceModelStatistics { void reset() { fill(this.mappingDurationFrequencies, 0); this.instantiations = 0; this.mappings = 0; this.cacheHits = 0; } ResourceModelStatistics(); }
ResourceModelStatistics { void reset() { fill(this.mappingDurationFrequencies, 0); this.instantiations = 0; this.mappings = 0; this.cacheHits = 0; } ResourceModelStatistics(); ResourceModelStatistics countInstantiation(); ResourceModelStatistics countSubsequentMapping(); ResourceModelStatistics countCacheHit(); ResourceModelStatistics countMappingDuration(int durationInMs); }
ResourceModelStatistics { void reset() { fill(this.mappingDurationFrequencies, 0); this.instantiations = 0; this.mappings = 0; this.cacheHits = 0; } ResourceModelStatistics(); ResourceModelStatistics countInstantiation(); ResourceModelStatistics countSubsequentMapping(); ResourceModelStatistics countCacheHit(); ResourceModelStatistics countMappingDuration(int durationInMs);  }