@Test public void testInstantiate() { ShutdownNode a = new ShutdownNode(ns.get(0), 3, 5); Assert.assertEquals(ns.get(0), a.getNode()); Assert.assertEquals(3, a.getStart()); Assert.assertEquals(5, a.getEnd()); Assert.assertFalse(a.toString().contains("null")); }
@Override public Node getNode() { return node; }
ShutdownNode extends Action implements NodeEvent { @Override public Node getNode() { return node; } }
ShutdownNode extends Action implements NodeEvent { @Override public Node getNode() { return node; } ShutdownNode(Node n, int start, int end); }
ShutdownNode extends Action implements NodeEvent { @Override public Node getNode() { return node; } ShutdownNode(Node n, int start, int end); @Override Node getNode(); @Override boolean equals(Object o); @Override int hashCode(); @Override String pretty(); @Override boolean applyAction(Model c); @Override Object visit(ActionVisitor v); }
ShutdownNode extends Action implements NodeEvent { @Override public Node getNode() { return node; } ShutdownNode(Node n, int start, int end); @Override Node getNode(); @Override boolean equals(Object o); @Override int hashCode(); @Override String pretty(); @Override boolean applyAction(Model c); @Override Object visit(ActionVisitor v);  }