code: Collection<V> wrapValues(K key, Collection<V> values) {
  		final Object backEnd = DataViewDelegate.undelegate(values);
  		if (backEnd instanceof List<?>) {
  			return new SingleKeyValueListView(key, (List<V>) values);
  		}
  		if (backEnd instanceof Set<?>) {
  			return new SingleKeyValueSetView(key, (Set<V>) values);
  		}
  		throw new IllegalStateException("Unsupported type of the backend multimap: " + values.getClass()); //$NON-NLS-1$
  	}
docs: Wrap the given values into a dedicated view.
  
  <p>The replies view may be a {@link SingleKeyValueListView} or a {@link SingleKeyValueSetView} according to the type of the
  given values' collection.
  
  @param key the key of the values.
  @param values the values.
  @return the wrapper.