public TransactionInput(Outpoint source,int sequence,Script script){
  Objects.requireNonNull(source,"Transaction source must not be null");
  Objects.requireNonNull(script,"Transaction input script must not be null");
  this.source=source;
  this.sequence=sequence;
  this.script=script;
}

public TransactionInput ( Outpoint source , int sequence , Script script ) { Objects . requireNonNull ( source , "Transaction source must not be null" ) ; Objects . requireNonNull ( script , "Transaction input script must not be null" ) ; this . source = source ; this . sequence = sequence ; this . script = script ; }
construct an input from output location and script
