Javamex

Java discussion forum to accompany the Javamex web site.

Discussion of medium to advanced level topics of Java programming, including Java performance, in association with the Javamex web site.

Latest Activity

Profile Icon
Status posted by Kiran Kumar Jan 20
Profile Icon
Kiran Kumar left a comment for Kiran Kumar
Please any one let me know my blog 
Jan 20
Profile Icon

http://www.cloudhadoop.com/2011/02/maven-dependency-example.html

maven dependency example with clear explainationSee More
Blog post by Kiran Kumar Jan 19
Profile Icon
Kiran Kumar is now a member of Javamex Jan 19
Profile Icon
Neil Coffey replied to Ram's discussion 'Where can I download the source code, esp for Blocking Queue Thread example'
Sorry, you'll have to copy and paste from the article, but all the code should be there. If not, let me know which bit appears to be missing and I'll check! N
Jan 11
Profile Icon

Where can I download the source code, esp for Blocking Queue Thread example

keep up the good work. I am planning to understand Blocking queue example. I would appreaciatewhere I can down load the LoggerThread class source code so that I can test.TYIRamSee More
Discussion posted by Ram Jan 11
Profile Icon
ThumbnailThumbnailThumbnail
Ram, Joke de Buhr and Chris A joined Javamex Jan 11
Profile Icon
Lakshmi Alekhya Pulavarthi is now a member of Javamex Dec 21, 2011
Profile Icon
Roedy Green is now a member of Javamex Oct 21, 2011
Profile Icon
ThumbnailThumbnail
Fernando Lozano and macgoofy joined Javamex Oct 18, 2011
Profile Icon
Pallav Shyam replied to Pallav Shyam's discussion 'notify vs notifyall'
package com.msci.dm.timepass; import java.util.ArrayList; import java.util.List; public class Queue { private List queue = new ArrayList(); private final int MAX_SIZE = 1; public void push(String s){…
Aug 24, 2011
Profile Icon
Neil Coffey replied to Pallav Shyam's discussion 'notify vs notifyall'
I couldn't see the attached file -- perhaps you can just paste the code in?
Aug 24, 2011
Profile Icon

notify vs notifyall

Queue.java Attached is a file containing a simple producer consumer scenario that I wrote.Changing queue.notifyAll() to queue.notify() in the push method creates a deadlock.Not sure why? Is there any significant difference between notify and notifyAll which I am missing?  Thanks,PallavSee More
Discussion posted by Pallav Shyam Aug 24, 2011
Profile Icon
Pallav Shyam is now a member of Javamex Aug 24, 2011
Profile Icon
Neil Coffey replied to Mike Lewis's discussion 'error in Java hashtable implementation?'
OK, now fixed on the page. The offending line reads:   int hc = (int) hash & hashMask;
Aug 3, 2011
Profile Icon
Neil Coffey replied to Mike Lewis's discussion 'error in Java hashtable implementation?'
Sorry, yes I assume you're referring to here:     http://www.javamex.com/tutorials/collections/64_bit_hash_map_implementation_2.shtml   Looks like there was a cut + paste error -- I will correct!
Aug 3, 2011
 
 
 

© 2012   Created by Neil Coffey.   Powered by .

Report an Issue  |  Terms of Service