The Motley Fool Discussion Boards

Previous Page

Investing/Strategies / New Paradigm Investing

URL:  https://boards.fool.com/i-am-so-excited-to-be-able-to-test-run-the-34733133.aspx

Subject:  Re: Beating Cathie - The Machine Date:  1/26/2021  12:35 PM
Author:  FBella2019 Number:  117033 of 117651

I am so excited to be able to test run the program, considering i will be able to run and try it of course. :)

So, Captain, how did you like "Captain's ARK", for the machine you are building? i think it makes perfect sense.

and

Not my code, but does this work?


final List<String> numbers = Arrays.asList("1", "2", "3");

final List<String> filtered = numbers.stream()
.filter(num -> !"1".equals(num))
.collect(Collectors.toList());

Best Regards,

Bella
Copyright 1996-2021 trademark and the "Fool" logo is a trademark of The Motley Fool, Inc. Contact Us