• 2024-05-10dremio CatalogMaintenanceService 服务简单说明
    说明此服务是从25.0开始包含的,同时在releasenote中也有说明,以下主要说明下内部实现release信息如下,具体就不翻译了,主要是添加了一个每个任务进行每个view最大保留50个历史信息Addeddailycatalogmaintenancetaskstotrimhistoryofviewstoamaximumof50
  • 2024-02-12面试经典 150 题 (十七)
    思路:1、先将下标和高度放入HashMap中,防止排序之后破坏高度和下标的映射关系2、将HashMap转成Map.Entry的列表并且重写Collections.sort中的sort方法实现将数组按照键值对的值从大到小排序。3、设置flag数组用于标识那些高度区间没有被访问过4、从排序好的数组中取出高度,再向
  • 2023-10-22Java基础 小练习——统计各种文件的数量
    publicstaticvoidmain(String[]args){Filef=newFile("E:\\Java基础资料\\哈哈");HashMap<String,Integer>count=getCount(f);StringBuildersb=newStringBuilder();for(Map.Entry<String,Integer>entry:count.entry
  • 2023-10-09java 获取接口所有的实现类
    点击查看代码@RequestMapping("test1")publicStringgetCustImpl(){List<String>list=newArrayList<String>();Map<String,CustImplService>beansOfType=applicationContext.getBeansOfType(CustImplService.class);
  • 2023-02-19对Map排序
     一下代码为给一个hashMap的key排序,value排序一样处理 publicstaticList<Map.Entry<String,Integer>>sortHashMapInteger(HashMap<String,Integer>map,finalStrin
  • 2022-12-26EasyExcel设置下拉选项
    publicclassSelectSheetWriteHandlerimplementsSheetWriteHandler{privateMap<Integer,List<String>>selectMap;privateintindex;privatech
  • 2022-10-21【Unity】2D基础教程(1)——控制角色移动的几种方法
    第一种方法:使用Input.GetAxisRaw()方法Input.GetAxisRaw是在UnityEngine里的内置方法,其用法为usingUnityEngine;usingSystem.Collections;publicclassExampleClas
  • 2022-10-03CVPR2018关键字分析生成词云图与查找
    今日目标:爬取CVPR2018论文,进行分析总结出提到最多的关键字,生成wordCloud词云图展示,并且设置点击后出现对应的论文以及链接对任务进行分解:①爬取CVPR2018的标题,简介,关键字,论