DRL rule language for Drools records

2, DRL (Drools rule language) Rules DRL files can contain single or multiple rules, queries, and functions, and can define resource declarations, such as imports, globals, and properties assigned and used by rules and queries. DRL packages must be listed at the top of the DRL file, and rules are usual ...

Posted on Thu, 20 Feb 2020 04:49:09 -0500 by Garcia

When the length of JDK1.8 HashMap link list is greater than 8, it will be converted to red black tree

——Light Rose appears frequently, pure aloe blossoms cautiously. May the motherland overcome the epidemic as soon as possible! Go China! Come on, Wuhan! 1. JDK1.8 HashMap source code /** * Implements Map.put and related methods * * @param hash hash for key * @param ke ...

Posted on Thu, 20 Feb 2020 04:44:02 -0500 by zachatk1

Spring boot picture and text tutorial 4 - spring boot implementation file upload and download

If there is the concept of flying in the sky, there must be the realization of landing Concept + code implementation is the feature of this article. The tutorial will cover a complete picture and text tutorial and code cases At the end of the article, the self-test interview questions are provided, and the technical self-test is more solid a ...

Posted on Thu, 20 Feb 2020 04:02:43 -0500 by mcog_esteban

Python version of classic thermostat strategy

abstract The trend market will not last forever. In fact, the market is in a volatile market most of the time, so some people hope to get a trading strategy, which can be used in both the trend market and the volatile market. So today, we will use the inventor's quantitative trading platform to build a classic thermostat strategy for general t ...

Posted on Thu, 20 Feb 2020 03:25:01 -0500 by bonzie

Use and analysis of [Netty] Recycler

Article directory Preface Experiment code: Follow up source code Introduction to Recycler inner class Recycler creation and some properties Get object from Recycler Stack creation and some properties Pop pop up object Recycle objects to Recycler Same thread recycle Control frequency Different thr ...

Posted on Thu, 20 Feb 2020 03:24:08 -0500 by kannjihyun

Spring datajpa multi table joint query

It is believed that everyone has used jpa. After jpa inherits the interface of CrudRepository and PagingAndSortingRepository, in simple single table query, jpa can use jpql query quickly, no matter using its own findAll(), saveAll and other methods or using jpa's method naming Specification. However, in ...

Posted on Thu, 20 Feb 2020 02:20:04 -0500 by john8675309

Python learning journal Day11 classes and objects

Today is February 20, 2020, sunny, 6 ~ 14 ℃ First, inheritance Inheritance is a way to create new classes. The new class will get all the properties and methods of the original class. The original class is called the parent class (superclass), and the new class is called the child class. The inherit ...

Posted on Thu, 20 Feb 2020 02:04:29 -0500 by kit

[c++] static keyword details

0. Preface Static has a lot to do with the memory distribution of c + +. Before analyzing the static keyword, you'd better understand the memory distribution of c + + (it can be divided into five parts): 1. stack: storage areas allocated by the compiler when needed and automatically cleared when not ...

Posted on Thu, 20 Feb 2020 01:16:42 -0500 by Crys

Service splitting Gateway service Gateway

Preface Knowledge makes life more energetic. I hope we can go hand in hand on the way of learning in the future. Your likes, comments and rewards are my greatest encouragement. How far a person can go depends on who he goes with. I hope to make friends with you. Gateway introduction Gateway is an AP ...

Posted on Wed, 19 Feb 2020 22:08:10 -0500 by DaveTheAve

PyQt5, application of signal slot

0. Preface Signal slot mechanism is one of the core of Qt framework. Compared with using callback function directly, the efficiency of signal and slot is lower, but it is easier to decouple code, and the signal slot is thread safe. The specific implementation can refer to Qt documents and source cod ...

Posted on Wed, 19 Feb 2020 20:01:53 -0500 by Whyme