摘要: @Component public class ProxyUtil implements ApplicationContextAware { private static ApplicationContext applicationContext = null; @Override public v 阅读全文
posted @ 2022-09-06 16:52 cire 阅读(22) 评论(0) 推荐(0)
摘要: /** * 多线程处理集合 * @param list * @return */ public List<PushOrganize> setDataByDmsOrgInfo(List<DmsOrgInfo> list) throws InterruptedException { List<PushO 阅读全文
posted @ 2022-08-25 10:43 cire 阅读(146) 评论(1) 推荐(0)
摘要: 又是一年跳槽日,开始职场生涯的第二篇章,冲冲冲。 阅读全文
posted @ 2022-02-17 16:33 cire 阅读(10) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2021-08-02 17:00 cire 阅读(21) 评论(0) 推荐(0)
摘要: 二分查找算法 对一个有序数组进行二分查找 {1,8, 10, 89, 1000, 1234} ,输入一个数看看该数组是否存在此数,并且求出下标,如果没有就提示"没有这个数"。 代码示例: import java.util.ArrayList; import java.util.List; //注意: 阅读全文
posted @ 2021-05-05 16:52 cire 阅读(68) 评论(0) 推荐(0)
摘要: public class SeqSearch { public static void main(String[] args) { int arr[] = { 1, 9, 11, -1, 34, 89 };// 没有顺序的数组 int index = seqSearch(arr, -11); if( 阅读全文
posted @ 2021-04-29 23:39 cire 阅读(74) 评论(0) 推荐(0)
摘要: 官方文档 :There is a limit of (2^32)^2 (1.844E+19) rows in a MyISAM table 这是MyISAM的理论上限,实践上是达不到的。 实际行数上限还受myisam_data_pointer_size限制,64位的mysql的myisam_data 阅读全文
posted @ 2021-04-28 13:17 cire 阅读(1367) 评论(0) 推荐(0)
摘要: 例: 参数string input--》 20.04.2021 out--》 2021-04-20 SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd"); SimpleDateFormat formatter2 = new S 阅读全文
posted @ 2021-04-20 23:07 cire 阅读(48) 评论(0) 推荐(0)
摘要: 例: analysisReturnGoodsList --》集合 AnalysisReturnGoods--》集合中的自定义对象 getRefundAmount--》对象中的方法 int sum = analysisReturnGoodsList.stream().mapToInt(Analysis 阅读全文
posted @ 2021-04-20 22:45 cire 阅读(60) 评论(0) 推荐(0)
摘要: 介绍:基数排序(radix sort)属于“分配式排序”(distribution sort),又称“桶子法”(bucket sort)或bin sort,顾名思义,它是通过键值的各个位的值,将要排序的元素分配至某些“桶”中,达到排序的作用基数排序法是属于稳定性的排序,基数排序法的是效率高的稳定性排 阅读全文
posted @ 2021-03-14 11:03 cire 阅读(128) 评论(0) 推荐(0)
/* 看板娘 */