Added Queue.newQueue().
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2472 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -28,6 +28,11 @@ package com.samskivert.util;
|
||||
*/
|
||||
public class Queue<T>
|
||||
{
|
||||
public static <T> Queue<T> newQueue ()
|
||||
{
|
||||
return new Queue<T>();
|
||||
}
|
||||
|
||||
public Queue (int suggestedSize)
|
||||
{
|
||||
_size = _suggestedSize = suggestedSize;
|
||||
|
||||
Reference in New Issue
Block a user