[JAVA] I/O -- preparing internship diary on January 14, 2022

##Prepare internship diary This is my course experience in preparing for internship. It only records the knowledge I think needs to be recorded and newly learned during the study. What I say is all my personal understanding. If there is any error, please correct it and discuss it. JAVA basic course It's where I study. 2022.01.14 JAVA foundation ...

Added by illusiveone on Tue, 18 Jan 2022 07:39:49 +0200

Common methods of P471String class - common methods of P477StringBuffer

Common methods of P471String class - common methods of P477StringBuffer Common methods of P471String class // 4.indexOf gets the index of the first occurrence of the character in the string object. The index starts from 0. If it is not found, it returns - 1 String s1 = "wer@terwe@g"; int index = s1.indexOf('@'); int index = s1.indexOf( ...

Added by soulrazer on Tue, 18 Jan 2022 06:41:37 +0200

Implementation principle and source code analysis of Golang map

The source code version involved in this article is Go SDK 1.16.1 1. Basic structure of map Map is a common data structure in Golang. It is essentially a hash table, similar to HashMap in java and dict in Python. It is a data structure that stores key value pairs. A general map contains two main structures: Array: the values in the arra ...

Added by fasmy98 on Tue, 18 Jan 2022 04:52:16 +0200

Fundamentals of Python Programming

catalogue Part I: zip traversal Part II: stream function input and output (1) map() traversal (2) reduce iteration accumulation (3) filter decision Part III: Enumeration Part I: zip traversal In python, the zip() function can compress the elements of multiple iteratable objects together and return an iteratable object. With the help ...

Added by twooton on Tue, 18 Jan 2022 04:07:57 +0200

Spring 5 framework notes summary

1. New features of spring 5 framework The code of the whole spring 5 framework is based on Java 8, and the runtime is compatible with JDK9. Many classes and methods that are not recommended are deleted from the code base. (new feature 1) 2. Spring 5 integrates Log4j2 Version (new feature 2) The Spring 5 framework comes with a gener ...

Added by werkkrew on Tue, 18 Jan 2022 03:45:15 +0200

Python sequence in three words

A sequence is a group of elements with sequential relationships. One dimensional element vector, element types can be different.Sequence of similar mathematical elements:,,...,Elements are guided by sequence numbers, and specific elements are accessed through subscripts 1. Sequence type and operation As a base class, sequence derives data ...

Added by ody on Tue, 18 Jan 2022 02:28:23 +0200

Node.js learning 6 (readline)

1, What is readline readline is node JS implements the encapsulated module of standard input and output. Through this module, we can read the data stream line by line. The readline module provides an interface for reading data from a readable stream (such as process.stdin) one line at a time. You can access it in the following ways: con ...

Added by bossman on Tue, 18 Jan 2022 01:36:40 +0200

[Yugong series] January 2022 Java Teaching Course 73 - Reflection

1, Reflection 1. Overview of reflection Reflection mechanism In the running state, you can know all the properties and methods of any class; For any object, you can call any of its properties and methods; This function of dynamically obtaining information and dynamically calling object methods is called the reflection mechanism of Java ...

Added by johncollins on Tue, 18 Jan 2022 01:09:17 +0200

Delayed loading mechanism of mybatis

Delayed loading mechanism of mybatis The meaning of delayed loading: relevant operations will be carried out only when it is used Mybatis supports delayed loading of association Association objects and Collection association collection objects Difference: association usage scenario is a one-to-one association query, and collection is a one t ...

Added by frankstr on Tue, 18 Jan 2022 00:42:40 +0200

[Python's pymysql library learning] 2 Relevant knowledge of cursor (nanny level graphics and text + implementation code)

Welcome to pay attention "pymysql library learning of Python" series , continuously updating Welcome to pay attention "pymysql library learning of Python" series , continuously updating Data type read Effect of converting read data to dictionary type General reading effect Implementation idea of converting r ...

Added by DjSiXpAcK14 on Mon, 17 Jan 2022 23:20:17 +0200