摘要: 方法一: public static int method()2 { int i; try { i = 1; return i; } catch (Exception e) { i = 2; return i; } finally { i = 3; } } 方法二: public static in 阅读全文
posted @ 2021-11-13 11:23 千严-Jonty 阅读(27) 评论(0) 推荐(0) 编辑
摘要: 当程序要使用某个类时,如果该类还未被加载到内存中,则系统会通过加载,连接,初始化三步来实现这个类进行初始化。 1. 加载 加载,是指Java虚拟机查找字节流(查找.class文件),并且根据字节流创建java.lang.Class对象的过程。这个过程,将类的.class文件中的二进制数据读入内存,放 阅读全文
posted @ 2021-07-27 10:48 千严-Jonty 阅读(140) 评论(0) 推荐(0) 编辑
摘要: 下面是一些对ffmpeg的基本使用的,如果有什么不对的地方请指正勿喷,谢谢,共同学习,共同进步 声道和音轨 声道与音轨没有任何联系 单声道双声道(左右声道)多声道(5.1-杜比ac3 环绕, 7.1环绕)一般:左右声道是一样的 单音轨:一个音频文件中只有一个音轨双音轨:一个音频文件中有双音轨多音轨: 阅读全文
posted @ 2021-06-29 19:56 千严-Jonty 阅读(911) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-10-28 17:00 千严-Jonty 阅读(61) 评论(0) 推荐(0) 编辑
摘要: 1.批量删除 <delete id="deleteByCondition" parameterType="java.util.Map"> DELETE FROM student <where> <if test="studentIds!=null and studentIds.size > 0"> 阅读全文
posted @ 2020-06-04 09:22 千严-Jonty 阅读(166) 评论(0) 推荐(0) 编辑
摘要: 1.JSONArray转Collection Collection<JSONObject> data = JSONArray.fromObject(result.getData()); Collection<VolumeState> coll=data.stream().map(volumeStat 阅读全文
posted @ 2020-04-21 19:29 千严-Jonty 阅读(56) 评论(0) 推荐(0) 编辑