All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ru.qatools.gridrouter.config.RegionWithCount Maven / Gradle / Ivy

There is a newer version: 1.31
Show newest version
package ru.qatools.gridrouter.config;

import java.util.List;

/**
 * @author Innokenty Shuvalov [email protected]
 */
public interface RegionWithCount extends WithCount {

    List getHosts();

    @Override
    default int getCount() {
        return getHosts().stream().mapToInt(Host::getCount).sum();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy