Posts by Marcelo Haßlocher • 186 points
5 posts
-
1
votes2
answers2267
viewsA: What is the best way to run a java application as a Service on Windows (32 or 64 bit)?
The Install4j creates installers for Java applications, which in turn can be installed as services on Windows. It is a paid product, but allows you to manage various details of an…
-
2
votes3
answers1447
viewsA: Fork in Join in Java
There is a project called Java Concurrent Animated that created a demonstration application of Java capabilities in concurrent/ parallel programming. You can download a demo (with the fonts) that…
-
8
votes7
answers8546
viewsA: How to implement a linear regression algorithm?
I set up a small example in Java based on some examples I found on the Web. I used the data you provided... public class Main { public static void main(String[] args) { double[] x = {1, 2, 3, 4};…
-
1
votes4
answers2252
viewsA: What is the advantage of hiding the class constructor in favor of a static method (no .NET)?
Immutable Objects. The default setting for immutable objects is usually the definition of a private/protected constructor, the absence of sets, and the definition of constructors for the correct…
-
5
votes7
answers20675
viewsA: What are lambda Expressions? And what’s the point of using them?
I believe that the concept is more important than the way it is implemented. Lambda expressions are functions, the way we learn in high school. For a given value of X, we ALWAYS get a certain result…