Hi
Maybe this doc can push you into the right direction.
https://docs.oracle.com/en/java/java...assLoader.html
You could implement your own class loader into your app
You'd have to be more specific if you want more help though...
|
Hey guys, Do you happen to know if there's a library that doesnt bloat too much my codebase and provides lazy initialization? (For non singletons)
This is a feature in other programming languages such as c#
Hi
Maybe this doc can push you into the right direction.
https://docs.oracle.com/en/java/java...assLoader.html
You could implement your own class loader into your app
You'd have to be more specific if you want more help though...
Doesn't exactly answer your question, however Kotlin has this feature: https://kotlinlang.org/docs/referenc...ties.html#lazy
Kotlin in general has more features than Java, including other features from C# such as extension methods.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |