Tassos Bassoukos

Thessaloniki, Greece

tassos.bassoukos.gr

Age: 39

1d
answered scala : it is impossible to put a tuple as a function's argument
Jun
22
comment Java 8 - retry a method until a condition is fulfilled (in intervals)
Well, regarding the method itself, you could have a reference to the target object, its reflected Method and the required arguments. You could also encapsulate it in a lambda, but it definitely depends on how that method is passed - explicitly or discovered? what about parameters?
Jun
22
answered cannot figure out why System.out.println isn't working
Jun
22
comment Whenever I start eclipse i get these errors and it crashes
Have you tried running Java via the commandline? What does java -version say ?
Jun
22
comment why "==" working differently for integer and strings reference?
@G4uKu3 If I remember correctly, whenever you use new, you are guaranteed to get back a new object that is not equal (using ==) with any other object in the JVM.
Jun
11
comment Is it possible to make annotations be applicable to fields of a specific type?
@user3663882 Annotations by themselves do nothing, they attach data to a field/parameter/method/class.
Jun
4
comment Can I re-use tomcat threads that are currently waiting or sleeping?
Use some kind of async processing, and do not keep a connection thread idle & blocked for 2 minutes...
Jun
1
comment RxJava - How to keep observing an object until onError() / unsubscribing
Why can't you use Observable::distinct for this task?
Jun
1
comment Change the value of the leaves of a tree with the sum of the path from root to leaf
I'm sorry to sound harsh, but that mean you need to try more, and study more. How would you perform this task?
Jun
1
answered JavaEE application create a unique key using java.util.UUID
May
31
comment Running java programs inside a java program
Why not call the class directly?
May
31
answered How to limit web service access to one client?
May
29
answered How to select an item from a JList without using a button?
May
28
comment getResourceAsStream() returns null only when in jar file
Have you tried it without the leading slash ?
May
12
comment Can I have recursive function call inside parallel streams in java
The question you linked to is about arrays of primitives, but that does not apply to your case, as the child names are objects (you test for equality with null)
May
12
comment Can I have recursive function call inside parallel streams in java
@AkhilKKamal if you have local I/O you may cause too many non-sequential accesses, which bring down performance for both HDDs and SSDs.
May
12
answered Can I have recursive function call inside parallel streams in java
May
11
comment comment lines with syntax error
Why would you want to do that?
May
7
answered Accessing specific object fields from an ArrayList
Apr
30
answered java regex search and replace all?
1 2 3 4 5