I have input like this and I need out put map like below. How can I do it.
Input
AccountDTO
UserDAO
TransferDTO
DepositDAO
Output
DAO
UserDAO
DepositDAO
DTO
AccountDTO
TransferDTO
DTO
I have input like this and I need out put map like below. How can I do it.
Input
AccountDTO
UserDAO
TransferDTO
DepositDAO
Output
DAO
UserDAO
DepositDAO
DTO
AccountDTO
TransferDTO
DTO