About 9,680,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. java 8 - Remove duplicate from List java8 - Stack Overflow

    Jul 31, 2017 · I have a class below, and wanted to remove duplicate person which contain same name, how to do by using Java8 Lambda, expected List contains p1, p3 from the below. …

  3. 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?

  4. How to use a Java 8 lambda to sort a Stream in reverse order?

    I'm using a Java lambda to sort a list. How can I sort it in a reverse way? I saw How to sort ArrayList<Long> in decreasing order?, but I want to use a Java 8 lambda. Here is my …

  5. Remove duplicates from a list of objects based on property in Java 8

    Apr 16, 2015 · List<Employee> employee Can we remove duplicates from it based on id property of employee. I have seen posts removing duplicate strings form arraylist of string.

  6. java 8 - Converting Array to List - Stack Overflow

    May 8, 2015 · In order to convert an Integer array to a list of integer I have tried the following approaches: Initialize a list (Integer type), iterate over the array and insert into the list By

  7. list - How can I reverse a Java 8 stream and generate a …

    static IntStream revRange(int from, int to) { return IntStream.range(from, to) .map(i -> to - i + from - 1); } This avoids boxing and sorting. For the general question of how to reverse a stream of …

  8. 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 …

  9. How can I convert a Java 8 Stream to an Array? - Stack Overflow

    Apr 15, 2014 · What is the easiest/shortest way to convert a Java 8 Stream into an array?

  10. minimum hibernate version compatible with java8 - Stack Overflow

    I have a terrible time trying to find out which is the minimum version of Hibernate that supports being run on a java8 JRE, where the user code will use java8 features. I found this bug, but it ta...