--- a/LinkedList.st Fri Jul 28 04:38:43 1995 +0200
+++ b/LinkedList.st Thu Aug 03 03:17:14 1995 +0200
@@ -21,7 +21,7 @@
COPYRIGHT (c) 1989 by Claus Gittinger
All Rights Reserved
-$Header: /cvs/stx/stx/libbasic/LinkedList.st,v 1.14 1995-07-27 04:01:12 claus Exp $
+$Header: /cvs/stx/stx/libbasic/LinkedList.st,v 1.15 1995-08-03 01:15:38 claus Exp $
'!
!LinkedList class methodsFor:'documentation'!
@@ -42,7 +42,7 @@
version
"
-$Header: /cvs/stx/stx/libbasic/LinkedList.st,v 1.14 1995-07-27 04:01:12 claus Exp $
+$Header: /cvs/stx/stx/libbasic/LinkedList.st,v 1.15 1995-08-03 01:15:38 claus Exp $
"
!
@@ -172,6 +172,12 @@
"return true, if the collection is empty"
^ firstLink isNil
+!
+
+notEmpty
+ "return true, if the collection is not empty"
+
+ ^ firstLink notNil
! !
!LinkedList methodsFor:'testing'!