de.dagere.kopeme.measuresummarizing.MaximumSummarizer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kopeme-core Show documentation
Show all versions of kopeme-core Show documentation
KoPeMe performance testing core
package de.dagere.kopeme.measuresummarizing;
import java.util.List;
/**
* Returns the maximum of the List of measures
* @author dagere
*/
public class MaximumSummarizer implements MeasureSummarizer {
/**
* Returns the maximum of the List of measures
* @return Maximum of the liste of measures
*/
@Override
public long getValue(List values) {
long max = 0;
for (Long l : values) {
if (l > max)
max = l;
}
return max;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy