首先来学习基本使用Jdk api chm文档: 点击 左上角-显示: 1, char chartAt(int index) 返回指定索引处的char值 这里的index 是从0开始的; 2,int length() 返回字符串的长度; 3,int indexOf(int ch) 返回指定字符在此字符 ...
分类:
编程语言 时间:
2018-10-21 12:06:58
阅读次数:
158
实验目的 (1)进一步理解4个成员访问权限修饰符的用途; (2)掌握Object类的常用API用法; (3)掌握ArrayList类用法与常用API; (4)掌握枚举类使用方法; (5)结合本章知识,理解继承与多态性两个面向对象程序设计特征,并体会其优点; (6)熟练掌握Java语言中基于类、继承技 ...
分类:
编程语言 时间:
2018-10-14 16:50:48
阅读次数:
143
过滤器: vue提供过滤器: capitalize uppercase currency.... debounce 配合事件,延迟执行 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>智能社——http:// ...
分类:
其他好文 时间:
2018-10-07 12:56:27
阅读次数:
150
string对象属性 string对象方法 ...
分类:
Web程序 时间:
2018-10-05 15:12:33
阅读次数:
178
const CryptoJS = require('crypto-js'); //引用AES源码js const key = CryptoJS.enc.Utf8.parse("1234123412ABCDEF"); //十六位十六进制数作为密钥 const iv = CryptoJS.enc.Utf ...
分类:
Web程序 时间:
2018-09-29 00:03:49
阅读次数:
818
2》String类转换功能 byte[] getBytes():把字符串转换为字节数组char[] toCharArray():把字符串转换为字符数组static String valueOf(char[] chs):把字符数组转成字符串static String valueOf(int i):把i ...
分类:
其他好文 时间:
2018-09-21 13:36:23
阅读次数:
160
今天遇到的字符串处理的问题,记录一下方便使用 1 str1 = input('请输入一个字符:') 2 #初始化字符、数字、空格、特殊字符的计数 3 lowercase = 0 4 uppercase = 0 5 number = 0 6 space = 0 7 other = 0 8 for st ...
分类:
编程语言 时间:
2018-09-17 13:27:51
阅读次数:
304
Now you have a string consists of uppercase letters, two integers AA and BB. We call a substring wonderful substring when the times it appears in that ...
分类:
其他好文 时间:
2018-09-16 15:59:07
阅读次数:
366
Now you have a string consists of uppercase letters, two integers AA and BB. We call a substring wonderful substring when the times it appears in that ...
分类:
其他好文 时间:
2018-09-15 20:09:10
阅读次数:
251
1. JSON.parse(text[, reviver])text 必需 有效的json字符串reviver 可选 函数2. 举栗子1) 只有第一个参数 let objStr = '{"name": "lqw","age": 23,"sex": "female"}'; console.log(JS... ...
分类:
Web程序 时间:
2018-09-10 13:35:09
阅读次数:
410