Contact: aviboots(AT)netvision.net.il
39,846 questions
51,767 answers
573 users
def map = [a:13, b:12, c:43, d:87, e:2, f:100, g:99] map.retainAll{e -> e.value % 2 == 0} map.each{key, value -> println "${key}:${value}"} /* run: b:12 e:2 f:100 */