code: protected static void set(MetaLocale src, MetaLocale dst, int flags) {
      dst.setLanguage((flags & LANGUAGE) == 0 ? null : src._language());
      dst.setScript((flags & SCRIPT) == 0 ? null : src._script());
      dst.setTerritory((flags & TERRITORY) == 0 ? null : src._territory());
    }
docs: Set or clear fields on the destination locale according to the flags.