Learn how to evaluate math expressions expressed in String format in Java using exp4j, Javaluator, and the Java Scripting API.
Search Results for: eval
Evaluation of Methods References in Java
Learn about Evaluation of Methods References in Java
REST With Spring for Teams
Level up the way your Team builds an API and the way you’re delivering it to your clients.
Learn Spring Security Core Course
The reference, in-depth dive into the core of Spring Security 6 and Boot 3, through the project-based lessons.
Learn Spring Security Course
The reference, in-depth dive into Spring Security 6 and Boot 3, with the full 88 project-based lessons.
Convert an Optional to an ArrayList in Java
Explore various approaches to converting Optional to ArrayList.
Using Reactor Mono.cache() for Memoization
In this tutorial, we learn about memoization and demonstrate how to use Mono.cache() from the Project Reactor.
OpenAPI Custom Generator
Learn the steps required to create a custom generator for the OpenAPI generator tool.
Fix Spring Boot H2 JdbcSQLSyntaxErrorException “Table not found”
This tutorial explores addressing the “Table not found” error in H2 databases, commonly encountered in Spring Boot applications. You can mitigate this issue by configuring H2, mapping entities, and managing data with JPA repositories.
How to Implement Elvis Operator in Java 8
Implement the Elvis operator in Java 8 using the Optional class and ternary operator.
Mapping Enum to String Using MapStruct
A quick tutorial on using MapStruct to convert enums to strings.
Converting Float ArrayList to Primitive Array in Java
Learn how to convert an ArrayList of wrapper classes into an array of primitives.
Compare the Numbers of Different Types
Learn how to compare primitives and numbers of different classes, such as Integers, Longs, and Floats.
Get Nextval From Sequence With Spring JPA
Explore a few approaches for fetching the next value from a database sequence using Spring Data JPA.
Continue the Test Even After Assertion Failure in TestNG
Learn how to make multiple assertions using TestNG’s SoftAssert and find out why that is a valuable tool for writing clean tests with reduced debugging time.
Unit Test for hashCode() in Java
Explore the importance of unit testing for the hashCode() method in Java.
BigDecimal equals() vs. compareTo()
Explore the differences between BigDecimal equals() and compareTo() methods.
Java Weekly, Issue 539
Jakarta Data, multimodal LLMs, deprecating Dates in Hibernate, vector API, and Agile as a silver bullet (or not).
Different Ways to Use Limit and Skip in MongoRepository
Explore the skip and limit functionalities within MongoRepository.
Download File from S3 Given a URL
Learn how to download a file from S3 given a URL with Java and AWS SDK.