def map = [ 1: [ name: 'A', skip: false ], 2: [ name: 'B', skip: true ], 3: [ name: 'C', skip: false ] ] map.findAll{ !it.value.skip }.each { println it.value.name } |
def map = [ 1: [ name: 'A', skip: false ], 2: [ name: 'B', skip: true ], 3: [ name: 'C', skip: false ] ] map.findAll{ !it.value.skip }.each { println it.value.name } |