Pergunta

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
}
Foi útil?

Solução

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

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top