Java core technology Volume 1 Ch.3
Article directory
Ch.III Java basic programming structure:
Java String API:
3.7 basic input and output:
Read input:
Format output:
File I / O:
File input:
File output:
3.8 control process:
3.9 large value:
3.10 array:
Initialization of array:
Fast output of array:
Array copy:
Array sort:
2D arr ...
Posted on Mon, 20 Jan 2020 03:55:55 -0500 by callmubashar
java learning notes -- interface and polymorphism
Interface and polymorphism
Article directory
Interface and polymorphism
Interface
Interface Overview
Characteristics of the interface
Inheritance and implementation of interface
Application of interface
Features of interface in jdk1.8
Benefits of using interfaces
The difference between interface ...
Posted on Mon, 20 Jan 2020 00:47:54 -0500 by The Merg
Python 3 uses arcpy to customize GIS toolbox to realize excel reading and spatial interpolation
1, Purpose of the experiment
1. Master the basic syntax and function of Arcpy
2. Learn to use Arcpy custom GIS toolbox
3. Spatial interpolation with arcpy
4. Customize the Arcmap mapping template created, and use arcpy to adjust the location of legend, annotation, scale, etc
2, Experiment content
1. The ...
Posted on Mon, 20 Jan 2020 00:33:12 -0500 by ziola
Spring - handwritten spring annotation version transaction, seven communication behaviors of spring things
I. annotations
1. What is built-in annotation
(1) Add @ SuppressWarnings to the front of the program to remove warnings in javac compilation -- stage is SOURCE
(2) @ Deprecated package with tag, method, field description obsolete -- stage is SOURCE
(3) Mark @ excessive to indicate that the method overrides the method of the parent class -- sta ...
Posted on Sun, 19 Jan 2020 21:53:13 -0500 by winsonlee
New Java8 feature - date-time objects and some other features
Date Time Object
There are two types of operations on date and time:
Conversion: Conversion from string to timestamp
Calculate: Calculate the interval between two time points, the time point and the time period (Calculate next week N, next month D, last M month D, etc.)
Java8 provides three classes: ...
Posted on Sun, 19 Jan 2020 21:12:18 -0500 by nagrgk
Declarative Transactional Transactional for SpringBoot series tutorials
Declarative Transactional Transactional for the SpringBoot series of tutorials
When we want a set of operations to succeed or fail, we tend to consider using transactions to achieve this; the db operation described earlier, mainly on a single-table CURD, focuses on the use of declarative transactions@Transactional s
<!-- more -->
I. Co ...
Posted on Sun, 19 Jan 2020 20:54:13 -0500 by avillanu
viper of Go Daily Library
brief introduction
Introduction to the previous article cobra Mentioned when viper Today, let's talk about this library.
viper is a configuration solution with rich features:
Supports configuration files in various formats, such as JSON/TOML/YAML/HCL/envfile/Java properties;
You can set up to listen for changes to configuration files and autom ...
Posted on Sun, 19 Jan 2020 20:30:37 -0500 by tukon
Operator '= =' and object's equals() method
Operator '= =' and object's equals() method
brief introduction
The operator "= =" compares whether the two operands are equal. The two operands can be either basic type or reference type. For example
> int a1=1,a2=3;
> boolean b1=a1==a2;//The operand of "= =" is of basic ...
Posted on Sun, 19 Jan 2020 08:57:01 -0500 by megavolt
Deep understanding of NIO
Preface
Based on the Server side of BIO implementation, how many threads will there be when 100 connections are established? How many threads will there be based on NIO?
BIO
The so-called BIO is the most traditional socket link, for example:
int port = 4343; //Port number
// Socket server (simple sending information)
Thread sThread = new Thread ...
Posted on Sun, 19 Jan 2020 08:32:15 -0500 by gabo0303
Wuhan University of science and technology - Java object oriented and multithreaded comprehensive experiment - encapsulation, inheritance and polymorphism
Experimental target
A preliminary model of user management module of archives management system is realized. Functions include: login interface of password mechanism; query and modification of ordinary users' own information; addition, deletion and modification of other users' information by administr ...
Posted on Sun, 19 Jan 2020 06:15:33 -0500 by darkninja_com