[java] Something like 'contains any' for Java set?