/*
- * (C) Copyright 2016 Pantheon Technologies, s.r.o. and others.
+ * (C) Copyright 2017 Pantheon Technologies, s.r.o. and others.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
import java.util.Map.Entry;
-interface KVNode<K, V> {
- Entry<K, V> kvPair();
+/**
+ * Common marker interface for nodes which act as an immutable {@link Entry}.
+ *
+ * @author Robert Varga
+ *
+ * @param <K> the type of key
+ * @param <V> the type of value
+ */
+interface EntryNode<K, V> extends Entry<K, V> {
+ @Override
+ default public V setValue(final V value) {
+ throw new UnsupportedOperationException();
+ }
}