正则表达式验证double类型的数字: public class ValidateRegexs { /// <summary> /// 文本验证,[匹配数字],正则表达式 /// 涵盖:整数、小数、正负数,最大9位 /// </summary> public static string Textbo ...
static/js/xxxx.js 这里定义按钮odoo.define('add.tree.view.buttons', function (require) { "use strict"; var core = require('web.core'); var ListController = r ...
分类:
其他好文 时间:
2021-03-16 13:30:43
阅读次数:
0
冒泡排序 1.动图演示 2.代码实现 private static void bubbleSort(int[] arr) { if (arr.length <= 1) return; for (int i = 0; i < arr.length; i++) { // 用于标识数组是否有序 boole ...
分类:
编程语言 时间:
2021-03-16 13:24:13
阅读次数:
0
Java基础语法 标识 单行标注 // 多行标注 /* */ 多做标注 关键字 public class Demo02 { public static void main(String[] args) { String ab="c"; System.out.print(ab); } } 注意语法中符 ...
分类:
编程语言 时间:
2021-03-16 11:57:10
阅读次数:
0
线程创建三个方法: 1.继承thread类 2.实现runnable接口 3.实现callable接口 实例: //线程的创建方法public class TestNew { public static void main(String[] args) { new Mythread1().start ...
分类:
编程语言 时间:
2021-03-16 11:55:44
阅读次数:
0
public class SimpleExpressDemo02 { public static void main(String[] args) { int a=10,b=6; System.out.println("改变之前的数是:a=" + a + ",b=" + b); a-=b++; // ...
分类:
其他好文 时间:
2021-03-16 11:51:45
阅读次数:
0
在类成员函数中如何调用pthread_create()呢? #incldue <pthread.h> int pthread_create(pthread_t *thread, const pthread_attr_t *attr, void *(*start_routine)(void *), v ...
分类:
编程语言 时间:
2021-03-16 11:47:13
阅读次数:
0
Java支持的运算符 算术运算符 + - * / % ++ -- 赋值运算符 = 关系运算符 > < >= ? == != instanceof 逻辑运算符 && || ! 位运算符 & | ^ ~ >> << >>> 条件运算符 ? : 扩展赋值运算符 += -= *= /= 二元运算符 pack ...
分类:
编程语言 时间:
2021-03-15 11:32:05
阅读次数:
0
变量 变量是程序中最基本的存储单元,其要素包括变量名,变量类型和作用域。 变量的作用域 类变量 实例变量 局部变量 public class Hello { static int a = 0;//类变量(静态变量) String name = "zhangsan";//实例变量 public voi ...
分类:
编程语言 时间:
2021-03-15 11:28:54
阅读次数:
0
在springboot中,我们可以使用以下方式处理静态资源 一、webjars → localhost:8080/webjars/ 获取依赖坐标webjars官网 倒入坐标 查看目录 二、public, static, /** , resources → localhost:8080/ 三、优先级: ...
分类:
编程语言 时间:
2021-03-15 11:07:45
阅读次数:
0