Posts by David Schrammel • 2,310 points
55 posts
-
2
votes1
answer68
viewsA: Is there something wrong with this code that sends a String to the server?
You can try it, URL url = new URL( "http://minhaURL" ); HttpURLConnection conn = ( HttpURLConnection ) url.openConnection(); conn.setRequestProperty( "Content-length", minhastring.length() );…
-
10
votes3
answers420
viewsQ: java.util.Map, best implementation considering just get(Object key)
I would like to know which class to implement java.util.Map contains the get(Object key) faster. The intention is to make a mini data cache, the volume of information will be approximately 2 to 10…
javaasked David Schrammel 2,310 -
9
votes1
answer197
viewsQ: if with a Matches or multiple comparisons?
Whereas I have a variable of the type String tipoResidencia that will never be null, and that I need to run a test, the default solution is this: if (tipoResidencia.equals("CASA") ||…
-
1
votes2
answers6625
viewsA: window.open javascript without the URL
Goodnight! Your code is correct, I performed tests with the following browsers. Mozilla Firefox Version 37.0.2 Google Chrome Version 44.0.2403.155 m Microsoft Edge 20.10240.16384.0 I know I should…
javascriptanswered David Schrammel 2,310 -
1
votes1
answer734
viewsA: div does not respect the size set in css
Your marking is not correct height='31 Whenever opening quotes you need to close, I suggest using a sublime IDE or any other to make it easier to read the code. height='31px'…