Cereals college finally released the course list alicloud video on demand service section to upload videos
1, Course final release information display - back end
1. Entity class - used to encapsulate the data displayed on the page
@ApiModel(value = "Course final release")
@Data
public class CoursePublishVo implements Serializable {
private static final long serialVersionUID = 1L;
//Course title
private String title;
//Course cover ...
Posted by raidon on Sun, 27 Feb 2022 09:44:11 +0100
Reading method of basic practice number of Blue Bridge Cup vip test questions (java implementation)
Resource constraints
Time limit: 1.0s memory limit: 512.0MB
Problem description
Professor Tom is teaching postgraduates a course on genes. One thing gives him a headache: there are thousands of base pairs on a chromosome, which number from 0 to millions, tens of millions, or even hundreds of millions. For example, when explaining the base at ...
Posted by snarkiest on Sun, 27 Feb 2022 06:01:50 +0100
Redis basic data type
Five basic data types of Redis
For redis, all key s are strings.
The basic data structure of Redis we usually talk about is the data type of stored value.
The five common data types in Redis are: String, List, Set, Zset and Hash.
structure type Value stored by structureStructure reading and writing abilityString stringCan be string, float ...
Posted by TheoGB on Sun, 27 Feb 2022 06:00:04 +0100
SpringBoot integration MinIO practice
background
MinIO is the world's leading object storage pioneer, with read / write speeds of 183 GB / s and 171 GB / s on standard hardware. MinIO is used as the main storage of cloud native applications. Compared with traditional object storage, cloud native applications need higher throughput and lower latency. By adding more clusters, you ca ...
Posted by johncox on Sun, 27 Feb 2022 05:34:17 +0100
[Java object-oriented] String, String Constant Pool, String initialization, intern method, common methods of String (interception)
String
Used in Java
java.lang.String class represents string:
Before Java 9, the bottom layer used char [] to store character data Starting from Java 9, the bottom layer uses byte [] to store character dataAll String literals (such as "abc") are instances of the String classOnce a String object is created, its character content ...
Posted by smsulliva on Sun, 27 Feb 2022 03:30:51 +0100
Spring Transaction learning II. Spring Transaction management
Spring Transaction learning II. Spring Transaction management
Record the learning of Spring and database things. The learning of Spring things here is in the form of full annotation
Mind map:
1. Configure transaction manager
In the configuration of Spring annotation starting things, if you want to enable things, you need to co ...
Posted by basil on Sun, 27 Feb 2022 02:40:32 +0100
Let's talk about several scenarios and solutions for the failure of transaction annotation @ Transactional
Introduction to Transactional failure scenarios
When the modifier of the first Transactional annotation annotation method is non-public, @ Transactional annotation will not work. For example, the following code.
Define an incorrect @ Transactional annotation implementation and modify a default accessor method
/**
* @author zhoujy
**/
@Comp ...
Posted by zicco on Sun, 27 Feb 2022 02:03:48 +0100
First knowledge of Java -- logical control structure in Java
catalogue
1, Sequential structure
2, Branching structure
🍓 if statement
🍓 switch statement
3, Cyclic structure
🍓 while loop
🍓break
🍓continue
🍓 for loop
🍓 do...while() loop
4, Input and output in Java
🍓 Output to console
🍓 Format character
🍓 Input from keyboard
V. summary
🚆 Brief description:
Because the content ...
Posted by alex_bg on Sun, 27 Feb 2022 00:08:25 +0100
Summary of common RedisTemplate methods (refer to official document 2.6.2)
1. Introduction
RedisTemplate is the most advanced Abstract client provided by Spring Data Redis to users. Users can directly perform a variety of operations through RedisTemplate.
1.1 class inheritance
public class RedisTemplate<K, V> extends RedisAccessor implements RedisOperations<K, V>, BeanClassLoaderAware {
}
RedisAccesso ...
Posted by jdwmk on Sat, 26 Feb 2022 20:54:42 +0100
Generation and Call of Webservice Interface
Recent projects have to dock a web service-style interface, because this type has never been docked before, so this time I have looked up some materials to learn
1. Brief introduction of Webservice
WebService is a remote invocation technology that spans programming languages and operating system platforms. Through the standard communication p ...
Posted by Bobulous on Sat, 26 Feb 2022 18:42:40 +0100