Java data type wrapper

Why use packaging class Although Java is an object-oriented programming language, it contains eight basic data types, which do not support the object-oriented programming mechanism. The data of these basic data types does not have the characteristics of "object", such as no property and no m ...

Posted by tomsasse on Tue, 14 Jan 2020 03:02:33 -0800

python basic tutorial

Python basic tutorial I. Introduction 1.1 introduction to Python Founder of python: Guido Van Rossum Python download address: https://www.python.org/ Python document download address: https://www.python.org/doc/ Pycharm download address: https://www.runoob.com/w3cnote/pycharm-windows-install.html ...

Posted by dt_gry on Mon, 13 Jan 2020 23:28:11 -0800

Dart asynchronous programming

This article is [ From scratch, let's learn and develop a Flutter App together ]The second article on the road. This article will solve the problem left by the previous article: how does asynchronous processing work in Dart? First, we briefly introduce Future, sync and await, which are commonly used in Dart; second, we try to analyze the async ...

Posted by shalinik on Mon, 13 Jan 2020 21:01:23 -0800

Seven principles of JAVA design pattern -- Richter replacement principle

1: Thinking and explanation of inheritance in OO Inheritance contains such a meaning: all implemented methods in the parent class are actually setting specifications and contracts. Although it does not force all the subclasses to follow these contracts, if the subclass modifies these implemented meth ...

Posted by friedemann_bach on Mon, 13 Jan 2020 06:54:13 -0800

Icing on the cake for the first snow in 2020: use matplotlib to draw snowflakes and snow scenes

A heavy snow covered North and East China. The heaven and the earth are linked together, and the city is covered in silver, which is full of poetic and picturesque feelings, and everyone is in high spirits. Friends circle is painted by snow pictures and jokes about road skating and wrestling, and the at ...

Posted by redtux on Mon, 13 Jan 2020 05:13:45 -0800

OpenGL experiment one drawing simple graph

OpenGL Experiment 1 OpenGL (English: Open Graphics Library) is a cross language, cross platform application programming interface (API) for rendering 2D, 3D vector graphics. This interface consists of nearly 350 different function calls, which are used to draw from simple graphics bits to complex 3D s ...

Posted by CrimsonSoul on Mon, 13 Jan 2020 02:52:18 -0800

Simple use of AspectJ in AOP

Personal blog http://www.milovetingting.cn Simple use of AspectJ in AOP Definition of AOP AOP is the abbreviation of Aspect Oriented Programming, which means: a technology to realize the unified maintenance of program functions through precompiling and dynamic agent during operation. The above definition of AOP is quoted from Baidu Encyclope ...

Posted by Delcypher on Mon, 13 Jan 2020 02:43:50 -0800

Why to override the hashCode method when overriding the equals method

I use jdk version 1.8. hashCode is a local method in the Object class, which means that all objects inherit its hashCode method. Without much nonsense, let's first look at the introduction of hashCode method in the Object class: /** * Returns a hash code value for the object. This method is ...

Posted by vexx on Mon, 13 Jan 2020 02:06:07 -0800

0113 spring scheduled tasks and asynchronous thread pool

0113 asynchronous method and timing task of spring background spring has a lot of content, and the general knowledge must be systematically learned, but some edge technology points are also very applicable in the actual work; here is an introduction and practice one by one. Asynchronous thread pool Scenario: the distribution task is separate ...

Posted by kryles on Sun, 12 Jan 2020 23:04:03 -0800

Install JDK under centos 7.x for Tool Man Series, summarizing in more detail

Step 1: Check the JDK View the JDK version and type: java-version on the command line [root@test ~]# java -version bash: java: command not found As above, prove that your linux is very clean, go directly to Step 2 Or the following [root@test ~]# java -version openjdk version "1.8.0_102" OpenJDK Runtime Environment (build 1.8.0_102-b14) OpenJD ...

Posted by Cruzado_Mainfrm on Sun, 12 Jan 2020 09:33:43 -0800