webkit/src/main/java/androidx/webkit/internal/WebMessagePortImpl.java
public static WebMessagePortCompat[] portsToCompat(WebMessagePort[] ports) {
        if (ports == null) return null;
        WebMessagePortCompat[] compatPorts = new WebMessagePortCompat[ports.length];
        for (int n = 0; n < ports.length; n++) {
            compatPorts[n] = new WebMessagePortImpl(ports[n]);
        }
        return compatPorts;
    }
/**
     * Convert an array of {@link WebMessagePort} objects into an array containing objects of the
     * corresponding support library class {@link WebMessagePortCompat}.
     */
Convert an array of  WebMessagePort objects into an array containing objects of the
corresponding support library class  WebMessagePortCompat.
Convert an array of WebMessagePort objects into an array containing objects of the corresponding support library class WebMessagePortCompat .
public static WebMessagePortCompat[] portsToCompat(WebMessagePort[] ports) {
        if (ports == null) return null;
        WebMessagePortCompat[] compatPorts = new WebMessagePortCompat[ports.length];
        for (int n = 0; n < ports.length; n++) {
            compatPorts[n] = new WebMessagePortImpl(ports[n]);
        }
        return compatPorts;
    }
public static WebMessagePortCompat [ ] portsToCompat ( WebMessagePort [ ] ports ) { if ( ports == null ) return null ; WebMessagePortCompat [ ] compatPorts = new WebMessagePortCompat [ ports . length ] ; for ( int n = 0 ; n < ports . length ; n ++ ) { compatPorts [ n ] = new WebMessagePortImpl ( ports [ n ] ) ; } return compatPorts ; }
Convert an array of {@link WebMessagePort} objects into an array containing objects of the
 corresponding support library class {@link WebMessagePortCompat}.
Convert an array of { @link WebMessagePort } objects into an array containing objects of the corresponding support library class { @link WebMessagePortCompat } .