The Baeldung logo
  • The Baeldung Logo
  • Start Here
  • Spring Courses ▼▲
    • REST with Spring Boot

      The canonical reference for building a production grade API with Spring

    • Learn Spring Security

      THE unique Spring Security education if you’re working with Java today

    • Learn Spring

      From no experience to actually building stuff​

    • Learn Spring Data JPA

      The full guide to persistence with Spring Data JPA

    • View All Spring Courses

  • Java Courses ▼▲
    • Learn JUnit

      Master the most popular Java testing framework.

    • Learn Maven

      Simplify Your Build with Apache Maven

    • Learn Hibernate JPA

      Master persistence with the Java specification and Hibernate implementation

    • Learn Mockito

      Enhance your unit tests through practical mocking

    • View All Courses

  • Pricing
  • About ▼▲
    • Full Archive

      The high level overview of all the articles on the site.

    • Baeldung Ebooks

      Discover all of our eBooks

    • About Baeldung

      About Baeldung.

  • Category upAlgorithms
  • Category upJava Array
  • Category upJava List

Tag: Java Search

Finding a substring in a string or a specific element in a data structure, perhaps using a pattern, are examples of common search jobs in Java. Learn the details of searching for elements in different types of collections and more.

>> Implementing Semantic Search Using Spring AI and PGVector

>> Filter a List by Any Matching Field

>> Finding the Index of the First Duplicate Element in an Array

>> Finding the Closest Number to a Given Value From a List of Integers in Java

>> Find the Closest Number to Zero in a Java Array

>> Find the Index of the Largest Value in an Array

>> Finding the Second Smallest Integer in an Array in Java

>> Finding the Index of the Smallest Element in an Array

>> Finding the Peak Elements of a List

>> Finding the Parent of a Node in a Binary Search Tree with Java

>> Find the First Non-repeating Element of a List

>> Introduction to OpenGrok

>> Find Missing Number From a Given Array in Java

>> Find the Middle Element of an Array in Java

>> Find the Longest Word in a Given String in Java

>> Find the Index of an Element in a Java Array

>> Case-Insensitive Searching in ArrayList

>> Finding Top K Elements in a Java Array

>> Fast Pattern Matching of Strings Using Suffix Tree in Java

>> Range Search Algorithm in Java

  • ↑ Back to Top
  • 1
  • 2
  • Next →
The Baeldung logo

Courses

  • All Courses
  • Baeldung All Access
  • Baeldung All Team Access
  • Login Course Platform

Series

  • Java “Back to Basics” Tutorial
  • Learn Spring Boot Series
  • Spring Tutorial
  • Get Started with Java
  • Spring Framework Introduction
  • All About String in Java
  • Security with Spring

About

  • About Baeldung
  • The Full Archive
  • Editors
  • Our Partners
  • Partner with Baeldung
  • eBooks
  • FAQ
  • Baeldung Pro
  • Terms of Service
  • Privacy Policy
  • Company Info
  • Contact
The Baeldung Logo