@Override
  public void setValue(final String register, final BigInteger value) {
    Preconditions.checkNotNull(register, "Error: Argument register can't be null");
    Preconditions.checkArgument(registerMap.containsKey(register), "Error: Invalid register name");
    final RegisterInformationInternal registerInfo = registerMap.get(register);
    registerInfo.setValue(value);
    registerInfo.setModified(true);
  }
Sets the value of a register.

@param register The name of the register.
@param value The value of the register.
java/zylib/src/main/java/com/google/security/zynamics/zylib/gui/JRegisterView/SimpleRegisterModel.java