public Collection < Pair < NodeDescriptor , INDArray > > asCollection ( ) { val c = new HashSet < Pair < NodeDescriptor , INDArray > > ( ) ; for ( val k : map . keySet ( ) ) c . ( Pair . makePair ( k , map . get ( k ) ) ) ; return c ; }
This method returns contents of this entity as collection of key - > value pairs