I want to know if there is a better way to write the following class
public class Helper { public static boolean isMatch(final Collection<ClassA> customList) public static boolean containsProperty(final Collection<ClassA> customList, final String property) }
Method call method:
Helper.isMatch(customList);
I would like to make a call like:
customList.isMatch();
Any advice would be great.
source share