Comprehensive analysis of IO stream (including NIO description)

Use of File class summary An object of the File class that represents a File or a File directory (commonly known as a folder) The File class is declared under the java.io package File class involves the creation, deletion, renaming, modification time, file size and other methods of files or file directories There is no operatio ...

Posted by dankstick on Fri, 29 Oct 2021 21:05:20 -0700

Java basic programming (array)

1, Overview of arrays 1. Understanding of arrays:                  An array is a collection of multiple data of the same type arranged in a certain order, named with a name, and managed uniformly by numbering. 2. Array related concepts:     &nb ...

Posted by kcomer on Fri, 29 Oct 2021 20:16:27 -0700

3 core class library - IO

1, Overview of IO IO stream overview This data transmission operation can be regarded as a data flow, which is divided into Input and Output according to the flow directionIO operations in Java mainly refer to the use of some common classes under the java.io package. These common classes are used to read (Input) and write (Output) data ...

Posted by rayk on Fri, 29 Oct 2021 19:26:12 -0700

Artificial intelligence -- genetic algorithm to solve TSP problem (JAVA version)

TSP problem, also known as traveling salesman problem and salesman problem.         Problem Description: in the given city map, the traveler is required to travel through all cities, and each city can only be visited once, so as to find the shortest path for the traveler to travel through all cities.       ...

Posted by wildmalc on Fri, 29 Oct 2021 19:21:03 -0700

Scala comments and variables

1, Notes Scala annotations use exactly the same as Java. Annotation is a good programming habit that a programmer must have. First sort out your thoughts through comments, and then reflect them in code. 1.1 single line notes package com.atguigu.bigdata.scala object ScalaComment{ def main(args: Array[String]): Unit = { // Si ...

Posted by EvilCoatHanger on Fri, 29 Oct 2021 19:02:25 -0700

Flowable getting started series article 40 - gateway 02

1. Include gateway describe The inclusive gateway can be regarded as an exclusive combination and parallel gateway. As with exclusive gateways, you can define conditions for outbound sequential flows that are evaluated by included gateways. But the main difference is that the inclusive gateway can adopt multiple sequence streams, such as para ...

Posted by jim35802 on Fri, 29 Oct 2021 16:06:50 -0700

[Java] after a long time, you can finally give yourself new objects -- Java classes and objects

🗽 Preliminary cognition of class and object C language is process oriented, focuses on the process, analyzes the steps to solve the problem, and gradually solves the problem through function call. JAVA is based on object-oriented and focuses on objects. It divides one thing into different objects and completes it by the interaction ...

Posted by edwardsbc on Fri, 29 Oct 2021 16:06:12 -0700

GateWay service GateWay

spring Cloud gateway has the following features: Dynamic routing: it can match any request attribute; You can specify Predicate assertions and filters for routes Integrate spring cloud service discovery Easy to write Predicate assertions and filters Request current limiting function Support path rewriting Three core concepts route: Ro ...

Posted by Froolah on Fri, 29 Oct 2021 08:29:16 -0700

17-09-02 (public key box *)

The liver lasted eight hours. Finally straightened out the solution of this problem, and found the biggest problem recently. It's bad, it's delicious, but it's worth it. Self summary 1. If you can't do it, don't think about whether multiple cycles work or not. Let's talk about it first. 2. I got 30 points for the first time, but the runni ...

Posted by mezise on Fri, 29 Oct 2021 06:52:21 -0700

Circular statement in Java - array

Statements in Java         1. Sequential structure         2. Select structure         if statement         switch Statements         3. Loop structure - repeat execution          1.for loop -- F ...

Posted by HA7E on Fri, 29 Oct 2021 05:48:30 -0700