Java 基础语法 标识符和关键字 Java所有的组成部分都需要名字。类名、变量名以及方法名都被称为标识符。 所有标识符都应该以字母、美元符或下划线组成 关键字: abstract assert boolean break byte case catch char class const conti ...
分类:
编程语言 时间:
2021-02-17 14:44:19
阅读次数:
0
Switch选择结构学习 接上一篇博客的switch public static void main(String[] args) { String name = "芜湖"; //JDK7新特性,表达式结果可以是字符串 //字符的本质还是数字? //反编译 java--class(字节码文件) 反编 ...
分类:
编程语言 时间:
2021-02-17 14:18:49
阅读次数:
0
1、call函数封装实现 // 手写call函数 function call(Fn,obj,...arg){ // 如果obj为null或者undefined,则指向window if(obj undefined || obj null){ // globalThis是ES11的新特性,指向全局 o ...
分类:
Web程序 时间:
2021-02-16 12:28:26
阅读次数:
0
1. 10秒钟测试ip段所有IP的连通性 (base) [root@wlt-overseas-middleware-master ~]# cat su-asyncio-re-cancel.py import asyncio import time import re # call shell cmd ...
分类:
编程语言 时间:
2021-02-16 12:27:26
阅读次数:
0
Getopts Let’s say you want to allow a user to pass a -v flag to turn on verbose logging in a script. Manually parsing out options passed to a script i ...
分类:
其他好文 时间:
2021-02-16 12:03:18
阅读次数:
0
Valid Anagram (E) 题目 Given two strings s and t , write a function to determine if t is an anagram of s. Example 1: Input: s = "anagram", t = "nagaram" ...
分类:
其他好文 时间:
2021-02-15 12:41:17
阅读次数:
0
问题描述 # python3.7 /tmp/demo.py Traceback (most recent call last): File "/tmp/demo.py", line 4, in <module> driver = webdriver.Chrome('/srv/sharing/pack ...
分类:
其他好文 时间:
2021-02-15 12:38:15
阅读次数:
0
Implement next permutation, which rearranges numbers into the lexicographically next greater permutation of numbers. If such an arrangement is not pos ...
分类:
其他好文 时间:
2021-02-15 12:21:35
阅读次数:
0
前言 用过pytest的小伙伴都知道,pytest的运行方式是非常丰富的,可以说是你想怎么运行怎么运行,想运行哪些运行哪些,那httprunner是否同样可以呢? 运行用例的各种方式 运行指定路径的用例 格式:hrun + case路径 (httprunner_env) ? hrun hrun hr ...
分类:
Web程序 时间:
2021-02-10 13:06:06
阅读次数:
0
This time, you are supposed to find $A+B$ where $A$ and $B$ are two polynomials. Input Specification: Each input file contains one test case. Each cas ...
分类:
其他好文 时间:
2021-02-10 13:03:20
阅读次数:
0