id
stringlengths
36
36
question_id
int64
123
10.9M
chunk_index
int32
0
18
embedding_text
stringlengths
39
10k
dense_tokens
int32
11
1.02k
sparse_tokens
int32
11
1.02k
languages
listlengths
1
5
tags
listlengths
1
5
payload_json
stringlengths
413
573
dense
list
sparse_indices
listlengths
6
458
sparse_values
listlengths
6
458
1b7a4157-f11a-5277-a934-3b5b800c5e58
123
0
Title: Java lib or app to convert CSV to XML file? Is there an existing application or library in Java which will allow me to convert a CSV data file to XML file? The XML tags would be provided through possibly the first row containing column headings.
54
61
[ "java" ]
[ "java", "xml", "csv", "data-conversion" ]
{"accepted_answer_id":183,"answer_count":16,"chunk_count":1,"chunk_index":0,"closed_date":"2018-11-27T03:15:43.440000+00:00","creation_date":"2008-08-01T16:08:52.353000+00:00","has_accepted_answer":true,"is_closed":true,"languages":["java"],"last_activity_date":"2020-05-25T10:02:32.633000+00:00","last_edit_date":"2015-...
[ -0.005950927734375, -0.003955841064453125, -0.0131072998046875, 0.01087188720703125, -0.00923919677734375, -0.021148681640625, 0.0016088485717773438, 0.006011962890625, 0.007068634033203125, 0.0362548828125, -0.021270751953125, 0.0008988380432128906, 0.0167999267578125, -0.014434814453125,...
[ 23, 47, 142, 163, 313, 316, 707, 1221, 1294, 2053, 2071, 2685, 2806, 3129, 3365, 4027, 5117, 5180, 8305, 10336, 11435, 15555, 25474, 35773, 38415, 41925, 43486, 48962, 62952, 63769, 69141, 70541, 92537, 96760, 144573, 144681 ]
[ 0.1025390625, 0.1220703125, 0.0228271484375, 0.039794921875, 0.130859375, 0.06640625, 0.045166015625, 0.0546875, 0.111328125, 0.123046875, 0.0230712890625, 0.042236328125, 0.029052734375, 0.02490234375, 0.0274658203125, 0.1796875, 0.01171875, 0.00146484375, 0.05517578125, 0.068...
15b1689c-7149-5487-9c57-2405454d71fd
126
0
Title: How would you access Object properties from within an object method? What is the "purist" or "correct" way to access an object's properties from within an object method that is not a getter/setter method? I know that from outside of the object you should use a getter/setter, but from within would you just do:...
282
311
[ "java", "php" ]
[ "java", "php", "oop", "theory" ]
{"accepted_answer_id":127,"answer_count":18,"chunk_count":1,"chunk_index":0,"closed_date":"2012-05-08T18:11:27.270000+00:00","creation_date":"2008-08-01T16:10:30.337000+00:00","has_accepted_answer":true,"is_closed":true,"languages":["java","php"],"last_activity_date":"2024-07-11T22:00:17.193000+00:00","last_edit_date":...
[ -0.01549530029296875, 0.01165008544921875, 0.0017080307006835938, 0.0013599395751953125, 0.025665283203125, -0.0309906005859375, 0.01271820068359375, 0.044219970703125, -0.0289764404296875, -0.0033855438232421875, -0.0418701171875, 0.0024089813232421875, 0.0137786865234375, -0.010467529296...
[ 4, 5, 6, 7, 10, 47, 54, 56, 58, 64, 74, 87, 100, 111, 132, 136, 186, 214, 237, 297, 442, 450, 509, 621, 720, 903, 939, 959, 1264, 1295, 1419, 1660, 2046, 2174, 2203, 2449, 2806, 2940, 3142, 3650, 3714, 3794, 3835, 3871, 3917, ...
[ 0.0029296875, 0.029296875, 0.0029296875, 0.00341796875, 0.004150390625, 0.0029296875, 0.0184326171875, 0.171875, 0.001708984375, 0.038818359375, 0.001708984375, 0.0029296875, 0.002685546875, 0.095703125, 0.00146484375, 0.0673828125, 0.002685546875, 0.06201171875, 0.002197265625, ...
4c22684b-7657-54cd-9f00-72c7b1049975
382
0
Title: What is the meaning of the type safety warning in certain Java generics casts? What is the meaning of the Java warning? Type safety: The cast from Object to List<Integer> is actually checking against the erased type List I get this warning when I try to cast an Object to a type with generic information,...
94
107
[ "java" ]
[ "java", "generics", "warnings", "casting", "type-safety" ]
{"accepted_answer_id":384,"answer_count":1,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-02T08:58:27.540000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["java"],"last_activity_date":"2021-11-02T07:46:01.727000+00:00","last_edit_date":"2019-04-17T19:47:56.127000+00:00","...
[ 0.0102081298828125, 0.013946533203125, -0.0167388916015625, 0.0009274482727050781, 0.0020771026611328125, -0.01323699951171875, -0.007122039794921875, 0.0303955078125, 0.0180511474609375, 0.02386474609375, -0.033233642578125, 0.00400543212890625, -0.033966064453125, -0.022552490234375, 0...
[ 7, 12, 47, 67, 70, 83, 111, 592, 903, 1295, 1505, 1615, 1631, 2046, 4677, 4865, 5281, 5303, 9790, 10644, 18151, 20653, 24233, 26548, 31852, 32036, 36746, 37702, 41925, 60457, 81900, 91084, 134549, 154663, 175199, 189534 ]
[ 0.03076171875, 0.00830078125, 0.0947265625, 0.1201171875, 0.0595703125, 0.053466796875, 0.0419921875, 0.1279296875, 0.045166015625, 0.058837890625, 0.142578125, 0.076171875, 0.169921875, 0.0107421875, 0.0556640625, 0.03076171875, 0.09765625, 0.06640625, 0.043212890625, 0.244140...
90f2dd35-8ea7-5954-a689-2d2a01d8d80d
564
0
Title: What is the difference between an int and an Integer in Java and C#? I was reading More Joel on Software when I came across Joel Spolsky saying something about a particular type of programmer knowing the difference between an int and an Integer in Java/C# (Object-Oriented Programming Languages). So, what is t...
72
76
[ "c#", "java" ]
[ "c#", "java", "integer", "int" ]
{"accepted_answer_id":566,"answer_count":26,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-02T21:47:34.820000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["c#","java"],"last_activity_date":"2022-12-23T23:40:23.233000+00:00","last_edit_date":"2020-03-18T11:24:39.983000+00...
[ 0.017425537109375, -0.0127410888671875, -0.00882720947265625, -0.00728607177734375, 0.0195465087890625, -0.00731658935546875, -0.003643035888671875, 0.0301055908203125, -0.000043272972106933594, 0.00011014938354492188, -0.053314208984375, 0.00382232666015625, 0.0117340087890625, 0.01279449...
[ 18, 23, 64, 70, 83, 98, 136, 142, 313, 441, 2367, 4865, 4904, 4922, 5455, 10644, 16454, 17721, 23752, 27958, 41925, 44401, 46471, 48962, 54433, 60212, 75161, 77848, 83658, 141956, 148527, 165168, 188320 ]
[ 0.228515625, 0.1767578125, 0.07568359375, 0.1103515625, 0.040771484375, 0.031982421875, 0.15625, 0.087890625, 0.048828125, 0.037353515625, 0.05615234375, 0.078125, 0.1865234375, 0.1318359375, 0.03271484375, 0.1142578125, 0.021240234375, 0.1396484375, 0.09130859375, 0.1162109375...
93f71824-e5a3-5441-bad4-83c94223e790
2,092
0
Title: How to get started writing a code coverage tool? Looking for books or other references that discuss actually how to write a code coverage tool in Java; some of the various techniques or tricks - source vs. byte code instrumentation. This is for a scripting language that generates Java byte code under the hoo...
64
71
[ "java" ]
[ "java", "testing", "coldfusion", "code-coverage" ]
{"accepted_answer_id":null,"answer_count":5,"chunk_count":1,"chunk_index":0,"closed_date":"2020-10-08T02:15:49.693000+00:00","creation_date":"2008-08-05T11:15:16.953000+00:00","has_accepted_answer":false,"is_closed":true,"languages":["java"],"last_activity_date":"2019-05-26T05:06:06.703000+00:00","last_edit_date":"2017...
[ 0.0009889602661132812, -0.01094818115234375, -0.000885009765625, -0.033538818359375, 0.01505279541015625, -0.0179595947265625, 0.0135650634765625, 0.01629638671875, -0.0020084381103515625, -0.00844573974609375, -0.0279541015625, 0.0428466796875, 0.03759765625, 0.0014057159423828125, 0.02...
[ 10, 23, 67, 390, 1379, 2046, 2320, 3642, 11249, 13984, 18151, 20209, 20653, 26499, 26859, 31344, 32562, 33022, 41925, 42840, 44462, 45252, 46876, 53088, 55516, 67842, 88308, 91067, 139392, 154271, 157268 ]
[ 0.0458984375, 0.048583984375, 0.130859375, 0.1162109375, 0.125, 0.0439453125, 0.038330078125, 0.0634765625, 0.048095703125, 0.20703125, 0.2255859375, 0.10595703125, 0.0267333984375, 0.1533203125, 0.123046875, 0.193359375, 0.1962890625, 0.2109375, 0.2197265625, 0.1435546875, 0...
0f8055f0-8122-553d-bf88-da4c94eb88e1
2,158
0
Title: Creating a custom JButton in Java Is there a way to create a JButton with your own button graphic and not just with an image inside the button? If not, is there another way to create a custom JButton in java?
50
57
[ "java" ]
[ "java", "swing", "jbutton" ]
{"accepted_answer_id":2245,"answer_count":5,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-05T12:15:08.283000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["java"],"last_activity_date":"2018-08-09T09:56:03.203000+00:00","last_edit_date":"2017-11-07T00:39:07.857000+00:00",...
[ 0.0180816650390625, 0.0335693359375, 0.038787841796875, 0.0186767578125, 0.0106964111328125, -0.00034356117248535156, -0.0202178955078125, 0.0173797607421875, -0.0191497802734375, 0.02813720703125, 0.004108428955078125, 0.03924560546875, 0.032867431640625, -0.0145416259765625, 0.01548767...
[ 23, 70, 79, 136, 330, 678, 821, 935, 1507, 2685, 3917, 10002, 15700, 28282, 29569, 41925, 46132, 48461, 48962, 56781, 77679, 82212, 114122 ]
[ 0.0107421875, 0.015625, 0.1083984375, 0.001953125, 0.1689453125, 0.05615234375, 0.1884765625, 0.025146484375, 0.1962890625, 0.0048828125, 0.09033203125, 0.1435546875, 0.029052734375, 0.1435546875, 0.1083984375, 0.2041015625, 0.078125, 0.1875, 0.02880859375, 0.0947265625, 0.20...
5d89808f-8ba3-58d3-a6ec-ac5e5703bf35
2,931
0
Title: Getting started with a custom JXTA PeerGroup I have been working with JXTA 2.3 for the last year or so for a peer-to-peer computing platform I am developing. I am migrating to JXTA 2.5 and in the process I am trying to clean up a lot of my use of JXTA. For the most part, I approached JXTA with a just make it wo...
294
327
[ "java" ]
[ "java", "p2p", "jxta" ]
{"accepted_answer_id":null,"answer_count":1,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-05T22:23:16.183000+00:00","has_accepted_answer":false,"is_closed":false,"languages":["java"],"last_activity_date":"2021-06-15T15:55:33.300000+00:00","last_edit_date":"2015-10-27T09:35:19.443000+00:00"...
[ 0.0168304443359375, 0.023101806640625, 0.0155181884765625, -0.005863189697265625, -0.00201416015625, -0.0243988037109375, -0.0155181884765625, 0.01007080078125, 0.006130218505859375, 0.01202392578125, -0.033172607421875, 0.00923919677734375, 0.040740966796875, 0.01480865478515625, 0.0069...
[ 4, 5, 7, 9, 10, 23, 47, 56, 70, 83, 87, 136, 170, 186, 188, 214, 276, 280, 297, 397, 442, 538, 645, 678, 765, 821, 919, 1081, 1286, 1314, 1326, 1460, 1542, 1916, 2043, 3249, 3525, 3688, 4488, 4527, 4817, 5117, 5259, 5303, 5915, ...
[ 0.0009765625, 0.03173828125, 0.00048828125, 0.046875, 0.000732421875, 0.000244140625, 0.000732421875, 0.1416015625, 0.001220703125, 0.0009765625, 0.00048828125, 0.000244140625, 0.0615234375, 0.000244140625, 0.087890625, 0.0009765625, 0.0947265625, 0.1396484375, 0.00146484375, 0...
b83c86d7-7d7e-559d-a662-70ff1da9bfb8
2,968
0
Title: What are the different methods to parse strings in Java? For parsing player commands, I've most often used the split method to split a string by delimiters and then to then just figure out the rest by a series of ifs or switches. What are some different ways of parsing strings in Java?
63
73
[ "java" ]
[ "java", "string", "parsing" ]
{"accepted_answer_id":2985,"answer_count":15,"chunk_count":1,"chunk_index":0,"closed_date":"2014-05-13T17:04:48.707000+00:00","creation_date":"2008-08-05T23:49:53.560000+00:00","has_accepted_answer":true,"is_closed":true,"languages":["java"],"last_activity_date":"2015-10-27T10:00:40.993000+00:00","last_edit_date":"2014...
[ -0.003368377685546875, -0.0016613006591796875, -0.004302978515625, -0.0187530517578125, 0.00531005859375, -0.03253173828125, -0.00243377685546875, 0.01922607421875, -0.014892578125, 0.0048675537109375, -0.0635986328125, 0.0163726806640625, 0.025634765625, -0.00162506103515625, 0.02528381...
[ 7, 8, 23, 47, 70, 111, 184, 272, 366, 390, 621, 1314, 2174, 2684, 3060, 4865, 6953, 10588, 11814, 12921, 26366, 27983, 41925, 48322, 55300, 58585, 65450, 75101, 79315, 93343, 101089, 150624 ]
[ 0.03955078125, 0.06591796875, 0.06591796875, 0.03955078125, 0.030517578125, 0.00341796875, 0.123046875, 0.000732421875, 0.1689453125, 0.007080078125, 0.003662109375, 0.0218505859375, 0.08447265625, 0.05517578125, 0.0107421875, 0.0224609375, 0.10498046875, 0.0294189453125, 0.06787...
0154c3d7-c605-5e97-b80b-12d95e6bf1a3
3,049
0
Title: How do I configure and communicate with a serial port? I need to send and receive data over serial connections (RS-232 and RS-422). How do I set up and communicate with such a connection? How do I figure out what the configuration settings (e.g. baud rate) should be and how do I set them? In particular, I a...
114
123
[ "c++", "java" ]
[ "java", "c++", "windows", "unix" ]
{"accepted_answer_id":3054,"answer_count":10,"chunk_count":1,"chunk_index":0,"closed_date":"2018-09-26T14:00:05.530000+00:00","creation_date":"2008-08-06T03:19:19.470000+00:00","has_accepted_answer":true,"is_closed":true,"languages":["c++","java"],"last_activity_date":"2024-01-09T10:56:57.947000+00:00","last_edit_date"...
[ -0.0235137939453125, 0.01910400390625, -0.039154052734375, 0.00026488304138183594, -0.03509521484375, -0.046783447265625, -0.0012235641479492188, -0.0012083053588867188, 0.017669677734375, 0.0273284912109375, -0.047515869140625, 0.020172119140625, 0.0278167724609375, -0.012176513671875, ...
[ 10, 23, 54, 64, 67, 87, 136, 289, 313, 449, 645, 678, 903, 992, 1257, 1264, 2053, 2856, 3642, 3773, 3871, 4084, 5423, 5608, 6044, 11249, 11469, 11565, 13036, 15396, 16487, 17311, 17368, 18912, 25379, 26366, 30524, 33946, 34515, 35686, 3...
[ 0.024169921875, 0.0078125, 0.060546875, 0.008544921875, 0.09375, 0.0859375, 0.09130859375, 0.0283203125, 0.0260009765625, 0.032470703125, 0.0771484375, 0.17578125, 0.005126953125, 0.059814453125, 0.119140625, 0.019287109375, 0.103515625, 0.00439453125, 0.01171875, 0.08984375, ...
22fe7d54-b4a8-51ae-9262-3de2dfdf03ad
3,881
0
Title: IllegalArgumentException or NullPointerException for a null parameter? I have a simple setter method for a property and null is not appropriate for this particular property. I have always been torn in this situation: should I throw an IllegalArgumentException, or a NullPointerException? From the javadocs, both ...
90
112
[ "java" ]
[ "java", "exception", "null", "nullpointerexception", "illegalargumentexception" ]
{"accepted_answer_id":3886,"answer_count":26,"chunk_count":1,"chunk_index":0,"closed_date":"2016-09-23T13:34:31.323000+00:00","creation_date":"2008-08-06T19:26:30.627000+00:00","has_accepted_answer":true,"is_closed":true,"languages":["java"],"last_activity_date":"2025-09-02T12:58:54.730000+00:00","last_edit_date":"2014...
[ 0.004726409912109375, 0.01239776611328125, -0.0160064697265625, -0.005748748779296875, 0.02154541015625, -0.015533447265625, -0.01499176025390625, 0.0276947021484375, 0.01233673095703125, 0.002468109130859375, -0.0616455078125, 0.006622314453125, 0.01119232177734375, -0.0016021728515625, ...
[ 56, 79, 83, 100, 674, 707, 891, 959, 1181, 1234, 1429, 2809, 4439, 5570, 5608, 7614, 8781, 11343, 12601, 15044, 16648, 19279, 26785, 34952, 48903, 55300, 56574, 57266, 63928, 64183, 86966, 88685, 89778, 95307, 104250, 147534, 171859, 217064 ]
[ 0.123046875, 0.056640625, 0.031494140625, 0.0107421875, 0.0771484375, 0.037353515625, 0.083984375, 0.059326171875, 0.13671875, 0.2060546875, 0.1689453125, 0.013671875, 0.017578125, 0.1181640625, 0.03466796875, 0.0947265625, 0.0673828125, 0.025390625, 0.0791015625, 0.068359375, ...
ebaf8a15-8de6-5311-8348-1bb3449c07a6
4,080
0
Title: What code analysis tools do you use for your Java projects? What code analysis tools do you use on your Java projects? I am interested in all kinds static code analysis tools (FindBugs, PMD, and any others) code coverage tools (Cobertura, Emma, and any others) any other instrumentation-based tools a...
140
142
[ "java" ]
[ "java", "code-coverage", "static-analysis" ]
{"accepted_answer_id":79845,"answer_count":12,"chunk_count":1,"chunk_index":0,"closed_date":"2012-05-05T13:39:59.117000+00:00","creation_date":"2008-08-06T22:45:27.543000+00:00","has_accepted_answer":true,"is_closed":true,"languages":["java"],"last_activity_date":"2014-04-29T06:05:47.530000+00:00","last_edit_date":"201...
[ -0.01535797119140625, -0.00933074951171875, -0.01027679443359375, -0.00926971435546875, 0.047027587890625, 0.02740478515625, 0.007205963134765625, 0.030120849609375, 0.0086212158203125, -0.013641357421875, -0.038970947265625, 0.0220947265625, 0.029296875, 0.0187835693359375, 0.0051383972...
[ 54, 98, 100, 397, 398, 756, 935, 959, 1297, 2174, 2499, 3595, 3917, 4527, 4677, 4865, 7198, 7235, 8562, 9405, 10625, 11341, 13984, 18151, 19882, 29458, 36497, 41925, 41965, 45367, 48962, 51627, 55516, 60892, 69993, 72977, 77007, 77635, 7877...
[ 0.04296875, 0.08984375, 0.0859375, 0.138671875, 0.078125, 0.01708984375, 0.027099609375, 0.012451171875, 0.0849609375, 0.02294921875, 0.006591796875, 0.1962890625, 0.0087890625, 0.16015625, 0.048095703125, 0.08740234375, 0.130859375, 0.130859375, 0.0693359375, 0.166015625, 0....
be21afec-1b82-5065-a593-47b5d5c40442
4,149
0
Title: How do I use Java to read from a file that is actively being written to? I have an application that writes information to file. This information is used post-execution to determine pass/failure/correctness of the application. I'd like to be able to read the file as it is being written so that I can do these pas...
166
183
[ "java" ]
[ "java", "file", "file-io" ]
{"accepted_answer_id":154588,"answer_count":9,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-06T23:57:10.173000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["java"],"last_activity_date":"2017-11-02T22:09:31.077000+00:00","last_edit_date":"2017-11-02T22:09:31.077000+00:00...
[ -0.0021419525146484375, -0.001232147216796875, -0.01438140869140625, 0.005985260009765625, 0.01168060302734375, -0.0193634033203125, -0.00634002685546875, 0.037567138671875, 0.04437255859375, 0.019134521484375, -0.01995849609375, -0.0219573974609375, 0.0272369384765625, -0.039215087890625,...
[ 7, 47, 54, 83, 237, 297, 450, 667, 1010, 1286, 1295, 1305, 1436, 1733, 1884, 2773, 3917, 4163, 4527, 4677, 7432, 7722, 8035, 11249, 11435, 11814, 12301, 12765, 15390, 16454, 17368, 18234, 19048, 25944, 27875, 32399, 32562, 33022, 36457, 3...
[ 0.0029296875, 0.109375, 0.01171875, 0.0302734375, 0.1201171875, 0.05126953125, 0.004638671875, 0.041015625, 0.06640625, 0.029541015625, 0.1513671875, 0.0849609375, 0.1669921875, 0.0986328125, 0.0830078125, 0.0966796875, 0.026611328125, 0.0830078125, 0.08544921875, 0.0810546875,...
f38c3163-8a46-5cee-8142-ad9094d79884
4,242
0
Title: Why doesn't Java autoboxing extend to method invocations of methods of the autoboxed types? I want to convert a primitive to a string, and I tried: myInt.toString(); This fails with the error: int cannot be dereferenced Now, I get that primitives are not reference types (i.e., not an Object) and so ...
184
207
[ "java" ]
[ "java", "autoboxing" ]
{"accepted_answer_id":4247,"answer_count":8,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-07T01:05:15.420000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["java"],"last_activity_date":"2026-06-04T15:58:06.180000+00:00","last_edit_date":"2026-05-25T20:42:07.963000+00:00",...
[ 0.01544189453125, -0.0010099411010742188, 0.016387939453125, -0.044189453125, 0.004215240478515625, -0.017578125, 0.007274627685546875, 0.0577392578125, -0.0306549072265625, 0.0294647216796875, -0.02886962890625, 0.0260162353515625, -0.0095062255859375, -0.0177001953125, 0.00187873840332...
[ 8, 10, 13, 18, 23, 47, 51, 90, 132, 136, 186, 188, 190, 214, 277, 297, 309, 759, 765, 959, 1809, 1884, 3444, 4153, 4904, 5256, 6044, 8306, 11728, 11782, 16610, 18499, 22027, 29458, 35782, 36917, 37842, 41206, 41925, 44084, 44401, 5289...
[ 0.1318359375, 0.000732421875, 0.0615234375, 0.1494140625, 0.06396484375, 0.1572265625, 0.050537109375, 0.09130859375, 0.09716796875, 0.002685546875, 0.03271484375, 0.10546875, 0.1142578125, 0.1162109375, 0.04541015625, 0.036376953125, 0.02978515625, 0.1240234375, 0.04345703125, ...
ab9dc94f-0295-5f0d-b028-c5936e26c147
4,630
0
Title: How can I Java webstart multiple, dependent, native libraries? Example: I have two shared objects (same should apply to .dlls). The first shared object is from a third-party library, we'll call it libA.so. I have wrapped some of this with JNI and created my own library, libB.so. Now libB depends on libA. When...
192
222
[ "java" ]
[ "java", "java-native-interface", "java-web-start" ]
{"accepted_answer_id":478658,"answer_count":3,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-07T12:26:50.707000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["java"],"last_activity_date":"2019-07-31T20:53:23.437000+00:00","last_edit_date":"2019-07-31T20:53:23.437000+00:00...
[ 0.0128936767578125, 0.00839996337890625, 0.001312255859375, -0.0299835205078125, 0.01073455810546875, 0.02423095703125, -0.0160675048828125, 0.03765869140625, -0.01439666748046875, -0.018829345703125, -0.03143310546875, 0.01343536376953125, 0.032867431640625, 0.00659942626953125, -0.0053...
[ 5, 24, 56, 71, 79, 98, 100, 150, 163, 214, 284, 330, 571, 821, 831, 959, 991, 1294, 1467, 1556, 2234, 2844, 3126, 3249, 3564, 3917, 4358, 4488, 4935, 5117, 5426, 6626, 7464, 7787, 8108, 9969, 10002, 10484, 11249, 11782, 11787, 11814, ...
[ 0.03759765625, 0.126953125, 0.044189453125, 0.041259765625, 0.1279296875, 0.011962890625, 0.0302734375, 0.037109375, 0.002197265625, 0.04931640625, 0.1708984375, 0.18359375, 0.2109375, 0.05810546875, 0.07275390625, 0.0859375, 0.14453125, 0.0654296875, 0.171875, 0.0087890625, ...
8940354d-4d0f-5d38-9477-0e5810ab7ffb
4,922
0
Title: Is this really widening vs autoboxing? I saw this in an answer to another question, in reference to shortcomings of the Java spec: There are more shortcomings and this is a subtle topic. Check this out: public class methodOverloading{ public static void hello(Integer x){ System.out.println(...
259
306
[ "java" ]
[ "java", "primitive", "autoboxing" ]
{"accepted_answer_id":5091,"answer_count":3,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-07T16:30:32.180000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["java"],"last_activity_date":"2018-04-24T20:33:39.063000+00:00","last_edit_date":"2020-06-20T09:12:55.060000+00:00",...
[ 0.02178955078125, -0.023590087890625, 0.00601959228515625, -0.04022216796875, 0.01318359375, -0.019256591796875, 0.035400390625, 0.03131103515625, 0.0209503173828125, -0.0054473876953125, -0.04815673828125, 0.033477783203125, -0.002513885498046875, -0.01312255859375, 0.0181732177734375, ...
[ 14, 17, 18, 23, 31, 47, 67, 79, 190, 214, 277, 330, 517, 592, 645, 866, 903, 959, 1022, 1505, 1809, 2071, 2292, 2806, 3688, 3835, 4021, 4153, 4527, 5201, 6056, 6183, 7730, 9969, 10617, 11728, 12353, 16610, 17368, 17991, 18231, 18507, ...
[ 0.00927734375, 0.111328125, 0.047607421875, 0.04345703125, 0.158203125, 0.00927734375, 0.1689453125, 0.1123046875, 0.10546875, 0.10205078125, 0.0791015625, 0.1630859375, 0.002685546875, 0.142578125, 0.060546875, 0.00634765625, 0.0634765625, 0.043701171875, 0.134765625, 0.186523...
c11d89ac-a4ea-510a-881b-21ff04f35247
5,222
0
Title: Accessing post variables using Java Servlets What is the Java equivalent of PHP's $_POST? After searching the web for an hour, I'm still nowhere closer.
38
45
[ "java" ]
[ "java", "http", "servlets" ]
{"accepted_answer_id":5224,"answer_count":5,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-07T19:39:31.240000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["java"],"last_activity_date":"2018-04-19T13:12:43.453000+00:00","last_edit_date":"2015-07-25T13:10:57.280000+00:00",...
[ 0.0016002655029296875, -0.01184844970703125, 0.00702667236328125, -0.020965576171875, -0.01381683349609375, -0.0251312255859375, 0.0191802978515625, 0.0164337158203125, -0.0228729248046875, 0.0164337158203125, -0.05096435546875, 0.0078582763671875, 0.038360595703125, -0.01494598388671875, ...
[ 70, 83, 111, 214, 454, 683, 933, 1305, 1467, 3650, 5406, 7464, 17368, 20903, 34274, 40266, 41925, 47217, 47302, 56816, 77336, 136913, 157318, 183234 ]
[ 0.025634765625, 0.045654296875, 0.0206298828125, 0.007080078125, 0.0361328125, 0.1162109375, 0.119140625, 0.1650390625, 0.004638671875, 0.1328125, 0.0712890625, 0.034912109375, 0.00341796875, 0.04443359375, 0.2060546875, 0.1044921875, 0.2314453125, 0.1103515625, 0.1982421875, 0...
ec50b0d7-b558-5a64-8884-f7e3e1492e98
5,328
0
Title: Why can't I use a try block around my super() call? So, in Java, the first line of your constructor HAS to be a call to super... be it implicitly calling super(), or explicitly calling another constructor. What I want to know is, why can't I put a try block around that? My specific case is that I have a mock ...
374
418
[ "java" ]
[ "java", "exception", "mocking", "try-catch" ]
{"accepted_answer_id":5351,"answer_count":7,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-07T21:17:56.813000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["java"],"last_activity_date":"2019-06-27T15:18:32.357000+00:00","last_edit_date":"2014-11-06T01:45:28.287000+00:00",...
[ -0.0007233619689941406, 0.0174713134765625, 0.0123443603515625, -0.0131072998046875, 0.0295257568359375, -0.0030117034912109375, 0.01482391357421875, 0.044647216796875, 0.017120361328125, 0.0095062255859375, -0.031402587890625, 0.001934051513671875, -0.00803375244140625, -0.005374908447265...
[ 10, 18, 23, 28, 42, 47, 54, 92, 110, 111, 132, 163, 186, 297, 416, 450, 517, 748, 765, 831, 1601, 2501, 2594, 2633, 2646, 2965, 3034, 3038, 3444, 3525, 3714, 3835, 3884, 4488, 4527, 5117, 5443, 6032, 6892, 7225, 8698, 8781, 9083, ...
[ 0.0294189453125, 0.087890625, 0.0029296875, 0.1513671875, 0.002197265625, 0.03564453125, 0.047119140625, 0.1357421875, 0.000732421875, 0.00146484375, 0.05322265625, 0.0009765625, 0.021728515625, 0.005126953125, 0.078125, 0.07421875, 0.0087890625, 0.1259765625, 0.03125, 0.123046...
2f12de51-413b-5519-9c53-2792f2304465
5,527
0
Title: Is there a real benefit of using J#? I just saw a comment of suggesting J#, and it made me wonder... is there a real, beneficial use of J# over Java? So, my feeling is that the only reason you would even consider using J# is that management has decreed that the company should jump on the Java bandwagon... and t...
220
242
[ "java" ]
[ "java", "j#" ]
{"accepted_answer_id":5532,"answer_count":8,"chunk_count":1,"chunk_index":0,"closed_date":"2020-10-08T08:06:15.360000+00:00","creation_date":"2008-08-08T01:04:02.300000+00:00","has_accepted_answer":true,"is_closed":true,"languages":["java"],"last_activity_date":"2008-09-12T20:27:48.340000+00:00","last_edit_date":"2017-...
[ 0.0085296630859375, -0.024444580078125, -0.01457977294921875, 0.017181396484375, 0.0121002197265625, 0.0196075439453125, -0.01373291015625, 0.0157318115234375, -0.0001531839370727539, -0.007472991943359375, -0.025177001953125, 0.0085906982421875, 0.0156097412109375, 0.0010213851928710938, ...
[ 4, 5, 6, 7, 8, 10, 13, 23, 25, 39, 47, 70, 71, 98, 99, 111, 141, 214, 272, 297, 313, 388, 538, 621, 634, 645, 738, 821, 959, 1264, 1660, 2071, 2174, 2685, 2773, 2806, 3688, 3853, 4263, 4393, 4527, 4734, 4904, 5608, 6126, 6868,...
[ 0.00439453125, 0.01904296875, 0.00146484375, 0.004150390625, 0.009033203125, 0.08251953125, 0.004150390625, 0.0107421875, 0.004150390625, 0.00439453125, 0.00439453125, 0.01220703125, 0.0048828125, 0.02978515625, 0.00439453125, 0.07177734375, 0.050537109375, 0.052001953125, 0.0097...
ed5f8e62-c693-5206-9e0d-fd9e8e9c6418
5,855
0
Title: Automate builds for Java RCP for deployment with JNLP I've found many sources that talk about the automated Eclipse PDE process. I feel these sources don't do a good job explaining what's going on. I can create the deployable package, in a semi-manual process via the Feature Export. The automated process r...
124
145
[ "java" ]
[ "java", "build-automation", "rcp", "jnlp" ]
{"accepted_answer_id":6687,"answer_count":1,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-08T12:40:02.793000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["java"],"last_activity_date":"2020-06-13T09:15:36.750000+00:00","last_edit_date":null,"question_id":5855,"score":9,"...
[ -0.01336669921875, 0.01491546630859375, 0.016632080078125, 0.002124786376953125, 0.005199432373046875, 0.00698089599609375, -0.0230560302734375, 0.0313720703125, -0.01806640625, -0.0150909423828125, -0.039703369140625, 0.005496978759765625, 0.063232421875, 0.01045989990234375, 0.01277923...
[ 7, 8, 13, 53, 70, 100, 112, 184, 254, 297, 436, 627, 669, 831, 959, 2886, 4488, 8305, 8399, 9433, 11408, 12319, 13158, 17669, 17854, 19048, 20605, 22120, 26499, 28282, 30910, 35672, 36137, 37352, 41925, 45367, 51359, 51719, 68185, 73342, ...
[ 0.0654296875, 0.060302734375, 0.0791015625, 0.03515625, 0.010498046875, 0.0152587890625, 0.21484375, 0.099609375, 0.060302734375, 0.0380859375, 0.107421875, 0.0966796875, 0.048095703125, 0.013427734375, 0.0029296875, 0.07080078125, 0.04443359375, 0.0439453125, 0.255859375, 0.11...
f083a675-9a68-5ba9-ae36-8d77e3d31cc3
6,222
0
Title: Eclipse on win64 Is anyone successfully using the latest 64-bit Ganymede release of Eclipse on Windows XP or Vista 64-bit? Currently I run the normal Eclipse 3.4 distribution on a 32bit JDK and launch & compile my apps with a 64bit JDK. Our previous experience has been that the 64bit Eclipse distro is unstabl...
114
104
[ "java" ]
[ "java", "eclipse", "eclipse-3.4", "ganymede" ]
{"accepted_answer_id":7877,"answer_count":2,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-08T18:17:50.460000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["java"],"last_activity_date":"2015-11-30T00:48:34.950000+00:00","last_edit_date":"2008-10-11T14:41:37.377000+00:00",...
[ -0.017547607421875, -0.007213592529296875, -0.006038665771484375, 0.0034313201904296875, 0.031341552734375, -0.0067138671875, -0.0438232421875, 0.046875, 0.0197906494140625, -0.042633056640625, -0.0130157470703125, -0.0016489028930664062, 0.0213165283203125, -0.00942230224609375, 0.04711...
[ 9, 45, 83, 87, 98, 100, 111, 299, 442, 538, 619, 678, 707, 821, 1340, 2071, 2234, 2389, 2789, 2902, 3137, 3638, 3773, 6639, 7911, 8194, 9969, 11675, 13307, 16981, 17368, 19916, 22819, 35672, 42850, 45005, 45461, 48962, 49470, 49966, 517...
[ 0.005859375, 0.0400390625, 0.019287109375, 0.008056640625, 0.1015625, 0.01318359375, 0.050537109375, 0.1357421875, 0.008056640625, 0.054931640625, 0.01416015625, 0.003662109375, 0.05224609375, 0.1572265625, 0.03369140625, 0.035400390625, 0.06201171875, 0.0888671875, 0.17578125, ...
6426f24b-ef84-51a2-8cd5-cbaf311fca1f
6,392
0
Title: Java Time Zone is messed up I am running a Tomcat application, and I need to display some time values. Unfortunately, the time is coming up an hour off. I looked into it and discovered that my default TimeZone is being set to: sun.util.calendar.ZoneInfo[id="GMT-08:00", offset=-28800...
476
514
[ "java" ]
[ "java", "linux", "timezone" ]
{"accepted_answer_id":6496,"answer_count":4,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-08T21:24:01.490000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["java"],"last_activity_date":"2021-02-27T20:36:19.483000+00:00","last_edit_date":"2016-02-07T18:06:11.540000+00:00",...
[ 0.00894927978515625, -0.0013036727905273438, -0.029632568359375, -0.00536346435546875, -0.0076446533203125, 0.01250457763671875, -0.0178985595703125, 0.060455322265625, 0.007556915283203125, -0.00989532470703125, 0.0136871337890625, -0.00634002685546875, 0.032958984375, -0.04315185546875, ...
[ 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 20, 23, 25, 34, 47, 53, 54, 56, 64, 70, 71, 83, 86, 87, 98, 100, 104, 110, 111, 133, 136, 142, 184, 186, 191, 221, 237, 271, 297, 391, 397, 398, 442, 444, 450, 456, 532, 538, 568, 678,...
[ 0.01416015625, 0.013916015625, 0.01171875, 0.01416015625, 0.00439453125, 0.013671875, 0.013671875, 0.013671875, 0.0140380859375, 0.011962890625, 0.014892578125, 0.013427734375, 0.013427734375, 0.013916015625, 0.06689453125, 0.1123046875, 0.010986328125, 0.012939453125, 0.01367187...
dd6122c0-6a92-568d-83dc-0e9ee3f1c75b
6,612
0
Title: Are there any decent free Java data plotting libraries out there? On a recent Java project, we needed a free Java based real-time data plotting utility. After much searching, we found this tool called the Scientific Graphics Toolkit or SGT from NOAA. It seemed pretty robust, but we found out that it wasn't terr...
234
260
[ "java" ]
[ "java", "plot", "configuration" ]
{"accepted_answer_id":6655,"answer_count":16,"chunk_count":1,"chunk_index":0,"closed_date":"2013-01-04T22:05:01.957000+00:00","creation_date":"2008-08-09T04:29:42.190000+00:00","has_accepted_answer":true,"is_closed":true,"languages":["java"],"last_activity_date":"2019-10-13T22:47:11.170000+00:00","last_edit_date":"2019...
[ 0.0180816650390625, 0.01288604736328125, -0.00946044921875, 0.0175018310546875, 0.01206207275390625, -0.0025119781494140625, -0.03143310546875, 0.0182037353515625, 0.0293121337890625, 0.01099395751953125, -0.00487518310546875, 0.021514892578125, 0.037109375, -0.01560211181640625, 0.01135...
[ 8, 18, 32, 45, 83, 136, 159, 509, 704, 707, 765, 821, 903, 939, 1295, 1810, 1884, 1916, 2053, 2363, 2499, 2661, 2685, 2773, 2965, 4092, 4527, 4552, 5608, 6032, 6713, 6867, 7311, 8060, 9488, 9520, 10484, 11049, 13452, 14037, 15467, 159...
[ 0.047607421875, 0.1455078125, 0.004150390625, 0.02392578125, 0.039794921875, 0.056884765625, 0.053955078125, 0.009033203125, 0.017822265625, 0.0390625, 0.00244140625, 0.1416015625, 0.0009765625, 0.04541015625, 0.0361328125, 0.012939453125, 0.02734375, 0.1279296875, 0.1376953125, ...
04e57e40-c327-585e-80c9-d38bd6af0d31
6,639
0
Title: How should I load files into my Java application? How should I load files into my Java application?
24
24
[ "java" ]
[ "java", "file", "loading" ]
{"accepted_answer_id":null,"answer_count":7,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-09T05:33:22.967000+00:00","has_accepted_answer":false,"is_closed":false,"languages":["java"],"last_activity_date":"2021-06-15T15:59:19.570000+00:00","last_edit_date":"2014-01-30T07:11:29.327000+00:00"...
[ 0.005702972412109375, 0.00336456298828125, -0.0209197998046875, -0.021636962890625, 0.00572967529296875, -0.0096435546875, 0.010284423828125, 0.0218658447265625, -0.0162200927734375, 0.006053924560546875, -0.05902099609375, -0.01116943359375, 0.045623779296875, -0.010406494140625, 0.0185...
[ 87, 759, 3934, 5608, 11249, 38415, 41925, 48962, 72367, 102158 ]
[ 0.0419921875, 0.050537109375, 0.1943359375, 0.1240234375, 0.1103515625, 0.2001953125, 0.248046875, 0.08056640625, 0.220703125, 0.2314453125 ]
f26e203c-5e9b-50f0-949e-e320c9c2424e
6,658
0
Title: JUnit vs TestNG At work we are currently still using JUnit 3 to run our tests. We have been considering switching over to JUnit 4 for new tests being written but I have been keeping an eye on TestNG for a while now. What experiences have you all had with either JUnit 4 or TestNG, and which seems to work better ...
166
171
[ "java" ]
[ "java", "testing", "junit", "testng" ]
{"accepted_answer_id":6671,"answer_count":12,"chunk_count":1,"chunk_index":0,"closed_date":"2019-10-12T11:56:08.033000+00:00","creation_date":"2008-08-09T06:31:25.283000+00:00","has_accepted_answer":true,"is_closed":true,"languages":["java"],"last_activity_date":"2019-10-12T04:33:44.487000+00:00","last_edit_date":"2016...
[ -0.00043845176696777344, 0.0218353271484375, -0.006252288818359375, 0, 0.0087432861328125, 0, -0.007572174072265625, 0.01373291015625, 0.022308349609375, -0.01285552978515625, -0.01384735107421875, -0.005016326904296875, 0.0149688720703125, 0.017486572265625, 0.0141448974609375, 0.0113...
[ 23, 47, 98, 138, 201, 645, 678, 707, 756, 959, 1884, 1902, 1957, 2481, 2806, 3034, 3525, 4488, 4552, 5429, 5526, 5885, 6083, 6773, 7464, 8066, 8647, 11522, 11675, 12447, 12960, 15917, 16865, 17368, 20209, 21115, 21208, 21334, 25074, 29256...
[ 0.01708984375, 0.03857421875, 0.002685546875, 0.14453125, 0.2060546875, 0.0654296875, 0.044189453125, 0.029541015625, 0.0220947265625, 0.005126953125, 0.08154296875, 0.006591796875, 0.09130859375, 0.068359375, 0.009765625, 0.1953125, 0.087890625, 0.103515625, 0.0205078125, 0.03...
54280062-2d89-5805-83d1-0332537310d0
6,765
0
Title: Java + SQL Server - a viable solution? I'm going to start a new project - rewriting an existing system (PHP + SQL Server) from scratch because of some very serious limitations by design. We have some quite good knowledge of SQL Server (currently we're using SQL Server 2000 in existing system) and we would lik...
201
208
[ "java" ]
[ "java", "sql-server" ]
{"accepted_answer_id":6902,"answer_count":6,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-09T13:23:40.617000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["java"],"last_activity_date":"2016-07-29T17:21:30.777000+00:00","last_edit_date":"2010-11-04T07:17:05.780000+00:00",...
[ -0.00795745849609375, -0.022674560546875, 0.0188751220703125, -0.0114593505859375, 0.024810791015625, 0.0020923614501953125, 0.006145477294921875, 0.014007568359375, 0.0018329620361328125, 0.0123443603515625, -0.0308685302734375, -0.00353240966796875, 0.017333984375, 0.024688720703125, 0...
[ 4, 5, 7, 9, 10, 16, 19, 20, 23, 25, 32, 33, 47, 56, 64, 71, 87, 100, 107, 111, 126, 136, 223, 279, 390, 444, 456, 538, 618, 621, 678, 683, 696, 997, 1295, 1632, 1647, 1884, 2856, 2886, 3034, 3525, 3576, 3714, 4034, 4127, 433...
[ 0.031982421875, 0.0322265625, 0.031982421875, 0.031494140625, 0.04931640625, 0.03125, 0.02978515625, 0.03076171875, 0.031982421875, 0.029296875, 0.013671875, 0.0140380859375, 0.0296630859375, 0.030517578125, 0.031982421875, 0.010986328125, 0.03173828125, 0.052490234375, 0.0310058...
0926f7d0-0a3b-595a-a6d7-6f1fa76f4cf1
6,816
0
Title: Class file name must end with .class exception in Java search I have a problem using the Java search function in Eclipse on a particular project. When using the Java search on one particular project, I get an error message saying Class file name must end with .class (see stack trace below). This does not seem...
721
1,007
[ "java" ]
[ "java", "eclipse", "search" ]
{"accepted_answer_id":6840,"answer_count":6,"chunk_count":2,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-09T15:40:30.357000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["java"],"last_activity_date":"2023-03-17T01:34:17+00:00","last_edit_date":"2023-03-17T01:34:17+00:00","question_id":...
[ 0.0015163421630859375, -0.0205841064453125, 0.0033130645751953125, -0.00677490234375, 0.0292205810546875, 0.02130126953125, 0.00798797607421875, 0.0227203369140625, -0.0170440673828125, -0.0191650390625, -0.0285186767578125, -0.0019664764404296875, 0.012481689453125, -0.0285186767578125, ...
[ 4, 5, 6, 7, 9, 10, 12, 13, 15, 16, 18, 20, 23, 25, 27, 34, 42, 47, 51, 64, 70, 71, 73, 79, 87, 90, 92, 98, 99, 100, 107, 110, 132, 133, 136, 142, 163, 177, 184, 185, 186, 206, 214, 246, 257, 272, 277, 297, 330, 408, ...
[ 0.035888671875, 0.150390625, 0.036376953125, 0.0361328125, 0.036865234375, 0.036865234375, 0.0361328125, 0.036376953125, 0.03466796875, 0.037109375, 0.0849609375, 0.035888671875, 0.036376953125, 0.0361328125, 0.00537109375, 0.03515625, 0.03466796875, 0.03662109375, 0.035400390625...
2ee8f7c2-72f4-5f58-8c13-d1a18317fdd8
6,816
1
Title: Class file name must end with .class exception in Java search at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800) at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:4650) at org.eclipse.jdt.internal.ui.actions.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:92) at org.eclipse.jf...
122
172
[ "java" ]
[ "java", "eclipse", "search" ]
{"accepted_answer_id":6840,"answer_count":6,"chunk_count":2,"chunk_index":1,"closed_date":null,"creation_date":"2008-08-09T15:40:30.357000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["java"],"last_activity_date":"2023-03-17T01:34:17+00:00","last_edit_date":"2023-03-17T01:34:17+00:00","question_id":...
[ 0.0111236572265625, -0.00814056396484375, 0.0204925537109375, -0.01030731201171875, 0.03887939453125, 0.0256500244140625, 0.0168609619140625, 0.033966064453125, 0.004360198974609375, -0.01287841796875, -0.0218963623046875, -0.01282501220703125, 0.0153350830078125, -0.0199127197265625, 0....
[ 5, 12, 13, 16, 18, 23, 47, 99, 136, 170, 184, 289, 442, 678, 720, 776, 2525, 2631, 2886, 3564, 4515, 5036, 8110, 8331, 9351, 10433, 11435, 13452, 16428, 19256, 19713, 20450, 20927, 21473, 22409, 22829, 24071, 27423, 28641, 30854, 30910,...
[ 0.1455078125, 0.02001953125, 0.010498046875, 0.01416015625, 0.052734375, 0.03759765625, 0.001708984375, 0.0185546875, 0.0107421875, 0.03173828125, 0.1298828125, 0.07373046875, 0.033203125, 0.08251953125, 0.0244140625, 0.1279296875, 0.0986328125, 0.09619140625, 0.07470703125, 0....
d6a88f6d-71e2-58b6-8bb4-01e9b64db706
7,269
0
Title: How can I identify in which Java Applet context running without passing an ID? I'm part of a team that develops a pretty big Swing Java Applet. Most of our code are legacy and there are tons of singleton references. We've bunched all of them to a single "Application Context" singleton. What we now need is to cr...
184
211
[ "java" ]
[ "java", "swing", "applet" ]
{"accepted_answer_id":46902,"answer_count":3,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-10T18:06:04.820000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["java"],"last_activity_date":"2016-03-11T17:58:30.780000+00:00","last_edit_date":"2016-03-11T17:58:30.780000+00:00"...
[ 0.039093017578125, -0.002384185791015625, 0.0214691162109375, -0.020751953125, 0.006744384765625, 0.01337432861328125, 0.01739501953125, -0.0092926025390625, 0.0203857421875, -0.006805419921875, -0.0482177734375, -0.018829345703125, 0.015716552734375, 0.0103759765625, -0.0088119506835937...
[ 18, 23, 47, 159, 163, 351, 452, 525, 756, 765, 831, 933, 1314, 1507, 1544, 1657, 2408, 2831, 3129, 3257, 3447, 3871, 3917, 4129, 6953, 7175, 7413, 11001, 11249, 11338, 11782, 12638, 14775, 15490, 17006, 18151, 18507, 22829, 28282, 28875, ...
[ 0.1513671875, 0.08837890625, 0.03076171875, 0.0048828125, 0.021728515625, 0.021484375, 0.044677734375, 0.0177001953125, 0.0255126953125, 0.0126953125, 0.049560546875, 0.0859375, 0.00244140625, 0.15625, 0.07861328125, 0.06201171875, 0.000244140625, 0.013671875, 0.08056640625, 0....
e6f9998c-5029-584d-b722-f3319f3650dc
7,539
0
Title: Use of java.math.MathContext Recently I tried understanding the use of java.math.MathContext but failed to understand properly. Is it used for rounding in java.math.BigDecimal. If yes why does not it round the decimal digits but even mantissa part. From API docs, I came to know that it follows the standard sp...
128
133
[ "java" ]
[ "java", "math", "bigdecimal", "mathcontext" ]
{"accepted_answer_id":7561,"answer_count":5,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-11T05:23:02.427000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["java"],"last_activity_date":"2018-08-13T14:41:31.967000+00:00","last_edit_date":"2018-08-13T14:41:31.967000+00:00",...
[ 0.03521728515625, 0.0069122314453125, -0.0209197998046875, -0.007091522216796875, 0.019378662109375, -0.004077911376953125, -0.0244598388671875, 0.0143585205078125, 0.0002529621124267578, 0.0023193359375, -0.03924560546875, 0.00803375244140625, 0.003810882568359375, 0.008331298828125, 0....
[ 5, 7, 9, 18, 23, 79, 100, 106, 111, 214, 297, 318, 330, 332, 442, 959, 1193, 1284, 2071, 2749, 2831, 3031, 4527, 4657, 5570, 6528, 8922, 9902, 11814, 11935, 12301, 14368, 14602, 15400, 16360, 22829, 28219, 28960, 32380, 36836, 37842, ...
[ 0.0537109375, 0.0277099609375, 0.018798828125, 0.11328125, 0.031494140625, 0.1484375, 0.05517578125, 0.036865234375, 0.0286865234375, 0.1025390625, 0.0267333984375, 0.150390625, 0.2216796875, 0.0751953125, 0.0791015625, 0.115234375, 0.056640625, 0.00048828125, 0.0228271484375, ...
b21d8a54-5c8f-5e29-9bfd-03663eff34d4
7,596
0
Title: How should I structure a Java application, where do I put my classes? First of all, I know how to build a Java application. But I have always been puzzled about where to put my classes. There are proponents for organizing the packages in a strictly domain oriented fashion, others separate by tier. I myself ha...
160
171
[ "java" ]
[ "java", "architecture" ]
{"accepted_answer_id":13283,"answer_count":10,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-11T07:45:20.050000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["java"],"last_activity_date":"2025-06-07T07:02:31.777000+00:00","last_edit_date":"2017-11-02T22:11:28.507000+00:00...
[ 0.005157470703125, -0.01189422607421875, -0.0076751708984375, 0.0031642913818359375, -0.00199127197265625, 0.018280029296875, 0.003574371337890625, 0.034912109375, 0.005039215087890625, -0.007030487060546875, -0.037506103515625, 0.011077880859375, 0.00972747802734375, -0.00383758544921875,...
[ 10, 47, 67, 87, 100, 188, 214, 759, 2965, 3432, 3642, 3714, 3884, 4343, 5570, 5608, 5808, 6044, 7440, 9351, 11249, 11343, 15005, 17514, 18507, 20100, 22466, 23509, 29458, 29838, 31182, 35978, 36716, 38415, 41884, 41925, 42724, 44402, 45367,...
[ 0.000244140625, 0.013671875, 0.02587890625, 0.0184326171875, 0.0289306640625, 0.006591796875, 0.0291748046875, 0.1171875, 0.060302734375, 0.0284423828125, 0.019287109375, 0.0771484375, 0.1513671875, 0.099609375, 0.1416015625, 0.052978515625, 0.177734375, 0.007080078125, 0.1376953...
12e315b1-71c7-5190-bacf-16f58e0e94d4
7,661
0
Title: Java code for WGS84 to Google map position and back Searching for some sample code for converting a point in WGS84 coordinate system to a map position in Google Maps (pixel position), also supporting zoom levels. If the codes is well commented, then it can also be in some other language. You can also point...
143
149
[ "java" ]
[ "java", "google-maps", "mapping", "wgs84" ]
{"accepted_answer_id":32551,"answer_count":6,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-11T10:23:48.763000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["java"],"last_activity_date":"2020-06-23T07:38:34.270000+00:00","last_edit_date":"2016-06-13T10:14:14.240000+00:00"...
[ 0.00621795654296875, 0.0251007080078125, 0.00122833251953125, -0.00722503662109375, 0.007251739501953125, -0.005031585693359375, -0.0301971435546875, 0.01551055908203125, -0.0019989013671875, -0.0142669677734375, 0.0142669677734375, 0.0204925537109375, 0.0235595703125, -0.026519775390625, ...
[ 7, 47, 79, 136, 139, 214, 330, 601, 617, 821, 841, 1375, 1815, 1830, 2472, 2729, 3060, 3358, 3789, 4420, 5426, 6275, 6868, 8060, 8889, 9803, 10514, 11469, 11903, 13452, 13527, 13903, 18148, 18151, 19069, 20429, 21253, 22288, 27331, 31344,...
[ 0.000244140625, 0.1591796875, 0.099609375, 0.024658203125, 0.1611328125, 0.04638671875, 0.1591796875, 0.0986328125, 0.09375, 0.02880859375, 0.0615234375, 0.059814453125, 0.1875, 0.009521484375, 0.0419921875, 0.0419921875, 0.001220703125, 0.059814453125, 0.00244140625, 0.1337890...
143f2123-d9ab-5e66-8845-cd133ca01b79
7,681
0
Title: Test serialization encoding What is the best way to verify/test that a text string is serialized to a byte array with a certain encoding? In my case, I want to verify that an XML structure is serialized to a byte array with the UTF-8 encoding which is of variable character length. As an example, my current ug...
175
219
[ "java" ]
[ "java", "xml", "string", "serialization", "encoding" ]
{"accepted_answer_id":7688,"answer_count":2,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-11T11:33:01.930000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["java"],"last_activity_date":"2013-01-09T05:53:18.357000+00:00","last_edit_date":null,"question_id":7681,"score":10,...
[ -0.01947021484375, 0.00551605224609375, 0.01220703125, -0.002655029296875, 0.003421783447265625, -0.021942138671875, 0.01392364501953125, 0.01197052001953125, 0.005542755126953125, -0.0136260986328125, -0.01215362548828125, 0.0057525634765625, 0.01427459716796875, -0.0083160400390625, 0....
[ 22, 40, 47, 53, 67, 75, 83, 100, 343, 345, 390, 450, 493, 587, 678, 944, 1636, 2965, 3444, 3917, 3934, 3956, 4778, 5351, 6238, 6626, 6954, 7986, 8647, 10001, 10298, 11180, 17376, 18811, 24233, 27650, 27781, 29367, 29806, 30992, 33636, ...
[ 0.08984375, 0.03125, 0.12890625, 0.1044921875, 0.08984375, 0.024169921875, 0.05908203125, 0.05419921875, 0.083984375, 0.003173828125, 0.087890625, 0.033935546875, 0.15234375, 0.1669921875, 0.078125, 0.0859375, 0.03271484375, 0.109375, 0.045166015625, 0.078125, 0.0147705078125...
c9259301-5aa8-546b-b129-1963b9019ddf
7,720
0
Title: Packaging Java apps for the Windows/Linux desktop I am writing an application in Java for the desktop using the Eclipse SWT library for GUI rendering. I think SWT helps Java get over the biggest hurdle for acceptance on the desktop: namely providing a Java application with a consistent, responsive interface tha...
247
273
[ "java" ]
[ "java", "windows", "swt", "executable", "software-distribution" ]
{"accepted_answer_id":149971,"answer_count":18,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-11T12:37:50.503000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["java"],"last_activity_date":"2014-08-25T06:17:01.043000+00:00","last_edit_date":"2010-04-26T11:02:03.770000+00:0...
[ 0.00223541259765625, -0.00716400146484375, 0.006954193115234375, 0.020599365234375, 0.012786865234375, -0.0094146728515625, -0.0098876953125, 0.015869140625, -0.004055023193359375, -0.00823211669921875, -0.03338623046875, 0.0307769775390625, 0.03741455078125, -0.006748199462890625, 0.030...
[ 4, 5, 6, 7, 10, 18, 23, 24, 25, 47, 64, 70, 75, 83, 98, 100, 111, 133, 142, 186, 206, 432, 450, 538, 645, 678, 1193, 1556, 1577, 1777, 1884, 2046, 2685, 2886, 3334, 3403, 3587, 3773, 3789, 4027, 4935, 5351, 5915, 7154, 7440, 7...
[ 0.00341796875, 0.06982421875, 0.003173828125, 0.042236328125, 0.003662109375, 0.032958984375, 0.06201171875, 0.0830078125, 0.002685546875, 0.00390625, 0.0216064453125, 0.00390625, 0.005615234375, 0.003173828125, 0.0478515625, 0.1064453125, 0.00341796875, 0.078125, 0.003662109375,...
7ade5fd6-03e0-58a2-b52f-348755663715
7,779
0
Title: I would like a recommendation for a book on Eclipse's Rich Client Platform (RCP) I have read through several reviews on Amazon and some books seem outdated. I am currently using MyEclipse 6.5 which is using Eclipse 3.3. I'm interested in hearing from people that have experience learning RCP and what reference m...
79
79
[ "java" ]
[ "java", "eclipse", "rcp", "myeclipse" ]
{"accepted_answer_id":28154,"answer_count":6,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-11T13:30:21.850000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["java"],"last_activity_date":"2012-10-14T04:13:48.373000+00:00","last_edit_date":"2012-10-14T04:13:48.373000+00:00"...
[ 0.0134429931640625, -0.0029468536376953125, -0.0145111083984375, -0.01024627685546875, 0.01059722900390625, 0.0124969482421875, -0.0159912109375, 0.046417236328125, -0.0083465576171875, -0.03790283203125, -0.05352783203125, 0.01030731201171875, 0.04595947265625, 0.0124359130859375, 0.003...
[ 39, 85, 98, 184, 627, 647, 683, 765, 1810, 1836, 1884, 2320, 2646, 2806, 4912, 8305, 11814, 12301, 12877, 15075, 16981, 17368, 17854, 25740, 26859, 40368, 42840, 48903, 48962, 52080, 52774, 60892, 67330, 70968, 80308, 82424, 91067, 91732, 9...
[ 0.00048828125, 0.05517578125, 0.00390625, 0.12109375, 0.130859375, 0.0283203125, 0.2109375, 0.01416015625, 0.01416015625, 0.002197265625, 0.0771484375, 0.0615234375, 0.08935546875, 0.04638671875, 0.1083984375, 0.03271484375, 0.029052734375, 0.05322265625, 0.171875, 0.154296875,...
deed10e7-c687-5853-a300-db0c307aa023
8,219
0
Title: Test Distribution At my work we are running a group of tests that consist of about 3,000 separate test cases. Previously we were running this entire test suite on one machine, which took about 24-72 hours to complete the entire test run. We now have created our own system for grouping and distributing the tests...
270
270
[ "java" ]
[ "java", "testing", "enterprise" ]
{"accepted_answer_id":8226,"answer_count":3,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-11T21:07:44.687000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["java"],"last_activity_date":"2013-11-26T03:58:10.860000+00:00","last_edit_date":"2013-07-04T12:08:44.800000+00:00",...
[ 0.0017614364624023438, 0.034454345703125, -0.0142059326171875, -0.005764007568359375, 0.0129852294921875, 0.004016876220703125, -0.0006041526794433594, -0.003391265869140625, 0.00966644287109375, -0.020263671875, -0.01245880126953125, 0.01351165771484375, 0.033294677734375, 0.0258483886718...
[ 18, 83, 214, 425, 456, 759, 1031, 1363, 1379, 1632, 1672, 1733, 1774, 1884, 2174, 2806, 3034, 3525, 3622, 3917, 4127, 4173, 4358, 4488, 4552, 4785, 5036, 5117, 5426, 6422, 7413, 7464, 8066, 8647, 10002, 11675, 11814, 12825, 14037, 14947, ...
[ 0.1064453125, 0.002197265625, 0.046630859375, 0.0869140625, 0.037841796875, 0.003662109375, 0.08984375, 0.0947265625, 0.00732421875, 0.0869140625, 0.017333984375, 0.0751953125, 0.06689453125, 0.048095703125, 0.0029296875, 0.0306396484375, 0.2099609375, 0.009765625, 0.041259765625...
e3ca1f5a-195d-5d1c-8c44-416aff36468d
8,318
0
Title: Resolving Session Fixation in JBoss I need to prevent Session Fixation, a particular type of session hijacking, in a Java web application running in JBoss. However, it appears that the standard idiom doesn't work in JBoss. Can this be worked around?
61
65
[ "java" ]
[ "java", "security", "jboss" ]
{"accepted_answer_id":8322,"answer_count":4,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-11T22:53:50.883000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["java"],"last_activity_date":"2018-08-01T16:04:52.207000+00:00","last_edit_date":null,"question_id":8318,"score":11,...
[ 0.0018033981323242188, -0.01477813720703125, 0.0014247894287109375, -0.006649017333984375, -0.0019741058349609375, 0.01323699951171875, -0.0245819091796875, 0.00949859619140625, 0.01068878173828125, 0.01934814453125, -0.04510498046875, 0.009857177734375, 0.0187530517578125, -0.021850585937...
[ 7, 18, 23, 47, 306, 821, 853, 1467, 2320, 3871, 4171, 4488, 5570, 10644, 10932, 13373, 17311, 22027, 38415, 41324, 41925, 48962, 51042, 56002, 56282, 79786, 96746, 112784, 132944, 135179, 140752, 148735 ]
[ 0.150390625, 0.058349609375, 0.064453125, 0.016845703125, 0.173828125, 0.142578125, 0.007080078125, 0.0771484375, 0.0771484375, 0.07861328125, 0.036865234375, 0.107421875, 0.1630859375, 0.0927734375, 0.10009765625, 0.1728515625, 0.049072265625, 0.048828125, 0.107421875, 0.16308...
edacf107-c8b3-5ccb-95cd-0d29239199cf
8,569
0
Title: What's your "best practice" for the first Java EE Spring project? I'm currently trying to get into the Java EE development with the Spring framework. As I'm new to Spring, it is hard to imaging how a good running project should start off. Do you have any best practices, tipps or major DO NOTs for a starter? H...
104
111
[ "java" ]
[ "java", "spring", "jakarta-ee", "aop" ]
{"accepted_answer_id":13367,"answer_count":11,"chunk_count":1,"chunk_index":0,"closed_date":"2013-11-18T06:01:19.743000+00:00","creation_date":"2008-08-12T07:36:14.107000+00:00","has_accepted_answer":true,"is_closed":true,"languages":["java"],"last_activity_date":"2013-11-26T03:59:25.720000+00:00","last_edit_date":"200...
[ -0.007541656494140625, 0.01023101806640625, 0.009002685546875, -0.0111083984375, 0.031341552734375, -0.01058197021484375, 0.0024566650390625, 0.028533935546875, 0.00555419921875, 0.020111083984375, -0.04046630859375, -0.003055572509765625, 0.0183563232421875, 0.0219879150390625, 0.013214...
[ 39, 47, 62, 100, 398, 678, 935, 2046, 2182, 2673, 2965, 3525, 3642, 3934, 4034, 4127, 4527, 4865, 5062, 5117, 5608, 5773, 6197, 6777, 6957, 7108, 7941, 11249, 13036, 13452, 16065, 19336, 20880, 27140, 31577, 32168, 34754, 38026, 41361, 41...
[ 0.0087890625, 0.0771484375, 0.07763671875, 0.031005859375, 0.000732421875, 0.095703125, 0.04638671875, 0.01220703125, 0.08203125, 0.03955078125, 0.12890625, 0.1015625, 0.0283203125, 0.041015625, 0.134765625, 0.08984375, 0.0966796875, 0.0107421875, 0.0223388671875, 0.09716796875...
b264bab3-8776-5d40-b8ed-3edef8923250
8,599
0
Title: Best binary XML format for JavaME Can anyone recommend a good binary XML format? It's for a JavaME application, so it needs to be a) Easy to implement on the server, and b) Easy to write a low-footprint parser for on a low-end JavaME client device. And it goes without saying that it needs to be smaller than X...
94
100
[ "java" ]
[ "java", "xml", "java-me", "mobile" ]
{"accepted_answer_id":8655,"answer_count":4,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-12T08:08:11.327000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["java"],"last_activity_date":"2020-05-30T00:07:34.520000+00:00","last_edit_date":"2012-04-12T11:14:22.717000+00:00",...
[ -0.00897216796875, 0.01242828369140625, 0.002490997314453125, -0.01055145263671875, 0.0026226043701171875, -0.01160430908203125, -0.0175933837890625, 0.0247344970703125, 0.006801605224609375, 0.025787353515625, -0.022979736328125, 0.01922607421875, 0.046417236328125, -0.020050048828125, ...
[ 4, 10, 47, 56, 98, 100, 159, 184, 186, 366, 876, 2053, 2189, 2394, 2806, 3501, 3611, 4127, 4171, 4271, 6635, 9384, 9844, 10611, 10723, 11345, 23282, 27117, 27226, 27255, 29479, 33022, 35662, 35672, 38415, 41925, 48962, 67330, 71975, 75186...
[ 0.00244140625, 0.02978515625, 0.05810546875, 0.05712890625, 0.013671875, 0.0751953125, 0.02490234375, 0.0732421875, 0.0252685546875, 0.1142578125, 0.04833984375, 0.08984375, 0.146484375, 0.1787109375, 0.052490234375, 0.0274658203125, 0.0986328125, 0.1396484375, 0.019775390625, ...
e1627cca-2327-53fe-a099-d9df686bdf17
8,968
0
Title: What OSS project should I look at if I need to do Spring friendly WorkFlow? We need to add WorkFlow to our Spring managed application. Does anyone have any useful experience in using any of the myriad of OSS Work Flow solutions? Which one is best? Which one integrates with Spring best? Which ones should we avoi...
69
76
[ "java" ]
[ "java", "spring", "workflow" ]
{"accepted_answer_id":9404,"answer_count":5,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-12T15:29:18.067000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["java"],"last_activity_date":"2013-08-18T09:19:43.010000+00:00","last_edit_date":null,"question_id":8968,"score":12,...
[ 0.0197296142578125, -0.007740020751953125, -0.0224456787109375, -0.0024509429931640625, 0.0223236083984375, 0.0009822845458984375, -0.00998687744140625, 0.05126953125, -0.0030574798583984375, 0.005611419677734375, -0.041839599609375, 0.00815582275390625, 0.03497314453125, 0.024932861328125...
[ 47, 83, 87, 90, 99, 563, 678, 765, 919, 2965, 3871, 4865, 5608, 6713, 13452, 15190, 16981, 17336, 17368, 24420, 27985, 35672, 38026, 38415, 48962, 51347, 71864, 78779, 80234, 81801, 101786, 145755 ]
[ 0.023193359375, 0.0147705078125, 0.00341796875, 0.048828125, 0.059814453125, 0.1728515625, 0.083984375, 0.011962890625, 0.21484375, 0.130859375, 0.0859375, 0.011962890625, 0.03564453125, 0.080078125, 0.1806640625, 0.103515625, 0.1201171875, 0.275390625, 0.048583984375, 0.082031...
c809384f-e39e-5d12-992c-59ee19d704ff
9,044
0
Title: Can I specify a class wide group on a TestNG test case? I have a base class that represents a database test in TestNG, and I want to specify that all classes extending from this class are of a group "db-test", however I have found that this doesn't seem possible. I have tried the @Test annotation: @Test(group...
224
253
[ "java" ]
[ "java", "testng" ]
{"accepted_answer_id":275353,"answer_count":5,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-12T16:52:08.697000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["java"],"last_activity_date":"2020-06-25T18:55:27.810000+00:00","last_edit_date":"2008-11-08T22:51:50.377000+00:00...
[ -0.0149993896484375, 0.0208587646484375, 0.01177215576171875, 0.004360198974609375, 0.0134735107421875, -0.0007548332214355469, 0.0021800994873046875, 0.0132293701171875, 0.0241546630859375, 0.0017833709716796875, -0.0127410888671875, 0.004695892333984375, 0.0136566162109375, 0.00382614135...
[ 9, 10, 13, 18, 87, 98, 111, 214, 756, 1295, 1374, 1631, 2886, 3034, 3647, 3835, 3934, 4171, 4488, 6392, 6954, 7225, 7722, 8066, 8647, 8668, 9790, 10644, 17311, 18507, 18929, 19888, 21115, 22062, 33636, 37842, 38134, 40140, 48073, 51588, ...
[ 0.01904296875, 0.00244140625, 0.0206298828125, 0.011962890625, 0.007568359375, 0.0150146484375, 0.05712890625, 0.008056640625, 0.056884765625, 0.009521484375, 0.056396484375, 0.024658203125, 0.057373046875, 0.1904296875, 0.1357421875, 0.00146484375, 0.004638671875, 0.0556640625, ...
c1103929-4ba2-5b0c-9bd4-261876c87140
9,361
0
Title: ICE Faces fileInput file path and file name properties I'd like to utilize an ICE Faces fileInput control to fill in the file path & file name for the input to an input field on a web page based on file that the user selects. How can I capture these properties without actually performing any file transfer opera...
68
77
[ "java" ]
[ "java", "ajax", "jsf", "icefaces" ]
{"accepted_answer_id":16650,"answer_count":1,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-13T00:49:17.360000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["java"],"last_activity_date":"2009-05-06T03:11:40.483000+00:00","last_edit_date":null,"question_id":9361,"score":5,...
[ 0.005126953125, -0.0189666748046875, -0.01161956787109375, -0.0119171142578125, -0.0247802734375, 0.00444793701171875, 0.005336761474609375, 0.027862548828125, -0.0149993896484375, 0.0021038055419921875, -0.0372314453125, 0.0022678375244140625, 0.0540771484375, -0.0273895263671875, -0.00...
[ 6, 7, 23, 47, 70, 71, 100, 136, 142, 619, 831, 1467, 1884, 4153, 6097, 6226, 7077, 9191, 9351, 11249, 11435, 12302, 15490, 20653, 26219, 26292, 31722, 35509, 36849, 38937, 41018, 44457, 48962, 51339, 60875, 107730, 121876, 141621, 183871 ]
[ 0.005126953125, 0.1259765625, 0.130859375, 0.06494140625, 0.01171875, 0.0159912109375, 0.04736328125, 0.09912109375, 0.0198974609375, 0.1103515625, 0.04248046875, 0.08740234375, 0.115234375, 0.1142578125, 0.032958984375, 0.21484375, 0.17578125, 0.0908203125, 0.1279296875, 0.039...
9446aab2-3994-56d8-a85b-164fc4d5db38
10,042
0
Title: How do I create a Linked List Data Structure in Java? What's the best way to make a linked list in Java?
29
34
[ "java" ]
[ "java", "data-structures", "linked-list" ]
{"accepted_answer_id":25311,"answer_count":6,"chunk_count":1,"chunk_index":0,"closed_date":"2012-01-03T20:21:00.337000+00:00","creation_date":"2008-08-13T16:29:22.063000+00:00","has_accepted_answer":true,"is_closed":true,"languages":["java"],"last_activity_date":"2017-05-14T14:02:05.703000+00:00","last_edit_date":"2015...
[ 0.0145721435546875, 0.001873016357421875, 0.0069580078125, -0.0203704833984375, 0.0019683837890625, -0.020721435546875, 0.004055023193359375, -0.0003275871276855469, 0.021209716796875, 0.022979736328125, -0.016815185546875, 0.01030731201171875, 0.0213165283203125, 0.0074920654296875, 0.0...
[ 10, 23, 238, 297, 2965, 3126, 3249, 3917, 5303, 6644, 11249, 11809, 12779, 28282, 32036, 41925, 48962, 63667 ]
[ 0.000732421875, 0.0213623046875, 0.09912109375, 0.173828125, 0.083984375, 0.2333984375, 0.080078125, 0.034912109375, 0.25, 0.076171875, 0.0341796875, 0.1328125, 0.212890625, 0.138671875, 0.2421875, 0.24609375, 0.035400390625, 0.158203125 ]
8a0bc592-6aef-5f3e-94aa-7f2e719e80eb
10,506
0
Title: Weird DB2 issue with DBUnit I am having a strange DB2 issue when I run DBUnit tests. My DBUnit tests are highly customized, but I don't think it is the issue. When I run the tests, I get a failure: SQLCODE: -1084, SQLSTATE: 57019 which translates to SQL1084C Shared memory segments cannot be alloca...
216
223
[ "java" ]
[ "java", "db2", "dbunit", "db2-luw" ]
{"accepted_answer_id":10549,"answer_count":2,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-13T23:57:01.567000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["java"],"last_activity_date":"2018-08-01T16:00:49.107000+00:00","last_edit_date":"2016-07-22T20:12:29.757000+00:00"...
[ 0.0109710693359375, -0.009735107421875, -0.023834228515625, -0.0187530517578125, 0.03656005859375, 0.01409912109375, -0.0160369873046875, -0.005603790283203125, 0.016510009765625, -0.028900146484375, -0.020050048828125, -0.01544952392578125, -0.007610321044921875, 0.0225372314453125, 0.0...
[ 23, 47, 91, 116, 144, 190, 304, 391, 441, 963, 1401, 1495, 2947, 3034, 3509, 3900, 4034, 5117, 5757, 6773, 6957, 8399, 9193, 9688, 10723, 11675, 13580, 13648, 13903, 15639, 17932, 18151, 18499, 19441, 20653, 25647, 29790, 31089, 33180, 35...
[ 0.0771484375, 0.06787109375, 0.007568359375, 0.09130859375, 0.1259765625, 0.05712890625, 0.244140625, 0.10546875, 0.1181640625, 0.10107421875, 0.05517578125, 0.1787109375, 0.1826171875, 0.1875, 0.0306396484375, 0.040771484375, 0.008056640625, 0.028564453125, 0.1103515625, 0.253...
bac95381-c4b2-584f-b5ad-aa24f9e785ca
10,586
0
Title: Small modification to an XML document using StAX I'm currently trying to read in an XML file, make some minor changes (alter the value of some attributes), and write it back out again. I have intended to use a StAX parser (javax.xml.stream.XMLStreamReader) to read in each event, see if it was one I wanted to ...
217
240
[ "java" ]
[ "java", "xml", "stax" ]
{"accepted_answer_id":10713,"answer_count":3,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-14T02:22:37.920000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["java"],"last_activity_date":"2017-03-24T21:04:21.857000+00:00","last_edit_date":"2012-04-25T16:36:06.310000+00:00"...
[ -0.0092315673828125, 0.00821685791015625, 0.0013341903686523438, 0.0158233642578125, -0.0015439987182617188, -0.049163818359375, -0.002742767333984375, 0.0292510986328125, 0.035247802734375, 0.032379150390625, -0.01415252685546875, -0.004528045654296875, -0.002323150634765625, -0.004344940...
[ 23, 47, 56, 110, 366, 425, 678, 831, 1542, 1810, 1884, 1957, 2189, 2907, 3060, 3249, 3917, 4420, 4527, 4552, 5608, 5646, 5809, 5915, 6713, 6957, 7225, 7722, 8781, 9844, 10644, 11435, 11907, 12301, 12638, 12830, 12937, 13438, 15549, 17368,...
[ 0.038818359375, 0.044921875, 0.1005859375, 0.042724609375, 0.1455078125, 0.1669921875, 0.01025390625, 0.013916015625, 0.0673828125, 0.10595703125, 0.013427734375, 0.027099609375, 0.1650390625, 0.1748046875, 0.0087890625, 0.03369140625, 0.047119140625, 0.05419921875, 0.06982421875...
e0cfa9f5-bc72-5a78-b0ce-88ae71b2bc5c
10,980
0
Title: IKVM and Licensing I have been looking into IKVMing Apache's FOP project to use with our .NET app. It's a commercial product, and looking into licensing, IKVM runs into some sticky areas because of its use of GNU Classpath. From what I've seen, no one can say for sure if this stuff can be used in a commercial p...
158
175
[ ".net", "java" ]
[ "java", ".net", "ikvm", "gnu-classpath" ]
{"accepted_answer_id":16662,"answer_count":3,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-14T13:16:37.580000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net","java"],"last_activity_date":"2021-03-31T16:47:18.873000+00:00","last_edit_date":"2021-03-31T16:47:18.873000...
[ -0.0190582275390625, -0.0122833251953125, -0.002712249755859375, 0.021820068359375, 0.0274505615234375, 0.004825592041015625, 0.0106658935546875, 0.037628173828125, -0.0010938644409179688, -0.0254058837890625, -0.021453857421875, 0.01270294189453125, 0.00530242919921875, 0.0196533203125, ...
[ 4, 5, 7, 23, 25, 53, 71, 87, 100, 111, 136, 186, 191, 214, 272, 304, 334, 400, 527, 563, 678, 765, 831, 903, 997, 1261, 1284, 1295, 1379, 1430, 1632, 2060, 2367, 3060, 3630, 3789, 3934, 4027, 4527, 5154, 5443, 6637, 9077, 9191, ...
[ 0.010498046875, 0.0145263671875, 0.0126953125, 0.045166015625, 0.00927734375, 0.0712890625, 0.01025390625, 0.0162353515625, 0.0247802734375, 0.009765625, 0.050048828125, 0.00927734375, 0.1884765625, 0.1083984375, 0.009765625, 0.1005859375, 0.1181640625, 0.0751953125, 0.013671875,...
04f32dcd-be2e-57e1-8d0a-56e8b138cba8
11,088
0
Title: What is the best way to work around the fact that ALL Java bytes are signed? In Java, there is no such thing as an unsigned byte. Working with some low level code, occasionally you need to work with bytes that have unsigned values greater than 128, which causes Java to interpret them as a negative number due ...
103
109
[ "java" ]
[ "java", "byte", "unsigned", "signed" ]
{"accepted_answer_id":11101,"answer_count":7,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-14T14:14:03.940000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["java"],"last_activity_date":"2018-08-01T16:00:06.617000+00:00","last_edit_date":null,"question_id":11088,"score":5...
[ 0.0269927978515625, -0.003814697265625, 0.00571441650390625, -0.0196990966796875, -0.002796173095703125, -0.01058197021484375, -0.0114898681640625, 0.0187225341796875, 0.008209228515625, 0.024322509765625, -0.0119171142578125, 0.01045989990234375, 0.0033283233642578125, -0.0340576171875, ...
[ 51, 67, 83, 110, 142, 237, 297, 360, 390, 571, 621, 903, 1636, 2685, 2965, 3917, 4127, 4488, 4527, 6044, 10932, 11814, 13580, 14012, 15824, 16265, 17366, 18151, 24092, 26560, 27226, 27985, 29481, 31304, 35829, 40907, 41925, 46505, 58837, ...
[ 0.125, 0.1748046875, 0.0150146484375, 0.040283203125, 0.004150390625, 0.0172119140625, 0.1044921875, 0.064453125, 0.1728515625, 0.1533203125, 0.0859375, 0.0234375, 0.146484375, 0.006591796875, 0.08740234375, 0.0595703125, 0.03466796875, 0.09130859375, 0.0654296875, 0.0590820312...
c7baa308-be58-571e-af44-eff8fe597736
11,338
0
Title: Getting Java and TWAIN to play together nicely I'm working on building an app to scan directly from TWAIN scanner to a Java applet. I'm already aware of Morena and JTwain, but they cost money. I need free. I could re-invent the wheel with JNI, but it seems like someone has probably already done this as a FOSS t...
105
111
[ "java" ]
[ "java", "java-native-interface", "twain", "image-scanner" ]
{"accepted_answer_id":null,"answer_count":3,"chunk_count":1,"chunk_index":0,"closed_date":"2016-10-05T20:52:57.883000+00:00","creation_date":"2008-08-14T17:04:25.310000+00:00","has_accepted_answer":false,"is_closed":true,"languages":["java"],"last_activity_date":"2018-08-01T15:59:48.440000+00:00","last_edit_date":"2011...
[ 0.016937255859375, -0.00021982192993164062, 0.0026378631591796875, -0.0034580230712890625, -0.01496124267578125, -0.02813720703125, -0.0175323486328125, 0.004291534423828125, -0.01496124267578125, 0.00923919677734375, -0.01496124267578125, -0.00762939453125, 0.058197021484375, -0.015205383...
[ 18, 39, 47, 70, 73, 76, 136, 237, 456, 538, 563, 634, 678, 821, 831, 1284, 1295, 1556, 1884, 2046, 3871, 4027, 4092, 5455, 5809, 7787, 11034, 11301, 12301, 16031, 16940, 17265, 20697, 21771, 22008, 25842, 26267, 31895, 33976, 35672, 372...
[ 0.130859375, 0.00146484375, 0.07177734375, 0.02978515625, 0.20703125, 0.1865234375, 0.130859375, 0.010986328125, 0.03466796875, 0.026123046875, 0.03857421875, 0.1875, 0.0238037109375, 0.103515625, 0.0218505859375, 0.031494140625, 0.0673828125, 0.003173828125, 0.00341796875, 0.0...
fca2fa4a-e1d7-5006-a187-4e26698c9d45
11,341
0
Title: Create PDFs from multipage forms in WebObjects I would like to automatically generate PDF documents from WebObjects based on mulitpage forms. Assuming I have a class which can assemble the related forms (java/wod files) is there a good way to then parse the individual forms into a PDF instead of going to the sc...
71
82
[ "java" ]
[ "java", "pdf", "webobjects" ]
{"accepted_answer_id":13431,"answer_count":6,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-14T17:06:46.493000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["java"],"last_activity_date":"2018-08-08T13:56:34.303000+00:00","last_edit_date":"2018-08-08T13:56:34.303000+00:00"...
[ -0.0256500244140625, 0.0060577392578125, 0.00395965576171875, -0.0069427490234375, -0.0160675048828125, -0.019744873046875, -0.00372314453125, 0.05224609375, 0.019378662109375, 0.0260009765625, -0.0207977294921875, 0.01525115966796875, 0.0338134765625, -0.0106353759765625, -0.00839233398...
[ 7, 10, 18, 23, 98, 184, 366, 831, 1295, 1884, 2685, 2806, 3173, 3917, 3934, 4002, 4127, 6024, 6859, 11651, 15263, 18507, 22469, 24071, 35509, 46471, 48962, 49119, 60525, 62548, 64457, 66596, 75161, 83866, 93457, 102158, 139392, 151313, 1910...
[ 0.040283203125, 0.025146484375, 0.07080078125, 0.046142578125, 0.0220947265625, 0.083984375, 0.1083984375, 0.02392578125, 0.10546875, 0.08251953125, 0.005615234375, 0.0299072265625, 0.2265625, 0.056640625, 0.083984375, 0.13671875, 0.05615234375, 0.142578125, 0.255859375, 0.0654...
042067f5-7218-50f3-bb32-27a25f23d917
11,561
0
Title: What is the difference between an endpoint, a service, and a port when working with webservices? I've used Apache CXF to expose about ten java classes as web services. I've generated clients using CXF, Axis, and .NET. In Axis and CXF a "Service" or "Locator" is generated. From this service you can get a "Po...
211
261
[ ".net", "java" ]
[ "java", ".net", "web-services", "cxf", "axis" ]
{"accepted_answer_id":11619,"answer_count":4,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-14T19:23:54.547000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net","java"],"last_activity_date":"2018-08-01T15:58:07.330000+00:00","last_edit_date":"2013-10-08T08:24:23.197000...
[ -0.0166015625, -0.00571441650390625, 0.00968170166015625, -0.003971099853515625, -0.033447265625, -0.007007598876953125, 0.0153961181640625, 0.01389312744140625, 0.0037746429443359375, -0.0038204193115234375, -0.0276641845703125, -0.0176849365234375, 0.0017671585083007812, 0.00896453857421...
[ 4, 5, 10, 12, 47, 62, 70, 79, 83, 118, 136, 141, 313, 330, 360, 408, 581, 678, 707, 831, 919, 1179, 1290, 1430, 1467, 1492, 1542, 2046, 2203, 3142, 3229, 3525, 3564, 4171, 4516, 4597, 4865, 7001, 9795, 11374, 11469, 11651, 11782, ...
[ 0.0152587890625, 0.0196533203125, 0.033203125, 0.01171875, 0.006591796875, 0.08203125, 0.076171875, 0.0859375, 0.001220703125, 0.046875, 0.06298828125, 0.0947265625, 0.01611328125, 0.146484375, 0.043701171875, 0.1298828125, 0.02783203125, 0.043701171875, 0.00830078125, 0.010986...
9323840f-aee8-5c22-96a1-fe7696f8053f
11,930
0
Title: How can I determine the IP of my router/gateway in Java? How can I determine the IP of my router/gateway in Java? I can get my IP easily enough. I can get my internet IP using a service on a website. But how can I determine my gateway's IP? This is somewhat easy in .NET if you know your way around. But how do...
87
91
[ "java" ]
[ "java", "sockets", "ip", "router" ]
{"accepted_answer_id":12030,"answer_count":16,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-15T03:32:28.897000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["java"],"last_activity_date":"2020-03-12T09:33:20.563000+00:00","last_edit_date":"2014-07-09T06:09:09.890000+00:00...
[ 0.0094451904296875, -0.01076507568359375, -0.033233642578125, -0.0411376953125, 0.0007586479187011719, -0.01171875, -0.01226043701171875, 0.0110015869140625, 0.00469207763671875, -0.0003008842468261719, -0.0303802490234375, 0.003513336181640625, 0.03778076171875, 0.01201629638671875, -0....
[ 5, 7, 10, 23, 54, 64, 70, 87, 111, 442, 759, 831, 1820, 2046, 2174, 3642, 3714, 3917, 4165, 4516, 4966, 7514, 8021, 10932, 11249, 17368, 17777, 20174, 23468, 41925, 42118, 48962, 70836, 72546, 83324, 122188, 208806 ]
[ 0.00048828125, 0.037109375, 0.001220703125, 0.10546875, 0.008544921875, 0.031494140625, 0.054443359375, 0.06396484375, 0.06640625, 0.016845703125, 0.05029296875, 0.0908203125, 0.107421875, 0.0859375, 0.017822265625, 0.04150390625, 0.0172119140625, 0.009765625, 0.08935546875, 0....
46acb608-a4ad-5b27-bffa-c3f7ef59eb86
12,088
0
Title: Do you obfuscate your commercial Java code? I wonder if anyone uses commercial/free java obfuscators on his own commercial product. I know only about one project that actually had an obfuscating step in the ant build step for releases. Do you obfuscate? And if so, why do you obfuscate? Is it really a way to...
208
224
[ "java" ]
[ "java", "obfuscation" ]
{"accepted_answer_id":12133,"answer_count":7,"chunk_count":1,"chunk_index":0,"closed_date":"2014-05-28T21:57:28.217000+00:00","creation_date":"2008-08-15T08:55:28.997000+00:00","has_accepted_answer":true,"is_closed":true,"languages":["java"],"last_activity_date":"2014-06-25T13:09:33.270000+00:00","last_edit_date":"2017...
[ 0.0016698837280273438, -0.012237548828125, -0.0115814208984375, 0.01187896728515625, 0.042327880859375, -0.0186767578125, -0.0035915374755859375, 0.032867431640625, 0.0207977294921875, -0.0012187957763671875, -0.049652099609375, 0.0249481201171875, -0.0025997161865234375, -0.01536560058593...
[ 4, 7, 8, 10, 16, 18, 25, 47, 54, 70, 79, 100, 111, 186, 214, 330, 360, 398, 408, 442, 450, 538, 821, 935, 984, 995, 1221, 1295, 1608, 1632, 1916, 3714, 3884, 3917, 4488, 4527, 4734, 6183, 6275, 7108, 8021, 10002, 11522, 12319, 1...
[ 0.0147705078125, 0.015625, 0.06201171875, 0.012451171875, 0.012451171875, 0.043701171875, 0.0140380859375, 0.08154296875, 0.0146484375, 0.0140380859375, 0.1650390625, 0.0107421875, 0.01171875, 0.0126953125, 0.042724609375, 0.216796875, 0.013916015625, 0.0439453125, 0.142578125, ...
4408e0c7-b13c-5a05-bab5-bf77a2d19cb3
12,144
0
Title: Application configuration files OK, so I don't want to start a holy-war here, but we're in the process of trying to consolidate the way we handle our application configuration files and we're struggling to make a decision on the best approach to take. At the moment, every application we distribute is using it's...
275
301
[ "java" ]
[ "java", "xml", "json", "cross-platform", "configuration-files" ]
{"accepted_answer_id":12256,"answer_count":15,"chunk_count":1,"chunk_index":0,"closed_date":"2016-03-21T02:49:24.220000+00:00","creation_date":"2008-08-15T11:19:51.137000+00:00","has_accepted_answer":true,"is_closed":true,"languages":["java"],"last_activity_date":"2015-12-14T10:59:23.073000+00:00","last_edit_date":"201...
[ -0.0164642333984375, 0.0059661865234375, -0.041839599609375, -0.0115203857421875, 0.01122283935546875, -0.0160980224609375, 0.0019102096557617188, 0.042327880859375, -0.007495880126953125, -0.0043182373046875, -0.0479736328125, 0.0047607421875, 0.0345458984375, -0.0018739700317382812, 0....
[ 4, 5, 7, 9, 10, 15, 23, 25, 47, 70, 83, 99, 107, 111, 136, 164, 177, 238, 272, 297, 442, 497, 606, 621, 678, 821, 831, 943, 1071, 1284, 1294, 1295, 1430, 1620, 1672, 1884, 1913, 2446, 2965, 3095, 3220, 3395, 3444, 3564, 3773, ...
[ 0.006591796875, 0.006103515625, 0.006103515625, 0.00048828125, 0.00634765625, 0.004638671875, 0.006591796875, 0.006103515625, 0.005126953125, 0.0068359375, 0.004150390625, 0.006591796875, 0.0986328125, 0.006103515625, 0.04443359375, 0.0859375, 0.0908203125, 0.06103515625, 0.00488...
ae922de3-d802-5d5f-b89b-f405fce97d65
12,870
0
Title: Arrays of Arrays in Java This is a nasty one for me... I'm a PHP guy working in Java on a JSP project. I know how to do what I'm attempting through too much code and a complete lack of finesse. I'd prefer to do it right. Here is the situation: I'm writing a small display to show customers what days they ca...
406
468
[ "java", "php" ]
[ "java", "php", "jsp", "tomcat" ]
{"accepted_answer_id":12878,"answer_count":12,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-15T23:07:03.400000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["java","php"],"last_activity_date":"2018-01-30T07:09:29.400000+00:00","last_edit_date":"2017-11-03T00:36:43.873000...
[ -0.0016574859619140625, -0.0017251968383789062, 0.00527191162109375, 0.003887176513671875, 0.002048492431640625, 0.0202484130859375, 0.0025920867919921875, -0.004611968994140625, -0.0036602020263671875, 0.0080718994140625, -0.01012420654296875, -0.00545501708984375, 0.026641845703125, -0.0...
[ 11, 23, 24, 27, 39, 47, 54, 62, 71, 100, 111, 163, 184, 214, 299, 418, 594, 693, 759, 765, 821, 831, 903, 1221, 1371, 1733, 1810, 1884, 2046, 2367, 2806, 2852, 3249, 3611, 3642, 3650, 3714, 3871, 3917, 4263, 4295, 4527, 4734, 4778...
[ 0.1953125, 0.103515625, 0.0791015625, 0.006591796875, 0.080078125, 0.03466796875, 0.0400390625, 0.099609375, 0.0166015625, 0.015869140625, 0.2158203125, 0.0234375, 0.029541015625, 0.0859375, 0.1044921875, 0.059326171875, 0.09375, 0.1572265625, 0.007080078125, 0.033447265625, ...
492b5c1f-e4c5-5fb2-9039-2f3d0d6b01f8
12,877
0
Title: Oracle SQL Developer not responsive when trying to view tables (or suggest an Oracle Mac client) I just get the beach ball all day long (it's been doing nothing for hours). It's not taking CPU, not reading from disk, not using the network. I'm using Java 1.6 on Mac OS X 10.5.4. It worked once, now even restar...
262
265
[ "java" ]
[ "java", "oracle-database", "macos" ]
{"accepted_answer_id":12959,"answer_count":7,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-15T23:15:27.470000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["java"],"last_activity_date":"2020-03-30T11:39:01.327000+00:00","last_edit_date":"2014-07-24T13:12:26.917000+00:00"...
[ 0.0050048828125, -0.023101806640625, -0.027008056640625, -0.03814697265625, 0.02630615234375, -0.0146942138671875, 0.01409912109375, 0.01238250732421875, 0.019195556640625, 0.00429534912109375, -0.031982421875, -0.009063720703125, 0.01244354248046875, 0.0013332366943359375, -0.0033321380...
[ 18, 166, 217, 353, 382, 450, 484, 634, 756, 758, 831, 903, 959, 1193, 1549, 1660, 1733, 1884, 2046, 2631, 2809, 3229, 3773, 4034, 4068, 4092, 4358, 4432, 4727, 4989, 5016, 5155, 9433, 11050, 11787, 11907, 12301, 12996, 13909, 15205, 164...
[ 0.0771484375, 0.06298828125, 0.076171875, 0.07861328125, 0.05322265625, 0.083984375, 0.0615234375, 0.0986328125, 0.006591796875, 0.1162109375, 0.026611328125, 0.044921875, 0.0947265625, 0.061767578125, 0.09765625, 0.00048828125, 0.0225830078125, 0.0087890625, 0.0235595703125, 0...
912f4375-ba75-500f-bd24-54873f6c9bce
12,927
0
Title: If you have a Java application that is consuming CPU when it isn't doing anything, how do you determine what it is doing? I am calling a vendor's Java API, and on some servers it appears that the JVM goes into a low priority polling loop after logging into the API (CPU at 100% usage). The same app on other serv...
370
399
[ "java" ]
[ "java", "profiling" ]
{"accepted_answer_id":12961,"answer_count":8,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-16T00:45:38.210000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["java"],"last_activity_date":"2015-08-20T22:20:12.353000+00:00","last_edit_date":"2011-10-17T11:59:28.930000+00:00"...
[ -0.00037169456481933594, -0.024505615234375, -0.01023101806640625, -0.0004870891571044922, 0.0171356201171875, -0.017486572265625, 0.024627685546875, -0.017364501953125, 0.0253448486328125, -0.005207061767578125, -0.03973388671875, -0.00963592529296875, 0.0172576904296875, -0.0158233642578...
[ 18, 54, 56, 83, 136, 160, 214, 217, 398, 442, 459, 509, 634, 821, 903, 959, 1152, 1353, 1632, 1846, 2367, 2750, 2967, 3229, 3542, 3555, 3642, 3917, 3934, 4002, 4027, 4263, 4460, 4734, 5701, 7413, 8035, 8352, 9468, 9803, 10146, 10723, ...
[ 0.091796875, 0.043212890625, 0.036865234375, 0.042724609375, 0.010986328125, 0.166015625, 0.1015625, 0.177734375, 0.0235595703125, 0.03173828125, 0.0654296875, 0.039794921875, 0.1982421875, 0.150390625, 0.04931640625, 0.005859375, 0.09375, 0.09228515625, 0.0986328125, 0.1171875...
a3ad4a79-48ee-52ec-8773-1b147e9db37e
13,225
0
Title: How can I refactor HTML markup out of my property files? I've recently inherited a internationalized and text-heavy Struts 1.1 web application. Many of the JSP files look like: <p> <bean:message key="alert" /> </p> and the properties files look like: messages.properties alert=Please update your <a hre...
305
353
[ "java" ]
[ "java", "jsp", "internationalization", "struts" ]
{"accepted_answer_id":13381,"answer_count":4,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-16T16:42:50.070000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["java"],"last_activity_date":"2013-06-11T14:23:30.093000+00:00","last_edit_date":"2013-06-11T14:18:45.163000+00:00"...
[ 0.03271484375, -0.0116424560546875, 0.0007686614990234375, 0.005939483642578125, 0.0006718635559082031, -0.0047760009765625, -0.00719451904296875, 0.0238800048828125, -0.040130615234375, 0.01552581787109375, -0.031768798828125, 0.017791748046875, 0.0162353515625, 0.01003265380859375, 0.0...
[ 13, 56, 66, 106, 246, 289, 372, 391, 418, 456, 541, 613, 821, 831, 933, 1108, 1286, 1467, 1810, 1884, 2389, 2529, 2795, 3033, 3454, 3687, 4000, 4677, 6713, 7909, 7986, 9434, 11249, 11322, 11435, 14941, 15649, 17496, 18499, 19097, 21640,...
[ 0.058837890625, 0.1103515625, 0.07421875, 0.0269775390625, 0.004150390625, 0.003173828125, 0.06689453125, 0.022216796875, 0.03173828125, 0.130859375, 0.041748046875, 0.00732421875, 0.0791015625, 0.0213623046875, 0.142578125, 0.1572265625, 0.013671875, 0.06298828125, 0.05712890625...
3de36897-6f93-5901-8499-337797e5306a
13,863
0
Title: Parsing search queries in Java I have been trying to find an easy way to parse a search query and convert it to an SQL query for my DB. I have found two solutions: Lucene: Powerful Java-based search engine, contains a query parser but it isn't very configurable and I could find a way to easily hack/adapt ...
126
144
[ "java" ]
[ "java", "search" ]
{"accepted_answer_id":null,"answer_count":7,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-17T19:21:26.037000+00:00","has_accepted_answer":false,"is_closed":false,"languages":["java"],"last_activity_date":"2015-04-17T16:27:49.970000+00:00","last_edit_date":"2015-04-17T16:27:49.970000+00:00"...
[ -0.00611114501953125, -0.017120361328125, 0.006496429443359375, -0.00797271728515625, 0.01983642578125, -0.026336669921875, -0.00850677490234375, 0.0035724639892578125, -0.0196075439453125, -0.00634765625, -0.06378173828125, 0.00296783447265625, 0.019012451171875, 0.0238494873046875, 0.0...
[ 5, 7, 10, 12, 18, 23, 41, 47, 64, 70, 83, 87, 95, 98, 100, 136, 142, 184, 345, 366, 759, 765, 1151, 1221, 1284, 1294, 1295, 1314, 2189, 2392, 2500, 2661, 2809, 3525, 3789, 3917, 4552, 5036, 5281, 5809, 6626, 6953, 7413, 7844, 79...
[ 0.00341796875, 0.022705078125, 0.02734375, 0.049560546875, 0.021728515625, 0.1103515625, 0.1845703125, 0.09716796875, 0.01416015625, 0.021728515625, 0.030029296875, 0.005126953125, 0.10009765625, 0.0211181640625, 0.03515625, 0.006591796875, 0.053955078125, 0.134765625, 0.0859375,...
e90ec850-ee16-50b0-b922-c2877e9e1eee
14,397
0
Title: When should a multi-module project to split into separate repository trees? Currently we have a project with a standard subversion repository layout of: ./trunk ./branches ./tags However, as we're moving down the road of OSGi and a modular project, we've ended up with: ./trunk/bundle/main ./trunk/bundl...
265
326
[ "java" ]
[ "java", "svn", "osgi" ]
{"accepted_answer_id":14441,"answer_count":4,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-18T09:51:18.153000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["java"],"last_activity_date":"2013-11-26T04:29:07.617000+00:00","last_edit_date":"2009-07-21T18:47:50.057000+00:00"...
[ 0.006103515625, 0.00533294677734375, 0.00020825862884521484, -0.01291656494140625, -0.00583648681640625, 0.01030731201171875, 0.00527191162109375, 0.0196685791015625, 0.01232147216796875, 0.004207611083984375, -0.0236968994140625, 0.0104827880859375, 0.037200927734375, 0.03021240234375, ...
[ 11, 13, 14, 40, 90, 147, 756, 944, 1286, 1294, 1353, 1360, 1614, 2394, 3033, 3082, 3934, 4353, 5570, 5608, 5759, 6024, 6403, 7464, 7565, 11787, 12638, 13452, 14170, 14847, 17055, 22460, 24145, 24494, 24931, 28025, 28987, 31667, 32168, 322...
[ 0.09326171875, 0.05859375, 0.0791015625, 0.009765625, 0.03564453125, 0.1591796875, 0.06640625, 0.05078125, 0.004150390625, 0.0419921875, 0.16796875, 0.162109375, 0.1552734375, 0.1181640625, 0.1708984375, 0.09375, 0.0712890625, 0.1083984375, 0.150390625, 0.06640625, 0.01953125...
456cf84b-2f55-53aa-9355-6f9a87362cdf
14,617
0
Title: How to retrieve a file from a server via SFTP? I'm trying to retrieve a file from a server using SFTP (as opposed to FTPS) using Java. How can I do this?
45
51
[ "java" ]
[ "java", "ftp", "sftp", "security" ]
{"accepted_answer_id":15937,"answer_count":16,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-18T13:43:48.730000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["java"],"last_activity_date":"2022-07-08T15:03:18.357000+00:00","last_edit_date":"2017-01-10T16:24:18.400000+00:00...
[ -0.0058441162109375, -0.01352691650390625, -0.01412200927734375, -0.00872039794921875, -0.0006413459777832031, -0.016021728515625, -0.00501251220703125, 0.017791748046875, 0.011566162109375, 0.022430419921875, -0.051483154296875, -0.0011119842529296875, 0.056243896484375, -0.00996398925781...
[ 47, 54, 294, 456, 831, 1295, 1829, 3134, 3996, 10723, 11249, 11435, 17368, 23658, 31577, 41925, 48962, 59215, 162379 ]
[ 0.044189453125, 0.009765625, 0.09033203125, 0.076171875, 0.03515625, 0.12890625, 0.0908203125, 0.109375, 0.130859375, 0.169921875, 0.083984375, 0.1748046875, 0.06298828125, 0.26171875, 0.072265625, 0.197265625, 0.03857421875, 0.1923828125, 0.1298828125 ]
b0973274-7aa0-51c6-91bd-4de4dde38590
14,801
0
Title: How can I override an EJB 3 session bean method with a generic argument - if possible at all? Suppose you have the following EJB 3 interfaces/classes: public interface Repository<E> { public void delete(E entity); } public abstract class AbstractRepository<E> implements Repository<E> { public void del...
268
336
[ "java" ]
[ "java", "generics", "inheritance", "jakarta-ee", "ejb-3.0" ]
{"accepted_answer_id":15279,"answer_count":2,"chunk_count":1,"chunk_index":0,"closed_date":"2013-01-23T12:40:11.840000+00:00","creation_date":"2008-08-18T15:34:34.920000+00:00","has_accepted_answer":true,"is_closed":true,"languages":["java"],"last_activity_date":"2015-12-18T01:49:16.537000+00:00","last_edit_date":"2015...
[ -0.01265716552734375, -0.0100860595703125, 0.0277557373046875, -0.0265350341796875, 0.03448486328125, 0.006755828857421875, -0.006175994873046875, 0.0304412841796875, 0.0250701904296875, 0.0010395050048828125, -0.0289764404296875, 0.03887939453125, -0.016754150390625, -0.019561767578125, ...
[ 31, 66, 112, 138, 141, 186, 416, 571, 645, 647, 678, 831, 1294, 1601, 2292, 2517, 3060, 3334, 3584, 3835, 4332, 4734, 5775, 6238, 7154, 7352, 7722, 8108, 8306, 8520, 9393, 9572, 10750, 11249, 11301, 14375, 17203, 18507, 20594, 24674, 25...
[ 0.0419921875, 0.1357421875, 0.130859375, 0.1669921875, 0.0625, 0.13671875, 0.2021484375, 0.12109375, 0.1064453125, 0.0712890625, 0.008056640625, 0.021484375, 0.0216064453125, 0.09326171875, 0.11328125, 0.033447265625, 0.002197265625, 0.13671875, 0.0228271484375, 0.03515625, 0...
f43127e5-aa7d-5a48-a059-2b844be77dbc
15,305
0
Title: JNI and Java: ant calling make or make calling ant? I'm just about to make my first trip into the world of JNI (Java Native Interface) to provide file system change notifications from platform specific C/C++ code to Java. That is unless someone suggest some brilliant library for doing this that I've missed. B...
189
215
[ "java" ]
[ "java", "ant", "makefile", "java-native-interface", "automake" ]
{"accepted_answer_id":15367,"answer_count":5,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-18T22:15:39.087000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["java"],"last_activity_date":"2019-12-29T14:10:47.387000+00:00","last_edit_date":null,"question_id":15305,"score":7...
[ 0.0014514923095703125, -0.003978729248046875, 0.010528564453125, -0.00493621826171875, 0.0037250518798828125, -0.0084381103515625, -0.0025424957275390625, 0.03924560546875, -0.0186614990234375, -0.00891876220703125, -0.0218963623046875, -0.0083770751953125, 0.0222625732421875, -0.004787445...
[ 24, 47, 64, 136, 313, 353, 479, 707, 821, 1294, 1295, 1340, 1672, 2046, 2965, 3249, 3501, 3525, 4488, 4935, 5117, 5426, 5608, 7103, 7787, 8035, 8999, 9319, 9969, 11435, 11522, 11782, 12936, 13651, 15044, 15549, 18151, 22691, 24745, 26267,...
[ 0.1103515625, 0.07080078125, 0.047607421875, 0.041015625, 0.009521484375, 0.09375, 0.04541015625, 0.10205078125, 0.1435546875, 0.08984375, 0.0078125, 0.05859375, 0.0322265625, 0.0283203125, 0.1025390625, 0.205078125, 0.0048828125, 0.006591796875, 0.000732421875, 0.09375, 0.01...
8a4d71b3-ca4f-5c16-88af-5368cac2a78a
15,481
0
Title: Java Coding standard / best practices - naming convention for break/continue labels Sometimes a labeled break or continue can make code a lot more readable. OUTERLOOP: for ( ;/*stuff*/; ) { //...lots of code if ( isEnough() ) break OUTERLOOP; //...more code } I was wondering what the common co...
92
102
[ "java" ]
[ "java", "label", "convention" ]
{"accepted_answer_id":15658,"answer_count":10,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-19T01:18:29.890000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["java"],"last_activity_date":"2015-03-17T10:50:50.143000+00:00","last_edit_date":"2015-03-17T10:50:50.143000+00:00...
[ -0.002712249755859375, -0.029937744140625, 0.000804901123046875, 0.0148468017578125, 0.00162506103515625, 0.0147247314453125, -0.0277862548828125, 0.0288543701171875, 0.0031757354736328125, 0.0212249755859375, -0.01323699951171875, 0.0070953369140625, 0.01401519775390625, -0.01585388183593...
[ 7, 13, 64, 70, 83, 100, 271, 297, 509, 707, 831, 1286, 1311, 1639, 2174, 2819, 2886, 2965, 3164, 3249, 3540, 5117, 5570, 5915, 6238, 7768, 12301, 12631, 14755, 17014, 17678, 18151, 20880, 21342, 21493, 32616, 36356, 39210, 41361, 41925, ...
[ 0.10693359375, 0.03857421875, 0.0634765625, 0.002685546875, 0.03515625, 0.09326171875, 0.052001953125, 0.059814453125, 0.02734375, 0.049072265625, 0.0262451171875, 0.080078125, 0.10498046875, 0.021240234375, 0.05517578125, 0.010009765625, 0.10546875, 0.0556640625, 0.1025390625, ...
f13c68e8-9f72-5aba-83ab-d4554ecd898f
15,496
0
Title: Hidden Features of Java After reading Hidden Features of C# I wondered, What are some of the hidden features of Java?
29
33
[ "java" ]
[ "java" ]
{"accepted_answer_id":null,"answer_count":100,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-19T01:36:03.053000+00:00","has_accepted_answer":false,"is_closed":false,"languages":["java"],"last_activity_date":"2012-06-05T18:13:34.450000+00:00","last_edit_date":"2017-05-23T12:26:24.527000+00:0...
[ 0.0052032470703125, 0.01312255859375, -0.0193939208984375, 0.0012712478637695312, 0.02459716796875, -0.02825927734375, -0.0135955810546875, 0.0265960693359375, -0.01690673828125, 0.0089874267578125, -0.033111572265625, -0.01436614990234375, 0.0117034912109375, 0.006916046142578125, 0.029...
[ 7, 32, 70, 87, 111, 297, 313, 555, 621, 3060, 4865, 4904, 16454, 24372, 32195, 41925, 66139, 72483, 106594, 204105 ]
[ 0.027099609375, 0.011474609375, 0.05810546875, 0.002197265625, 0.076171875, 0.0203857421875, 0.039306640625, 0.142578125, 0.05419921875, 0.0712890625, 0.037841796875, 0.1689453125, 0.031005859375, 0.00048828125, 0.040771484375, 0.28125, 0.1865234375, 0.1259765625, 0.1630859375, ...
c0bb67dd-c64b-516b-a172-fcd65887e938
15,649
0
Title: Can you really build a fast word processor with GoF Design Patterns? The Gang of Four's Design Patterns uses a word processor as an example for at least a few of their patterns, particularly Composite and Flyweight. Other than by using C or C++, could you really use those patterns and the object-oriented over...
265
304
[ "java" ]
[ "java", "performance", "design-patterns", "ide", "text-processing" ]
{"accepted_answer_id":15667,"answer_count":7,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-19T03:31:27.750000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["java"],"last_activity_date":"2013-11-26T04:36:57.437000+00:00","last_edit_date":"2011-09-21T00:34:50.587000+00:00"...
[ 0.0305328369140625, 0.0267791748046875, 0.01151275634765625, 0.02960205078125, 0.035003662109375, -0.0298309326171875, -0.0019235610961914062, 0.0157470703125, 0.04205322265625, -0.022430419921875, -0.0269012451171875, 0.01251220703125, -0.00034880638122558594, 0.0204315185546875, 0.0420...
[ 7, 18, 23, 42, 111, 136, 313, 645, 678, 919, 1632, 2016, 2565, 2684, 2806, 4171, 4271, 4295, 4527, 5037, 5072, 5426, 5809, 5915, 6183, 6712, 6833, 7986, 8035, 9876, 11192, 11724, 11814, 12924, 13492, 14543, 17368, 19441, 20903, 22543, 2...
[ 0.0498046875, 0.044677734375, 0.039306640625, 0.11328125, 0.1142578125, 0.0291748046875, 0.046630859375, 0.09375, 0.019287109375, 0.158203125, 0.013671875, 0.06787109375, 0.1337890625, 0.0166015625, 0.001953125, 0.06982421875, 0.1376953125, 0.080078125, 0.0986328125, 0.12207031...
b6551bae-f8b1-5e36-b508-4d3dbe616d56
15,690
0
Title: How do you begin designing a large system? It's been mentioned to me that I'll be the sole developer behind a large new system. Among other things I'll be designing a UI and database schema. I'm sure I'll receive some guidance, but I'd like to be able to knock their socks off. What can I do in the meantime to...
144
158
[ "java" ]
[ "java", "oop", "architecture" ]
{"accepted_answer_id":15702,"answer_count":10,"chunk_count":1,"chunk_index":0,"closed_date":"2018-11-16T11:54:09.597000+00:00","creation_date":"2008-08-19T04:26:33.347000+00:00","has_accepted_answer":true,"is_closed":true,"languages":["java"],"last_activity_date":"2012-04-06T09:29:00.963000+00:00","last_edit_date":"201...
[ 0.0338134765625, 0.027679443359375, -0.015960693359375, -0.01064300537109375, 0.0019330978393554688, -0.015899658203125, -0.0199127197265625, 0.03631591796875, 0.047332763671875, 0.0066070556640625, -0.0726318359375, 0.0185394287109375, 0.035308837890625, 0.00576019287109375, 0.009208679...
[ 10, 32, 39, 47, 54, 70, 71, 87, 99, 136, 159, 163, 186, 214, 221, 398, 449, 678, 759, 765, 831, 1181, 1661, 1884, 2363, 2773, 3525, 3871, 4331, 5117, 5423, 5426, 5773, 7086, 7565, 9836, 9842, 10846, 11249, 11408, 12447, 13695, 13909...
[ 0.0264892578125, 0.002197265625, 0.05322265625, 0.004150390625, 0.076171875, 0.103515625, 0.00830078125, 0.011474609375, 0.018310546875, 0.017578125, 0.034423828125, 0.0223388671875, 0.0927734375, 0.1650390625, 0.08447265625, 0.043701171875, 0.1162109375, 0.01171875, 0.0419921875...
3d18b2c4-15b0-5a7d-ad06-8416a21e8c59
15,695
0
Title: Good Stripes tutorials / examples? The company I just started working for is using Stripes for parts of its web page development these days, and while it seems to be a nice enough web framework it no one really uses it-- it is almost non existent on the 'net. It's not even first in it's google search and the re...
112
118
[ "java" ]
[ "java", "stripes" ]
{"accepted_answer_id":16385,"answer_count":5,"chunk_count":1,"chunk_index":0,"closed_date":"2012-04-04T04:58:29.880000+00:00","creation_date":"2008-08-19T04:29:40.283000+00:00","has_accepted_answer":true,"is_closed":true,"languages":["java"],"last_activity_date":"2018-12-19T06:01:47.287000+00:00","last_edit_date":"2013...
[ 0.00836944580078125, -0.0029468536376953125, -0.0008068084716796875, -0.01491546630859375, 0.0208740234375, -0.016265869140625, -0.02734375, -0.011138916015625, 0.00238800048828125, -0.00872039794921875, -0.03936767578125, 0.0201568603515625, 0.0201568603515625, 0.01390838623046875, 0.02...
[ 7, 54, 90, 100, 110, 248, 351, 959, 1179, 1363, 1467, 1632, 1660, 2499, 3395, 3714, 4127, 4527, 5117, 5368, 6183, 6619, 9191, 10002, 10332, 13312, 14380, 16750, 17368, 18621, 20174, 20697, 26267, 26484, 26859, 27781, 30781, 33938, 34754, ...
[ 0.0673828125, 0.04541015625, 0.2333984375, 0.0546875, 0.038818359375, 0.010498046875, 0.012939453125, 0.025634765625, 0.05224609375, 0.021240234375, 0.058349609375, 0.0615234375, 0.0068359375, 0.01171875, 0.041259765625, 0.0537109375, 0.10498046875, 0.1298828125, 0.068359375, 0...
10a11855-8f4f-53a9-bb2c-a21b8102ee4b
15,732
0
Title: How to validate an XML file against an XSD file? I'm generating some xml files that needs to conform to an xsd file that was given to me. How should I verify they conform?
44
50
[ "java" ]
[ "java", "xml", "validation", "xsd" ]
{"accepted_answer_id":16054,"answer_count":13,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-19T04:59:04.750000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["java"],"last_activity_date":"2024-10-22T08:32:43.817000+00:00","last_edit_date":"2022-02-09T14:04:25.990000+00:00...
[ 0.0068817138671875, 0.01406097412109375, -0.0125274658203125, 0.0078582763671875, 0.0009899139404296875, -0.01483154296875, 0.002910614013671875, 0.0199737548828125, -0.00904083251953125, 0.0228118896484375, -0.045379638671875, 0.00738525390625, 0.028594970703125, -0.007415771484375, 0.0...
[ 7, 47, 67, 71, 163, 493, 1022, 1193, 1836, 5608, 11249, 11435, 12663, 19911, 22916, 26548, 27117, 34475, 40383, 44622, 48962, 92537, 102158, 131492 ]
[ 0.035400390625, 0.055908203125, 0.123046875, 0.1279296875, 0.017333984375, 0.1630859375, 0.0693359375, 0.08642578125, 0.05419921875, 0.0196533203125, 0.07080078125, 0.1474609375, 0.09130859375, 0.228515625, 0.2216796875, 0.1640625, 0.0751953125, 0.06884765625, 0.1982421875, 0.2...
76a2c6d1-41b0-5c3b-83f5-bd3ce80bc9b8
15,851
0
Title: Refactoring away labeled loops After I was convinced that labeled breaks/continues are a total "nono" over here, I need help to remove the label out of my code. I have a square matrix and a vector that has the same length. The vector has already some values in it an depending on the values in the matrix the v...
223
275
[ "java" ]
[ "java", "refactoring", "label" ]
{"accepted_answer_id":15946,"answer_count":12,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-19T07:42:02.407000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["java"],"last_activity_date":"2013-12-02T12:41:25.173000+00:00","last_edit_date":"2017-05-23T11:47:35.330000+00:00...
[ -0.0086822509765625, -0.01654052734375, -0.020111083984375, 0.017608642578125, 0.00969696044921875, -0.0076141357421875, -0.0235595703125, 0.0182037353515625, -0.00681304931640625, 0.0025424957275390625, -0.004909515380859375, 0.0216522216796875, -0.01029205322265625, -0.018798828125, 0....
[ 7, 18, 23, 74, 81, 90, 100, 111, 157, 172, 173, 214, 297, 347, 372, 425, 428, 645, 757, 853, 856, 1286, 1810, 2146, 2174, 2886, 3055, 3447, 3622, 3688, 3871, 4358, 4426, 5423, 5701, 11389, 12301, 15363, 15490, 15555, 15673, 15700, 1...
[ 0.009033203125, 0.025634765625, 0.0191650390625, 0.01953125, 0.125, 0.027099609375, 0.0771484375, 0.0048828125, 0.1689453125, 0.048828125, 0.169921875, 0.03662109375, 0.06787109375, 0.035888671875, 0.0142822265625, 0.134765625, 0.09912109375, 0.049560546875, 0.126953125, 0.0839...
9fb0ef89-6483-5327-8102-9ebd8032df40
15,899
0
Title: How to insert/replace XML tag in XmlDocument? I have a XmlDocument in java, created with the Weblogic XmlDocument parser. I want to replace the content of a tag in this XMLDocument with my own data, or insert the tag if it isn't there. <customdata> <tag1 /> <tag2>mfkdslmlfkm</tag2> <location /> ...
371
471
[ "java" ]
[ "java", "xml", "xquery" ]
{"accepted_answer_id":16019,"answer_count":4,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-19T08:46:08.207000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["java"],"last_activity_date":"2019-11-21T19:44:09.563000+00:00","last_edit_date":"2019-11-21T19:44:09.563000+00:00"...
[ -0.007778167724609375, 0.0031948089599609375, 0.00965118408203125, -0.0006256103515625, -0.00910186767578125, -0.007083892822265625, 0.0139312744140625, 0.0190582275390625, -0.00014507770538330078, 0.0288238525390625, -0.032073974609375, 0.01953125, -0.007175445556640625, -0.00034856796264...
[ 4, 5, 6, 7, 9, 10, 12, 13, 15, 16, 18, 19, 23, 32, 38, 44, 47, 54, 58, 64, 70, 71, 73, 74, 79, 83, 87, 92, 107, 127, 132, 141, 164, 170, 184, 188, 192, 194, 214, 223, 237, 247, 297, 304, 330, 337, 363, 366, 418, 420, ...
[ 0.0185546875, 0.019287109375, 0.018798828125, 0.01806640625, 0.0186767578125, 0.0184326171875, 0.00830078125, 0.0186767578125, 0.0184326171875, 0.0186767578125, 0.0673828125, 0.0184326171875, 0.08349609375, 0.009521484375, 0.0283203125, 0.018798828125, 0.03271484375, 0.001708984375...
c7fec4ff-cae0-5590-98b9-cac5b1265689
15,949
0
Title: Java+Tomcat, Dying database connection? I have a tomcat instance setup but the database connection I have configured in context.xml keeps dying after periods of inactivity. When I check the logs I get the following error: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: The last packet successfully ...
336
380
[ "java" ]
[ "java", "mysql", "database", "tomcat" ]
{"accepted_answer_id":16168,"answer_count":4,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-19T10:17:24.090000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["java"],"last_activity_date":"2019-02-13T15:38:08.917000+00:00","last_edit_date":"2019-02-13T15:38:08.917000+00:00"...
[ -0.00418853759765625, -0.010528564453125, -0.0156707763671875, -0.0215301513671875, 0.0228424072265625, 0.0111236572265625, -0.013397216796875, 0.02081298828125, 0.0220184326171875, 0.004962921142578125, -0.0029315948486328125, -0.00634002685546875, -0.01303863525390625, 0.0046043395996093...
[ 14, 23, 32, 47, 64, 70, 126, 214, 217, 375, 425, 493, 531, 587, 617, 634, 748, 756, 1197, 1328, 1369, 1375, 1733, 1809, 2160, 2481, 2967, 3355, 3448, 3501, 3559, 3627, 4332, 4460, 4527, 4568, 6032, 6056, 6650, 7103, 8035, 8108, 8306...
[ 0.032470703125, 0.044921875, 0.00146484375, 0.017578125, 0.0142822265625, 0.001220703125, 0.07275390625, 0.13671875, 0.1103515625, 0.1162109375, 0.07666015625, 0.034423828125, 0.037109375, 0.10498046875, 0.1796875, 0.1279296875, 0.05908203125, 0.009521484375, 0.0830078125, 0.13...
3ede2f45-5647-540b-aed1-af1403961e12
16,140
0
Title: What's the best way to get started with OSGI? What makes a module/service/bit of application functionality a particularly good candidate for an OSGi module? I'm interested in using OSGi in my applications. We're a Java shop and we use Spring pretty extensively, so I'm leaning toward using Spring Dynamic Modu...
252
274
[ "java" ]
[ "java", "spring", "osgi" ]
{"accepted_answer_id":16817,"answer_count":8,"chunk_count":1,"chunk_index":0,"closed_date":"2013-07-24T14:14:03.770000+00:00","creation_date":"2008-08-19T13:20:49.010000+00:00","has_accepted_answer":true,"is_closed":true,"languages":["java"],"last_activity_date":"2018-09-19T21:06:35.393000+00:00","last_edit_date":"2008...
[ 0.0021800994873046875, 0.0055999755859375, 0.0239715576171875, -0.0280914306640625, 0.01495361328125, -0.0146484375, -0.0018768310546875, 0.029296875, -0.0171966552734375, -0.0053558349609375, -0.0426025390625, 0.0312347412109375, 0.018768310546875, 0.0236053466796875, 0.0248260498046875...
[ 18, 23, 39, 133, 237, 678, 759, 1212, 1286, 2046, 2497, 2965, 3137, 3249, 3917, 3934, 4027, 4127, 4331, 4527, 4785, 5117, 6661, 10176, 11522, 11787, 11814, 12349, 13380, 16487, 16916, 17368, 18027, 19336, 19927, 21068, 22584, 25469, 25647, ...
[ 0.013427734375, 0.001953125, 0.0908203125, 0.1455078125, 0.017578125, 0.08837890625, 0.010009765625, 0.0198974609375, 0.005126953125, 0.08349609375, 0.004638671875, 0.111328125, 0.115234375, 0.0322265625, 0.053466796875, 0.0234375, 0.1640625, 0.076171875, 0.1064453125, 0.052246...
890ae66e-755b-55f7-93c3-d35a824a3b65
16,451
0
Title: Calling .NET Web Service (WSE 2/3, WS-Security) from Java I need to call a web service written in .NET from Java. The web service implements the WS-Security stack (either WSE 2 or WSE 3, it's not clear from the information I have). The information that I received from the service provider included WSDL, a po...
254
281
[ ".net", "java" ]
[ "java", ".net", "apache-axis", "ws-security", "wse" ]
{"accepted_answer_id":711398,"answer_count":5,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-19T15:54:59.153000+00:00","has_accepted_answer":true,"is_closed":false,"languages":[".net","java"],"last_activity_date":"2013-11-15T00:18:58.997000+00:00","last_edit_date":null,"question_id":16451,"...
[ -0.0389404296875, 0.015411376953125, -0.0169677734375, 0.0014553070068359375, 0.0028076171875, -0.0229339599609375, 0.0277099609375, 0.0269927978515625, -0.026031494140625, 0.0035228729248046875, -0.043487548828125, -0.01947021484375, 0.0267486572265625, 0.00919342041015625, 0.0064201354...
[ 4, 5, 6, 7, 9, 10, 18, 23, 25, 39, 47, 62, 70, 83, 87, 98, 111, 116, 136, 138, 214, 237, 304, 329, 442, 450, 538, 601, 621, 756, 765, 939, 959, 1295, 1366, 1399, 1430, 1456, 1467, 1902, 2499, 3542, 3871, 4002, 4233, 4488, 45...
[ 0.0213623046875, 0.07177734375, 0.0223388671875, 0.021240234375, 0.0216064453125, 0.020751953125, 0.043212890625, 0.028564453125, 0.020751953125, 0.009521484375, 0.0216064453125, 0.039306640625, 0.0211181640625, 0.020263671875, 0.01953125, 0.0216064453125, 0.0211181640625, 0.098632...
8820c3d3-5544-5057-bd04-722b20ec2c86
16,487
0
Title: How can I deploy artifacts from a Maven build to the SourceForge File Release System? I am using SourceForge for some Open Source projects and I want to automate the deployment of releases to the SourceForge File Release System. I use Maven for my builds and the standard SFTP deployment mechanism doesn't seem t...
110
133
[ "java" ]
[ "java", "maven-2", "sourceforge" ]
{"accepted_answer_id":1449595,"answer_count":9,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-19T16:11:16.297000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["java"],"last_activity_date":"2010-12-09T19:52:08.020000+00:00","last_edit_date":null,"question_id":16487,"score"...
[ -0.0022029876708984375, -0.0228271484375, -0.005115509033203125, 0.00499725341796875, 0.00449371337890625, 0.0052642822265625, -0.002765655517578125, 0.0157318115234375, -0.0274505615234375, 0.005767822265625, -0.00940704345703125, -0.0158538818359375, 0.03643798828125, -0.018218994140625,...
[ 8, 47, 53, 87, 100, 429, 831, 911, 1353, 1902, 3316, 3444, 4488, 4527, 4734, 4738, 5570, 6126, 11249, 11408, 12353, 13158, 13527, 16981, 17368, 17662, 18537, 23009, 23658, 33022, 42724, 45367, 51515, 54452, 59215, 75220, 77635, 77641, 11470...
[ 0.1259765625, 0.0908203125, 0.080078125, 0.010498046875, 0.050537109375, 0.171875, 0.048828125, 0.08154296875, 0.23828125, 0.01318359375, 0.17578125, 0.006103515625, 0.07421875, 0.0211181640625, 0.057373046875, 0.0157470703125, 0.03515625, 0.1806640625, 0.057861328125, 0.158203...
c15a7361-853e-5418-86b4-7550e126ae51
16,557
0
Title: Overriding the equals method vs creating a new method I have always thought that the .equals() method in java should be overridden to be made specific to the class you have created. In other words to look for equivalence of two different instances rather than two references to the same instance. However I have ...
109
126
[ "java" ]
[ "java", "oop" ]
{"accepted_answer_id":16573,"answer_count":7,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-19T17:05:26.937000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["java"],"last_activity_date":"2017-04-27T18:00:29.343000+00:00","last_edit_date":"2017-04-27T18:00:29.343000+00:00"...
[ 0.004047393798828125, 0.0139007568359375, 0.017120361328125, -0.0092620849609375, 0.0272064208984375, -0.007564544677734375, 0.00356292724609375, 0.01290130615234375, -0.0184173583984375, -0.004955291748046875, -0.038238525390625, 0.020050048828125, -0.00112152099609375, 0.0011949539184570...
[ 5, 7, 13, 47, 79, 100, 132, 330, 360, 416, 555, 645, 3501, 3525, 3956, 5351, 5608, 5701, 6238, 6626, 6713, 7228, 9578, 10750, 11343, 12921, 17569, 18507, 19040, 20209, 25737, 26548, 29458, 36746, 55300, 71723, 75447, 75935, 77848, 91067, ...
[ 0.05078125, 0.1591796875, 0.0751953125, 0.0235595703125, 0.10595703125, 0.046875, 0.09375, 0.15234375, 0.003662109375, 0.1708984375, 0.10595703125, 0.09326171875, 0.0257568359375, 0.0986328125, 0.076171875, 0.0172119140625, 0.0234375, 0.03125, 0.059326171875, 0.083984375, 0.0...
f41f9bb1-f716-5ed6-8e8b-8a8c6759af1e
16,689
0
Title: Java and C# interoperability I have two programs. One is in C# and another one in Java. Those programs will, most probably, always run on the same machine. What would be the best way to let them talk to each other? So, to clarify the problem: This is a personal project (so professional/costly libraries ar...
195
204
[ "c#", "java" ]
[ "c#", "java", "interop" ]
{"accepted_answer_id":null,"answer_count":8,"chunk_count":1,"chunk_index":0,"closed_date":"2026-06-12T03:26:03.907000+00:00","creation_date":"2008-08-19T18:31:32.410000+00:00","has_accepted_answer":false,"is_closed":true,"languages":["c#","java"],"last_activity_date":"2017-02-21T09:04:38.550000+00:00","last_edit_date":...
[ 0.0063934326171875, -0.0044097900390625, -0.01739501953125, 0.0018606185913085938, -0.01219940185546875, 0.004611968994140625, 0.002262115478515625, 0.0037364959716796875, 0.01190948486328125, 0.00957489013671875, -0.03875732421875, -0.0056915283203125, 0.037139892578125, 0.005809783935546...
[ 23, 47, 79, 98, 116, 117, 136, 186, 221, 313, 330, 334, 645, 765, 1221, 1884, 1940, 2633, 2806, 2856, 2965, 2967, 3357, 3622, 3789, 3917, 4527, 4904, 5036, 5062, 5608, 5701, 6226, 6626, 9384, 10484, 10846, 11001, 11343, 11522, 11675, ...
[ 0.0810546875, 0.0693359375, 0.146484375, 0.042724609375, 0.04296875, 0.005615234375, 0.1162109375, 0.002685546875, 0.0869140625, 0.0810546875, 0.2119140625, 0.1591796875, 0.0225830078125, 0.03857421875, 0.0155029296875, 0.0439453125, 0.1337890625, 0.07177734375, 0.042236328125, ...
56ae3c9a-de3f-500a-9121-86fb9a5b5575
16,935
0
Title: Ant's <javac> tasks throws StackOverflowException I'm trying to compile over 100 java classes from different packages from a clean directory (no incremental compiles) using the following ant tasks: <target name="-main-src-depend"> <depend srcdir="${src.dir}" destdir="${bin.dir}" ...
317
395
[ "java" ]
[ "java", "ant" ]
{"accepted_answer_id":19782,"answer_count":7,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-19T20:53:53.417000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["java"],"last_activity_date":"2021-04-05T19:02:30.063000+00:00","last_edit_date":"2009-06-25T18:24:46.607000+00:00"...
[ 0.0071563720703125, -0.001148223876953125, 0.013427734375, -0.0122528076171875, -0.0020313262939453125, -0.0008611679077148438, 0.0233154296875, 0.05181884765625, 0.00989532470703125, 0.0033721923828125, -0.02508544921875, -0.01271820068359375, 0.0156707763671875, 0.0030918121337890625, ...
[ 7, 8, 25, 79, 116, 157, 238, 330, 645, 805, 867, 936, 1286, 1295, 1340, 1733, 2594, 2940, 5117, 5351, 5885, 6512, 7568, 9232, 9774, 9969, 11343, 11675, 12915, 12921, 12936, 13438, 13452, 14364, 16401, 17368, 17475, 18831, 19279, 19437, ...
[ 0.0625, 0.01123046875, 0.03173828125, 0.1259765625, 0.0142822265625, 0.029541015625, 0.0458984375, 0.1923828125, 0.06640625, 0.158203125, 0.1494140625, 0.058349609375, 0.0341796875, 0.0458984375, 0.1787109375, 0.0390625, 0.1015625, 0.015380859375, 0.057861328125, 0.02685546875,...
3db35e57-8d75-52ca-851e-c1de6ef5a458
17,373
0
Title: How do I open the default mail program with a Subject and Body in a cross-platform way? How do I open the default mail program with a Subject and Body in a cross-platform way? Unfortunately, this is for a a client app written in Java, not a website. I would like this to work in a cross-platform way (which m...
253
287
[ "java" ]
[ "java", "windows", "macos", "email" ]
{"accepted_answer_id":27791,"answer_count":9,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-20T03:20:02.090000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["java"],"last_activity_date":"2013-01-22T03:35:58.493000+00:00","last_edit_date":"2008-08-26T02:56:18.230000+00:00"...
[ -0.00179290771484375, -0.00867462158203125, -0.000019252300262451172, -0.01493072509765625, -0.00737762451171875, -0.000038504600524902344, -0.0006456375122070312, 0.034942626953125, -0.0164031982421875, 0.0120391845703125, -0.05218505859375, 0.0037479400634765625, 0.0292816162109375, -0.0...
[ 10, 23, 70, 71, 136, 188, 678, 1193, 1459, 1528, 1827, 1884, 2292, 2320, 3340, 3773, 3835, 3917, 3931, 3957, 4027, 4034, 4129, 4165, 4488, 4727, 5161, 6032, 6460, 6648, 9384, 9803, 10366, 11249, 11301, 11675, 11787, 12647, 14361, 17686, ...
[ 0.0205078125, 0.002685546875, 0.011962890625, 0.0498046875, 0.1376953125, 0.2412109375, 0.0927734375, 0.115234375, 0.1240234375, 0.1875, 0.0791015625, 0.0194091796875, 0.109375, 0.03466796875, 0.154296875, 0.126953125, 0.064453125, 0.033203125, 0.09619140625, 0.10400390625, 0...
2f1cfa59-08c7-5edb-9bba-5b6750cd0ca5
17,645
0
Title: Differences between unix and windows files Am I correct in assuming that the only difference between "windows files" and "unix files" is the linebreak? We have a system that has been moved from a windows machine to a unix machine and are having troubles with the format. I need to automate the translation be...
711
763
[ "java" ]
[ "java", "windows", "unix", "file" ]
{"accepted_answer_id":17649,"answer_count":6,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-20T09:18:44.707000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["java"],"last_activity_date":"2016-06-14T03:59:06.377000+00:00","last_edit_date":"2020-06-20T09:12:55.060000+00:00"...
[ -0.02716064453125, -0.044403076171875, -0.02703857421875, -0.0103912353515625, 0.025848388671875, 0.0058441162109375, -0.00832366943359375, 0.013580322265625, -0.01446533203125, -0.0003910064697265625, -0.042022705078125, 0.00135040283203125, 0.0325927734375, -0.03564453125, 0.0245513916...
[ 4, 5, 6, 7, 9, 10, 13, 15, 16, 18, 22, 23, 25, 39, 47, 51, 53, 58, 64, 67, 70, 79, 83, 87, 90, 98, 99, 100, 107, 110, 111, 112, 136, 186, 188, 202, 214, 237, 247, 257, 297, 304, 309, 330, 390, 398, 429, 442, 444, 450, ...
[ 0.004150390625, 0.1259765625, 0.004150390625, 0.0048828125, 0.004150390625, 0.0174560546875, 0.003662109375, 0.00390625, 0.004638671875, 0.000732421875, 0.0380859375, 0.00390625, 0.003662109375, 0.00341796875, 0.076171875, 0.1669921875, 0.002685546875, 0.003173828125, 0.11328125,...
7232d336-cb1f-583b-9191-5100dbf30856
17,944
0
Title: How to round up the result of integer division? I'm thinking in particular of how to display pagination controls, when using a language such as C# or Java. If I have x items which I want to display in chunks of y per page, how many pages will be needed?
62
66
[ "c#", "c++", "java" ]
[ "java", "c#", "c++", "math" ]
{"accepted_answer_id":17974,"answer_count":21,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-20T13:27:40.210000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["c#","c++","java"],"last_activity_date":"2025-01-11T00:44:23.980000+00:00","last_edit_date":"2022-04-10T04:01:46.3...
[ 0.0155181884765625, -0.0034923553466796875, -0.00800323486328125, -0.03607177734375, 0.0027904510498046875, 0.0029850006103515625, -0.006267547607421875, 0.0018129348754882812, -0.007251739501953125, 0.00408935546875, -0.0081787109375, 0.005939483642578125, 0.00029468536376953125, 0.001037...
[ 23, 47, 70, 111, 113, 117, 313, 892, 1022, 1257, 1363, 1505, 3444, 3642, 4904, 5941, 6226, 7839, 9191, 11249, 12978, 16750, 17368, 37967, 41925, 44116, 44841, 46876, 47644, 48962, 55769, 68807, 91853 ]
[ 0.04638671875, 0.06787109375, 0.041259765625, 0.043212890625, 0.091796875, 0.064453125, 0.0169677734375, 0.1240234375, 0.036376953125, 0.1455078125, 0.033447265625, 0.111328125, 0.0281982421875, 0.030517578125, 0.1083984375, 0.0615234375, 0.197265625, 0.1298828125, 0.1455078125, ...
dcae105d-6199-5ae2-9011-4557169e9c22
17,993
0
Title: Easy way to backport Java 6 code to Java 5? We've been developing a windows based application using Java for a while now, but NOW we want to make a mac port and have to reverse of code from Java 6 and Java 5. Is there any easy way to do this rather than re-coding Java 6 specific code? We'd like to keep our code...
87
86
[ "java" ]
[ "java", "backport" ]
{"accepted_answer_id":null,"answer_count":7,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-20T13:50:38.907000+00:00","has_accepted_answer":false,"is_closed":false,"languages":["java"],"last_activity_date":"2015-12-14T07:46:18.110000+00:00","last_edit_date":null,"question_id":17993,"score":9...
[ -0.013702392578125, -0.024017333984375, 0.00618743896484375, -0.019561767578125, -0.008270263671875, 0.0014028549194335938, -0.003787994384765625, 0.024627685546875, 0.01068115234375, -0.00461578369140625, -0.0321044921875, 0.013275146484375, 0.0313720703125, -0.01520538330078125, 0.0245...
[ 47, 54, 111, 136, 184, 190, 305, 456, 587, 903, 1295, 1884, 1892, 3249, 3444, 3917, 4420, 5036, 5622, 6238, 6982, 11469, 12960, 13695, 17368, 18151, 19138, 23468, 29458, 35509, 38415, 39531, 41925, 54825, 71975, 110753, 168698 ]
[ 0.1162109375, 0.012939453125, 0.0888671875, 0.045654296875, 0.1259765625, 0.1689453125, 0.1669921875, 0.02978515625, 0.126953125, 0.009521484375, 0.0634765625, 0.0167236328125, 0.138671875, 0.006103515625, 0.041259765625, 0.0830078125, 0.1259765625, 0.00830078125, 0.06396484375, ...
57f46da1-43c4-54a6-a217-fedeecca8593
18,524
0
Title: Converting List<Integer> to List<String> I have a list of integers, List<Integer> and I'd like to convert all the integer objects into Strings, thus finishing up with a new List<String>. Naturally, I could create a new List<String> and loop through the list calling String.valueOf() for each integer, but I was...
90
116
[ "java" ]
[ "java", "string", "collections", "integer" ]
{"accepted_answer_id":18529,"answer_count":22,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-20T18:29:48.410000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["java"],"last_activity_date":"2023-08-06T22:21:42.260000+00:00","last_edit_date":"2017-11-02T22:27:53.883000+00:00...
[ 0.00864410400390625, -0.017181396484375, -0.01030731201171875, -0.012969970703125, 0.014984130859375, -0.01332855224609375, -0.0183563232421875, 0.0281982421875, 0.0216827392578125, 0.0187225341796875, -0.0265350341796875, 0.00977325439453125, -0.013153076171875, -0.0016880035400390625, ...
[ 13, 47, 67, 87, 100, 111, 132, 214, 756, 765, 814, 892, 1286, 1505, 1657, 1884, 1916, 3525, 3917, 3934, 4153, 5180, 5303, 5809, 8305, 11522, 12638, 20594, 23351, 24955, 26255, 27494, 28282, 32036, 36746, 40956, 48962, 67229, 71713, 96760,...
[ 0.0242919921875, 0.0791015625, 0.1318359375, 0.000244140625, 0.00927734375, 0.005615234375, 0.0279541015625, 0.1484375, 0.06982421875, 0.0162353515625, 0.115234375, 0.1259765625, 0.05078125, 0.1357421875, 0.0478515625, 0.0810546875, 0.0556640625, 0.042236328125, 0.043701171875, ...
4c8f0363-21a1-5501-b16f-4117db127cc9
18,538
0
Title: shortcut for creating a Map from a List in groovy? I'd like some sorthand for this: Map rowToMap(row) { def rowMap = [:]; row.columns.each{ rowMap[it.name] = it.val } return rowMap; } given the way the GDK stuff is, I'd expect to be able to do something like: Map rowToMap(row) { row.column...
126
151
[ "java" ]
[ "java", "collections", "groovy", "expandometaclass" ]
{"accepted_answer_id":5645413,"answer_count":8,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-20T18:37:51.370000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["java"],"last_activity_date":"2017-03-09T08:06:40.983000+00:00","last_edit_date":"2008-08-20T22:27:36.357000+00:0...
[ 0.0116424560546875, -0.0091400146484375, -0.007678985595703125, 0.033660888671875, 0.021697998046875, -0.0092620849609375, -0.04656982421875, -0.004268646240234375, 0.0146331787109375, 0.034881591796875, 0.0123748779296875, 0.00640106201171875, -0.0126800537109375, -0.023651123046875, 0....
[ 8, 10, 23, 54, 71, 100, 217, 316, 420, 442, 527, 903, 1295, 1405, 1779, 1884, 3060, 3285, 4439, 7763, 8447, 11627, 11969, 12096, 12336, 15555, 16610, 19048, 19774, 30646, 32036, 38246, 41206, 41581, 41884, 42719, 45461, 48962, 51592, 6798...
[ 0.0009765625, 0.0238037109375, 0.0172119140625, 0.037109375, 0.0009765625, 0.020751953125, 0.08642578125, 0.111328125, 0.020751953125, 0.0771484375, 0.04541015625, 0.0693359375, 0.138671875, 0.111328125, 0.013671875, 0.0869140625, 0.005615234375, 0.022705078125, 0.0167236328125, ...
464d8724-d78f-51a7-8da4-2332254b32b4
19,011
0
Title: Best practice for storing large amounts of data with J2ME I am developing a J2ME application that has a large amount of data to store on the device (in the region of 1MB but variable). I can't rely on the file system so I'm stuck the Record Management System (RMS), which allows multiple record stores but each h...
186
195
[ "java" ]
[ "java", "java-me", "rms" ]
{"accepted_answer_id":62837,"answer_count":8,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-20T22:42:04.200000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["java"],"last_activity_date":"2009-11-02T09:55:39.403000+00:00","last_edit_date":"2008-09-18T20:21:16.263000+00:00"...
[ 0.041107177734375, 0.012939453125, -0.0023479461669921875, -0.021270751953125, -0.024810791015625, 0.0142364501953125, -0.038970947265625, 0.013763427734375, 0.0254058837890625, 0.01210784912109375, -0.04205322265625, 0.018310546875, 0.02020263671875, -0.025634765625, 0.0307159423828125,...
[ 18, 23, 47, 70, 100, 106, 214, 294, 304, 538, 678, 821, 831, 1632, 2053, 2967, 3082, 4343, 4734, 5423, 5426, 5792, 5915, 7911, 10611, 10776, 11345, 11435, 12174, 12353, 12638, 12689, 12921, 13267, 13651, 13695, 15190, 17164, 17311, 17475,...
[ 0.011962890625, 0.0849609375, 0.0322265625, 0.00634765625, 0.021728515625, 0.021240234375, 0.043212890625, 0.177734375, 0.1796875, 0.0625, 0.099609375, 0.1572265625, 0.026123046875, 0.0245361328125, 0.1552734375, 0.1015625, 0.1630859375, 0.1806640625, 0.035400390625, 0.10107421...
065ea035-84ce-5e8d-a0c6-7acc94eca221
19,295
0
Title: Database backed i18n for java web-app I'd like to use a database to store i18n key/value pairs so we can modify / reload the i18n data at runtime. Has anyone done this? Or does anyone have an idea of how to implement this? I've read several threads on this, but I haven't seen a workable solution. I'm specific...
155
183
[ "java" ]
[ "java", "internationalization" ]
{"accepted_answer_id":19308,"answer_count":4,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-21T03:36:38.110000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["java"],"last_activity_date":"2012-08-31T07:34:45.973000+00:00","last_edit_date":"2008-08-21T04:06:17.510000+00:00"...
[ 0.0284271240234375, -0.008636474609375, 0.0137939453125, -0.01043701171875, 0.0042877197265625, -0.0061492919921875, -0.029998779296875, 0.0286712646484375, 0.00223541259765625, 0.0062103271484375, -0.036956787109375, 0.0096588134765625, 0.0281982421875, 0.0163116455078125, 0.03527832031...
[ 10, 13, 17, 18, 19, 39, 47, 64, 71, 79, 87, 99, 100, 133, 141, 221, 271, 297, 330, 420, 456, 678, 831, 903, 1467, 1647, 1819, 1884, 2046, 2053, 2811, 2886, 3509, 3642, 3934, 4343, 4420, 4488, 4527, 5351, 6032, 6528, 7030, 9007, ...
[ 0.003173828125, 0.0167236328125, 0.1484375, 0.1044921875, 0.2001953125, 0.025634765625, 0.0322265625, 0.01904296875, 0.0179443359375, 0.1337890625, 0.000732421875, 0.0279541015625, 0.034912109375, 0.107421875, 0.1787109375, 0.00341796875, 0.130859375, 0.091796875, 0.166015625, ...
e9939630-b349-5307-8d70-978e4e6687bc
19,347
0
Title: What is the best way to go from Java/C# to C++? At my university most of my classes have been in Java. I have also recently learned C# (and the Visual Studio environment) at a summer internship. Now I'm taking an Intro to Computer Graphics class and the grad student teaching the class prefers us to use C++ to a...
139
153
[ "c#", "c++", "java" ]
[ "c#", "java", "c++", "visual-studio" ]
{"accepted_answer_id":19372,"answer_count":10,"chunk_count":1,"chunk_index":0,"closed_date":"2013-01-04T00:56:30.713000+00:00","creation_date":"2008-08-21T04:46:02.313000+00:00","has_accepted_answer":true,"is_closed":true,"languages":["c#","c++","java"],"last_activity_date":"2013-11-18T05:13:03.563000+00:00","last_edit...
[ -0.00305938720703125, 0.0017747879028320312, 0.01959228515625, 0.0016298294067382812, 0.0394287109375, -0.004650115966796875, -0.0054473876953125, 0.0247344970703125, 0.01340484619140625, 0.01432037353515625, -0.0263214111328125, 0.01407623291015625, 0.0050506591796875, 0.00425338745117187...
[ 23, 38, 47, 64, 70, 83, 313, 360, 441, 527, 738, 1295, 1314, 1810, 1829, 2684, 2806, 2809, 2955, 2965, 3249, 3642, 3917, 4127, 4527, 4552, 4865, 4904, 5608, 6275, 6671, 6957, 9836, 12601, 13527, 16070, 16487, 17203, 17997, 18507, 22362,...
[ 0.059326171875, 0.0029296875, 0.1484375, 0.1044921875, 0.04541015625, 0.012939453125, 0.1494140625, 0.003173828125, 0.1171875, 0.0255126953125, 0.1142578125, 0.1435546875, 0.0908203125, 0.028076171875, 0.026123046875, 0.043701171875, 0.008056640625, 0.004150390625, 0.1259765625, ...
06e75b65-63df-5e52-8b27-9c3efb2e5bf8
19,766
0
Title: How do I make a list with checkboxes in Java Swing? What would be the best way to have a list of items with a checkbox each in Java Swing? I.e. a JList with items that have some text and a checkbox each?
54
60
[ "java" ]
[ "java", "swing", "jcheckbox" ]
{"accepted_answer_id":19804,"answer_count":11,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-21T12:49:12.400000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["java"],"last_activity_date":"2025-01-08T18:55:16.770000+00:00","last_edit_date":"2015-05-04T08:19:55.423000+00:00...
[ 0.015899658203125, 0.0084228515625, 0.00345611572265625, -0.00501251220703125, 0.015655517578125, -0.013702392578125, -0.0208740234375, 0.01275634765625, 0.007770538330078125, 0.034881591796875, 0.004180908203125, 0.0163726806640625, 0.039154052734375, 0.01873779296875, -0.00226974487304...
[ 10, 90, 136, 159, 678, 765, 821, 2965, 3249, 3917, 5303, 7986, 11249, 11728, 12638, 12765, 14775, 41925, 48962, 55769, 154663 ]
[ 0.0233154296875, 0.09814453125, 0.003173828125, 0.056396484375, 0.1005859375, 0.03173828125, 0.08544921875, 0.060302734375, 0.045654296875, 0.013671875, 0.203125, 0.10009765625, 0.0252685546875, 0.23046875, 0.0830078125, 0.1767578125, 0.2119140625, 0.181640625, 0.002197265625, ...
c1dd1f8b-e907-5d49-bee5-1ff57bf4a70d
19,838
0
Title: Ruby blocks/Java closures in C I've been trying to understand how Ruby blocks work, and to do that I've been trying to implement them in C. One easy way to implement closures is to pass a void* to the enclosing stack to the closure/function but Ruby blocks also seem to handle returns and break statements from...
133
144
[ "c", "java", "ruby" ]
[ "java", "c", "ruby" ]
{"accepted_answer_id":20154,"answer_count":3,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-21T13:17:50.367000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["c","java","ruby"],"last_activity_date":"2015-05-08T13:27:34.953000+00:00","last_edit_date":"2015-05-08T13:27:34.95...
[ 0.01123046875, -0.004688262939453125, 0.0281982421875, 0.0140380859375, 0.04254150390625, -0.038238525390625, -0.004749298095703125, 0.048736572265625, -0.006214141845703125, 0.00731658935546875, -0.0021648406982421875, 0.00675201416015625, 0.0023441314697265625, -0.0276031494140625, 0.0...
[ 7, 14, 17, 22, 23, 47, 64, 116, 136, 313, 977, 1295, 1639, 1884, 2174, 2292, 2806, 3564, 3642, 3917, 4488, 4527, 23468, 27875, 28219, 29479, 30646, 34042, 34831, 36356, 40956, 41925, 43240, 46389, 48903, 63499, 63805, 70820, 81409, 137175...
[ 0.130859375, 0.068359375, 0.099609375, 0.01025390625, 0.0859375, 0.012939453125, 0.047119140625, 0.119140625, 0.03857421875, 0.1650390625, 0.043701171875, 0.0181884765625, 0.078125, 0.00634765625, 0.0791015625, 0.1162109375, 0.00634765625, 0.064453125, 0.0142822265625, 0.018188...
bac89d2d-e370-593c-aefb-c58784db1cc5
19,893
0
Title: How do you embed binary data in XML? I have two applications written in Java that communicate with each other using XML messages over the network. I'm using a SAX parser at the receiving end to get the data back out of the messages. One of the requirements is to embed binary data in an XML message, but SAX does...
110
123
[ "java" ]
[ "java", "xml", "binary", "binary-data" ]
{"accepted_answer_id":19904,"answer_count":12,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-21T13:35:46.830000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["java"],"last_activity_date":"2019-01-13T01:38:58.820000+00:00","last_edit_date":"2012-08-21T12:40:45.853000+00:00...
[ -0.0215606689453125, 0.016082763671875, 0.0002772808074951172, -0.0022029876708984375, -0.0019207000732421875, -0.0247802734375, -0.00008374452590942383, 0.0194091796875, -0.00392913818359375, 0.045013427734375, -0.04669189453125, 0.0164337158203125, 0.028350830078125, -0.00589370727539062...
[ 7, 18, 23, 54, 352, 366, 398, 645, 678, 903, 1295, 1430, 1542, 1810, 1884, 2046, 2053, 2189, 2241, 2394, 3564, 3642, 3714, 3789, 4420, 5377, 6626, 6635, 11249, 12638, 13307, 13482, 17368, 18151, 18507, 20697, 21373, 22027, 26008, 31577, ...
[ 0.017578125, 0.0732421875, 0.10205078125, 0.05810546875, 0.138671875, 0.109375, 0.0400390625, 0.01318359375, 0.04296875, 0.02392578125, 0.001953125, 0.0908203125, 0.1806640625, 0.095703125, 0.12109375, 0.0498046875, 0.171875, 0.1328125, 0.1044921875, 0.1923828125, 0.084960937...
065eae75-8017-509a-8e51-e00cc0a205f9
19,952
0
Title: Algorithm to perform RFC calculation in Java The RFC for a Java class is set of all methods that can be invoked in response to a message to an object of the class or by some method in the class. RFC = M + R where M = Number of methods in the class. R = Total number of other methods directly invoked from the M. ...
382
450
[ "java" ]
[ "java", "regex", "algorithm", "reflection" ]
{"accepted_answer_id":19983,"answer_count":4,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-21T13:50:35.997000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["java"],"last_activity_date":"2017-03-11T14:01:41.800000+00:00","last_edit_date":"2017-05-23T12:31:55.937000+00:00"...
[ 0.0206756591796875, 0.0012617111206054688, -0.01556396484375, -0.0145263671875, -0.00200653076171875, 0.0006003379821777344, 0.021148681640625, 0.007781982421875, 0.008392333984375, 0.00186920166015625, -0.057373046875, 0.01416778564453125, 0.0171356201171875, -0.0251617431640625, -0.007...
[ 5, 6, 7, 10, 13, 16, 17, 23, 28, 31, 47, 56, 67, 70, 83, 87, 100, 111, 132, 142, 170, 186, 194, 214, 237, 254, 268, 276, 297, 304, 313, 335, 347, 378, 390, 418, 450, 454, 501, 621, 627, 678, 707, 756, 821, 831, 876, 910, ...
[ 0.047607421875, 0.0169677734375, 0.0174560546875, 0.01611328125, 0.015380859375, 0.0172119140625, 0.015380859375, 0.083984375, 0.019287109375, 0.04638671875, 0.016357421875, 0.000244140625, 0.04345703125, 0.0164794921875, 0.07080078125, 0.001953125, 0.05419921875, 0.016845703125, ...
0c45ba15-90df-5955-9930-f3186451ea27
20,003
0
Title: Repository layout for large Maven projects I have a large application (~50 modules) using a structure similar to the following: Application Communication modules Color communication module SSN communication module etc. communication module Router module Service modules Voting service module ...
252
274
[ "java" ]
[ "java", "svn", "maven-2" ]
{"accepted_answer_id":20682,"answer_count":2,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-21T14:06:44.850000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["java"],"last_activity_date":"2010-04-08T10:53:22.233000+00:00","last_edit_date":"2008-08-23T20:08:27.320000+00:00"...
[ 0.0335693359375, -0.0003063678741455078, -0.0240631103515625, -0.0064544677734375, 0.004547119140625, 0.012847900390625, 0.007366180419921875, 0.01355743408203125, 0.01666259765625, 0.004138946533203125, -0.034027099609375, 0.01666259765625, 0.0156097412109375, 0.01390838623046875, 0.017...
[ 10, 14, 47, 100, 136, 237, 388, 765, 853, 911, 1294, 1353, 1614, 1660, 2525, 3789, 3917, 4488, 4516, 4527, 4785, 4989, 5299, 5346, 5570, 6024, 6626, 7565, 8273, 8721, 8752, 8951, 12319, 12349, 12620, 13416, 13452, 13579, 15190, 15400, 1...
[ 0.015380859375, 0.064453125, 0.05126953125, 0.007080078125, 0.04052734375, 0.02392578125, 0.0732421875, 0.00830078125, 0.041015625, 0.095703125, 0.1083984375, 0.2294921875, 0.107421875, 0.03564453125, 0.134765625, 0.0419921875, 0.049072265625, 0.0478515625, 0.038330078125, 0.03...
4da2c4e0-7c28-5c7c-88fd-ab8c773bf5bd
20,034
0
Title: Is Project Darkstar Realistic? Project Darkstar was the topic of the monthly JavaSIG meeting down at the Google offices in NYC last night. For those that don't know (probably everyone), Project Darkstar is a framework for massively multiplayer online games that attempts to take care of all of the "hard stuff." ...
460
489
[ "java" ]
[ "java", "concurrency", "distributed" ]
{"accepted_answer_id":485304,"answer_count":7,"chunk_count":1,"chunk_index":0,"closed_date":"2012-12-14T02:39:31.310000+00:00","creation_date":"2008-08-21T14:13:11.327000+00:00","has_accepted_answer":true,"is_closed":true,"languages":["java"],"last_activity_date":"2013-11-26T04:44:10.260000+00:00","last_edit_date":"201...
[ 0.0245819091796875, 0.004909515380859375, -0.038787841796875, 0.00015342235565185547, 0.06488037109375, -0.04022216796875, -0.0108795166015625, 0.0277557373046875, 0.0212860107421875, -0.0030574798583984375, -0.03973388671875, -0.0043487548828125, 0.0284576416015625, 0.01169586181640625, ...
[ 4, 5, 6, 7, 10, 13, 15, 18, 23, 25, 31, 32, 47, 51, 53, 64, 70, 83, 90, 100, 110, 111, 112, 115, 136, 138, 141, 162, 186, 214, 221, 237, 247, 276, 305, 313, 388, 390, 434, 441, 442, 450, 456, 464, 509, 517, 538, 581, 621...
[ 0.0068359375, 0.006103515625, 0.00634765625, 0.0068359375, 0.006591796875, 0.005126953125, 0.006103515625, 0.0189208984375, 0.006103515625, 0.006103515625, 0.16015625, 0.0174560546875, 0.00634765625, 0.005859375, 0.006103515625, 0.004150390625, 0.006591796875, 0.0272216796875, 0....
16d621a8-4dcd-51f6-be3e-5df777880606
20,127
0
Title: Virtual Machine Optimization I am messing around with a toy interpreter in Java and I was considering trying to write a simple compiler that can generate bytecode for the Java Virtual Machine. Which got me thinking, how much optimization needs to be done by compilers that target virtual machines such as JVM and...
82
95
[ "java" ]
[ "java", "jvm", "jit", "cil" ]
{"accepted_answer_id":20870,"answer_count":7,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-21T14:41:31.023000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["java"],"last_activity_date":"2012-07-03T13:22:57.827000+00:00","last_edit_date":"2008-08-21T14:42:13.737000+00:00"...
[ 0.021636962890625, 0.00975799560546875, -0.0223541259765625, 0.0158538818359375, 0.027313232421875, -0.029449462890625, -0.0099334716796875, 0.0223541259765625, 0.0110015869140625, 0.002246856689453125, -0.04754638671875, 0.037841796875, -0.00868988037109375, -0.0014705657958984375, 0.02...
[ 7, 23, 54, 56, 67, 136, 163, 186, 280, 313, 360, 390, 444, 821, 831, 984, 1363, 1375, 3642, 4517, 5045, 6238, 6371, 8781, 9563, 9969, 10927, 10932, 16940, 18344, 19055, 20513, 27117, 29481, 30388, 31577, 33022, 34759, 38001, 40899, 4192...
[ 0.032958984375, 0.010986328125, 0.031982421875, 0.052001953125, 0.1015625, 0.0201416015625, 0.044677734375, 0.0380859375, 0.050048828125, 0.0223388671875, 0.1533203125, 0.08447265625, 0.000732421875, 0.1083984375, 0.011474609375, 0.01220703125, 0.1005859375, 0.14453125, 0.0344238...
ab112c0d-003e-5fc7-8b4e-bd52f8077a31
20,227
0
Title: How do I use 3DES encryption/decryption in Java? Every method I write to encode a string in Java using 3DES can't be decrypted back to the original string. Does anyone have a simple code snippet that can just encode and then decode the string back to the original string? I know I'm making a very silly mistake...
743
1,012
[ "java" ]
[ "java", "encryption", "3des" ]
{"accepted_answer_id":20670,"answer_count":6,"chunk_count":2,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-21T15:25:22.540000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["java"],"last_activity_date":"2022-01-05T22:49:03.703000+00:00","last_edit_date":"2017-07-01T01:10:44.393000+00:00"...
[ 0.00312042236328125, 0.02056884765625, 0.003986358642578125, 0.02264404296875, 0.012176513671875, -0.035797119140625, -0.010528564453125, 0.012237548828125, 0.011749267578125, -0.011749267578125, -0.039703369140625, 0.00992584228515625, 0.004230499267578125, -0.02142333984375, 0.01077270...
[ 4, 5, 7, 8, 10, 13, 15, 16, 17, 18, 19, 22, 23, 28, 31, 33, 39, 44, 47, 51, 54, 58, 64, 67, 70, 71, 73, 74, 78, 87, 92, 93, 100, 111, 112, 132, 133, 136, 138, 141, 170, 186, 191, 194, 206, 214, 217, 246, 268, 294, 29...
[ 0.01171875, 0.01220703125, 0.01171875, 0.1455078125, 0.011962890625, 0.0107421875, 0.01171875, 0.012451171875, 0.01171875, 0.06884765625, 0.01220703125, 0.107421875, 0.044677734375, 0.080078125, 0.01171875, 0.01123046875, 0.011474609375, 0.01123046875, 0.10400390625, 0.05371093...
41701145-09d8-5c79-a0ba-2b5b951fafdc
20,227
1
Title: How do I use 3DES encryption/decryption in Java? //final byte[] encData = new sun.misc.BASE64Decoder().decodeBuffer(message); final byte[] plainText = decipher.doFinal(message); return plainText.toString(); } catch (java.security.InvalidAlgorithmP...
214
332
[ "java" ]
[ "java", "encryption", "3des" ]
{"accepted_answer_id":20670,"answer_count":6,"chunk_count":2,"chunk_index":1,"closed_date":null,"creation_date":"2008-08-21T15:25:22.540000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["java"],"last_activity_date":"2022-01-05T22:49:03.703000+00:00","last_edit_date":"2017-07-01T01:10:44.393000+00:00"...
[ -0.005428314208984375, 0.01885986328125, 0.005100250244140625, 0.00495147705078125, 0.00438690185546875, -0.0262603759765625, -0.0086517333984375, 0.0235137939453125, 0.0013647079467773438, -0.002536773681640625, -0.038665771484375, 0.012176513671875, 0.012115478515625, -0.0286407470703125...
[ 22, 23, 28, 31, 54, 64, 67, 87, 112, 138, 188, 214, 238, 246, 390, 425, 571, 587, 1342, 1830, 2179, 2203, 2704, 2783, 3525, 4262, 4396, 4527, 5021, 6056, 6159, 6236, 6504, 7013, 7235, 8335, 8962, 9926, 11249, 12353, 13223, 13307, 14...
[ 0.1240234375, 0.06640625, 0.1494140625, 0.03173828125, 0.045654296875, 0.045654296875, 0.095703125, 0.046142578125, 0.1357421875, 0.212890625, 0.087890625, 0.0262451171875, 0.103515625, 0.0576171875, 0.0986328125, 0.0830078125, 0.0107421875, 0.1259765625, 0.0947265625, 0.081542...
4c365524-55a7-5028-bf21-cfdef34b258f
20,778
0
Title: How do you convert binary data to Strings and back in Java? I have binary data in a file that I can read into a byte array and process with no problem. Now I need to send parts of the data over a network connection as elements in an XML document. My problem is that when I convert the data from an array of bytes...
290
330
[ "java" ]
[ "java", "serialization" ]
{"accepted_answer_id":20779,"answer_count":4,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-21T18:51:52.933000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["java"],"last_activity_date":"2013-11-26T04:45:39.710000+00:00","last_edit_date":"2008-11-20T02:31:28.533000+00:00"...
[ -0.007099151611328125, -0.0031108856201171875, -0.0079193115234375, -0.0091552734375, -0.0026988983154296875, -0.0207672119140625, -0.019134521484375, 0.01120758056640625, 0.0133819580078125, 0.0302734375, -0.04718017578125, -0.00034117698669433594, -0.0010118484497070312, -0.0316772460937...
[ 23, 47, 53, 54, 67, 110, 136, 214, 237, 366, 373, 390, 398, 831, 1295, 1430, 1542, 1636, 1884, 2053, 2189, 2203, 2394, 2967, 3034, 3362, 3525, 3642, 3714, 3794, 3934, 4420, 5180, 5377, 5701, 6181, 6635, 7235, 8127, 9433, 9795, 10298, ...
[ 0.06298828125, 0.126953125, 0.048095703125, 0.045166015625, 0.103515625, 0.000732421875, 0.11328125, 0.185546875, 0.00341796875, 0.05908203125, 0.060302734375, 0.0927734375, 0.033203125, 0.007568359375, 0.1083984375, 0.0625, 0.0830078125, 0.07421875, 0.0147705078125, 0.15234375...
61f0da37-8a7a-5e56-90b5-166d8f15e99f
20,880
0
Title: Java JPanel redraw issues I have a Java swing application with a panel that contains three JComboBoxes that do not draw properly. The combox boxes just show up as the down arrow on the right side, but without the label of the currently selected value. The boxes will redraw correctly if the window is resized e...
144
173
[ "java" ]
[ "java", "swing", "jpanel" ]
{"accepted_answer_id":20901,"answer_count":1,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-21T19:26:44.003000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["java"],"last_activity_date":"2016-11-24T10:52:19.600000+00:00","last_edit_date":"2016-11-24T10:52:19.600000+00:00"...
[ 0.0089263916015625, 0.006500244140625, 0.007122039794921875, -0.033111572265625, 0.0286102294921875, -0.01483917236328125, 0.003398895263671875, 0.0237579345703125, 0.02447509765625, 0.015716552734375, 0.0144805908203125, 0.02447509765625, 0.01512908935546875, -0.023284912109375, 0.01312...
[ 16, 47, 54, 66, 90, 132, 237, 375, 456, 583, 821, 837, 959, 1221, 1556, 1663, 1733, 2174, 3332, 3917, 5609, 7013, 7108, 7565, 7639, 10770, 11343, 11728, 12921, 15490, 16138, 16530, 17262, 17489, 23552, 26265, 26785, 28350, 29367, 30022, ...
[ 0.001220703125, 0.01416015625, 0.0009765625, 0.140625, 0.0654296875, 0.036376953125, 0.041259765625, 0.1083984375, 0.0966796875, 0.19140625, 0.140625, 0.1611328125, 0.06640625, 0.0191650390625, 0.0240478515625, 0.016357421875, 0.09716796875, 0.025146484375, 0.1083984375, 0.0036...
31908284-5713-54bc-98da-6af5826ecf0e
21,207
0
Title: db4o experiences? I'm currently trying out db4o (the java version) and I pretty much like what I see. But I cannot help wondering how it does perform in a real live (web-)environment. Does anyone have any experiences (good or bad) to share about running db4o?
68
71
[ "java" ]
[ "java", "db4o" ]
{"accepted_answer_id":24499,"answer_count":4,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-21T21:12:01.600000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["java"],"last_activity_date":"2015-07-22T16:00:10.290000+00:00","last_edit_date":"2008-08-21T21:30:40.713000+00:00"...
[ -0.00637054443359375, -0.005168914794921875, -0.0186309814453125, -0.004505157470703125, 0.01983642578125, 0.005077362060546875, -0.033416748046875, 0.031982421875, 0.0157470703125, -0.0085296630859375, -0.049285888671875, 0.00733184814453125, 0.002193450927734375, 0.0203094482421875, 0....
[ 10, 16, 23, 31, 32, 39, 79, 87, 330, 442, 617, 674, 707, 765, 1672, 1810, 1884, 1957, 2367, 2499, 2773, 3642, 4358, 4966, 5045, 6494, 6867, 11389, 12008, 14051, 14602, 28875, 31577, 35672, 40041, 48962, 51042, 51339, 53418, 70810, 82424...
[ 0.05029296875, 0.003662109375, 0.10107421875, 0.2412109375, 0.0703125, 0.00048828125, 0.12109375, 0.033935546875, 0.177734375, 0.037841796875, 0.21875, 0.07470703125, 0.047607421875, 0.04443359375, 0.0361328125, 0.11328125, 0.1357421875, 0.1083984375, 0.0390625, 0.0206298828125...
e2224b65-2de3-524b-a17b-863ced1a714b
21,211
0
Title: Get application name from Windows XP cut and paste? This is a bit of a long shot, but if anyone can figure it out, you guys can... In Windows XP, is there any meta-data that comes with a cut and paste action, from which I can ascertain the application that provided the clipboard contents? Bonus question... ...
90
93
[ "java" ]
[ "java", "windows-xp", "clipboard" ]
{"accepted_answer_id":21214,"answer_count":2,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-21T21:13:37.353000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["java"],"last_activity_date":"2015-08-20T22:21:58.047000+00:00","last_edit_date":"2013-12-02T13:04:44.217000+00:00"...
[ 0.0132293701171875, -0.024810791015625, 0.0222015380859375, -0.01352691650390625, -0.01399993896484375, -0.0027618408203125, 0.00658416748046875, 0.015716552734375, -0.0108642578125, 0.0041046142578125, -0.046051025390625, 0.0170135498046875, 0.036376953125, -0.006320953369140625, 0.0172...
[ 7, 10, 27, 70, 83, 136, 237, 360, 442, 450, 678, 831, 1295, 1810, 2174, 2499, 3773, 4027, 4677, 4785, 4989, 6044, 9351, 9655, 10135, 10941, 17203, 20779, 22631, 23550, 24351, 26366, 32497, 34196, 35672, 38415, 38663, 41925, 45005, 48962, ...
[ 0.0218505859375, 0.010009765625, 0.0225830078125, 0.0179443359375, 0.0029296875, 0.1591796875, 0.05126953125, 0.072265625, 0.04296875, 0.06396484375, 0.0233154296875, 0.06787109375, 0.13671875, 0.03515625, 0.008056640625, 0.017333984375, 0.1142578125, 0.126953125, 0.1201171875, ...
7cb90b6c-c3a8-5f8b-bf2f-14cbab825c81
21,652
0
Title: Do you write exceptions for specific issues or general exceptions? I have some code that gives a user id to a utility that then send email to that user. emailUtil.sendEmail(userId, "foo"); public void sendEmail(String userId, String message) throws MailException { /* ... logic that could throw a MailExce...
305
346
[ "c#", "java" ]
[ "c#", "java", "exception" ]
{"accepted_answer_id":138532,"answer_count":11,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-22T02:47:44.333000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["c#","java"],"last_activity_date":"2009-08-07T10:28:08.960000+00:00","last_edit_date":"2009-08-07T10:28:08.960000...
[ -0.0058441162109375, 0.0066986083984375, -0.01309967041015625, 0.006549835205078125, 0.0160980224609375, 0.0138092041015625, 0.0043487548828125, 0.0269012451171875, 0.0223236083984375, 0.0175018310546875, -0.030548095703125, 0.006580352783203125, -0.0010356903076171875, 0.00622940063476562...
[ 7, 19, 31, 71, 100, 286, 316, 398, 1165, 1632, 2292, 2886, 2965, 3340, 3447, 3525, 3584, 3675, 3835, 4134, 4343, 4537, 5443, 5809, 6648, 7986, 8561, 8562, 10644, 11651, 11907, 12638, 12684, 12921, 13909, 18151, 19279, 19537, 20653, 23282,...
[ 0.130859375, 0.0078125, 0.08251953125, 0.0274658203125, 0.0888671875, 0.00048828125, 0.12109375, 0.029541015625, 0.0458984375, 0.050048828125, 0.05078125, 0.07568359375, 0.06787109375, 0.080078125, 0.048583984375, 0.04541015625, 0.06689453125, 0.1396484375, 0.0126953125, 0.1025...
40e74c68-5a34-5e39-9501-66322ca26052
21,738
0
Title: Problems running Swing application with IDEA 8M1 Is anyone else having trouble running Swing applications from IntelliJ IDEA 8 Milestone 1? Even the simplest application of showing an empty JFrame seems to crash the JVM. I don't get a stack trace or anything, it looks like the JVM itself crashes and Windows sho...
145
158
[ "java" ]
[ "java", "swing", "ide", "jvm", "intellij-idea" ]
{"accepted_answer_id":201513,"answer_count":3,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-22T03:43:41.690000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["java"],"last_activity_date":"2008-10-14T14:57:36.640000+00:00","last_edit_date":"2008-10-04T06:31:01.330000+00:00...
[ 0.01806640625, -0.0116729736328125, -0.0036792755126953125, -0.01290130615234375, 0.030487060546875, 0.004367828369140625, 0.01248931884765625, 0.034027099609375, 0.0181732177734375, 0.005367279052734375, -0.00677490234375, -0.0166473388671875, 0.0130767822265625, 0.005950927734375, 0.02...
[ 18, 47, 87, 106, 110, 150, 159, 209, 282, 372, 382, 418, 594, 678, 821, 1295, 1375, 2844, 3773, 4488, 5425, 5885, 7426, 9433, 10086, 10133, 13307, 14775, 15649, 18151, 19441, 24018, 26008, 28641, 30362, 33342, 34165, 35644, 37202, 38415, ...
[ 0.001220703125, 0.002197265625, 0.10546875, 0.123046875, 0.099609375, 0.0693359375, 0.1240234375, 0.10693359375, 0.049072265625, 0.126953125, 0.2451171875, 0.125, 0.1240234375, 0.0888671875, 0.140625, 0.07421875, 0.2060546875, 0.1513671875, 0.1240234375, 0.0172119140625, 0.05...