说明 工具类,提供了许多静态方法,用于操作集合。 模块:java.util.Collections 方法:全是static方法,使用时直接Collections.xxx( ... ) 返回值类型 方法 说明 boolean addAll(Collection< ? super T >c, T... ...
分类:
编程语言 时间:
2021-06-20 18:43:07
阅读次数:
0
using System; using System.Net.Http; using System.Net.Http.Json; using System.Threading.Tasks; namespace ConsoleApp1 { class Program { static async Ta ...
分类:
Web程序 时间:
2021-06-18 19:08:41
阅读次数:
0
using System; using System.Collections.Generic; using System.Threading; namespace 生产者消费者 { class Program { static int r; static Queue<int> q = new Que ...
分类:
其他好文 时间:
2021-06-16 18:05:33
阅读次数:
0
class Program { public static long flgVal = 0; static void Main(string[] args) { int n = 100; Task.Run(() => DaMi(n)); Task.Run(() => LaoShu(n)); Cons ...
分类:
编程语言 时间:
2021-06-15 18:31:41
阅读次数:
0
1、环境 Qt5.15 + mysql-5.7.26 Qt源码路径 C:\Qt\5.15.0\Src\qtbase\src\plugins\sqldrivers\mysql mysql-5.7.26安装路径 C:\Program Files (x86)\mysql-5.7.26-win32 2、使用 ...
分类:
数据库 时间:
2021-06-11 18:24:15
阅读次数:
0
指南: https://router.vuejs.org/zh/guide/essentials/dynamic-matching.html#%E5%93%8D%E5%BA%94%E8%B7%AF%E7%94%B1%E5%8F%82%E6%95%B0%E7%9A%84%E5%8F%98%E5%8C% ...
分类:
其他好文 时间:
2021-06-10 18:18:38
阅读次数:
0
CancellationTokenSource 一、代码案例 代码: class Program { private static int TaskMethod(string name, int seconds, CancellationToken token) { Console.WriteLin ...
分类:
其他好文 时间:
2021-06-07 21:14:09
阅读次数:
0
String 如果一个字符串对象保存的是整数值,并且这个整数值可以用long类型来表示,那么将会把字符串对象的编码设置为int,底层数据结构为一个整数 如果字符串对象保存的是一个字符串值,那么底层将会使用SDS(simple dynamic string)来保存。如果这个字符串值的长度小于等于32字 ...
分类:
其他好文 时间:
2021-06-07 20:03:51
阅读次数:
0
1.安装wix 3.XX 下载二进制包(wix311-binaries.zip)解压并添加根目录路径到环境变量path中(D:\Program\openjdk\wix) 2.打包成便携执行程序(https://ravenxrz.ink/archives/421e5ad2.html) 目录结构 在空白 ...
分类:
编程语言 时间:
2021-06-05 18:16:23
阅读次数:
0
交叉编译器的安装和使用 环境Ubuntu 20.04 LTS 前面教程提到了交叉编译器,忘了写具体的安装和配置方式,在这里补充一下 gcc编译器编译的程序只能在x86环境下运行,而不能在arm上运行 gcc运行方式 直接写一个程序hello.c然后输入命令 sudo gcc hello.c #编译器 ...
分类:
其他好文 时间:
2021-06-02 19:53:24
阅读次数:
0