• Saves Valuable Time
  • Trusted Accuracy since 2004
  • 15-Day Money-Back Guarantee

Java Equivalent to VB Lambdas

Expression Lambda

VB.NET Java
myVar = Function(text As String) text.Length myVar = (String text) -> text.Length;

Block Lambda

VB.NET Java
myVar = Function(text As String)
    Return text.Length
End Function
myVar = (String text) ->
{
    return text.Length;
}


Use VB to Java Converter to convert from VB.NET to Java.     

Additional resource: VB.NET and Java Equivalents


Copyright © 2004 – 2019 Tangible Software Solutions, Inc.