Tag:Boolean
-
Time:2020-12-7
1、 What is atomic operation Atomic operation: as the name suggests, it is an inseparable operation. There are only two states of the operation: not started and completed, and there is no intermediate state; Atomic type: the data types defined in the atomic library. All operations on these types are atomic, including the data types […]
-
Time:2020-11-20
1、 Select structure The selection structure is used to judge the given conditions and control the program flow according to the judgment results. The syntax of choice structure in Java is mainly divided into‘if… Else’ statementand‘switch… Case ‘statement。 In Java, select structure statements can be nested at will in syntax, but it is not recommended […]
-
Time:2020-11-2
This article is from the “why Python” series, please check out the full article Python is involved inTruth value judgment(truth value testing). For example, when judging whether an object is not none or whether the container object is not empty, it is not necessary to write out the judgment condition explicitly, but to write the […]
-
Time:2020-10-26
Why can Python support arbitrary truth value judgment? 》In this paper, we analyze the underlying implementation of Python in truth value judgment, and we can see that Python adopts a relatively broad attitude towards Boolean value. What is the official thinking about this? The following article is pep-285, written by Guido van Rossum, the father […]
-
Time:2020-9-16
1 Overview Spring Web+MyBatis PlusOne of theDemoThe content is similar to the previous one, so the focus is onMyBatis Plushere. 2 daolayer MyBatis PlusCompared withMyBaitsCan simplify a lot of configuration, can use code generator to generate quicklyEntity、MapperAnd the code of each module. In addition, for ordinaryCRUDTwo interface implementations are provided ISerivce<T> BaseMapper<T> The simplest of […]
-
Time:2020-8-28
8 basic data typesInteger: byte short int longFloat doubleCharacter type: charBoolean: Boolean byteByte type1byte == 8bit 0The value range of 128 combinations is – 128 ~ 127 (- 7 power of 2 to 7 power of 2)The first bold bit is used to indicate the positive and negative (0: positive, 1: negative) of the value […]
-
Time:2020-7-9
notes Single line comment: // shortcut key: Ctrl +/ Multi line comment: / * content * / shortcut key: Ctrl + Shift +/ variable Declarative variable var name; assignment name = ‘peach’; initialize variable var age=18; Update variables var age_age = 18; age_ Age = 20; // update Declare multiple variables var a=1, b=2, c=3; […]