Tag

Java 8

0 views collected around this technical thread.

Top Architect
Top Architect
Apr 26, 2025 · Backend Development

Understanding Java 8 Stream API with Practical PO Examples

This article introduces Java 8 Stream API, explains its core operations such as filter, map, sorted, forEach, collect, statistics, and parallelStream, and demonstrates their usage with a UserPo class through comprehensive code examples, while also noting unrelated promotional offers.

Backend DevelopmentCode ExampleFunctional Programming
0 likes · 11 min read
Understanding Java 8 Stream API with Practical PO Examples
Java Captain
Java Captain
Apr 24, 2025 · Backend Development

Comparing Collections Using Java Stream API

This article explains how to log pre‑update data, compare old and new records, and use Java Stream operations such as filter, collect, anyMatch, noneMatch, and contains to identify differences between collections, including custom objects, with code examples and best‑practice recommendations.

Backend DevelopmentCollection ComparisonJava
0 likes · 13 min read
Comparing Collections Using Java Stream API
Top Architect
Top Architect
Oct 31, 2024 · Backend Development

Using Java 8 Stream API for POJO Collection Processing

This article introduces Java 8 Stream API, demonstrates filtering, mapping, sorting, collecting, and parallel streams with POJO examples, including code snippets, performance tips, and links to related resources, while also containing promotional messages for ChatGPT services.

BackendCollectionsJava
0 likes · 11 min read
Using Java 8 Stream API for POJO Collection Processing
Selected Java Interview Questions
Selected Java Interview Questions
Oct 22, 2024 · Backend Development

Common Java Stream API Programming and Operations

This article introduces Java 8's Stream API, explains how to create streams from collections and arrays, and demonstrates a wide range of intermediate and terminal operations with clear code examples to help developers write concise, efficient, and readable Java code.

Backend DevelopmentCollectionsFunctional Programming
0 likes · 9 min read
Common Java Stream API Programming and Operations
Top Architect
Top Architect
Sep 22, 2024 · Backend Development

Using Java 8 Stream API for Data Processing: Filters, Maps, Sorting, and Parallel Streams

This article introduces Java 8's Stream API, explains its declarative data‑processing style with operations such as filter, map, sorted, forEach, collect, statistics and parallelStream, and provides complete example code demonstrating these concepts on a UserPo class.

Backend DevelopmentCode ExampleFunctional Programming
0 likes · 12 min read
Using Java 8 Stream API for Data Processing: Filters, Maps, Sorting, and Parallel Streams
Code Ape Tech Column
Code Ape Tech Column
Aug 16, 2024 · Backend Development

Using Java 8 Functional Interfaces to Replace if…else Statements

This article demonstrates how Java 8’s functional interfaces—such as Supplier, Consumer, Runnable, and Function—can replace repetitive if‑else statements for exception handling and branch logic, providing clear code examples, custom interfaces, and utility methods to simplify backend development.

BackendException HandlingFunctional Interface
0 likes · 9 min read
Using Java 8 Functional Interfaces to Replace if…else Statements
Java Captain
Java Captain
Mar 25, 2024 · Backend Development

Constructing Streams in Java 8: Methods and Examples

Java 8’s Stream API introduces a declarative, lazy-processing model for collections, and this article details multiple ways to create streams—including from collections, arrays, static factory methods, files, generators, and iterators—providing code examples and explanations to help developers harness its expressive and efficient data‑handling capabilities.

CollectionsFunctional ProgrammingJava
0 likes · 5 min read
Constructing Streams in Java 8: Methods and Examples
vivo Internet Technology
vivo Internet Technology
Mar 19, 2024 · Backend Development

Java 8 Memory Management and Garbage Collection Analysis

The article offers a thorough overview of Java 8 memory management, detailing JVM memory regions, object eligibility, major garbage‑collection algorithms and generational models, comparing Serial, Parallel, CMS and G1 collectors, and presenting practical heap‑dump analysis techniques for diagnosing leaks and performance issues.

Backend DevelopmentGC AlgorithmsGarbage Collection
0 likes · 29 min read
Java 8 Memory Management and Garbage Collection Analysis
IT Services Circle
IT Services Circle
Dec 1, 2023 · Backend Development

Why IDEA No Longer Offers Java 8 for Spring Boot Projects and How to Use Java 8 with Alibaba’s Start Service

The article explains that Spring Boot 3.x drops support for Java 8, causing IntelliJ IDEA’s Spring Initializr to list only JDK 17 or higher, and shows how developers can still create Java 8 Spring Boot projects by switching the Initializr URL to Alibaba Cloud’s start service.

Alibaba StartBackend DevelopmentIntelliJ IDEA
0 likes · 3 min read
Why IDEA No Longer Offers Java 8 for Spring Boot Projects and How to Use Java 8 with Alibaba’s Start Service
Selected Java Interview Questions
Selected Java Interview Questions
Nov 8, 2023 · Fundamentals

Most Popular Java Features Added Since Java 8 (Up to Java 20)

This article reviews the most widely adopted Java language enhancements introduced after Java 8, covering features such as local variable type inference, switch expressions, text blocks, records, pattern matching for instanceof, sealed classes, and improved NullPointerException messages, helping developers decide which upgrades to adopt.

BackendJavaJava 8
0 likes · 6 min read
Most Popular Java Features Added Since Java 8 (Up to Java 20)
Sohu Tech Products
Sohu Tech Products
Sep 20, 2023 · Backend Development

Java CompletableFuture Tutorial: Asynchronous Programming and Task Composition

This tutorial explains Java 8's CompletableFuture, showing how to create, compose, and handle asynchronous tasks with methods like supplyAsync, thenApply, allOf, and anyOf, while emphasizing custom thread pools, non‑blocking patterns, and robust exception handling for real‑world concurrent programming.

Asynchronous ProgrammingCompletableFutureException Handling
0 likes · 17 min read
Java CompletableFuture Tutorial: Asynchronous Programming and Task Composition
Architecture Digest
Architecture Digest
Aug 14, 2023 · Backend Development

Java 8 Stream API Tutorial: 20 Practical Examples for Filtering, Mapping, Reducing, and More

This comprehensive tutorial explains Java 8's Stream API and Lambda expressions, demonstrating how to create streams from collections and arrays, perform intermediate operations like filter, map, flatMap, and sorted, and use terminal operations such as forEach, findFirst, reduce, and collect through twenty detailed code examples covering employee data processing, aggregation, grouping, and sorting.

CollectionsData ProcessingFunctional Programming
0 likes · 21 min read
Java 8 Stream API Tutorial: 20 Practical Examples for Filtering, Mapping, Reducing, and More
Selected Java Interview Questions
Selected Java Interview Questions
Aug 4, 2023 · Backend Development

Comparing Two Lists and Extracting Differences Using Java 8 Stream API

This article demonstrates four Java 8 Stream API techniques for comparing two List collections and retrieving the elements that differ, including simple filtering, concatenation, grouping by occurrence, and attribute‑based comparison with custom DTOs.

CollectionsFunctional ProgrammingJava
0 likes · 7 min read
Comparing Two Lists and Extracting Differences Using Java 8 Stream API
Selected Java Interview Questions
Selected Java Interview Questions
Oct 18, 2022 · Fundamentals

Understanding Java Functional Interfaces and Stream API Internals

This article explains Java functional interfaces, the java.util.function package, and provides an in‑depth look at the internal structure of the Stream API, including pipelines, intermediate and terminal operations, collectors, and the parallel execution model based on ForkJoin tasks.

JavaJava 8Stream API
0 likes · 23 min read
Understanding Java Functional Interfaces and Stream API Internals
Selected Java Interview Questions
Selected Java Interview Questions
Sep 29, 2022 · Backend Development

Comprehensive Guide to Java Stream API and Optional Usage

This article provides an in‑depth tutorial on Java 8 Stream operations—including creation, intermediate and terminal operations, parallel streams, reduction, collection, and conversion—followed by a detailed explanation of the Optional class with examples of creation, presence checks, default values, filtering, mapping, and practical usage patterns.

CollectionsFunctional ProgrammingJava
0 likes · 17 min read
Comprehensive Guide to Java Stream API and Optional Usage
Java Captain
Java Captain
Nov 26, 2021 · Backend Development

Using Java 8 Functional Interfaces to Replace if…else Statements

This article explains how Java 8's functional interfaces such as Supplier, Consumer, Runnable and Function can be used to eliminate repetitive if…else code for exception handling and branching, providing clear examples and reusable utility methods.

Functional InterfaceJavaJava 8
0 likes · 8 min read
Using Java 8 Functional Interfaces to Replace if…else Statements
Architect's Tech Stack
Architect's Tech Stack
Oct 10, 2021 · Fundamentals

Java 8 Date and Time API Tutorial with Code Examples

This article introduces Java 8's new date‑time API, explains why the old java.util.Date and SimpleDateFormat were problematic, and provides eleven practical code examples that demonstrate how to obtain the current date, extract year/month/day, create specific dates, compare dates, work with time zones, and format or parse date strings.

DateTimeJavaJava 8
0 likes · 11 min read
Java 8 Date and Time API Tutorial with Code Examples
Selected Java Interview Questions
Selected Java Interview Questions
Sep 12, 2021 · Backend Development

Understanding Java ConcurrentHashMap: Initialization, Null Handling, Resizing, Data Structure, Operations, and Thread‑Safety

This article explains Java 1.8 ConcurrentHashMap’s default capacity, null‑key/value restrictions, resizing behavior, internal array‑list‑tree structure, node fields, put and get processes, thread‑safety mechanisms, iterator consistency, and differences between JDK 7 and JDK 8 implementations.

ConcurrencyConcurrentHashMapData Structure
0 likes · 9 min read
Understanding Java ConcurrentHashMap: Initialization, Null Handling, Resizing, Data Structure, Operations, and Thread‑Safety
macrozheng
macrozheng
Sep 2, 2021 · Backend Development

Mastering Java 8 Stream API: 20 Real‑World Examples

This tutorial walks through Java 8 Stream and Lambda features, explaining stream concepts, intermediate and terminal operations, and demonstrating twenty practical examples—including creation, filtering, mapping, reduction, collection, sorting, and combining—using an employee class to illustrate each operation.

CollectionsData ProcessingFunctional Programming
0 likes · 27 min read
Mastering Java 8 Stream API: 20 Real‑World Examples
Top Architect
Top Architect
Aug 1, 2021 · Backend Development

Comprehensive Guide to Java 8 Stream API with Practical Examples

This article provides an in‑depth tutorial on Java 8 Stream API, covering its concepts, creation methods, common operations such as filtering, mapping, reducing, collecting, sorting, and grouping, along with numerous runnable code examples that demonstrate how to process collections efficiently using streams.

CollectionsData ProcessingFunctional Programming
0 likes · 24 min read
Comprehensive Guide to Java 8 Stream API with Practical Examples