public Collection < MLArray > getAllFields ( ) { ArrayList < MLArray > fields = new ArrayList < MLArray > ( ) ; for ( Map < String , MLArray > struct : mlStructArray ) { fields . addAll ( struct . values ( ) ) ; } return fields ; }
Gets all field from sruct array as flat list of fields .