6, Java thread pool
6.1 why use thread pool?
6.2 how to use thread pool
Tool class of thread pool:
Arrays: tool class for arraysCollections: tool classes for collectionsExecutors: tool class of thread pool
6.2.1 architecture description of thread pool
The thread pool in Java is implemented through the Executor framework, which uses Executor, Execut ...
Posted by gogul on Sat, 09 Oct 2021 07:31:52 +0200
Configuring eclipse development environment with hadoop
Configuring eclipse development environment with hadoop
1, Foreword
Due to the learning needs of my junior year and the vagueness of the online tutorials, I have taken a lot of detours. Therefore, I write this blog. This article is for reference only. If there are deficiencies, I hope to point out.
2, Install eclipse
1. Download eclipse jee ...
Posted by rdawson on Fri, 01 Oct 2021 02:10:23 +0200
eclipse-based android project reality-savvy logon picture verification code
This project is written in eclipse software. Through my own practice, it is true and effective. I hope it can help you.๐๐ Project Version: Android 5.1.1 ADT version: 23.0.6 SDK Version: 24.4.1 Run simulator: Night God simulator If there are any shortcomings or inappropriate places, you're welcome to be pointed out by the big guys
Source do ...
Posted by eurozaf on Wed, 08 Sep 2021 02:33:31 +0200
Java learning notes: two-dimensional array
catalogue
What is a two-dimensional array?
Quick start:
Use of 2D arrays:
Usage 1: dynamic initialization
Syntax: ย
Case presentation:
Usage 2: dynamic initialization
Syntax:
Usage 3: dynamic initialization - uncertain number of columns
Case demonstration
Requirements: use dynamic initialization to create the following two-dim ...
Posted by Cornelia on Thu, 02 Sep 2021 09:43:23 +0200
Web3j+Maven Development of Taifang Application
In this tutorial, we will learn how to create a Maven-managed Java Ethernet project in Eclipse, connect Ethernet nodes using the web3j library, make JSON-RPC API calls, and display the results.
Learn in the language you are familiar with and develop in Taifang DApp: Java | Php | Python | .Net / C# | Golang | Node.JS | Flutter / Dart
web3j is ...
Posted by sonnieboy on Sat, 20 Jun 2020 03:54:08 +0200
Concept and application of Spring Statemachine
From https://www.jianshu.com/p/9ee887e045dd , thank you
1 Finite-state machine
1.1 definition of state machine
FSM (finite state machine, FSM), also known as FSM, is a mathematical model that represents finite states, their transitions and actions.
Finite state machine embodies two points: first ...
Posted by echoindia756 on Thu, 18 Jun 2020 05:48:33 +0200
Android uses Kotlin to connect to MQTT
MQTT It is a lightweight and flexible Internet of things message exchange and data transfer protocol, which is dedicated to achieving the balance between flexibility and hardware / network resources for IoT developers.
Kotlin Kotlin is a programming language developed by JetBrains company. Kotlin is based on JVM, so developers can easily use it ...
Posted by RossC0 on Tue, 09 Jun 2020 08:30:15 +0200
Example of Alibaba cloud IOT platform IoT Studio calling face recognition service
Summary
Current IoT The studio service development module provides the calling module of face recognition API in the cloud market, but there is no direct way to call the Alibaba cloud face recognition API. In this paper, the image is uploaded to the oss service from the device side, and then the image URL is passed through the uplink message, a ...
Posted by camarosource on Mon, 30 Mar 2020 16:35:07 +0200
Quick source Inside Eclipse
+source- Format: This is a very convenient operation that I've always recommended. For example, if you write a poorly formatted piece of code and it's messy, then you choose this one. You will find, wow~~, how my code looks beautiful all at o ...
Posted by veenasv on Tue, 03 Mar 2020 02:55:08 +0100
Spring boot2. X integrates MQTT to realize message subscription (with source code)
MQTT protocol is widely used in the field of industrial Internet of things because of its low latency and high efficiency. The previous article introduced how to send MQTT message by code. Based on the previous article, this paper implements the subscription and reception of MQTT message.Operation steps:
Introduce related dependencies
<de ...
Posted by omarh2005 on Sat, 22 Feb 2020 18:27:15 +0100