1 |
|
//---PACKAGE DECLARATION--- |
2 |
< |
package uk.org.iscream.util; |
2 |
> |
package uk.org.iscream.cms.server.util; |
3 |
|
|
4 |
|
//---IMPORTS--- |
5 |
|
import java.util.LinkedList; |
6 |
|
import java.util.NoSuchElementException; |
7 |
|
import java.util.Random; |
8 |
< |
import uk.org.iscream.util.*; |
8 |
> |
import uk.org.iscream.cms.server.util.*; |
9 |
|
|
10 |
|
/** |
11 |
|
* A Queue class designed to operate in a multi-threaded environment, with |
228 |
|
|
229 |
|
/** |
230 |
|
* Returns the total numer of elements to have passed |
231 |
< |
* through this queue (ie. a counter on the add method). |
231 |
> |
* through this queue. This is essentially a counter |
232 |
> |
* on the add method. |
233 |
|
* |
234 |
|
* @return the element-ometer. |
235 |
|
*/ |
333 |
|
* Overrides the {@link java.lang.Object#toString() Object.toString()} |
334 |
|
* method to provide clean logging (every class should have this). |
335 |
|
* |
336 |
< |
* This uses the uk.org.iscream.util.FormatName class |
336 |
> |
* This uses the uk.org.iscream.cms.server.util.FormatName class |
337 |
|
* to format the toString() |
338 |
|
* |
339 |
|
* @return the name of this class and its CVS revision. |