class AspectRatioSelectors {

    public static SelectorFunction<Collection<Size>, Size> aspectRatio(float aspectRatio, SelectorFunction<Collection<Size>, Size> selector, double tolerance) {
        return Selectors.filtered(
                selector,
                new AspectRatioPredicate(aspectRatio, tolerance)
        );
    }

}