Python basic learning
catalogue
Exception - exception mechanism
Brief description of Python exception handling mechanism
try...except... Multiple structures included
try... An except ion structure
try... Multiple except structures
try...except...else structure
try...except...finally structure
return statement and exception handling
Summary of common excep ...
Added by snteran on Sat, 05 Feb 2022 05:41:21 +0200
springBoot+ShardingJDBC to Separate Repository from Table and Read from Write
Code Address
Sharding_ Sphere_ Demo: Getting started with shardingJDBC
Introduction to ShardingSphere
ShardingSphere is an application framework that originated within Dangdang. Born in Dandang in 2015, it was originally called ShardingJDBC. In 2016, Zhang Liang, one of the main developers, brought to Jingdong Department of Mathematics, and ...
Added by nou on Fri, 04 Feb 2022 19:39:52 +0200
Java serialization and NIO
Four ways to create objects
New Object Open up memory space for storage in heapClone Copy Create ObjectDeserialize Restore the byte sequence to the original Java objectreflex
Serializable and Deserialize
Serialization: A Java object is "transformed" into a sequence of bytes. This facilitates persistent storage to disk, avoids the d ...
Added by krraleigh on Fri, 04 Feb 2022 19:07:50 +0200
In depth analysis of the source code design of CopyOnWriteArrayList
In depth analysis of the source code design of CopyOnWriteArrayList
CopyOnWriteArrayList provides thread safety and scalability
Scalability refers to the performance of an application's throughput as its workload and available processing resources increase.
A scalable program can handle a larger workload by using more processors, memory, ...
Added by foxden on Fri, 04 Feb 2022 15:02:12 +0200
Python Basics - variables and data types
Before introducing Python variables and data types, we also need to understand the reserved words and identifiers in Python.
Reserved words: some words are given special meanings in Python, and these words cannot be used when naming objects.
# View reserved words in Python
import keyword
print(keyword.kwlist)
# Reserved word list
'''['F ...
Added by trystan on Fri, 04 Feb 2022 13:34:08 +0200
The features of dubbo are different from those of spring cloud
Dubbo supports the service provision mode of short connection and large amount of data, but in most cases, it uses the mode of long connection and small amount of data to provide services. Therefore, Dubbo is indeed an option that can be considered for products with many synchronous call scenarios like e-commerce and can support the cost of bui ...
Added by dearsina on Fri, 04 Feb 2022 10:41:46 +0200
The difference between arraylist and linkedlist
First, ArrayList and linkedlist are implementation classes of the List interface, and both are thread unsafe
ArrayList and linkedlist
1.ArrayList uses dynamic array to store data, and linkedlist uses bidirectional list to store data.
2.ArrayList can be accessed randomly through the address, and linkedlist can only be accessed by moving the p ...
Added by blt2589 on Fri, 04 Feb 2022 09:49:58 +0200
Re learning the basics of Java -- interface ๏ฝ CSDN creation punch in
๐ Interface
Java interface is a declaration of a series of methods and a collection of method features. An interface has only method features and no method implementation. Therefore, these methods can be implemented by different classes in different places, and these implementations can have different behaviors (functions).
๐ Definit ...
Added by biopv on Fri, 04 Feb 2022 09:07:05 +0200
Introduction to Java basics Chapter 13 Java collection
catalogue
Java collection framework
Collection interface
Iterator interface
List interface and implementation class
Set interface and implementation class
Map interface and implementation class
Collections utility class
Arrays tool class
Homework
Java collection framework
A collection is sometimes called a container. In short, it ...
Added by lauriedunsire on Fri, 04 Feb 2022 07:39:42 +0200
An article allows you to learn Java from the beginning to the end
**
An article allows you to learn Java from the beginning to the end
**
Detailed explanation of the first Java program + basic knowledge
The basis of java language mainly includes the following important aspects: classes, objects, methods, instances and variables.
Object: an object is an instance of a class with state and behavior. For ...
Added by penguin0 on Fri, 04 Feb 2022 07:25:08 +0200