eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'LookupKey':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: LookupKey


Inheritance:

   Object
   |
   +--Magnitude
      |
      +--LookupKey
         |
         +--Association

Package:
stx:libbasic
Category:
Collections-Support
Version:
rev: 1.15 date: 2021/01/20 14:09:29
user: cg
file: LookupKey.st directory: libbasic
module: stx stc-classLibrary: libbasic

Description:


LookupKey has been extracted from Association for ST-80 compatibility.
This class is currently not used directly.

[Instance variables:]

    key             <Object>        the key

copyright

COPYRIGHT (c) 1994 by Claus Gittinger All Rights Reserved This software is furnished under a license and may be used only in accordance with the terms of that license and with the inclusion of the above copyright notice. This software may not be provided or otherwise made available to, or used by, any other person. No title to or ownership of the software is hereby transferred.

Class protocol:

instance creation
o  key: aKey
return a new instance.


Instance protocol:

accessing
o  key
return the key of the receiver

o  key: anObject
set the key of the receiver to be anObject.
Return the receiver

comparing
o  < aKey
return true, if the receiver's Key is less than the argument's key.
The argument must be a kind of lookupKey

o  = aLookupKey
return true if the receiver's key equals the argument's key.
The argument must be a kind of lookupKey.

o  > aKey
return true, if the receiver's Key is greater than the argument's key.
The argument must be a kind of lookupKey

o  hash
return an integer useful for hashing on the receiver;
redefined since = is redefined here.

printing & storing
o  displayOn: aGCOrStream
Compatibility
append a printed desription on some stream (Dolphin, Squeak)
OR:
display the receiver in a graphicsContext at 0@0 (ST80).
This method allows for any object to be displayed in some view
(although the fallBack is to display its printString ...)

o  printOn: aStream
append a user printed representation of the receiver to aStream.
The format is suitable for a human - not meant to be read back.



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Sat, 21 Dec 2024 12:24:31 GMT