上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 63 下一页
  2021年7月6日
摘要: create table #t (keyId int identity,name varchar(200),tbname varchar(200)) insert into #t (name,tbName) select a.name,b.name from sys.foreign_keys a l 阅读全文
posted @ 2021-07-06 16:17 邢帅杰 阅读(106) 评论(0) 推荐(0)
摘要: 1、使用getClassLoader,该方式只能读取类路径下的配置文件,有局限但是如果配置文件在类路径下比较方便。 Properties properties = new Properties(); // 使用ClassLoader加载properties配置文件生成对应的输入流,默认路径是src下 阅读全文
posted @ 2021-07-06 10:39 邢帅杰 阅读(2562) 评论(0) 推荐(1)
摘要: 获取Class的方式:Class c1 = String.class;(很少用)Class c2 = person.getClass();Class c3 = Class.forName(String classPath);(参数是类的完全限定名,体现反射的动态性)Class实例对应着加载到内存中的 阅读全文
posted @ 2021-07-06 10:37 邢帅杰 阅读(64) 评论(0) 推荐(0)
  2021年7月5日
摘要: 1、vue前端,src》lib》appconst.ts》remoteServiceBaseUrl,这里可以写固定的,也可以从同目录下url.ts中读取。appBaseUrl是自身部署后的URL url.ts:注意,没有域名证书的话,不要写httpsconst URL = process.env.NO 阅读全文
posted @ 2021-07-05 15:48 邢帅杰 阅读(360) 评论(0) 推荐(0)
  2021年6月22日
摘要: I/O流详细介绍:https://www.cnblogs.com/wugongzi/p/12092326.htmlhttps://blog.csdn.net/weixin_61619114/article/details/142153736File相关: @Test public void test 阅读全文
posted @ 2021-06-22 10:35 邢帅杰 阅读(58) 评论(0) 推荐(0)
  2021年6月10日
摘要: EF命令Update-Database -Script -SourceMigration:"201901210832533_addTemporaryAttendanceDetail20190121.cs" -TargetMigration:"201902282225506_updatetableCo 阅读全文
posted @ 2021-06-10 16:51 邢帅杰 阅读(362) 评论(0) 推荐(0)
摘要: List<E>与Set<E>都继承接口Collection<E>List<E>:1、可以添加重复的对象2、可以插入多个null元素3、是一个有序的容器,保持了每个元素的插入顺序。即输出顺序就是输入顺序。4、常用实现类ArrayList、LinkedList、Vector。ArrayList 最为流行 阅读全文
posted @ 2021-06-10 15:35 邢帅杰 阅读(170) 评论(0) 推荐(0)
  2021年4月8日
摘要: 代码1 List<Integer> list = Arrays.asList(10,1,3,4,6,7); // 降序排列 Collections.sort(list, new Comparator<Integer>() { @Override public int compare(Integer 阅读全文
posted @ 2021-04-08 18:00 邢帅杰 阅读(69) 评论(0) 推荐(0)
  2021年4月1日
摘要: 1、联网桌面》BT SystemMenu》2.通信设置》1.无线网》1.连接/认证》基础无线连接》认证:WPA2 PSK加密:AESSSID:搜索无线网络信号,选择一个。PSK:无线网密码在左下角点击按钮 连接 2、连接蓝牙打印机桌面》BT SystemMenu》2.通信设置》2.Bluetooth 阅读全文
posted @ 2021-04-01 11:00 邢帅杰 阅读(1564) 评论(0) 推荐(0)
  2021年3月31日
摘要: 多种方法实现等待所有子线程完成再继续执行:https://www.cnblogs.com/larrydpk/p/17195498.html四种使用线程的方式:继承Thread、实现Runnable接口、实现Callable接口、使用线程池(ThreadPool);代码: package com.ja 阅读全文
posted @ 2021-03-31 15:54 邢帅杰 阅读(150) 评论(0) 推荐(0)
上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 63 下一页