JAVA 数据类型:四类八种 整型:byte short int long 浮点型: float double 字符型:char Boolean :true false 运算符 + - * / % 浮点型不能做运算,计算机不识别浮点数 Scanner input=new Scanner(System ...
分类:
编程语言 时间:
2019-12-01 22:58:46
阅读次数:
86
#include "REG52.H"#define const_voice_short 40/* 调整抖动时间阈值的大小,,可以更改按键的触发灵敏度 去抖动的时间本质上等于累计定时中断次数的时间*/#define const_key_time12 20 //按键去抖动延时的时间void initia ...
分类:
其他好文 时间:
2019-12-01 11:40:26
阅读次数:
115
1、基本类型 Java中有8种基本类型,分为4类,分别为: 整型:包括 byte 、 short、 int 、 long 泛型:float、double 字符型:char 布尔型:boolean 2、基本类型长度及默认值 3、包装类型 4、拆箱装箱 拆箱,即,把基包装类型转换为基本类型 装箱,即,基 ...
分类:
编程语言 时间:
2019-11-30 13:48:13
阅读次数:
92
依托于Java虚拟机的语言 Java发展史 Java语言规范 数字的表示 数据类型 原始 数字型:(byte 8bit ,short 16bit ,int 32bit,long 64bit)有符号,char 16bit 无符号,float 32bit,double 64bit 布尔型:boolean ...
分类:
编程语言 时间:
2019-11-29 10:45:36
阅读次数:
116
一、简介: argparse是python用于解析命令行参数和选项的标准模块,用于代替已经过时的optparse模块。 argparse模块的作用是用于解析命令行参数, 例如 python parseTest.py input.txt output.txt --user=name --port=80 ...
分类:
编程语言 时间:
2019-11-28 19:20:27
阅读次数:
79
#include "REG52.H"#define const_voice_short 40 //蜂鸣器短叫的持续时间#define const_voice_long 200 //蜂鸣器长叫的持续时间#define const_key_time1 500 //按键去抖动的延时时间#define co ...
分类:
其他好文 时间:
2019-11-27 23:49:01
阅读次数:
194
short数据与byte数组互转 string数据与byte数组互转 int数据与byte数组互转 ...
分类:
编程语言 时间:
2019-11-27 16:23:47
阅读次数:
81
目前主流的第三方IO测试工具有fio、iometer和Orion,这三种工具各有千秋。 fio在Linux系统下使用比较方便,iometer在window系统下使用比较方便,Orion是oracle的IO测试软件,可在没有安装oracle数据库的情况下模拟oracle数据库场景的读写。 如下是在Li ...
分类:
其他好文 时间:
2019-11-27 00:58:28
阅读次数:
79
#include "REG52.H"#define const_time_05s 222#define const_time_1s 444#define const_time_3s 1332#define const_time_6s 2664 #define const_voice_short 40 ...
分类:
其他好文 时间:
2019-11-26 22:21:59
阅读次数:
111
ButterKnifer使用 1.集成 github地址: https://github.com/JakeWharton/butterknife "" 1.1在主Moduel中的使用 在主moduel中的build.gradle中添加一下配置 如果您使用的是Kotlin,请替换 为`kapt`。 1 ...
分类:
其他好文 时间:
2019-11-26 13:22:24
阅读次数:
60