@Override public <A, B> void config(final Node<A, B> node, Config config) { Validate.validateArgs(nodes.containsKey(node), "The node dont belong to this mesh."); nodes.put(node, config); }
@Override public <A, B> Config config(final Node<A, B> node) { Validate.validateArgs(nodes.containsKey(node), "The node dont belong to this mesh."); return nodes.get(node); }