Recent Posts
-
Java – why are indexes inclusive but exclusive?
In Java API methods, such as: > String. substring(int beginIndex,int endIndex) > String. subSequence(int beginIn…… -
What tools are available to audit changes to Java interfaces?
Does anyone know of any tool that can summarize the changes of Java interfaces between different versions? (by interfa…… -
Download – IE9 streaming files to browser when suspended
I use the following methods to stream files (usually Excel or PDF) to my browser It operates by setting the location o…… -
How to convert floating point numbers to 4 bytes in Java?
I haven't been able to convert such things: byte[] b = new byte[] { 12,24,19,17}; Become something like this: float my…… -
Do you need a defensive copy of Java enumeration types?
People should return so - called "defensive copies" of private reference types This is to avoid returning references t…… -
Java – inject mock @ service for spring unit test
I'm testing a class that uses @ Autowired injection service: public class RuleIdValidator implements ConstraintValidat…… -
Javafx-2 – JavaFX: when the scene is initially loaded from fxml, a new node is added to the scene in the Java code
When a scene is initially loaded from F XML, how do I add a new node to the scene in Java code? Parent root = FXMLLoad…… -
Java – how to initialize a servlet when the server starts
I wrote a simple servlet with init () and doget (), dopost () methods I have a request, I have an API, I need to call …… -
Java:JFrame. Setlocationrelativeto (null) is not available as Ubuntu 10.04 / Gnome 2.30 2 window centered openjdk 1.6 0_ eighteen
Example code: JFrame jFrame = new JFrame("Test"); jFrame.setDefaultCloSEOperation(JFrame.EXIT_ON_CLOSE); jFram…… -
Usage of kotlin extension function and extension attribute
Kotlin can extend the new functionality of a class without inheriting the class or using design patterns such as decor…… -
Sorting of indicators concerned in Android performance test
During the performance test, some problems can directly lead to the user's utilization and unloading rate of the curre…… -
Android custom view to realize Gobang games
This example shares the specific code of Gobang game implemented by Android for your reference. The specific contents …… -
Android popupwindow usage details
This example shares the usage of Android popupwindow for your reference. The specific contents are as follows 1、 Basi…… -
Android realizes three-level linkage of drop-down menu
The application of drop-down menu linkage in Android is very common. The drop-down menu in Android can be realized wit…… -
Android Filter menu effect
preface Because the popupwindow of Android m is inconsistent with the previous version, the author can't find a way to…… -
Android listener instance code
Code sharing: import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.os.Bundl…… -
Android implements universal filter bar
Today, I'm going to write the implementation of a general filter bar. It's also because the filter bar was used in man…… -
Usage of kotlin extension function and extension attribute
Kotlin can extend the new functionality of a class without inheriting the class or using design patterns such as decor…… -
Sorting of indicators concerned in Android performance test
During the performance test, some problems can directly lead to the user's utilization and unloading rate of the curre…… -
Android custom view to realize Gobang games
This example shares the specific code of Gobang game implemented by Android for your reference. The specific contents …… -
Android popupwindow usage details
This example shares the usage of Android popupwindow for your reference. The specific contents are as follows 1、 Basi…… -
Android realizes three-level linkage of drop-down menu
The application of drop-down menu linkage in Android is very common. The drop-down menu in Android can be realized wit…… -
Android Filter menu effect
preface Because the popupwindow of Android m is inconsistent with the previous version, the author can't find a way to…… -
Android listener instance code
Code sharing: import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.os.Bundl…… -
Android implements universal filter bar
Today, I'm going to write the implementation of a general filter bar. It's also because the filter bar was used in man…… -
Detailed explanation of saving code for Android studio screen direction and UI interface state
Project: orientation package com.example.orientation; import android.os.Bundle; import android.util.Log; import andro…… -
Implementation of Android floating window (error prone point)
Now many applications use the floating window. For example, when wechat clicks the home button in the video, the video…… -
Android custom view imitation QQ movement steps effect
This example shares the specific code of Android QQ movement steps for your reference. The specific contents are as fo…… -
Android realizes 3D laminated card image display
This example shares the specific code for Android to realize 3D laminated card image display for your reference. The s…… -
Android studio enables mobile phone to scan QR code
Android mobile phone version needs to dynamically obtain camera permissions after 6.0 1. Obtain camera permission <…… -
Android realizes the switching between WiFi and GPRS networks
In the development of the project, because we want to use the switching between WiFi and GPRS networks, we studied the…… -
Android ultra clear 6.0 permission application andpermission
The specific implementation code of Android super clear 6.0 permission application andpermission is for your reference……