public class test { public static void main(String[] args) { //int -- String int n=100; String s=""+n; System.out.println(s); //利用valueof() String s2= ...
分类:
编程语言 时间:
2020-11-26 14:20:35
阅读次数:
5
从M个数中任一取出N个数,并打印结果, 思路: 假设从5个数中任意取3个;相当于从5个数中取出1个后,在剩下的4个里任取2个; 而从4个里任取2个又相当于从4个里取出一个后在剩下的3个里任取一个。 package res; public class Cmn { // 从m个数中取n个数 static ...
分类:
其他好文 时间:
2020-11-26 14:16:21
阅读次数:
5
WindowsRegistryEditorVersion5.00[HKEY_CLASSES_ROOT\test];申明协议内容"URLProtocol"="C:\Windows\System32\test.exe";申明打开文件[HKEY_CLASSES_ROOT\test\shell\open\command]@="\"C:\Windo
分类:
其他好文 时间:
2020-11-26 14:07:10
阅读次数:
3
1.大数据架构图谱 文件系统 HDFS Hadoop Distributed File System,简称HDFS,是一个分布式文件系统。HDFS是一个高度容错性的系统,适合部署在廉价的机器上。HDFS能提供高吞吐量的数据访问,非常适合大规模数据集上的应用。 GlusterFS 是一个集群的文件系统 ...
分类:
其他好文 时间:
2020-11-25 12:06:50
阅读次数:
8
<dependency> <groupId>com.demo</groupId> <artifactId>demo</artifactId> <version>1.0.1-SNAPSHOT</version> <scope>system</scope> <systemPath>${basedir}/ ...
分类:
编程语言 时间:
2020-11-25 12:05:27
阅读次数:
6
using NLog; using System; using System.IO.Ports; using System.Text; using System.Threading; namespace TestCom485 { class Program { static void Main(st ...
分类:
其他好文 时间:
2020-11-24 12:42:10
阅读次数:
9
#include<stdio.h> #include<windows.h> #include<graphics.h> #include<atlimage.h> int main() { //system("adb pull /sdcard/screen.png"); //system("adb sh ...
分类:
数据库 时间:
2020-11-24 12:38:06
阅读次数:
10
老铁们好,这里是java研究所。做java的,junit应该非常熟悉吧,天天和这哥们打交道,没想到这哥们却隐藏了一个神坑,我们一起来看下。运行下面的main方法,会输出什么?publicclassJunitTest{publicstaticvoidmain(String[]args){System.out.println("mainthread");newThread(){@Overridepub
分类:
其他好文 时间:
2020-11-24 12:12:35
阅读次数:
6
使用循环逐个转换 public class Test1 { public static void main(String[] args) { int[] a = { 11, 12, 13}; // 打印输出 for (String i : intArrToStringArr(a)) { System ...
分类:
编程语言 时间:
2020-11-24 12:05:33
阅读次数:
9
搭建改造内容,变更项目名、包名、用户、sql等 1获取服务失败,创建bean失败,bean注入失败,获取不到实例? 全文搜索 basePackage,ComponentScan包扫描相关内容,配置一起修改 2 服务间注册失败,注册不到nacos? 关注jasypt.encryptor.passwor ...
分类:
编程语言 时间:
2020-11-24 12:04:56
阅读次数:
7