Set 对象存储的值总是唯一的 Set 对象方法 方法描述 add 添加某个值,返回Set对象本身。 clear 删除所有的键/值对,没有返回值。 delete 删除某个键,返回true。如果删除失败,返回false。 forEach 对每个元素执行指定操作。 has 返回一个布尔值,表示某个键是否 ...
分类:
其他好文 时间:
2020-08-24 16:40:06
阅读次数:
50
因为出现滚动条便意味着元素空间将大于其内容显示区域,根据这个现象便可以得到判断是否出现滚动条的规则 判断竖向滚动条el.scrollHeight > el.clientHeightscrollHeight 指的是元素的内容高度,即如果有滚动条,它的值会等于内容实际的高度加padding值(并不包含b ...
分类:
其他好文 时间:
2020-08-20 19:09:25
阅读次数:
70
错误提示信息 % Unrecognized command found at '^’ position. 命令无法解析,符号“^”指示位置出错 % Incomplete command found at '^’ position. 符号“^”指示位置的参数输入不完整 % Ambiguous comm ...
分类:
其他好文 时间:
2020-08-20 18:09:02
阅读次数:
230
Given the root of a binary search tree with distinct values, modify it so that every node has a new value equal to the sum of the values of the origin ...
分类:
其他好文 时间:
2020-08-19 19:47:45
阅读次数:
64
char* replaceSpace(char* s){ char str[10000] ={0}; int index = 0; while(*s) { if (*s == 0x20) { str[index++] = 0x25; str[index++] = 0x32; str[index++] ...
分类:
其他好文 时间:
2020-08-18 13:32:05
阅读次数:
49
title: woj1019 Curriculum Schedule 输入输出 date: 2020-03-19 10:43:00 categories: acm tags: [acm,woj] 水题,处理好输入输出就可以 1 描述 New semester has begun, a lot of ...
分类:
其他好文 时间:
2020-08-12 14:05:12
阅读次数:
48
一、DataBinding开启配置修改 升级到AS 4.0以后,出现如下的预警: DSL element 'android.dataBinding.enabled' is obsolete and has been replaced with 'android.buildFeatures.dataB ...
分类:
移动开发 时间:
2020-08-09 19:10:41
阅读次数:
147
游标定义 sql语言按照标准处理对象是集合,但有时候也需要针对单行的处理,所以就有了游标,类似C语言的指针一样。 使用方法 创建游标 declare cursor_name --游标名称,唯一标识 [insensitive] [scroll] cursor for select_statement ...
分类:
数据库 时间:
2020-08-05 00:09:52
阅读次数:
127
SELECT within SELECT Tutorial 5.Germany (population 80 million) has the largest population of the countries in Europe. Austria (population 8.5 million ...
分类:
数据库 时间:
2020-08-04 09:47:59
阅读次数:
90
题意描述 同样没有链接...。 Problem 2: Lock Her Up [Jan Kuipers, 2003] Bessie has been bad again and Farmer John must punish her by locking her up for a while. On ...
分类:
其他好文 时间:
2020-08-02 23:35:51
阅读次数:
104