|
More site info...
Java Programming
| Forum profile
|
|
Forum profile page for Java Programming
on http://www.sun.com.
This report page is the aggregated overview from a single forum: Java Programming
, located on the Message Board at http://www.sun.com.
This forum profile page summarizes the general forum statistics such as: Users Activity, Forum Activity, and Top Authors, which are reported in either a table or graph below for a given reporting time period.
Additional forum profile information for "Java Programming
" on the Message Board at http://www.sun.com is also shown in the following ways:
1) Latest Active Threads
2) Hot Threads for Last Week
Warning: These statistics are generated using 'best efforts' and can experience delays and reporting errors at times. Please note that such statistics do not constitute a forum's popularity and/or exact posting volumes at any given reporting period.
|
|
|
|
|
Posting activity on Java Programming
:
|
|
Week
|
Month
|
3 Months
|
|
Threads:
|
308
|
1,084
|
3,018
|
|
Post:
|
1,456
|
5,373
|
15,012
|
|
|
Java Programming
Posting activity graph:
|
Top authors during last week:
user's latest post:
Closures in Java 7
Published (2009-11-27 05:50:00)
I wasn't aiming that at anyone. It's my default opinion: we fear change. In practice I've generally been pleasantly surprised.
user's latest post:
Reading from a file
Published (2009-11-27 08:59:00)
smithy4282 wrote: I know I need to use a buffered read and file input stream but I'm not sure how to make it just read one line and then stop until I have used the data. By not calling readLine() again until you're ready.
user's latest post:
Closures in Java 7
Published (2009-11-27 07:04:00)
darted wrote: Agreed. This is why I am ambivalent about closures. I don't see an overriding need from my personal experience, but if added will at least try them. I might like them ;) What I see is a way to be able to avoid lots of "boiler plate" code. E.g why do we have anonymous classes, and when do we use them? Why can't that be expressed in another way?
user's latest post:
Regix Pattern required please
Published (2009-11-27 05:59:00)
JNameNotTaken wrote: I want to replace /wrongleft/community/wrongright? with f_left + f_correct + f_right i.e. /left/good/right/ So does that mean everything between the domain name and the "?". Presumably someone could supply http://www.abc.com/left/mid1/mid2/mid3/mid4/mid5/right?test=ok couldn't they? Also, what makes you think that a bad URL would be getting to you anyway? Wouldn't it just be better to make sure that if...
user's latest post:
Save byte[][] somewhere and...
Published (2009-11-27 09:29:00)
Andrew_ wrote: I just noticed that my GUI is the problem. When loading the 20k * 20k byte[][] maze without GUI (just a console app), it only uses 273MB RAM. I'm doing the exact same thing in my GUI... the only difference is: There's a JFrame with a JButton that adds a Runnable 'maze-solver' to a cachedthreadpool. Is that wrong? It's not going to be your code using up all that memory, it's going to be the data...
user's latest post:
How do I create a isEmpty()...
Published (2009-11-25 18:31:00)
You can. Note that if head is null then tail should also be null, and vice versa. So checking both is a data integrity check more than an empty check. Get it?
user's latest post:
Jar Indexing problem (advanced)
Published (2009-11-25 21:07:00)
Are you trying to work with jars within jars? If so then this is not at all easy since there is no built-in method for doing this.
user's latest post:
Save byte[][] somewhere and...
Published (2009-11-26 12:07:00)
YoungWinston wrote: Andrew_ wrote: It works all fine, except that my byte[][] containing the maze uses 3GB+ when I solve a 20,000 * 20,000 maze. Seems odd to me. Even given the fact that objects take up some room (and a [][] is an array of arrays), and a Java byte might take up more space than it should, and there's probably some overhead for Java's own memory-management, I can't even get to 2Gb, let alone 3. But I'm not...
|
|
|
|
Latest active threads on Java Programming
::
Started 3 days, 18 hours ago (2009-11-26 08:25:00)
by tschodt
Started 3 days, 2 hours ago (2009-11-27 00:11:00)
by AndrewThompson64
cyberrate wrote:
..for a content protection project I need to mark the videos that are being downloaded from the site. It can be a watermark or injected string into file's code. Did anyone come across such a thing?
Sure. They are common.
..Any suggestions?
Don't. They are irritating.
Started 2 days, 21 hours ago (2009-11-27 05:26:00)
by georgemc
JSP? What? You're mixing JSP and SWT?
Started 2 days, 18 hours ago (2009-11-27 08:44:00)
by DarrylBurke
Aren't you supposed to do your own homework?
db
Started 2 days, 17 hours ago (2009-11-27 08:53:00)
by JNameNotTaken
To read the file line by line
try {
BufferedReader in = new BufferedReader( new FileReader( "infilename" ));
String str;
while ((str = in.readLine()) != null ) {
doStuff(str);
//str is the 'next' line in the file so now do the stuff you want to do with it
}
in.close();
} catch (...
Started 2 days, 20 hours ago (2009-11-27 05:59:00)
by YoungWinston
JNameNotTaken wrote:
I want to replace /wrongleft/community/wrongright? with f_left + f_correct + f_right
i.e. /left/good/right/
So does that mean everything between the domain name and the "?". Presumably someone could supply
http://www.abc.com/left/mid1/mid2/mid3/mid4/mid5/ right?test=ok
couldn't they?
Also, what makes you think that a bad URL would be getting to you anyway? ...
Started 1 week, 3 days ago (2009-11-20 02:07:00)
by jwenting
So they've once again fallen for the Me2! crowd and decided on adding something for no other reason than that Ruby has it and someone claimed that "Java iz ded" if it doesn't get it.
Good thing I'm ever more specialising in pl/sql and bpel, means I'll probably not have to maintain the rubbish that's certain to be churned out by n00bs and academics thinking it's all a great idea.
Started 6 days, 1 hour ago (2009-11-24 01:44:00)
by ejp
It is garbage collected. Store a reference to your remote object in a static variable.
Started 2 days, 22 hours ago (2009-11-27 04:12:00)
by kajbj
What do you mean? What's the problem?
|
|
Hot threads for last week on Java Programming
::
Started 1 week, 3 days ago (2009-11-20 02:07:00)
by jwenting
So they've once again fallen for the Me2! crowd and decided on adding something for no other reason than that Ruby has it and someone claimed that "Java iz ded" if it doesn't get it.
Good thing I'm ever more specialising in pl/sql and bpel, means I'll probably not have to maintain the rubbish that's certain to be churned out by n00bs and academics thinking it's all a great idea.
Started 6 days, 1 hour ago (2009-11-24 01:05:00)
by kajbj
What do you think this does:
strLine.split("");
Started 3 days, 23 hours ago (2009-11-26 03:17:00)
by BIJ001
What is a "time independent unique id"?
Would you care to elaborate?
Started 5 days, 13 hours ago (2009-11-24 13:03:00)
by yawmark
I also need to send this number to a piece of hardware in a hex code format.
BigInteger.toString(int radix)
...the number will most likely be much larger than 257 and can end up larger than even BigInt can handle.
There is no BigInt type in core Java. If you're referring to BigInteger, I'd be curious as to the size of number you're expecting to handle. Please describe an actual ...
Started 6 days, 14 hours ago (2009-11-23 12:04:00)
by yawmark
oll3i wrote:
What should a lexer return
Tokens.
to pass it to the parser and then what should parser return to pass it to the interpreter?
Parsed content. Possibly an AST. Perhaps some other type of interpretable content.
how do i split the query in lexer?
What query?
~
Started 6 days, 2 hours ago (2009-11-24 00:43:00)
by BIJ001
Example: If i fire "java myProcessInfo <processName>" as a command,
then be this command run on any OS it should give me all the details of the process which i am looking for.
Obtaining process information is inherently OS-dependent, even under the same OS family like Unices.
(This theoretically does not preclude having a nice Java wrapper, which I am however not aware of.)
What...
Started 2 days, 22 hours ago (2009-11-27 04:12:00)
by kajbj
What do you mean? What's the problem?
Started 5 days, 7 hours ago (2009-11-24 19:12:00)
by flounder
Sentinel1978 wrote:
1) Is this a good hashCode() implementation
Define "good".
2) What happens if the sum of the two integers EXCEED the maximum allowed integer width?
It will simply wrap around to Integer.MIN_VALUE
Started 1 week, 2 days ago (2009-11-21 00:41:00)
by corlettk
For a start, let's try to clarrify what you're trying to do... and why ?
You want to import my.package.* at runtime, right?
It's possible, but what's your current Java skill level? Would you call yourself a beginner, or intermediate? I only ask because this involves the reflections API, which is generally regarded as an "advanced topic", to be kept on the top shelf, out of reach of ...
Started 4 days, 13 hours ago (2009-11-25 12:49:00)
by Peter__Lawrey
I have used this approach to read about 1 GB of gzipped xml so it should work.
|
|