Question

I have an event which has indexed property ids (List ). How to write query which matches a value in ids ?

class MyEvent
{
    private List<Integer> allIds;
    getters/setters
}
Était-ce utile?

La solution

Have a look at the enumeration method such as "allIds.where(v => v = 5)"

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top