Explore ways of transforming a stream into a Map or Multimap in Java using various approaches and libraries.
Also find me here:
Baeldung Editor
Michal Aibin
Michal Aibin is a Faculty at British Columbia Institute of Technology and Visiting Associate Professor at Northeastern University with over 10 years experience in software development industry. He received his doctorate degree in Informatics in 2017 and since then published more than 50 research papers. His main research interests are optimization and modeling of optical networks, adaptive algorithms and machine learning. Personally, he enjoys horseback riding and playing music.
Here's what I've reviewed (so far):
Baeldung on Java
- All
- Java (3)
- Java Map (2)
- Java IO (2)
- Testing (1)
- Spring (1)
- Persistence (1)
- Java Streams (1)
- Java Dates (1)
- Java Collections (1)
- Java Array (1)
- JPA (1)
- Data (1)
Round the Date in Java
Filed under Java Dates
Learn how to round the date using the java.util.Date, as well as LocalDateTime and ZonedDateTime.
How to Write and Read a File with a Java HashMap
Filed under Java Map
Explore three methods for writing to and reading from a file with HashMap data.
@ConditionalOnThreading Annotation Spring
Filed under Spring
Explore a new Spring annotation – @ConditionalOnThreading.
Classpath vs. Modulepath in Java
Filed under Java
Explore the distinction between the modulepath and classpath in Java.
Creating Custom Iterator in Java
Filed under Java Collections
Learn how to create a custom iterator in Java and apply it to our collections.
Get Last N Messages in Apache Kafka Topic
Filed under Data
Learn how to get the latest N messages of a Kafka Topic.
Opening a New Tab Using Selenium WebDriver in Java
Filed under Testing
Explore two approaches to opening a new tab with Selenium.
Regular Expression: \z vs \Z Anchors in Java
Filed under Java
Explore the differences between \z and \Z anchors, how they work, and when to use them.
Java: Read Multiple Inputs on Same Line
Filed under Java IO
Learn how to read multiple inputs on the same line using the Scanner class.
Intercept SQL Logging with P6Spy
Filed under Persistence
Explore multiple advantages of relying on an external third-party library such as P6Spy to log database queries.
Overriding hashCode() And equals() For Records
Filed under Java
Learn how records provide us with a default implementation of equals() and hashCode() methods.
Difference Between FileReader and BufferedReader in Java
Filed under Java IO
Learn how to use FileReader and BufferedReader and the differences between them.
How to Persist a List of String in JPA?
Filed under JPA
Explore what kind of possibilities there are in JPA to store a list of strings of an entity.
Getting Pixel Array From Image in Java
Filed under Java Array
Learn how to get a two-dimensional array that contains the combined RGB values for every pixel in an image in Java.
Baeldung on Linux
- All
- Processes (2)
- Installation (1)
- Files (1)
- Administration (1)
How to Remove the Password from a PDF File in Linux
Explore two command line tools and one graphical software for removing password protections from PDFs.
Kernel Errors and RTNETLINK answers Like No such process When Working With Routes
Filed under Installation, Processes
Explore routing checks and changes, as well as errors that might result from them.
How to Access Microsoft Windows Administrative Share From Linux
Filed under Administration
Explore browsing Microsoft Windows administrative shares from Linux.
Baeldung on Computer Science
- All
- Machine Learning (1)
Sensitivity and Specificity
Filed under Machine Learning
Learn about sensitivity and specificity in ML.