Quantcast
Channel: User Federico klez Culloca - Stack Overflow
Browsing all 494 articles
Browse latest View live
↧

Comment by Federico klez Culloca on The order of Hashtable.keySet()?

Also consider that for this kind of unordered collections (Sets in this case) a particular ordering is not guaranteed (from Set's documentation: "The iteration order of set elements is unspecified and...

View Article


Comment by Federico klez Culloca on can two methods with same name with same...

@Pankaj so what else do you need to know?

View Article


Comment by Federico klez Culloca on Annotations not working as intended in...

Doesn't that return the annotations on the class itself, not its members? In other words, isn't annotations.size == 1?

View Article

Comment by Federico klez Culloca on Create array out of value method calls in...

You mean an array containing the result of calling getA() on each element of listB? In that case it's a simple map operation and then collect to an array.

View Article

Comment by Federico klez Culloca on Create array out of value method calls in...

The conservative way is definitely wrong. That's not how you append elements to an array.

View Article


Comment by Federico klez Culloca on VS code Build failed even without any errors

See this

View Article

Comment by Federico klez Culloca on While settingup private repo on Nexus...

Better than what?

View Article

Comment by Federico klez Culloca on Canonical way to test if value is among...

Something like List.of(b,c,d).contains(a) may be a semantically equivalent solution.

View Article


Comment by Federico klez Culloca on Can't access database to save information...

@RomanC to be fair neither is the executeUpdate version that accepts an argument, like the one OP is using.

View Article


Comment by Federico klez Culloca on Solving hacker rank missed classes...

Please [edit] your question to include your own attempt.

View Article

Comment by Federico klez Culloca on how do i make a String.split() stop after...

Please [edit] your question to include the result you do want.

View Article

Comment by Federico klez Culloca on How is time complexity calculated for...

@Varun it should be based on the whole.

View Article

Comment by Federico klez Culloca on Lombok obfuscating compilation errors

If anything you should filter out everything else, no the lombok errors themselves.

View Article


Comment by Federico klez Culloca on How to send data from esp 32 to android...

Are we supposed to guess how your code works? Please provide a minimal reproducible example of the code that is not currently working.

View Article

Comment by Federico klez Culloca on Incompatible pointer types when declaring...

Choosing the correct language tag would be a good first step.

View Article


Comment by Federico klez Culloca on Is there a way to prevent the ".." folder...

In other words, your application should probably be running as a certain user that only has access to authorized folders.

View Article

Comment by Federico klez Culloca on Error when calling ".length" method on...

length is a method, not a property, so word.length()

View Article


Comment by Federico klez Culloca on How to break an iteration and modify...

Use loops instead. Streams are not the correct solution for everything and are not meant as a substitution for loops.

View Article

Comment by Federico klez Culloca on How to check which object type was passed...

You don't. You use polymorphism. I.e., it's claimObject that has different behavior depending on its own type, not the convert method.

View Article

Comment by Federico klez Culloca on How to check which object type was passed...

"as I know using instanceof is an anti-pattern", and they are right about that.

View Article
Browsing all 494 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>