/** * Constructs a new <code>Node</code> instance. * * @param id a unique identifier for the node * @param operatorName the name of the operator */ public Node(String id, String operatorName) { this.id = id; this.operatorName = operatorName; init(); }
/** * Indirectly used by {@link GraphIO}. DO NOT REMOVE! * * @return this */ @SuppressWarnings({"UnusedDeclaration"}) private Object readResolve() { init(); return this; }