摘要:
TencentLocationRequest request = TencentLocationRequest.create(); request.setRequestLevel(TencentLocationRequest.REQUEST_LEVEL_ADMIN_AREA); //设置是否使用GPS进行定位 ... 阅读全文
摘要:
list:有序,元素可重复 set:无序,元素不可重复 对于TreeSet:自动排序,但传进去的对象要实现Comparable接口 注意:假如compaareTo方法返回是0(即相等),则TreeSet只会存取其中一个对象,因为Set集合是不可重复的 阅读全文