how to sort files on server in the client-server model?
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.
精彩评论