Learn how to quickly check if List contains at least one enum value
Search Results for: enumerate
Checking if an Object’s Type Is Enum
Explore various approaches and best practices for determining if an object’s type is an enum.
A Guide to ShardingSphere
Learn the first steps using ShardingSphere.
Difference Between Java Enumeration and Iterator
Learn the differences between Enumeration and Iterator in Java.
Check if an Enum Value Exists in Java
Learn various ways to search enums in Java.
Reading Values From Excel in Java
Learn how to access different cell values using Apache POI.
Java Class File Naming Conventions
Understand autogenerated class naming conventions in Java.
Constants in Java: Patterns and Anti-Patterns
Learn about using constants in Java with a focus on common patterns and anti-patterns
Guide to Apache BookKeeper
Learn how to use Apache BookKeeper.
An Introduction to Invoke Dynamic in the JVM
Learn about invokedynamic and see how it can help library and language designers to implement many forms of dynamicity.
Executors newCachedThreadPool() vs newFixedThreadPool()
Compare the newCachedThreadPool() and newFixedThreadPool() implementations and their use-cases
A Guide to Spring’s Open Session in View
Learn about Spring’s Open Session In View pattern
Programmatic Transaction Management in Spring
Learn to manage transactions programmatically in Spring and why this approach is sometimes better than simply using the declarative Transactional annotation.
Hibernate @WhereJoinTable Annotation
Hibernate allows querying according to columns within the relation table in a many-to-many relationship. This is achieved with the WhereJoinTable annotation.
OCP Certification – Advanced Java Class Design
Learn some tips on common aspects of the OCP Certification exam.
Persisting Enums in JPA
A quick and practical guide to persisting enums in JPA.
Defining JPA Entities
Learn how to define entities and customize them using the Java Persistence API.
Persisting Maps with Hibernate
Using a Map for a Hibernate relationship is a bit different than a List. Learn how it’s done.
Native Memory Tracking in JVM
Learn about native memory allocation in the JVM and how to track it.
Introduction to JavaPoet
Learn how you can generate Java code with the JavaPoet library