- 博客(3)
- 收藏
- 关注
原创 解决idea start failed:异常key com.tang.intellij.lua.luacheck.LuaCheckSettings
Idea之前在做Redis时使用了Lua脚本,弹出提示,顺手安装了一个Lua插件 ,导致再次开启Idea时抛出异常 查考https://blog.youkuaiyun.com/licheetools/article/details/118651511 在我的D盘安装路径下去寻找plugins文件夹并未找到目标插件 再次看其评论区留言 找到C盘路径下的plugins发现emmylua,删除即解决问题 也许是更新Idea导致其路径变化 ...
2022-03-17 12:26:56
2099
1
原创 将数组按照另一个数组数据对应排序 Java
使用多维数组调用Arrays.sort(arr,Comparator); 如:这里将profits按照captital排列后的顺序进行排列 int[] profits = new int[]{3, 2, 1}; int[] capital = new int[]{2, 0, 1}; //获取profits大小 int n = profits.length; //新建对应的二维数组 int[][] sorted = new int[n][2]; //注入数组信息 for (int i = 0; i &l
2022-03-15 12:24:12
3074
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅