Java 8 Steam example collation

Why Steam is needed Steam in Java 8 is an enhancement of collection object function. It focuses on a variety of very convenient and efficient aggregate operations or bulk data operations for collection objects With the help of the same new Lambda expression, the Steam API greatly improves programmin ...

Posted by leewad on Mon, 16 Mar 2020 00:23:52 -0700

How to transfer data between "activities" of Android applications?

I have a situation where after I log in through the login page, there will be an exit button on each activity. Click sign out and I will pass the session id of the logged in user to exit. Who can tell me how to make session id available to all activities? Any alternative to this #1 building The most convenient way to pass data betw ...

Posted by Roberto on Tue, 10 Dec 2019 14:36:09 -0800

Java 8 new features learning notes

Java 8 new features learning notes 1 main content Lambda expression Functional interface Method reference and constructor reference Stream API Default method and static method in interface New time date API Other new features 2 succinct Faster to modify the algorithm of the underlying Hash list, HashMap, HashSet (add list from the previous a ...

Posted by joshblue on Wed, 16 Oct 2019 04:44:42 -0700

iMOOC Learning Notes: Java Excel Reading and Writing Initial Practice - Using POI to Parse Excel Files (II)

Mr. David's Decrypt JAVA to Import and Export Excel Relevant jar packages: poi-3.11-20141221.jar commons-io-2.2.jar Three Common Techniques of Reading and Writing Excel 1. POI 2. JXL 3. FASTEXCEL Apache POI is an open source library of Apache Software Foundation. POI provides API functions for JAVA programs to read and write files i ...

Posted by Traveller29 on Thu, 14 Feb 2019 18:57:19 -0800