@Nullable
    public static int[] optIntArray(@Nullable Bundle bundle, @Nullable String key, @Nullable int[] fallback) {
        if (bundle == null) {
            return fallback;
        }
        return bundle.getIntArray(key);
    }
@ Nullable public static int [ ] optIntArray ( @ Nullable Bundle bundle , @ Nullable String key , @ Nullable int [ ] fallback ) { if ( bundle == null ) { return fallback ; } return bundle . getIntArray ( key ) ; }
Returns a optional int array value. In other words, returns the value mapped by key if it exists and is a int array.
The bundle argument is allowed to be {@code null}. If the bundle is null, this method returns null.
@param bundle a bundle. If the bundle is null, this method will return null.
@param key a key for the value.
@param fallback fallback value.
@return a int array value if exists, null otherwise.
@see android.os.Bundle#getIntArray(String)