Squeak Class Documentation category index | class index  
 
LookupKey
  category: Collections-Support
  superclass: Magnitude
  subclasses: Association WeakValueAssociation ReadOnlyVariableBinding

I represent a key for looking up entries in a data structure. Subclasses of me, such as Association, typically represent dictionary entries.

instance methods
  accessing
  key
key:

  bindings
  beBindingOfType:announcing:
beReadOnlyBinding
beReadOnlyBindingAnnouncing:
beReadWriteBinding
beReadWriteBindingAnnouncing:
recompileBindingsAnnouncing:

  comparing
  <
=
hash
hashMappedBy:
identityHashMappedBy:

  filter streaming
  writeOnFilterStream:

  printing
  printOn:

  testing
  isVariableBinding

class methods
  instance creation
  key:

instance methods
  accessing top  
 

key

Answer the lookup key of the receiver.


 

key:

Store the argument, anObject, as the lookup key of the receiver.


  bindings top  
 

beBindingOfType:announcing:

Make the receiver a global binding of the given type


 

beReadOnlyBinding

Make the receiver (a global read-write binding) be a read-only binding


 

beReadOnlyBindingAnnouncing:

Make the receiver (a global read-write binding) be a read-only binding


 

beReadWriteBinding

Make the receiver (a global read-only binding) be a read-write binding


 

beReadWriteBindingAnnouncing:

Make the receiver (a global read-write binding) be a read-write binding


 

recompileBindingsAnnouncing:

Make the receiver (a global read-write binding) be a read-only binding


  comparing top  
 

<

Refer to the comment in Magnitude|<.


 

=

Compare the receiver with the argument and answer with true if the
receiver is equal to the argument. Otherwise answer false.


 

hash

Hash is reimplemented because = is implemented.


 

hashMappedBy:

Answer what my hash would be if oops changed according to map.


 

identityHashMappedBy:

Answer what my hash would be if oops changed according to map.


  filter streaming top  
 

writeOnFilterStream:


  printing top  
 

printOn:

Append to the argument, aStream, a sequence of characters that
identifies the receiver.


  testing top  
 

isVariableBinding

Return true if I represent a literal variable binding


class methods
  instance creation top  
 

key:

Answer an instance of me with the argument as the lookup up.