public SetBreakpointCommand(final int packetId,final Set<RelocatedAddress> addresses,final BreakpointType type){
  super(getCommandForType(type),packetId);
  Preconditions.checkNotNull(addresses,"IE01094: Addresses argument can not be null");
  Preconditions.checkNotNull(type,"IE00959: Type argument can not be null");
  addArgument(new DebugMessageIntegerArgument(addresses.size()));
  for (  final RelocatedAddress address : addresses) {
    addArgument(new DebugMessageAddressArgument(address.getAddress()));
  }
}

public SetBreakpointCommand ( final int packetId , final Set < RelocatedAddress > addresses , final BreakpointType type ) { super ( getCommandForType ( type ) , packetId ) ; Preconditions . checkNotNull ( addresses , "IE01094: Addresses argument can not be null" ) ; Preconditions . checkNotNull ( type , "IE00959: Type argument can not be null" ) ; addArgument ( new DebugMessageIntegerArgument ( addresses . size ( ) ) ) ; for ( final RelocatedAddress address : addresses ) { addArgument ( new DebugMessageAddressArgument ( address . getAddress ( ) ) ) ; } }
creates a new set breakpoint command .
