DO NOT USE FOR THE AWS SERVICE (use [aws-lambda] for those questions!
I have a question regarding the usage of the Function.identity() method. Imagine the following code: Arrays.asList("a", "b", "…
java lambda java-8 java-streamApologies if this has been asked before, but I couldn't see it anywhere. Essentially I've come across a scenario where …
python if-statement lambda ternary-operator conditional-operatorI've just started looking at Java 8 and to try out lambdas I thought I'd try to rewrite a very simple …
java map lambda java-8 java-streamIn Java, is it possible to have a lambda accept multiple different types? I.e: Single variable works: Function <…
java lambda java-8Modifying a local variable in forEach gives a compile error: Normal int ordinal = 0; for (Example s : list) { s.setOrdinal(ordinal); …
java lambda java-8How can I throw CHECKED exceptions from inside Java 8 streams/lambdas? In other words, I want to make code like …
java lambda java-8 java-stream checked-exceptionsI'm trying to make something like this: private String getStringIfObjectIsPresent(Optional<Object> object){ object.ifPresent(() ->{ String …
java lambda optionalI want to order a List of objects in C# by many fields, not just by one. For example, let's …
c# list lambda sql-order-byI currently have a page which is declared as follows: public partial class MyPage : System.Web.UI.Page { protected void …
c# performance events lambda