Can someone help me with my query?
I have an custom object defined with a list of strings in it. These string are id's of a different type
I have a list of strings of those id's with which I want to check equality against.
public class Foo { @CollectionOfElements(targetElement = String.class) private List<String> bar; }
I want to be able to give a list<String> to methode List<Foo> findGebruiksBesluiten(final List<String> beer); I want to know, if any of the String in beer are in bar;
Does anyone no if this is possible? And if so, how?
|