网址:Java手册页面-阿里云开发者社区-阿里云官网开发者社区_云计算社区
项目导入。
easy-excel :关于Easyexcel | Easy Excel 官网
POI:
maven安装
idea的插件
项目添加 idae的项目添加使用maven或者使用idea的navigate
maven的仓库:https://mvnrepository.com/
POI 导入excel :Apache POI™ - the Java API for Microsoft Documents
xls与xlsx前者65536行后者无限。
工具typora
GRPC:gRPC
开源中国:OSCHINA - 中文开源技术交流社区
反射获取对象的方法
a)若已知具体的类,通过类的class属性获取,该方法最为安全可靠,程序性能最高。
Class clazz= Person.class;
b)已知某个类的实例,调用该实例的getClass()方法获取Class对象
Class clazz= person.getClass();
)已知一个类的全类名,且该类在类路径下,可通过Class类的静态方法forName()获取,
可能抛出ClassNotFoundException
Class clazz= Class.forName("demo01.Student");
在对应的实体类使用注解与反射
package cn.com.reflection;
import java.io.File;
import java.lang.annotation.*;
import java.lang.reflect.Field;
//练习反射操作注解
public class test09 {
public static void main(String[] args) throws ClassNotFoundException, NoSuchFieldException {
Class c1 = Class.forName("cn.com.reflection.test09.Student");
//通过反射获得注解
Annotation[] annotations = c1.getAnnotations();
for (Annotation annotation : annotations) {
System.out.println(annotation);
}
//获得注解value的值
Table annotation = (Table)c1.getAnnotation(Table.class);
String value = annotation.value();
System.out.println(value);
//获得类指定的注解
Field name = c1.getDeclaredField("name");
Field1 annotation1 = name.getAnnotation(Field1.class);
System.out.println(annotation1.columnName());
System.out.println(annotation1.type());
System.out.println(annotation1.length());
}
}
@Table("db_student")
class Student {
@Field1(columnName = "db_id", type = "int", length = 10)
private int id;
@Field1(columnName = "db_age", type = "int", length = 10)
private int age;
@Field1(columnName = "db_name", type = "varchar", length = 3)
private String name;
@Override
public String toString() {
return "Student{" +
"id=" + id +
", age=" + age +
", name='" + name + '\'' +
'}';
}
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public int getAge() {
return age;
}
public void setAge(int age) {
this.age = age;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
}
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@interface Table {
String value();
}
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
@interface Field1{
String columnName();
String type();
int length();
}
博客园创建博客
canvas
https://www.canva.cn/
动画库
css动画:CSS 动画
杀毒软件
1、 Avast!Free Antivirus
官网:http://www.avast.com/
来自捷克,在全球拥有超过一亿两千万的用户,其中将近三分之二是通过引荐而来的。
2、 Avira AntiVir Personal
官网:http://www.avira.com/
德国制造,全球用户接近1亿,中国网民亲切地称它为“小红伞”。
3、 AVG Antivirus Free Edition
官网:http://www.avg.com/
同样属于全球最受欢迎的杀毒软件,稍微有点恼人的是它的广告。
4、 Comodo Internet Security
官网:http://www.comodo.cn/
专业程度丝毫不亚于收费软件,只是本土化做得还有些欠缺。
5、360杀毒
官网:http://www.360.cn/
360杀毒已经占领国内将近80%的计算机,马上就要挥师海外。
6、金山毒霸
官网:http://www.ijinshan.com/
轻巧、灵敏、兼容性一流、进步神速。
7、瑞星全功能安全软件
官网:http://www.rising.com.cn/
瑞星仍然是非常好的选择,只是要更加注意细节。
8、Microsoft Security Essentials
官网:http://www.microsoft.com/zh-cn/security_essentials/default.aspx
超朴素的大牌,很少在专业测试中失手,兼容性也不错。
9、Panda Cloud Antivirus
官网:http://www.cloudantivirus.com/
出色地运用了“云安全”技术,最新版本已经有防火墙功能了。
10、PC Tools Antivirus Free
官网:www.pctools.com/
属于一流的杀毒软件,不过资源占用还是有可以改进的地方。
11、Immunet Free Antivirus
官网:http://www.immunet.com/
同样是以“云安全”技术为基础,资源占用很小,兼容性上佳。
12、Outpost Security Suite FREE
官方网站:http://free.agnitum.com/
如果不害怕主界面出现广告的话,绝对是值得信赖的。
13、Malwarebytes’ Anti-Malware
官方网站:http://www.malwarebytes.org/
老牌的反间谍软件,检测率高,新版本将有N多改进。
14、Super Antispyware
官网:http://www.superantispyware.com/
广受欢迎的反间谍软件,最近同样出了新版本。
15、Spybot-Search & Destroy
官网:http://www.safer-networking.org/
优秀的反间谍软件,刚去官网看了下,新版本变漂亮了很多。
16、Ad-Aware Free Internet Security
官网:http://www.lavasoft.com/
检测率很高,同时资源占用稍微有点大。
17、FortiClient Lite
官网:http://www.forticlient.com/
飞塔最近悄悄地推出了“FortiClient Lite”,光看图就让人爱不释手。
18、ClamWin Free Antivirus
官网:http://www.clamwin.com/
知名的开源杀毒软件,各方面相对孱弱,界面也很一般。
19、IObit Malware Fighter Free
官网:http://www.iobit.com/
西方微点“IObit Security 360”的继任者,界面比较清爽。
20、×××
官网:http://www.sucop.com/
×××已经进化到V5版本了,这次它成了真正的杀毒软件。
21、BitDefender Free Edition
官网:http://www.bitdefender.com/
功能大大精简的一个版本,引擎也是陈旧的,拿来备用比较好。
22、ZenOK Antivirus Protection Professional
官网:http://www.zenok.com/en/
来自美国,采用BitDefender的引擎以及部分病毒库。
23、Digital Defender Antivirus Free
官网:http://www.digital-defender.com/
一款来自英国的杀毒软件,简洁易用。
24、Returnil System Safe Free
官网:http://www.returnilvirtualsystem.com/
比较创新的杀毒软件,融合了系统还原技术。
25、Preventon Antivirus Free Edition
官网:http://www.preventon.com/
来自英国,采用了VirusBuster 反病毒引擎,界面比较有特色。
26、Clearsight Free Edition
官网:http://www.clearsightav.com/
来自英国,简洁易用,多次通过VB100测试。
27、Zillya! Antivirus
官网:http://zillya.com/en/
乌克兰免费杀软,相当不错啊。
28、ALYac Antivirus Basic
官网:http://asia.alyac.com/
相当于韩国的360杀毒,也是多引擎的,不同的是它有带防火墙。
29、Nano Antivirus
官方网站:http://www.nanoav.ru/
风格比较接近于大蜘蛛,同样来自于俄罗斯。
30、CMC Antivirus
官网:http://www3.cmcinfosec.com/
来自越南,支持多国语言,仅凭这点就值得关注一下。
以下是并非严格意义上的杀毒软件
31、Norman Malware Cleaner
官网:http://www.norman.com/
欧洲劲旅Norman出的绿色版杀毒组件,没有实时防护。
32、MWAV Toolkit
官网:http://www.escanav.com/
麦克沃德绿色版杀毒组件,清毒效果非常不错。
33、F-secure Online Scanner
官网:http://www.f-secure.com/
F-secure的在线杀毒组件,非常方便,完全没有兼容性的问题。
34、Trendmicro HouseCall
官网:http://www.trendmicro.com/
趋势科技的在线杀毒组件,相对来说更人性化一些。
35、ESET Online Scanner
官网:http://www.eset.com/
任何人都可以通过这个在线杀毒组件体验到ESET强大的引擎。
36、安博士在线杀毒
官网:http://www.ahn.com.cn/
安博士的产品提供了多种形式的在线服务,这是其中一种。
37、瑞星在线杀毒
官网:http://online.rising.com.cn/
同样承诺客户端永久免费,金山的在线杀毒是收费的,瑞星没有。
38、Kaspersky Virus Removal Tool
官网:http://www.kaspersky.com/
卡巴斯基也有一个绿色版的清毒组件,关键时刻或许能帮大忙呢。
39、Dr.Web CureIt!
官网:http://www.freedrweb.com/
基于大蜘蛛引擎的绿色扫描程序,同样没有实时监控功能,且不能自动更新。
40、Emsisoft Emergency Kit
官网:http://www.emsisoft.com/en/
奥地利“Emsisoft”公司的产品,检测率惊人,同时误报也高。
41、安天防线
官网:http://antiyfx.com/
国内资历很老的杀毒软件了,已转型为纯绿色的杀毒软件。
42、百锐启发式检测引擎
官网:http://bytehero.com/
侦测未知病毒的技术相当厉害,是后起之秀。
43、Norton Power Eraser
官网:http://www.symantec.com/
被成为“神器”或“大杀器”,诺顿因此永久性地摘去“弱盾”的称号。
博客的网址:博客园 - 开发者的网上家园
mysql的count、与conut(*)的区别就是对于null值是否忽略
mysql的加密使用sql加密加密的方式是md5