public class splitTest { public static void main(String[] args) { String a = "@123"; String b = "123@"; String c = "3@@@"; String[] aArr = a.split("@" ...
分类:
其他好文 时间:
2021-03-01 13:34:57
阅读次数:
0
java基本运算符解析(1) 基本加减乘除间运算 public class Demo1 { public static void main(String[] args) { int a = 20; int b = 30; int c = 40; int d = 25; System.out.prin ...
分类:
编程语言 时间:
2021-03-01 13:30:50
阅读次数:
0
方式 抛出异常 有返回值,不抛出异常 阻塞等待 超时等待 添加 移除 检测队首元素 ...
heap导出几种方式: 1、设置启动的JVM参数,当heap溢出时自动生成dump,vm options:-XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=${目录} 2、通过jmap实时导出dump,这个最好不要在高峰时期使用。命令:jmap -du ...
分类:
其他好文 时间:
2021-03-01 13:22:53
阅读次数:
0
主要依靠一个js文件 ,引入到content页面 $(function () { $.get("header.html",function (data) { $("#header").html(data); }); $.get("footer.html",function (data) { $("# ...
分类:
Web程序 时间:
2021-03-01 13:11:10
阅读次数:
0
虚树 [SDOI2011]消耗战 板题,基本上是对着网上的板子敲的 #include <bits/stdc++.h> using namespace std; inline int read() { int out = 0; register char cc = getchar(); while ( ...
分类:
其他好文 时间:
2021-03-01 12:59:52
阅读次数:
0
1.什么是栈 栈是 OI 中常用的一种线性数据结构,栈的修改是按照后进先出的原则进行的,因此栈通常被称为是后进先出(last in first out)表,简称 LIFO 表。 2.基本操作 1.初始化 2.判空 3.求栈中实际元素个数 4.进栈 5.出栈 6.取栈顶元素 此处只给出了其中三步骤 3 ...
分类:
其他好文 时间:
2021-03-01 12:51:40
阅读次数:
0
Java基础 0.idea快捷操作 1 //idea快捷操作 2 public static void main(String[] args){ 3 //idea快捷输入:psvm 4 System.out.println(""); 5 //idea快捷输入:sout 6 } 7 //Ctrl+D: ...
分类:
编程语言 时间:
2021-02-27 13:39:28
阅读次数:
0
推荐书籍:码出高效: Java 开发手册 2.2 层次选择器 idea里代码规范是按:ctrl +alt+L快捷键 注释快捷键:ctrl+/ 1.后代选择器:在某个元素的后面 祖爷爷 爷爷 爸爸 你 <style> /*p{*/ /* background: #02ff00;*/ /*}*/ /* ...
分类:
Web程序 时间:
2021-02-27 13:14:06
阅读次数:
0
一、创建多线程的方式 1.继承Thread类,并重写run()方法。 package ThreadTest; public class Thread1 extends Thread{ @Override public void run() { super.run(); System.out.prin ...
分类:
编程语言 时间:
2021-02-27 13:12:45
阅读次数:
0