java Quick Start
1. Comments
The importance of annotations goes without saying that no matter what code annotations we write, how do java's annotations and annotation templates work?Let's take a look.
package frist;
/*
* @Description HelloWorld class
* @Author Wang Yan-collar
**/
class HelloWorld {
/*
This is the main entry point for our Java progr ...
Posted by bur147 on Sat, 04 Sep 2021 10:06:01 -0700
Eclipse configures hadoop development environment
Hadoop stepping on the pit (3)
Eclipse configures hadoop development environment
Environmental Science
windows 10
java 1.8
Namenode (Hadoop 1-ali) alicloud (CentOS 7.3) 120.26.173.104
hadoop version 2.8.5
Eclipse installation
Enterprise version needs to be installed. For network reasons, offline installation package is recommended
https://www.e ...
Posted by Duodecillion on Sun, 28 Jun 2020 22:17:50 -0700
I found an IDEA BUG by debugging concurrent linkedqueue. Eclipse has no problem
This slag wants to analyze Doug Lea's idea of writing high concurrency code, so I found our leading actor, concurrent linked queue, to whip it. To tell you the truth, I've finished all the drafts, but I've almost got a kick in the door
Looking at the problem directly, the results of running idea in Debug and non Debug modes are different
How d ...
Posted by prbrowne on Sun, 28 Jun 2020 22:18:23 -0700
I found a bug in IDEA by debugging concurrent linkedqueue, and vscode is duplicated. eclipse has no problem
This slag wants to analyze Doug Lea's idea of writing high concurrency code, so I found our leading actor, concurrent linked queue, to whip it. To tell you the truth, I've finished all the drafts, but I've almost got a kick in the door
If you look at the problem directly, the result of idea running i ...
Posted by subalan on Sun, 28 Jun 2020 21:18:57 -0700
java calls SMS interface to send SMS
java calls SMS interface to send SMS
1. Download interface file
2. Open the java folder
2.1 Getting jar package dependencies
2.2 Getting Code Templates
3. Create a project
3.1 Open eclipse software to create a dynamic web project
3.2 Import jar package dependencies
3.3 Tool classes required to create package i ...
Posted by brickstermike on Wed, 24 Jun 2020 18:59:47 -0700
University Physics open source
Article catalog
Constant table
Interface
Verbal description.java
Brain teaser.java
Chapter 16
Charge.java
Electric field.java
Chapter 17
Electric potential energy.java
Equipotential surface.java
Potential.java
Capacitance.java
Dielectric.java
Chapter 18
Current.java
Electric power.java
Resista ...
Posted by varghesedxb on Wed, 24 Jun 2020 01:31:14 -0700
Java knowledge summary 1 - Java program foundation
1.1 Java introduction
What is Java
Java is a programming language developed by James Gosling of SUN (acquired by Oracle) in the early 1990s. It was officially released in 1995.
Java is a cross platform language based on JVM
Programming languages are compiled and interpreted. Compiled languages suc ...
Posted by Kurt on Sun, 21 Jun 2020 22:09:13 -0700
GUI programming of P3:Java
GUI
Objects provided by Java for GUI exist java.awt And javax.swing In two bags
The product of Java graphical interface: eclipse is written in pure Java language. So this software does not need to be installed, but at least
jre(Java language program running environment)
1. AWT and Swing
java.aw ...
Posted by Katanius on Mon, 08 Jun 2020 23:38:11 -0700
Using Spring Shell to quickly develop your own command interaction window
Spring Shell
Sometimes, in order to facilitate the development and testing of the server, it does not need a beautiful user interface, just use a simple command window. As follows:
Here is a quick, convenient, easy-to-use and simple interactive command window development component Spring Shell
Yes, it's in spring ecology again.
Source address ...
Posted by AlexP on Wed, 27 May 2020 21:09:04 -0700
main start Jetty Server web project
main start Jetty Server mode
1, web engineering starts jetty server through main
1.JettyServerLauncher
import org.eclipse.jetty.server.Server;
import org.eclipse.jetty.webapp.WebAppContext;
public class JettyServerLauncher {
private static final int DEFAULT_PORT = 8080;
private static final String DEFAULT_WEBAPP = "WebRoot";
priv ...
Posted by orionellis on Fri, 01 May 2020 14:22:37 -0700