About 50 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 - How to find the most frequent words in a string using java8 ...

    May 24, 2023 · I have a sample string in below input format. I'm trying to fetch the most repeated word along with it's occurance count as shown in the expected output format. How can we achieve this by …

  3. 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 code (I …

  4. java - Javaで利用可能なメモリサイズのデフォルト値は? - スタック …

    Nov 26, 2014 · Java8以降:言及はありませんが、Metaspace領域の特性から考えると可能な限り Java8ではヒープメモリのPermanent領域が消えて、 代わりにネイティブメモリにMetaspace領域 …

  5. java - How To Find First Repeated And Non-Repeated Character In A ...

    Sep 16, 2016 · How To Find First Repeated And Non-Repeated Character In A String Using java8 Asked 9 years, 6 months ago Modified 1 year, 1 month ago Viewed 29k times

  6. How to find second highest salary in below array list using Java8 ...

    How to find second highest salary in below array list using Java8 streams [closed] Ask Question Asked 5 years, 4 months ago Modified 2 years, 1 month ago

  7. How to sort Employee object based on salary,name in ascending order ...

    Nov 29, 2020 · How to sort Employee object based on salary,name in ascending order from Map<String, Map<String, ArrayList<Employee>>>using Java8 streams API Ask Question Asked 5 years, 4 …

  8. How to add elements of a Java8 stream into an existing List

    Mar 31, 2014 · Javadoc of Collector shows how to collect elements of a stream into a new List. Is there a one-liner that adds the results into an existing ArrayList?

  9. Modifying Objects within stream in Java8 while iterating

    Jun 11, 2015 · Modifying Objects within stream in Java8 while iterating Asked 10 years, 9 months ago Modified 3 years, 9 months ago Viewed 221k times

  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, 5 months ago Modified 1 year, 11 months ago Viewed 499k times