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
}
Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top