Discover different methods to remove repeated characters from a string in Java.
Search Results for: sorting
Java Interview Questions
Learn the answers to common Java interview questions
Array Operations in Java
Learn how we can handle common array operations in Java.
Arrays in Java: A Reference Guide
A simple and complete reference guide to understanding and using Arrays in Java.
Converting a Collection to ArrayList in Java
A brief tutorial to building ArrayLists given a collection in Java.
Heap Sort in Java
Learn how to implement a Binary Heap and Heap Sort in Java.
Insertion Sort in Java
An explanation of the insertion sort algorithm and a look at its Java implementation
Quicksort Algorithm Implementation in Java
Explore the details of the QuickSort algorithm, focusing on the Java implementation.
Merge Sort in Java
Understand the merge sort algorithm and its implementation in Java
Spring Persistence Tutorial
Persistence with Spring 5 Tutorial – setup for Hibernate, JPA, Spring Data JPA, the DAO layer and Transactions.
Sort a HashMap in Java
Learn how to sort HashMap entries by their key or value
Stream Ordering in Java
Learn about some of the underlying intricacies of Java 8 Stream ordering
Spring Data Composable Repositories
Learn how to use multiple fragments to implement a Spring Data repository
Read a File into an ArrayList
A quick tutorial to reading files into ArrayLists in Java
State Design Pattern in Java
Learn about State design pattern and its pros and cons, explained with a clear and easy to understand example
Spring REST and HAL Browser
Discover how to explore REST APIs using a HAL browser.
Context and Servlet Initialization Parameters
Learn how to define and access context and servlet initialization parameters in a Java HTTP servlet application.
An Introduction to CDI (Contexts and Dependency Injection) in Java
Have a a look at CDI’s most relevant features and implement different approaches for injecting dependencies in client classes.
Bootstrapping JPA Programmatically in Java
Learn how to configure a JPA persistence context in Java without the traditional persistence.xml file.
Guide to the java.util.Arrays Class
Learn what features java.util.Arrays has, including what’s new from Java 8