boolean (AbstractColorsScheme otherScheme, @Nullable Predicate<? super ColorKey> colorKeyFilter) { Collection<Predicate<? super ColorKey>> filters = new ArrayList<>(); if (colorKeyFilter != null) { filters.add(colorKeyFilter); } return compareColors(otherScheme, filters); }