blob: c40ae76594f3861af980becf5c833ebecd838116 [file]
// Copyright (c) 2015, Google Inc. Please see the AUTHORS file for details.
// All rights reserved. Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
import 'internal/copy_on_write_map.dart';
import 'internal/hash.dart';
import 'internal/null_safety.dart';
import 'set.dart';
part 'set_multimap/built_set_multimap.dart';
part 'set_multimap/set_multimap_builder.dart';
// Internal only, for testing.
class OverriddenHashcodeBuiltSetMultimap<K, V> extends _BuiltSetMultimap<K, V> {
final int _overridenHashCode;
OverriddenHashcodeBuiltSetMultimap(map, this._overridenHashCode)
: super.copyAndCheck(map.keys, (k) => map[k]);
@override
// ignore: hash_and_equals
int get hashCode => _overridenHashCode;
}