/** * {@inheritDoc} * * <p>Creates a decorated {@code LinkedHashSet} that also keeps track of the * order in which key-value pairs are added to the multimap. * * @param key key to associate with values in the collection * @return a new decorated {@code LinkedHashSet} containing a collection of * values for one key */ @Override Collection<V> createCollection(@Nullable K key) { return new SetDecorator(key, createCollection()); }
/** * {@inheritDoc} * * <p>Creates a decorated {@code LinkedHashSet} that also keeps track of the * order in which key-value pairs are added to the multimap. * * @param key key to associate with values in the collection * @return a new decorated {@code LinkedHashSet} containing a collection of * values for one key */ @Override Collection<V> createCollection(@Nullable K key) { return new SetDecorator(key, createCollection()); }
/** * {@inheritDoc} * * <p>Creates a decorated {@code LinkedHashSet} that also keeps track of the * order in which key-value pairs are added to the multimap. * * @param key key to associate with values in the collection * @return a new decorated {@code LinkedHashSet} containing a collection of * values for one key */ @Override Collection<V> createCollection(@Nullable K key) { return new SetDecorator(key, createCollection()); }
/** * {@inheritDoc} * * <p>Creates a decorated {@code LinkedHashSet} that also keeps track of the * order in which key-value pairs are added to the multimap. * * @param key key to associate with values in the collection * @return a new decorated {@code LinkedHashSet} containing a collection of * values for one key */ @Override Collection<V> createCollection(@Nullable K key) { return new SetDecorator(key, createCollection()); }
/** * {@inheritDoc} * * <p>Creates a decorated {@code LinkedHashSet} that also keeps track of the * order in which key-value pairs are added to the multimap. * * @param key key to associate with values in the collection * @return a new decorated {@code LinkedHashSet} containing a collection of * values for one key */ @Override Collection<V> createCollection(@Nullable K key) { return new SetDecorator(key, createCollection()); }
/** * {@inheritDoc} * * <p>Creates a decorated {@code LinkedHashSet} that also keeps track of the * order in which key-value pairs are added to the multimap. * * @param key key to associate with values in the collection * @return a new decorated {@code LinkedHashSet} containing a collection of * values for one key */ @Override Collection<V> createCollection(@Nullable K key) { return new SetDecorator(key, createCollection()); }