C# Enum Summary

Enumeration concept Enumeration types (also known as enumerations) provide an effective way to define a set of named integer constants that may be assigned to variables. This type is declared using the enum keyword. Example code 1 enum Day { Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday }; By default, the basic type of ...

Posted by TimTimTimma on Sat, 18 May 2019 21:31:57 +0200

Usage of Java internal classes and anonymous internal classes

1. Internal Classes: **(1) Methods with the same name for internal classes** Internal classes can call methods of external classes, if methods of internal classes have the same name must be called in the format "OuterClass.this.MethodName()" (where OuterClass and MethodName are replaced with the actual externa ...

Posted by sid666 on Sat, 18 May 2019 18:22:03 +0200

Idea calls interfaces using httpclient

Preface Blogger github Blogger's personal blog http://blog.healerjean.com After using swagger, I think it's very convenient, and then using postman, I think it's a little bit troublesome, but finally the data can be saved. But after using idea's httclient, I really don't want to use them anymore. 1. Opening mode 1.1. ...

Posted by willfitch on Sat, 18 May 2019 16:21:55 +0200

IoC and AOP of Spring Framework

Introduction to Spring Framework: In February 2003, the Spring Framework became an open source project and was released in SourceForge. Solutions devoted to Java EE applications, rather than focusing only on one level of solutions, are the "one-stop" choice for enterprise application development. Throughout the presentation layer, bus ...

Posted by Bea on Sat, 18 May 2019 11:28:45 +0200

C Language Project [1] | ——— |Snake Snake Snake Source + Explanation

Retro Snaker PS: This snake is achieved by using an array of structs! Snake Eager Project Development Platform: VS2017+ Graphics Library 1. Add Graphics Library in VS2017 as follows How do I add a graphics.h header file in VS2017? 2. Framework of snakes 1. Snake Properties Snake properties include length of snake + coo ...

Posted by daniel_grant on Sat, 18 May 2019 06:12:04 +0200

Using js to write various Fibonacci sequence gracefully

fibonacci When I read the official BuckleScript document, I found a Fibonacci code that brightened my eyes. The idea of implementation was something I had never thought of before. I still remember the power of recursion that Fibonacci sequence made me understand when I first learned programming, and now I have a new understanding of recur ...

Posted by moomsdad on Sat, 18 May 2019 03:50:04 +0200

Vue Component Naming

Vue 1x Component Naming Mechanism Component registration Template analysis Naming restrictions Vue 20 Component Naming Mechanism Component registration Template analysis There ara only two things in Computer Sciences: cache invalidation and naming things. - Phil Karlton As mentioned above, variable naming in programming ...

Posted by sunnysideup on Fri, 17 May 2019 20:06:21 +0200

Python Object-Oriented Advancement

Object-Oriented Advancement I. isinstance and issubclass built-in methods 1,isinstance(obj,cls) Function: Check whether obj is an object of cls class? 2,issubclass(sub, super) Function: Check whether the sub class is a derivative of the super class? 2. Reflex (introspection) 1. Definition: The concept of reflecti ...

Posted by Lefu on Fri, 17 May 2019 17:14:41 +0200

Signal: Signal Processor Function

Signal: Signal Processor Function 1 Design signal processing function Sets a global flag variable in the signal processing function and exits. The main program periodically checks the flag. Once the flag is set, it performs the corresponding action. If the main program cannot periodically check because of the I/O state, it ...

Posted by scoobydoo9749 on Fri, 17 May 2019 11:33:19 +0200

Programmed apes must know awk from Linux commands

Preface   For a professional programmer, Linux-related knowledge is necessary. Text processing is more common, such as formatting the output data we need, which may come from text files or pipe characters, or counting the frequency and total number of data we need in the text.Then awk is worth learning.   text   In Linux, awk, sed, grep are cal ...

Posted by stuartbrown20 on Thu, 16 May 2019 23:12:17 +0200