Learn how to check if a number is a happy or sad number in Java.
Search Results for: range
Finding the Peak Elements of a List
Learn how to find the peak elements of a list in Java.
OpenAPI Generator Custom Templates
Learn how to use OpenAPI Generator Custom Templates to generate customized client and server code from REST API definitions.
Serialization with FlatBuffers in Java
Explore the FlatBuffers library and its capabilities to serialize and deserialize complex data.
Introduction to JFreeChart
We may wish to add charts or graphs to our GUIs in Java. We look at how to achieve this with JFreeChart.
Check if Two Strings Are Rotations of Each Other
Learn multiple algorithms to check whether a string is a rotation of another string including examples and complexity analysis.
Mask an Email Address and Phone Number in Java
Explore masking of sensitive information for protecting user privacy and adhering to data security regulations.
Count Uppercase and Lowercase Letters in a String
Learn how to count the number of uppercase and lowercase letters in a String in Java.
Guide to System.in.read()
Learn how to use Java’s System.in.read().
Find the First Non-repeating Element of a List
Learn a few approaches to finding the first non-repeating element in a list, each with its advantages and considerations.
Moves Zeros to the End of an Array in Java
Learn how to rearrange the zero value elements of a Java array, moving them to the end.
Convert Infix to Postfix Expressions in Java
Explore infix, prefix, and postfix notations of mathematical expressions.
Pagination With JDBC
Discuss and implement different strategies for pagination with JDBC.
Generating Unique Positive Long Using SecureRandom in Java
Learn how to use SecureRandom to generate unique positive values in Java.
Custom JSON Deserialization Using Spring WebClient
Learn about custom deserialization and how this can be implemented using Spring WebClient.
Storing PostgreSQL JSONB Using Spring Boot and JPA
Learn how to proficiently store and manage JSON data in PostgreSQL using Spring Boot and JPA
How to Determine if a String Contains Invalid Encoded Characters
Learn how to check if a Java string contains invalidly еncodеd characters.
JFR View Command in Java 21
A quick tutorial on the Java Flight Recorder view command, available in Java 21.
Convert byte to int Type in Java
Learn how to convert a byte to an int in Java.
Validate if a String Is a Valid Geo Coordinate
A short guide on checking if a Java String is a valid Geo Coordinate.