I am new to Java, I need some information regarding String Queues in Java.
I wanted a queue, which should wait on new element. I do not want poll the loop for new data. I should need non poll type queue, which stay for new event. When ever new element arriaves it should come out from that statement and it should give me the element.
Please let me know, if somebody know about queues in Java.