IdentitySkipList.st
author Claus Gittinger <cg@exept.de>
Wed, 03 Apr 2019 12:41:40 +0200
changeset 4934 91b2585d2cba
parent 4397 dd62ed6075b2
permissions -rw-r--r--
#FEATURE by cg class: List added: #dropLast: similar to removeLast:, but does not return the removed elements.

"{ Package: 'stx:libbasic2' }"

"{ NameSpace: Smalltalk }"

SkipList subclass:#IdentitySkipList
	instanceVariableNames:''
	classVariableNames:''
	poolDictionaries:''
	category:'Collections-Ordered-Trees'
!

IdentitySkipList comment:'Like a SkipList, except that elements are compared with #== instead of #= .

See the comment of IdentitySet for more information.
'
!

!IdentitySkipList class methodsFor:'documentation'!

documentation
"
    Like a SkipList, except that elements are compared with #== instead of #= .

    See the comment of IdentitySet for more information.
"
! !

!IdentitySkipList methodsFor:'element comparison'!

is: element1 equalTo: element2
	^ element1 == element2
! !

!IdentitySkipList class methodsFor:'documentation'!

version
    ^ '$Header$'
!

version_CVS
    ^ '$Header$'
! !