public AddressComponent[] getAddressComponents() {
        if (addressComponents == null) {
            return null;
        }
        return Arrays.copyOf(addressComponents, addressComponents.length);
    }
public AddressComponent [ ] getAddressComponents ( ) { if ( addressComponents == null ) { return null ; } return Arrays . copyOf ( addressComponents , addressComponents . length ) ; }
{@code addressComponents} is an array containing the separate address
components.

@return the array of components