Tag:enumeration

  • More literal types and built-in type declarations

    Time:2020-6-4

    By Marius SchulzTranslator: front-end witSource: Marius Schulz Alibaba cloud has been doing activities recently, with a 20% discount. I really think it’s cost-effective. You can click on this content or link to participate:https://promotion.aliyun.com/… Tencent cloud is currently doing activities, with 100 cloud products as low as 10% discount. You can click this content or link […]

  • Java enumeration abstract method instance analysis

    Time:2020-6-4

    This article mainly introduces the example analysis of Java enumeration abstract method. The example code is introduced in detail in this article, which has certain reference learning value for everyone’s study or work. You can refer to the following for your friends Demand background The requirements have identified several fixed constant values, and each constant […]

  • Mysql database: comments and data types

    Time:2020-6-4

    notes /*Multiline comment*/ #Single line notes –Single line comment (Note: two but spaces are required after the horizontal line) data type 1. Shaping ​ tinyint、smallint、mediumint、int、bigintSmall integer value large integer value large integer value large integer value maximum integer value 2. Floating point ​ float、double 3. Decimal type Decimal (often used to ensure data is not […]

  • Talk about the high availability of Flink jobmanager

    Time:2020-5-23

    order This paper mainly studies the high availability of Flink job manager to configure flink-conf.yaml high-availability: zookeeper high-availability.zookeeper.quorum: zookeeper:2181 high-availability.zookeeper.path.root: /flink high-availability.cluster-id: /cluster_one # important: customize per cluster high-availability.storageDir: file:///share Optional values for high availability are none or zookeeper; high- availability.zookeeper.quorum Peers; high used to specify zookeeper- availability.zookeeper.path . root specifies the root node path […]

  • Enumeration in detail

    Time:2020-4-30

    Enumeration is the most interesting part of C ා and most developers only know a small part of it. Even most online tutorials only cover a part of enumeration. So, I will explain the knowledge of enumeration in detail through this article. I’ll start with what you all know, and then I’ll talk about what […]

  • Leetcode-0001 sum of two numbers

    Time:2020-4-24

    Title address: https://leetcode-cn.com/problems/two-sum/ 1. Violent solution Direct double cycle, all possible solutions are given. The time complexity is O (n ^ 2), and the space complexity is O (1) var twoSum = function(nums, target) { for (let i = 0; i < nums.length; i++) { for (let j = i + 1; j < nums.length; […]

  • LINQ operation ArrayList

    Time:2020-4-16

    ArrayList implements the IEnumerable interface in the system. Collections space, which is non generic. If you want to use LINQ, you must declare the type of enumeration variable, and rely on the cast query operator to convert the enumeration type. using System; using System.Collections; using System.Collections.Generic; using System.Data; using System.IO; using System.Linq; namespace ConsoleApp4 { […]

  • ECMAScript specification interpretation: object type of type

    Time:2020-4-13

    Starting address: https://github.com/jeuino/blo Preface  A value is an entity that takes on one of nine types. There are six standard types (Undefined, Null, Boolean, String, Number, and Object) and three internal types called Reference, List, and Completion. Values of type Reference, List, and Completion are used only as intermediate results of expression evaluation and cannot […]

  • Android jetpack architecture component – lifecycle in pit Guide

    Time:2020-4-10

    This article starts with WeChat official account “Android development tour”. Welcome to pay attention to get dry cargo. Background introduction In the previous article, we mainly introduced the origin of jetpack and the component library contained in each of the four components. In this article, we will learn about lifecycle components in architecture components in […]

  • Springboot + mybatis + mybaits plus integration and basic application

    Time:2020-4-3

    Springboot + mybatis + mybaits plus integration and basic application Introduction stayspring frameworkSupported byormIn the framework,mybatisComparisonhibernate,springThe support provided by itself is relatively small, which is used in the development processmybatisThere is no doubt that there are many difficulties for developers. For this reason, there are many tripartite pairs in open sourcemybatisFor exampleourbatis、mybatis-generatorWait. In this article, […]

  • C language note 07 enumeration & Pointer

    Time:2020-3-20

    Emum (Mei Ju) Enumeration is a basic data type in C language. It can make data more concise and easier to read. The format of enumeration syntax definition is: Enum enum name {enum element 1, enum element 2 } For example, if you don’t use enumeration, you need to use ා define to define an […]

  • Type processor of mybatis

    Time:2020-3-11

    Preface How to map the XML of mybatis to the method mentioned above refers to the type processor, which is used to set the parameters to the database in two places and extract the data from the result set respectively. According to the different data types, the specific type processor is obtained from the type […]