@Test public void testAddInterface() { Interfaces interfaces = new Interfaces().addInterface(interfaceA); assertTrue(interfaces.getInterfaces().contains(interfaceA)); }
public Interfaces addInterface(final String ip) { interfaceSet.add(ip); return this; }
Interfaces implements DataSerializable { public Interfaces addInterface(final String ip) { interfaceSet.add(ip); return this; } }
Interfaces implements DataSerializable { public Interfaces addInterface(final String ip) { interfaceSet.add(ip); return this; }  }
Interfaces implements DataSerializable { public Interfaces addInterface(final String ip) { interfaceSet.add(ip); return this; }  boolean isEnabled(); Interfaces setEnabled(final boolean enabled); Interfaces addInterface(final String ip); Interfaces clear(); Collection<String> getInterfaces(); Interfaces setInterfaces(final Collection<String> interfaces); void writeData(DataOutput out); void readData(DataInput in); @Override String toString(); }
Interfaces implements DataSerializable { public Interfaces addInterface(final String ip) { interfaceSet.add(ip); return this; }  boolean isEnabled(); Interfaces setEnabled(final boolean enabled); Interfaces addInterface(final String ip); Interfaces clear(); Collection<String> getInterfaces(); Interfaces setInterfaces(final Collection<String> interfaces); void writeData(DataOutput out); void readData(DataInput in); @Override String toString();  }