The lowest coupling way to add title block in history

preface Most pages have a title block, which usually encapsulates the initialization code of the general title block in the base class, and then only needs to include a title block layout in the layout code, so it is very convenient to set the title block in the Activity. This may be the current more ...

Posted by zkoneffko on Mon, 22 Jun 2020 10:36:33 +0200

Redis data type, transaction and Jedis operation redis

Five basic types of Redis Note: Note arrangement source: B station UP master maniac said Java Official document: Redis is an open source (BSD licensed) in memory data structure storage system, which can be used as database, cache and message middleware. It supports many types of data structures, such ...

Posted by pplexr on Mon, 22 Jun 2020 10:19:45 +0200

day13 [nesting of student management system, Map and collection] lesson

1. Student management system (completed after class) 1.1 modification //modify private static void updateStudent(ArrayList<Student> list) { //Create keyboard entry object Scanner sc = new Scanner(System.in); System.out.println("Please enter the number of the studen ...

Posted by Tjk on Mon, 22 Jun 2020 09:51:09 +0200

Android interprocess communication -- understand Binder through AIDL and write Binder service

Series of articlesAndroid interprocess communication (I) - Android multiprocess modeAndroid interprocess communication (2) - understanding Binder's mechanismAndroid interprocess communication (3) - understand Binder through AIDL and write Binder service In the previous chapter, I have learned the comm ...

Posted by lovely on Mon, 22 Jun 2020 06:28:49 +0200

String, StringBuffer, StringBuilder -- common methods and differences of "3S" [cloud map Zhilian]

Introduction to String class String yes a reference data type is null by default;String is of final type and cannot be changed and inherited;The combination of basic type and String will be converted to String type; 1, String common methods length() method 1. Use the length() method of the String class to get the length of the declared String o ...

Posted by DedMousie on Mon, 22 Jun 2020 05:35:21 +0200

java Network Programming Practice-Native NIO Non-Blocking Communication Network Programming Practice

Preface Last mentioned to improve our RPC framework, this week take the time to explore the native NIO non-blocking network programming ideas that JDK provides to us.NIO libraries were introduced in JDK 1.4.NIO makes up for the deficiency of the original I/O by providing high-speed, block-oriented I/O in standard Java code. Main differences ...

Posted by nike121 on Mon, 22 Jun 2020 00:19:57 +0200

Fall 2018 web training log 0928

Morning: AOP programming: Notification class, target class, enhanced code, weaving process, join point (pointcut) Pre notice, post notice, final notice, exception notice AOP can be used to isolate all parts of business logic, so as to reduce the coupling between all parts of business logic, Improve ...

Posted by bazza84 on Sun, 21 Jun 2020 12:46:06 +0200

Simple use of Java GUI

java GUI is the graphical user interface of java. I think many people on the Internet say that java is not suitable for GUI, because it is too troublesome and not beautiful. It is very troublesome to be beautiful, but it is enough for sophomores to complete the experiment. I contacted java GUI to make a ...

Posted by sarbas on Sun, 21 Jun 2020 11:48:01 +0200

Self study python for one year, and finally transform into a java Engineer!

The language is the same, no matter c, python or java, the syntax feels similar, but Python is really hard to find a job. Several recruitment platforms have looked around, and there are only a few, so they sprouted the extension java route to make up for the advantages of job search. In the future, you ...

Posted by popsiclesph on Sun, 21 Jun 2020 10:24:05 +0200

Data structure stack and queue summary

Article catalog Stack vs. queue Storage structure of stack and queue Storage structure of stack **1. Sequential storage structure of stack** **2. Chain storage structure of stack** Storage structure of queue **1. Sequential storage structure of queues** **2. Loop queue** **3. Chain storage of que ...

Posted by kat89 on Sun, 21 Jun 2020 09:32:40 +0200