#TUNING by stefan
authorStefan Vogel <sv@exept.de>
Wed, 22 Feb 2017 14:10:27 +0100
changeset 21524 d4c86d7c0bfc
parent 21523 b800e9cb0e84
child 21525 fd6b13ad5e79
#TUNING by stefan class: OrderedCollection added: #notEmptyOrNil
OrderedCollection.st
--- a/OrderedCollection.st	Wed Feb 22 14:09:58 2017 +0100
+++ b/OrderedCollection.st	Wed Feb 22 14:10:27 2017 +0100
@@ -312,6 +312,7 @@
 ! !
 
 
+
 !OrderedCollection methodsFor:'accessing'!
 
 at:anInteger
@@ -2262,6 +2263,14 @@
     "return true, if the receiver has any elements"
 
     ^ lastIndex >= firstIndex
+!
+
+notEmptyOrNil
+    "return true, if the receiver has any elements"
+
+    ^ lastIndex >= firstIndex
+
+    "Created: / 22-02-2017 / 14:08:43 / stefan"
 ! !
 
 !OrderedCollection methodsFor:'tuning'!