@@ -0,0 +1,1112 @@
+// Licensed under the MIT license. See LICENSE file in the project root for full license information.%0Apackage com.tvl.util;%0A%0Aimport java.util.Map;%0A%0A/**%0A * This class provides a general-purpose, read-only implementation of %7B@link Map.Entry%7D.%0A *%0A * @param %3CK%3E The type of the key.%0A * @param %3CV%3E The type of the value.%0A */%0Afinal class KeyValuePair%3CK, V%3E implements Map.Entry%3CK, V%3E %7B%0A    private final K key;%0A    private final V value;%0A%0A    /**%0A     * Constructs a new instance of the %7B@link KeyValuePair%7D class with the specified key and value.%0A     *%0A     * @param key The key for the pair.%0A     * @param value The value for the pair.%0A     */%0A    KeyValuePair(K key, V value) %7B%0A        this.key = key;%0A        this.value = value;%0A    %7D%0A%0A    /**%0A     * %7B@inheritDoc%7D%0A     */%0A    @Override%0A    public K getKey() %7B%0A        return key;%0A    %7D%0A%0A    /**%0A     * %7B@inheritDoc%7D%0A     */%0A    @Override%0A    public V getValue() %7B%0A        return value;%0A    %7D%0A%0A    /**%0A     * %7B@inheritDoc%7D%0A     */%0A    @Override%0A    public V setValue(V value) %7B%0A        throw new UnsupportedOperationException(%22This entry is read-only.%22);%0A    %7D%0A%7D%0A

Add KeyValuePair<K, V>