@Test public void testSetIPAddress() { node1.setIPAddress("1.1.1.1"); assertEquals("1.1.1.1", node1.getIPAddress()); }
public void setIPAddress(String ip) { this.ipAddr = ip; }
Node { public void setIPAddress(String ip) { this.ipAddr = ip; } }
Node { public void setIPAddress(String ip) { this.ipAddr = ip; } Node(int nodeID, String ip, String label); }
Node { public void setIPAddress(String ip) { this.ipAddr = ip; } Node(int nodeID, String ip, String label); String getLabel(); String getIPAddress(); void setLabel(String label); void setIPAddress(String ip); void setNodeID(int nodeID); int getNodeID(); }
Node { public void setIPAddress(String ip) { this.ipAddr = ip; } Node(int nodeID, String ip, String label); String getLabel(); String getIPAddress(); void setLabel(String label); void setIPAddress(String ip); void setNodeID(int nodeID); int getNodeID();  }