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

Path csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From Cecil Westerhof <Cecil@decebal.nl>
Newsgroups comp.lang.java.programmer
Subject Lambda function that takes no parameter and returns String
Date Sat, 24 Jun 2017 03:56:12 +0200
Organization Decebal Computing
Lines 8
Message-ID <87wp82m9mr.fsf@munus.decebal.nl> (permalink)
Mime-Version 1.0
Content-Type text/plain
Injection-Info mx02.eternal-september.org; posting-host="756f748cd053f5b8dbb6567eb1acb1d6"; logging-data="12911"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/2Bjjpg73n/6/q+Evf8mSLqD0fB5oGbBI="
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)
X-Homepage http://www.decebal.nl/
Cancel-Lock sha1:4dOOnYmUZb3qD0vGL9TvuUdE6FE= sha1:yOcGF/OVjHTGht+ruHkwQVeCxNs=
Xref csiph.com comp.lang.java.programmer:36707

Show key headers only | 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