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