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
}
有帮助吗?

解决方案

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

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top