import java.util.Collection; import java.util.SortedMap; public interface TRAII_25_X3 { /** * The speed (time) of the contains() -operation of given Collection. * Result is a typical time of the contains() operation in nanoseconds * for each input size specified in map results. * The times will be stored in map for each input size specified in map results. * * * @param C Collection under test. * @param results map that contains the input sizes to test and is used to store the results. * @param found Do we test case when element is found or not. */ public void containsTimes(Collection C, SortedMap results, boolean found); }