Squeak Class Documentation category index | class index  
 
Association
  category: Collections-Support
  superclass: LookupKey
  subclasses: WeakKeyAssociation

I represent a pair of associated objects--a key and a value. My instances can serve as entries in a dictionary.

instance methods
  accessing
  key:value:
value
value:

  filter streaming
  byteEncode:

  objects from disk
  objectForDataStream:

  printing
  printOn:
propertyListOn:
storeOn:

  testing
  isSpecialWriteBinding
isVariableBinding

class methods
  instance creation
  key:value:

instance methods
  accessing top  
 

key:value:

Store the arguments as the variables of the receiver.


 

value

Answer the value of the receiver.


 

value:

Store the argument, anObject, as the value of the receiver.


  filter streaming top  
 

byteEncode:


  objects from disk top  
 

objectForDataStream:

I am about to be written on an object file. If I am a known global, write a proxy that will hook up with the same resource in the destination system.


  printing top  
 

printOn:

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


 

propertyListOn:


 

storeOn:

Store in the format (key->value)


  testing top  
 

isSpecialWriteBinding

Return true if this variable binding is write protected, e.g., should not be accessed primitively but rather by sending #value: messages


 

isVariableBinding

Return true if I represent a literal variable binding


class methods
  instance creation top  
 

key:value:

Answer an instance of me with the arguments as the key and value of
the association.