重要博客: http://blog.csdn.net/hguisu/article/details/7418161 File dir = new File("\\root"); 目录 File f1 = new File(dir, "fileOne.txt"); 文件 dir.mkdir();//创建目录 f1.createNewFile();//创建文件 java.io包中包含了流式I/O所需要的所有类.在java.io包中有四个基本类:InputStream…
1.服务端----Server.java import javax.swing.*; import java.io.*; import java.net.*; import java.awt.*; import java.awt.event.*; /** * Created by JXJ on 2017/6/26. */ public class Server extends JFrame{ private JTextField userText; private JTextArea chatW…
The core collection interfaces are the foundation of the Java Collections Framework. The Java Collections Framework hierarchy consists of two distinct interface trees: The first tree starts with the Collection interface, which provides for the basic…
The Java Connections FrameWork is a group of class or method and interfacs in the java.util package. Its main purpose is to provide a unified framework for implementing common data structure. A collections is a object that contains other objects,whic…
又是一篇备忘... 主要记录一些知识,进行一些资源的汇总. 先来群里liufor大大提供的两张图,清晰易懂: Dockerized Java https://www.youtube.com/watch?v=NQ5hTEp-GTM Java on Linux for devs and ops https://www.slideshare.net/aragozin/java-on-linux-for-devs-and-ops 一些线上排查的注意事项: 1.greys不能用于增强系统类,即便他给了个开…