X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=forester%2Fjava%2Fsrc%2Forg%2Fforester%2Fdatastructures%2FQueue.java;h=fa778340ded6c84ea5e12ed9260f160a2db0a10a;hb=2320da44a171273ec44c0adcaf991687a4780b6e;hp=77240a69983a6a564e6e12d956a131163aa4d57f;hpb=137b43795140cd52de2b3d5d4bbfdcc7a1c8200c;p=jalview.git diff --git a/forester/java/src/org/forester/datastructures/Queue.java b/forester/java/src/org/forester/datastructures/Queue.java index 77240a6..fa77834 100644 --- a/forester/java/src/org/forester/datastructures/Queue.java +++ b/forester/java/src/org/forester/datastructures/Queue.java @@ -5,7 +5,7 @@ // Copyright (C) 2008-2009 Christian M. Zmasek // Copyright (C) 2008-2009 Burnham Institute for Medical Research // All rights reserved -// +// // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either @@ -15,13 +15,13 @@ // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. -// +// // You should have received a copy of the GNU Lesser General Public // License along with this library; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA // // Contact: phylosoft @ gmail . com -// WWW: www.phylosoft.org/forester +// WWW: https://sites.google.com/site/cmzmasek/home/software/forester package org.forester.datastructures; @@ -31,9 +31,9 @@ import java.util.NoSuchElementException; /* * A simple Queue data structure. Created: 10/23/2005 by Christian M. Zmasek. * Last modified: 10/23/2005 by Christian M. Zmasek. - * + * * @author Christian M. Zmasek - * + * * @version 1.000 */ public class Queue { @@ -60,7 +60,7 @@ public class Queue { /** * Dequeues one element from this queue. - * + * * @return the dequeued object * @throws NoSuchElementException * if this queue is empty @@ -76,7 +76,7 @@ public class Queue { // -------------- /** * Adds Object element to thisqueue. - * + * * @param element * the Object to be enqueued */ @@ -88,7 +88,7 @@ public class Queue { // --------------- /** * Returns the LinkedList upon which this queue is based. - * + * * @return the LinkedList upon which this queue is based */ private LinkedList getData() { @@ -97,7 +97,7 @@ public class Queue { /** * Returns whether or not this queue is empty. - * + * * @return true if this queue is empty, false otherwise */ public boolean isEmpty() {