--- projects/cms/source/util/uk/org/iscream/cms/util/Queue.java 2001/03/14 23:25:29 1.16 +++ projects/cms/source/util/uk/org/iscream/cms/util/Queue.java 2001/03/16 15:17:06 1.17 @@ -14,7 +14,7 @@ import uk.org.iscream.util.*; * actually contains some elements. * * @author $Author: tdb $ - * @version $Id: Queue.java,v 1.16 2001/03/14 23:25:29 tdb Exp $ + * @version $Id: Queue.java,v 1.17 2001/03/16 15:17:06 tdb Exp $ */ public class Queue { @@ -23,7 +23,7 @@ public class Queue { /** * The current CVS revision of this class */ - public static final String REVISION = "$Revision: 1.16 $"; + public static final String REVISION = "$Revision: 1.17 $"; /** * Pass to constructor to remove a RANDOM item from @@ -48,6 +48,11 @@ public class Queue { * the maximum Queue limit. */ public static final int DROP = 3; + + /** + * To allow opposite lookups. + */ + public static final String[] algorithms = {"RANDOM", "FIRST", "LAST", "DROP"}; //---STATIC METHODS---