Tag:java

  • Java list uses traversal to analyze three methods of deletion operation

    Time:2020-9-23

    This article mainly introduces three methods of Java list using traversal to delete operation. The article introduces in detail through the example code, which has a certain reference learning value for everyone’s study or work, and friends in need can refer to it How to traverse the list conveniently in Java 1. For loop: Common […]

  • Java creates objects and calls methods through reflection

    Time:2020-9-22

    This article mainly introduces Java through reflection to create objects and call methods, the article through the example code is very detailed, for everyone’s study or work has a certain reference learning value, need friends can refer to 1. User class package com.lf.entity; import com.lf.annotation.SetProperty; import com.lf.annotation.SetTable; public class UserEntity { private String userName; private […]

  • How to use java source to call external programs in Oracle

    Time:2020-9-19

    demand Oracle calls a third-party external program. Oracle uses sqluldr2 to export a large number of data quickly, and then uses WinRAR to compress and send mail. Source code java source create or replace and compile java source named jv_run_extpro as import java.io.*; import java.lang.*; import java.util.*; import java.sql.*; import oracle.sql.*; publicclass jv_run_extpro { publicstaticvoid […]

  • Detailed explanation of Java CAS underlying implementation principle

    Time:2020-9-15

    This article mainly introduces the Java CAS underlying implementation principle example, the article introduces in detail through the example code, which has a certain reference learning value for everyone’s study or work, and friends in need can refer to it 1、 The concept of CAS (compare and swap) CAS, full name of compare and swap […]

  • Java JVM program instruction code example analysis

    Time:2020-9-14

    This article mainly introduces the Java JVM program instruction code example analysis, this article through the example code introduction is very detailed, has certain reference study value to everybody’s study or the work, needs the friend may refer to Analysis of Java program transforming into JVM instruction code 1. Write java file (simple example) /** […]

  • Linux (center os7) installs JDK, Tomcat and MYSQL to build Java Web project running environment

    Time:2020-9-12

    1、 Install JDK 1. Uninstall the old version or JDK that comes with the system (1) List all installed jdks   rpm -qa | grep jdk (2) Uninstall unneeded JDK  Yum – y remove installation package name 2. Download and unzip JDK (1) Download installation package Enter the / usr / local directory to create a […]

  • Java list pagination function implementation code example

    Time:2020-9-12

    This article mainly introduces the Java list pagination function code example, the article through the example code introduction is very detailed, has the certain reference study value to everybody’s study or the work, needs the friend may refer to Today, due to the particularity of business, we need to get the data and paginate in […]

  • Analysis of two simple sorting methods in Java HashMap

    Time:2020-9-11

    This article mainly introduces the Java HashMap two simple sorting method analysis, the article through the example code introduction is very detailed, to everybody’s study or the work has the certain reference study value, the need friend may refer to The storage of HashMap is not sequential, but implemented according to the hashcode of key […]

  • Java socket communication implementation process and problem solving

    Time:2020-9-9

    This article mainly introduces the java socket communication implementation process and problem solving, the article introduces in detail through the example code, which has a certain reference learning value for everyone’s study or work, and friends in need can refer to it The original intention is to verify whether java socket is a single thread […]

  • Front end interview daily 3 + 1 – day 140

    Time:2020-9-4

    Today’s knowledge points (September 3, 2019) – day 140 [HTML] what’s your understanding of HTML5’s keygen tag? What’s its function? Can transition in [CSS] CSS3 be used to transition opacity and display? [JS] talk about the function of encapsulating a tab with native JS [soft skills] do you know PHP, Java, python or go? What […]

  • How to intercept string by byte in Java

    Time:2020-8-31

    This article mainly introduces how Java intercepts the string by byte, the article introduces in detail through the example code, which has a certain reference learning value for everyone’s study or work, and friends in need can refer to it public class SubStringTest { @Test public void test() { String s: “1 / F, building […]

  • Explain seven ways to create Java singleton

    Time:2020-8-30

    Hungry man 1 public class Singleton1 { //Can’t delay load, consume memory and consume resources private static Singleton1 singleton1 = new Singleton1(); public static Singleton1 getSingleton1() { return singleton1; } } It can guarantee the unique instance under multiple threads. The getsingleton1 method has high performance, but it can’t load lazily. 2 lazy man public […]