命名空间:System.Collections.Generic 先看一下官方说明:类提供了高级的设置操作。集是不包含重复元素的集合,其元素无特定顺序。 HashSet <T>对象的容量是对象可以容纳的元素数。当向对象添加元素时,HashSet <T>对象的容量会自动增加。 HashSet<Strin ...
分类:
Web程序 时间:
2020-02-15 09:40:42
阅读次数:
81
在我们抓取到页面之后,还需要对页面进行解析。整个页面都是字符串的形式,可以使用字符串处理工具来解析页面,也可以使用正则表达式,但这些方法都会带来很大的开发成本。所以我们需要一款准们解析 html 页面的工具。 Jsoup jsoup是一款 java 的 HTML 解析器,可直接解析某个URL地址、H ...
分类:
其他好文 时间:
2020-02-15 09:38:12
阅读次数:
87
import time from selenium import webdriver from selenium.webdriver import ChromeOptions from selenium.webdriver.common.keys import Keys from getpass i ...
分类:
编程语言 时间:
2020-02-14 22:26:58
阅读次数:
93
package com.stack;/** * @auther 付强 * @date 2020/2/13 - 12:45 */public class Mystack { //栈的底层我们使用数组来存储数据 int[] elements; public Mystack(){ elements=new ...
分类:
编程语言 时间:
2020-02-13 14:42:00
阅读次数:
68
package com.fu;import java.util.Arrays;/** * @auther 付强 * @date 2020/2/13 - 10:27 */public class myArray1 { //用于存储数据的数组 private int[] elements; public ...
分类:
编程语言 时间:
2020-02-13 12:53:04
阅读次数:
55
原题链接在这里:https://leetcode.com/problems/design-bounded-blocking-queue/ 题目: Implement a thread safe bounded blocking queue that has the following methods ...
分类:
其他好文 时间:
2020-02-13 09:51:44
阅读次数:
70
An ascending sorted sequence of distinct values is one in which some form of a less-than operator is used to order the elements from smallest to large ...
分类:
其他好文 时间:
2020-02-12 18:29:23
阅读次数:
62
题目: Given a 2D matrix matrix, find the sum of the elements inside the rectangle defined by its upper left corner (row1, col1) and lower right corner ( ...
分类:
编程语言 时间:
2020-02-12 00:30:01
阅读次数:
62
什么是代数 代数是什么?此题之大非不才能答。但以“代数”之名话之,以期窥见一斑。 {{uploading image 355191.png(uploading...)}} 目录 1\. 从“al\ jabr”到"algebra" 2\. 从“algebra”到“代数” 3\. 代的不光是“数” 4\ ...
分类:
其他好文 时间:
2020-02-10 11:43:14
阅读次数:
71
HTML部分 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta htt ...
分类:
其他好文 时间:
2020-02-09 23:36:21
阅读次数:
165