question: @ Override public ExampleSet createExampleSet ( Iterator < AttributeRole > newSpecialAttributes ) { Map < Attribute , String > specialAttributes = new LinkedHashMap < > ( ) ; while ( newSpecialAttributes . hasNext ( ) ) { AttributeRole role = newSpecialAttributes . next ( ) ; specialAttributes . put ( role . getAttribute ( ) , role . getSpecialName ( ) ) ; } return new SimpleExampleSet ( this , specialAttributes ) ; }
target:  Returns a new example set with all attributes switched on. The iterator over the attribute roles will define the special attributes.