public ArrayList<WalletTableData> createWalletTableData(final BitcoinController bitcoinController,String walletFilename){
  ArrayList<WalletTableData> walletData=new ArrayList<WalletTableData>();
  if (walletFilename == null) {
    return walletData;
  }
  WalletData perWalletModelData=null;
  if (perWalletModelDataList != null) {
    for (    WalletData loopPerWalletModelData : perWalletModelDataList) {
      if (walletFilename.equals(loopPerWalletModelData.getWalletFilename())) {
        perWalletModelData=loopPerWalletModelData;
        break;
      }
    }
  }
  return createWalletTableData(bitcoinController,perWalletModelData);
}

public ArrayList < WalletTableData > createWalletTableData ( final BitcoinController bitcoinController , String walletFilename ) { ArrayList < WalletTableData > walletData = new ArrayList < WalletTableData > ( ) ; if ( walletFilename == null ) { return walletData ; } WalletData perWalletModelData = null ; if ( perWalletModelDataList != null ) { for ( WalletData loopPerWalletModelData : perWalletModelDataList ) { if ( walletFilename . equals ( loopPerWalletModelData . getWalletFilename ( ) ) ) { perWalletModelData = loopPerWalletModelData ; break ; } } } return createWalletTableData ( bitcoinController , perWalletModelData ) ; }
convert the wallet info into walletdata records as they are easier to show to the user in tabular form .
