class LinkUtilities {

    public static Collection<ILink> findMatchingLinksIn(Collection<ILink> links, final ILink templateLink) {
        return Collections2.filter(links, new Predicate<ILink>() {
            public boolean apply(ILink input) {
                return COMPARATOR.compare(input, templateLink) == 0;
            }
        });
    }

}