Tangible Software Solutions
The Most Trusted Name in Source Code Conversion
The closest VB equivalent to Java's functional interfaces are VB delegates.
public interface FooFunctional
public class UseFunctionalInterface
FooFunctional funcVar = () -> voidMethod();
Public Delegate Sub FooFunctional()
Public Class UseFunctionalInterface
Friend Overridable Sub method()
Dim funcVar As FooFunctional = Sub() voidMethod()
Friend Overridable Sub voidMethod()
If you need to convert from Java to VB and you are depending on the results being reliable and accurate, then you will want to have Java to VB Converter, the best Java to VB converter, at your fingertips.
Copyright © 1997 - 2017 Tangible Software Solutions Inc.