public static ManagedEntity [ ] createManagedEntities ( ServerConnection sc , ManagedObjectReference [ ] mors ) { if ( mors == null ) { return new ManagedEntity [ 0 ] ; } ManagedEntity [ ] mes = new ManagedEntity [ mors . length ] ; for ( int i = 0 ; i < mors . length ; i ++ ) { mes [ i ] = createExactManagedEntity ( sc , mors [ i ] ) ; } return mes ; }
Given a ServerConnection and an array of MORs return an array of MEs