About 5,980,000 results
Open links in new tab
  1. macos - How to install Java 8 on Mac - Stack Overflow

    Now when java 9 is out, running "brew cask install java" installs java 9. "brew cask install java8" wasn't working for me until I ran "brew tap caskroom/versions".

  2. How to find maximum value from a stream of Integer values in …

    Feb 25, 2025 · I have a list of Integer values named list, and from the list.stream() I want the maximum value. What is the simplest way? Do I need a comparator?

  3. Java 8 streams to find the duplicate elements - Stack Overflow

    Dec 28, 2014 · I am trying to list out duplicate elements in an integer list using Streams of JDK 8. For example:

  4. How to install openJdk 8 in windows 64 bit os - Stack Overflow

    Oct 22, 2018 · The best way to do this is to use the builds from adoptopenjdk. They're very high quality and come in multiple variants for Windows ranging from zip files to MSI installers. Dead …

  5. arraylist - Java 8 Streams - Compare two Lists' object values and …

    Jul 29, 2019 · Continue to help good content that is interesting, well-researched, and useful, rise to the top! To gain full voting privileges,

  6. Java 8 lambda get and remove element from list - Stack Overflow

    Feb 29, 2016 · Given a list of elements, I want to get the element with a given property and remove it from the list. The best solution I found is: ProducerDTO p = …

  7. High memory usage in Java 21 compared to Java 8 - Stack Overflow

    Sep 24, 2024 · We recently upgraded from Java 8 to Java 21 and noticed a significant increase in memory consumption in our Java applications. Our applications are deployed in containers …

  8. java - Distinct by property - Stack Overflow

    In Java 8, how can I filter a collection using the Stream API by checking the distinctness of a property of each object? For example, I have a list of Person objects and I want to remove …

  9. iterating and filtering two lists using java 8 - Stack Overflow

    Apr 7, 2015 · I want to iterate two lists and get new filtered list which will have values not present in second list. Can anyone help? I have two lists - one is list of strings, and the other is list of …

  10. Filter values only if not null using lambda in Java8

    Oct 1, 2015 · Filter values only if not null using lambda in Java8 Asked 10 years, 1 month ago Modified 1 year, 6 months ago Viewed 496k times