开发者

how to sort files on server in the client-server model?

开发者 https://www.devze.com 2023-03-13 06:18 出处:网络
I am developing a client server model in which i need to send some TCP dump data to the server. The server will sort the data开发者_如何学运维 and will send it back to the client. I wanted to know how

I am developing a client server model in which i need to send some TCP dump data to the server. The server will sort the data开发者_如何学运维 and will send it back to the client. I wanted to know how to go about this procedure.


Put files to list, then use Collections.sort(list, comparator). Implement your own Comparator if you need some application specific sorting criteria.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号