public static TableKey versioned(@NonNull ArrayView key, long version) {
        Preconditions.checkArgument(version >= 0 || version == NOT_EXISTS || version == NO_VERSION, "Version must be a non-negative number.");
        return new TableKey(key, version);
    }
public static TableKey versioned ( @ NonNull ArrayView key , long version ) { Preconditions . checkArgument ( version >= 0 || version == NOT_EXISTS || version == NO_VERSION , "Version must be a non-negative number." ) ; return new TableKey ( key , version ) ; }
Creates a new instance of the TableKey class with a specified version.

@param key     The Key.
@param version The desired version.

@return new TableKey with specified version