@Nonnull
    public static Mapcode encodeToInternational(final double latDeg, final double lonDeg)
            throws IllegalArgumentException {

        // Call mapcode encoder.
        @Nonnull final List<Mapcode> results = encode(latDeg, lonDeg, Territory.AAA);
        assert results != null;
        assert results.size() >= 1;
        return results.get(results.size() - 1);
    }
@ Nonnull public static Mapcode encodeToInternational ( final double latDeg , final double lonDeg ) throws IllegalArgumentException { @ Nonnull final List < Mapcode > results = encode ( latDeg , lonDeg , Territory . AAA ) ; assert results != null ; assert results . size ( ) >= 1 ; return results . get ( results . size ( ) - 1 ) ; }
Encode a lat/lon pair to its unambiguous, international mapcode.

@param latDeg Latitude, accepted range: -90..90.
@param lonDeg Longitude, accepted range: -180..180.
@return International unambiguous mapcode (always exists), see {@link Mapcode}.
@throws IllegalArgumentException Thrown if latitude or longitude are out of range.