本文介绍了黑莓排序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个文件,包括像保100,史蒂夫150,朱利安200项我想这个排序
I have a file consisting of entries like Paula 100, Steve 150, Julian 200. I want to sort this.
我可以用集合框架在黑莓文件中的条目由号码和姓名进行排序?我找不到任何黑莓排序程序。所以我想知道如果我可以使用Collections.sort()?
Can I use the Collections framework in BlackBerry to sort file entries consisting of numbers and names? I can't find any sorting program for blackberry. So I am wondering if I can use Collections.sort()?
推荐答案
有黑莓的API,您可以使用排序集合。搜索之类的东西SimpleSortingVector和BigVector JavaDoc中。
There are sortable collections in the BlackBerry API that you can use. Search the JavaDocs for things like SimpleSortingVector and BigVector.
这篇关于黑莓排序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!