Код: Выделить всё
public interface MapInterface {
public void setValue(K key, V value);
public V getValue(K key);
}
Код: Выделить всё
public class RbtMap implements MapInterface {
private final RedBlackTree tree;
public RbtMap() {
tree = new RedBlackTree();
}
Код: Выделить всё
Field treeField = RbtMap.class.getDeclaredField("tree");
Код: Выделить всё
Unhandled exception: java.lang.NoSuchFieldException
Подробнее здесь: https://stackoverflow.com/questions/791 ... ant-find-m