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

Comment by Federico klez Culloca on LinkedList cannot be resolved to a type

Please [edit] your question to include a minimal reproducible example so that readers can run your code to answer your question.

View Article


Comment by Federico klez Culloca on In Java, whether length 1 primitive type...

Before focusing on memory performance (which you can measure with a profiler, by the way) I would go with correctness. Using an array to wrap a single value just because an array is technically an...

View Article


Comment by Federico klez Culloca on How to detect whether each element of a...

Remove that if and the alert. Just return v.classList.contains('hohlipidrili')

View Article

Comment by Federico klez Culloca on Where to start - interactive 2D floor map...

@jonsg asking for library suggestions is off-topic as well.

View Article

Comment by Federico klez Culloca on Java: Enhanced Loop without...

I don't know if you're open to not using an enhanced loop, but you can do something like var n = List.of("1", "2", "3").size(); while (n-->0) { System.out.println("p"); }

View Article


Comment by Federico klez Culloca on How can i use text wrap in backend

Hello and welcome. How are you generating that pdf?

View Article

Comment by Federico klez Culloca on Stop method from triggering if method...

I'm not sure I understand: why do you subtract distance from x and why do you check whether distance is at least 1? Anyway just check whether distance + x < 0 || distance + x > 4 and if that's...

View Article

Comment by Federico klez Culloca on how to change number from 17072e7 to...

Hello and welcome. See if the answers to this other question help.

View Article


Comment by Federico klez Culloca on Scanner skipping .hasNextDouble()

Can you please [edit] your question to include a sample of the file you're trying to read?

View Article


Comment by Federico klez Culloca on Why does this code cause an increase in...

Please [edit] your question to include a minimal reproducible example so that readers can run your code to answer your question. Also please explain what your code is supposed to do in the first place.

View Article

Comment by Federico klez Culloca on Application in Kiosk mode fails with...

"Caused" at the end indicates that there should be more log, which, incidentally, might explain what the actual problem is

View Article

Comment by Federico klez Culloca on I went to a system like Facebook or google

Please [edit] your question to provide more background details on your problem. Telling readers about your research, what you have already tried, and why it didn’t meet your needs will allow them to...

View Article

Comment by Federico klez Culloca on Null Pointer Exeption on my graphics (Im...

You never initialized g, so it's null, so when you try to do window.g.setColor you get the exception. Nothing misterious there. What where you trying to achieve here? Why is g a static member of window?

View Article


Comment by Federico klez Culloca on Will Java compiler optimize the for loop...

Suppose calculateResValue() modifies some external state. Would you want it to be optimized away?

View Article

Comment by Federico klez Culloca on Why does Java allow static methods within...

Maybe they meant that you should find a different type of solution because they expect you to apply something else they explained. Ask them to clarify what they meant.

View Article


Comment by Federico klez Culloca on Why does this code cause an increase in...

Please [edit] your question to include a minimal reproducible example so that readers can run your code to answer your question. Also please explain what your code is supposed to do in the first place.

View Article

Comment by Federico klez Culloca on Scanner skipping .hasNextDouble()

Can you please [edit] your question to include a sample of the file you're trying to read?

View Article


Comment by Federico klez Culloca on 2^x and other test cases do not work for...

@francis245 it's explained in the link f1sh gave you. TL;DR: a quick way would be to download nashorn (github.com/openjdk/nashorn) and add its jar to your classpath

View Article

Comment by Federico klez Culloca on Is there a Jakarta namespace version of...

Related: stackoverflow.com/a/76590516/133203

View Article

Comment by Federico klez Culloca on Why is my system using...

Are you using IntelliJ maybe?

View Article
Browsing all 485 articles
Browse latest View live


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