Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #36707

Lambda function that takes no parameter and returns String

From Cecil Westerhof <Cecil@decebal.nl>
Newsgroups comp.lang.java.programmer
Subject Lambda function that takes no parameter and returns String
Date 2017-06-24 03:56 +0200
Organization Decebal Computing
Message-ID <87wp82m9mr.fsf@munus.decebal.nl> (permalink)

Show all headers | View raw


I want to start with lambda functions. How would I write a lambda
function that does not take a parameter and returns a String? And how
do I ascribe that lambda function to a variable?

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof

Back to comp.lang.java.programmer | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Lambda function that takes no parameter and returns String Cecil Westerhof <Cecil@decebal.nl> - 2017-06-24 03:56 +0200
  Re: Lambda function that takes no parameter and returns String Arne Vajhøj <arne@vajhoej.dk> - 2017-06-23 22:15 -0400
    Re: Lambda function that takes no parameter and returns String Arne Vajhøj <arne@vajhoej.dk> - 2017-06-23 22:18 -0400

csiph-web