![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
JAVA
fklk
这个作者很懒,什么都没留下…
展开
-
Android 开发者学习路线2020_详细资料和解读
https://medium.com/mindorks/android-development-learning-path-2020-edition-3f464ac56dbf视频:https://www.youtube.com/watch?v=kKNgeeL3YOEA Complete Learning path for Android DeveloperI have been continuously getting requests on different channels to help原创 2020-05-18 10:36:24 · 1119 阅读 · 0 评论 -
think in Java note _组合与继承
package thinginginJ;class WaterSource {private String s;WaterSource() { System.out.println("WaterSource()"); s = new String("Constructed");}// public String toString() {/// 不用写也可以,因为会从Object ...原创 2020-01-17 09:54:13 · 119 阅读 · 0 评论 -
List,Set,Map三者的区别
List(对付顺序的好帮手): List接口存储一组不唯一(可以有多个元素引用相同的对象),有序的对象Set(注重独一无二的性质): 不允许重复的集合。不会有多个元素引用相同的对象。Map(用Key来搜索的专家): 使用键值对存储。Map会维护与Key有关联的值。两个Key可以引用相同的对象,但Key不能重复,典型的Key是String类型,但也可以是任何对象。...原创 2019-12-23 15:41:44 · 199 阅读 · 0 评论 -
创建javafx时为什么没办法import javafx.application.Application
Version :Eclipse_photon解决办法:然后选择defualt:原创 2019-12-03 16:10:44 · 1956 阅读 · 0 评论 -
在集成了GIT 的ECLIPSE导入代码
进入ALM系统,找到对应的PROJECTCOPY这个SSH网址,并关掉如下对话框:然后在集成了GIT 的ECLIPSE中点右键,选择aste Repository PathPath or PIURI原创 2019-09-04 11:19:26 · 114 阅读 · 0 评论 -
hashmap reverse
标题import javax.xml.parsers.DocumentBuilderFactory;import javax.xml.parsers.DocumentBuilder;import org.w3c.dom.Document;import org.w3c.dom.NodeList;import org.w3c.dom.Node;import org.w3c.dom.Elem...原创 2019-04-30 10:38:50 · 190 阅读 · 0 评论 -
JAVA工程转化为MAVEN ,Apache POI读写EXCEL
1.新建一个JAVA 工程。2.转化为MAVEN 工程:3.然后会看到多了一个POM.XML :然后右键选择:填入一下:发现自动多了一个:再添加:发现poi-ooxml也加进来了:文字版:<!-- Used to work with the older excel file format - `.xls` --><!-- https://mvn...原创 2019-04-16 12:29:32 · 2559 阅读 · 0 评论 -
XML-DOM
import javax.xml.parsers.DocumentBuilderFactory;import javax.xml.parsers.DocumentBuilder;import org.w3c.dom.Document;import org.w3c.dom.NodeList;import org.w3c.dom.Node;import org.w3c.dom.Element...原创 2019-04-10 15:36:23 · 143 阅读 · 0 评论 -
Why cannot cast Integer to String in java?
Because String and Integer are not in the same Object hierarchy.The casting which you are trying, works only if they are in the same hierarchy, e.g.In this case, (A) objB or (Object) objB or (Obje...原创 2019-03-18 17:04:06 · 475 阅读 · 0 评论 -
看懂UML类图
图形可以用Enterprise Architect 9.2来画车的类图结构为<>,表示车是一个抽象类;它有两个继承类:小汽车和自行车;它们之间的关系为实现关系,使用带空心箭头的虚线表示;小汽车为与SUV之间也是继承关系,它们之间的关系为泛化关系,使用带空心箭头的实线表示;小汽车与发动机之间是组合关系,使用带实心箭头的实线表示;学生与班级之间是聚合关系,使用带空心箭头的实线表...原创 2019-03-14 16:18:39 · 134 阅读 · 0 评论 -
JAVA自动装箱 lamda etc..
int和Integer有什么区别? 答:Java是一个近乎纯洁的面向对象编程语言,但是为了编程的方便还是引入了基本数据类型,但是为了能够将这些基本数据类型当成对象操作,Java为每一个基本数据类型都引入了对应的包装类型(wrapper class),int的包装类就是Integer,从Java 5开始引入了自动装箱/拆箱机制,使得二者可以相互转换。Java 为每个原始类型...原创 2018-12-12 13:47:34 · 105 阅读 · 0 评论 -
Swing Introduction
原创 2018-12-27 13:00:04 · 93 阅读 · 0 评论 -
JAVA正则表达式
System.out.println(“wxj”.matches(“wxj”));String[] array = “w x j”.split(&amp;amp;amp;amp;amp;amp;quot;\s&amp;amp;amp;amp;amp;amp;quot;);for (String item : array) {System.out.println(item);}输出:这里的\s匹配任何空白字符,包括空格、制表符、换页符。更多的元字符见下图:上原创 2018-12-04 14:57:03 · 123 阅读 · 0 评论 -
IO流
上圖是字节流下图是字符流流的概念和作用流是一组有顺序的,有起点和终点的字节集合,是对数据传输的总称或抽象。即数据在两设备间的传输称为流,流的本质是数据传输,根据数据传输特性将流抽象为各种类,方便更直观的进行数据操作。IO流的分类根据处理数据类型的不同分为:字符流和字节流根据数据流向不同分为:输入流和输出流字符流和字节流字符流的由来: 因为数据编码的不同,而有了对字符进行高效操作...原创 2018-10-09 13:01:05 · 117 阅读 · 0 评论 -
JAVA正则表达式
参考资料:http://www.runoob.com/java/java-regular-expressions.htmlhttp://www.vogella.com/tutorials/JavaRegularExpressions/article.html可以在这里测试表达式:https://www.freeformatter.com/java-regex-tester.html Sy...翻译 2018-10-18 13:52:40 · 89 阅读 · 0 评论 -
TreeSet and Hashset
package set_map_hashmap;import java.util.HashSet;import java.util.Iterator;import java.util.Set;import java.util.TreeSet;public class Treeset_try {public static void main(String[] args) { //h...转载 2018-10-08 14:41:12 · 109 阅读 · 0 评论 -
How to Write an Action Listener
https://docs.oracle.com/javase/tutorial/uiswing/events/actionlistener.htmlAction listeners are probably the easiest — and most common — event handlers to implement. You implement an action listener t...原创 2018-10-11 15:29:56 · 177 阅读 · 0 评论