class SizesDelegator extends BaseDelegator implements ISizesDelegator {

    @Override
    public List<IFileSize> getFileSizes(
            final List<IFileSpec> fileSpecs,
            final GetFileSizesOptions opts) throws P4JavaException {

        List<Map<String, Object>> resultMaps = execMapCmdList(
                SIZES,
                processParameters(opts, fileSpecs, server),
                null);

        return buildNonNullObjectListFromCommandResultMaps(
                resultMaps,
                // p4ic4idea: explicit generics
                new Function<Map<String, Object>, IFileSize>() {
                    @Override
                    // p4ic4idea: explicit generics
                    public IFileSize apply(Map<String, Object> map) {
                        return new FileSize(map);
                    }
                }
        );
    }

    public  SizesDelegator(IOptionsServer server);

}