Tag

Apache Commons

1 views collected around this technical thread.

macrozheng
macrozheng
Apr 17, 2025 · Fundamentals

Mastering Apache Commons StringUtils: When to Use isEmpty, isBlank, and Their Variants

This article explains the differences between Apache Commons StringUtils methods such as isEmpty, isBlank, and their extended variants, provides practical code examples for each, and guides developers on choosing the appropriate utility for handling null, empty, or whitespace strings in Java.

Apache CommonsJavaString handling
0 likes · 7 min read
Mastering Apache Commons StringUtils: When to Use isEmpty, isBlank, and Their Variants
Java Captain
Java Captain
Feb 14, 2025 · Fundamentals

Understanding Apache Commons StringUtils: isEmpty, isBlank, and Related Methods

This article explains the differences and usage of Apache Commons Lang3 StringUtils methods such as isEmpty, isNotEmpty, isAnyEmpty, isNoneEmpty, isBlank, isNotBlank, isAnyBlank, and isNoneBlank, providing code examples and behavioral details for handling null, empty, and whitespace strings in Java.

Apache CommonsJavaString handling
0 likes · 6 min read
Understanding Apache Commons StringUtils: isEmpty, isBlank, and Related Methods
Architect's Tech Stack
Architect's Tech Stack
Oct 23, 2024 · Backend Development

Understanding Apache Commons StringUtils: isEmpty, isBlank, and Related Methods

This article introduces Apache Commons Lang's StringUtils utility methods, explaining the behavior and differences of isEmpty, isNotEmpty, isAnyEmpty, isNoneEmpty, as well as isBlank, isNotBlank, isAnyBlank, and isNoneBlank, with code examples and usage guidelines for Java developers.

Apache CommonsJavaStringUtils
0 likes · 9 min read
Understanding Apache Commons StringUtils: isEmpty, isBlank, and Related Methods
Selected Java Interview Questions
Selected Java Interview Questions
Sep 13, 2024 · Backend Development

Using Apache Commons GenericObjectPool for Process Pooling in Java

This article explains how Java developers can leverage Apache Commons Pool's GenericObjectPool to implement custom process pooling, covering the required factory interface, configuration options, and practical code examples for creating, borrowing, and returning pooled process objects to improve performance.

Apache CommonsGenericObjectPoolJava
0 likes · 8 min read
Using Apache Commons GenericObjectPool for Process Pooling in Java
macrozheng
macrozheng
Sep 13, 2024 · Backend Development

Mastering Apache Commons StringUtils: When to Use isEmpty, isBlank, and More

This article explains the differences among Apache Commons Lang's StringUtils methods—such as isEmpty, isBlank, isNotEmpty, isAnyEmpty, isNoneEmpty, and their variants—providing code examples, usage guidelines, and practical tips for Java developers to avoid common pitfalls when handling empty or blank strings.

Apache CommonsJavaStringUtils
0 likes · 7 min read
Mastering Apache Commons StringUtils: When to Use isEmpty, isBlank, and More
Java Architect Essentials
Java Architect Essentials
Mar 6, 2024 · Fundamentals

Exploring Apache Commons Lang StringUtils: isEmpty, isBlank, and Related Methods

This article introduces the Apache Commons Lang StringUtils class, demonstrating how its isEmpty, isNotEmpty, isAnyEmpty, isNoneEmpty, isBlank, isNotBlank, isAnyBlank, and isNoneBlank methods work with practical code examples and explains their behavior for different input scenarios.

Apache CommonsJavaString handling
0 likes · 7 min read
Exploring Apache Commons Lang StringUtils: isEmpty, isBlank, and Related Methods
macrozheng
macrozheng
Apr 17, 2023 · Fundamentals

How to Efficiently Split Large Java Lists into Smaller Chunks

This article explains why MySQL’s SQL length limit can cause batch‑insert failures and demonstrates five practical ways to partition a large Java List—using Guava, Apache Commons, Hutool, JDK Stream, and custom subList—complete with code examples and execution results.

Apache CommonsGuavaHutool
0 likes · 9 min read
How to Efficiently Split Large Java Lists into Smaller Chunks
Java Architect Essentials
Java Architect Essentials
Feb 23, 2023 · Backend Development

Using Spring and Apache Commons StopWatch for Precise Code Execution Timing in Java

This article explains why simple System.currentTimeMillis() timing is often insufficient, introduces Spring's org.springframework.util.StopWatch and Apache Commons' org.apache.commons.lang3.time.StopWatch, provides Maven dependencies and complete Java examples, and discusses important usage notes such as thread‑safety and task management.

Apache CommonsJavaSpring
0 likes · 11 min read
Using Spring and Apache Commons StopWatch for Precise Code Execution Timing in Java
Selected Java Interview Questions
Selected Java Interview Questions
Sep 7, 2022 · Backend Development

Java Date and Time Formatting: Methods, Thread Safety, and Best Practices

This article compares three common Java date‑time formatting approaches—SimpleDateFormat, Java 8’s DateTimeFormatter, and Apache Commons Lang3’s DateFormatUtils—examines thread‑safety issues, provides code examples, and offers conversion utilities between Date, LocalDate, and LocalDateTime for robust backend development.

Apache CommonsDateTimeDateTimeFormatter
0 likes · 9 min read
Java Date and Time Formatting: Methods, Thread Safety, and Best Practices
Selected Java Interview Questions
Selected Java Interview Questions
Jun 23, 2022 · Backend Development

Using Spring and Apache Commons StopWatch to Monitor Java Code Execution Time

This article explains how to leverage Spring's org.springframework.util.StopWatch and Apache Commons Lang3 StopWatch for precise Java performance measurement, covering setup, usage examples, source code insights, important considerations, and practical code snippets for both libraries.

Apache CommonsCode ProfilingJava
0 likes · 9 min read
Using Spring and Apache Commons StopWatch to Monitor Java Code Execution Time
Selected Java Interview Questions
Selected Java Interview Questions
Oct 19, 2021 · Backend Development

Common Java Utility Libraries and Their Usage

This article introduces essential Java utility libraries—including built‑in methods, Apache Commons, and Google Guava—explaining their key features and providing code examples that show how to simplify common tasks such as string handling, collection operations, object mapping, and file I/O.

Apache CommonsGoogle GuavaJava
0 likes · 14 min read
Common Java Utility Libraries and Their Usage
Top Architect
Top Architect
Oct 1, 2021 · Backend Development

Understanding Apache Commons Lang StringUtils: isEmpty, isBlank, and Related Methods

This article introduces the Apache Commons Lang StringUtils utility class, explaining the behavior and usage of its isEmpty, isNotEmpty, isAnyEmpty, isNoneEmpty, isBlank, isNotBlank, isAnyBlank, and isNoneBlank methods with code examples and detailed descriptions.

Apache CommonsJavaStringUtils
0 likes · 8 min read
Understanding Apache Commons Lang StringUtils: isEmpty, isBlank, and Related Methods
Java Architect Essentials
Java Architect Essentials
Sep 13, 2021 · Backend Development

Common Java Utility Libraries and Their Usage Examples

This article introduces a collection of essential Java utility libraries—including core Java methods, Apache Commons, Commons BeanUtils, Commons IO, and Google Guava—explaining their key features, Maven dependencies, and practical code snippets for tasks such as string handling, collection operations, object mapping, file I/O, and advanced data structures.

Apache CommonsGoogle GuavaJava
0 likes · 12 min read
Common Java Utility Libraries and Their Usage Examples
Java Architect Essentials
Java Architect Essentials
Sep 8, 2021 · Backend Development

Popular Java Utility Classes and Their Most Common Methods

This article lists the most popular Java utility classes and their frequently used methods, derived from analysis of 50,000 GitHub projects, helping developers quickly find ready‑made functionality and understand common usage patterns.

Apache CommonsJavaUtility Classes
0 likes · 5 min read
Popular Java Utility Classes and Their Most Common Methods
Architect's Tech Stack
Architect's Tech Stack
Aug 25, 2021 · Backend Development

Understanding Apache Commons StringUtils isEmpty, isBlank and Related Methods

This article explains the Apache Commons Lang3 StringUtils utility class, detailing the behavior, usage examples, and source code of isEmpty, isNotEmpty, isAnyEmpty, isNoneEmpty, isBlank, isNotBlank, isAnyBlank, and isNoneBlank methods for Java developers.

Apache CommonsJavaStringUtils
0 likes · 7 min read
Understanding Apache Commons StringUtils isEmpty, isBlank and Related Methods
Laravel Tech Community
Laravel Tech Community
Aug 24, 2021 · Fundamentals

Apache Commons Geometry 1.0 Released with New Features, Bug Fixes, and Changes

Apache Commons Geometry 1.0 has been officially released, introducing new transformation methods, geometry tutorials, enhanced I/O modules, additional utility functions, several bug fixes, and numerous internal improvements such as updated precision handling and migration to JUnit 5.

Apache CommonsFeaturesJava
0 likes · 3 min read
Apache Commons Geometry 1.0 Released with New Features, Bug Fixes, and Changes
Java Captain
Java Captain
Feb 28, 2021 · Backend Development

Popular Java Utility Classes and Their Most Frequently Used Methods

This article presents a ranked list of the most popular Java utility classes and their top methods, derived from analysis of 50,000 open‑source Java projects, helping developers discover ready‑made functionality and avoid reinventing common code.

Apache CommonsFileUtilsIOUtils
0 likes · 5 min read
Popular Java Utility Classes and Their Most Frequently Used Methods
macrozheng
macrozheng
May 15, 2020 · Backend Development

Boost Your Java Code with Essential Apache Commons & Guava Utilities

This article introduces a collection of practical Java utility classes—from Apache Commons StringUtils and DateUtils to Guava's Joiner and Stopwatch—showing how to simplify string handling, date conversion, collection checks, file I/O, and performance timing with concise code examples.

Apache CommonsDateUtilsGuava
0 likes · 16 min read
Boost Your Java Code with Essential Apache Commons & Guava Utilities
Architect's Tech Stack
Architect's Tech Stack
Aug 27, 2019 · Backend Development

Top 16 Most Popular Java Utility Classes and Their Common Methods

This article introduces the sixteen most widely used Java utility classes—primarily from Apache Commons and Spring—detailing their most frequent methods such as IO handling, string manipulation, file operations, collection utilities, encoding, and bean copying, helping developers avoid reinventing the wheel.

Apache CommonsJavaSpring
0 likes · 9 min read
Top 16 Most Popular Java Utility Classes and Their Common Methods