Groovy/Map/Filter

  • Beitrags-Autor:
  • Beitrags-Kategorie:Groovy

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

WeiterlesenGroovy/Map/Filter