摘要: #include <iostream> #include <cmath> #include <cfloat> #include <cstdlib> #pragma warning(disable: 4996) #pragma warning(disable: 4305) #pragma warnin 阅读全文
posted @ 2019-12-27 21:36 计算机的探索者 阅读(469) 评论(0) 推荐(0) 编辑
摘要: <%-- Created by IntelliJ IDEA. User: 13554 Date: 2019/12/23 Time: 22:16 To change this template use File | Settings | File Templates. --%> <%@ page co 阅读全文
posted @ 2019-12-27 21:34 计算机的探索者 阅读(219) 评论(0) 推荐(0) 编辑
摘要: /** *使用灾难级IO方案进行压缩 * @param srcFile 希望的压缩的文件全路径 * @param dstFile 压缩文件的保存路径 */ public static void zipFile(String srcFile,String dstFile) { //创建输出流 File 阅读全文
posted @ 2019-12-27 21:16 计算机的探索者 阅读(375) 评论(0) 推荐(0) 编辑
摘要: Spring ioc abstractApplicationContext.refresh源码分析 今天闲来无事,自己又在最近手写了一个仿spring框架,特此回顾源码,以作纪念 在Spring中,构建容器的过程都是同步的,同步操作是为了保证容器构建的过程中,不出现多线程资源冲突问题 public 阅读全文
posted @ 2019-12-27 20:39 计算机的探索者 阅读(132) 评论(0) 推荐(0) 编辑
摘要: package com.qyx; import java.lang.reflect.Array; import java.util.*; /** * 赫夫曼编码 */ public class HuffmanCode { public static void main(java.lang.Strin 阅读全文
posted @ 2019-12-27 20:38 计算机的探索者 阅读(273) 评论(8) 推荐(0) 编辑