inherits
State supers: BucketElement
variables
methods
id initWith (All, All) (k, v); |
Designated initializer.
void do Block block; |
Apple the block to value and pass to next.
void doKeys Block block; |
Apple the block to key and pass to next.
Any key; |
Return the key, with a suitable type.
Any member All k; |
Return the value associated with the key k, asking the next element if this element does not match.
The implementation by BucketDictElement, considers its key and returns its value.
Any member All k equal selector cmp; |
Like member, but using the selector cmp to have the objects compare themselves.
Any memq All k; |
Undocumented.
int add (All, All) (k, v); |
Add the (k, v) pair to this bucket, if the key is not already present. Return the number by which this bucket's length has increased.
int addq (All, All) (k, v); |
Add the (k, v) pair to this bucket, if the key is not already present. Return the number by which this bucket's length has increased.
(id, int) remove All k; |
Remove the object with the key equal to k. Return the replacement for this element, and the number of bucket elements that were removed from this bucket list (max 1).
(id, int) removeq All k; |
Remove the object with the identical key k. Return the replacement for this element, and the number of bucket elements that were removed from this bucket list (max 1).
void encodeUsingCoder Encoder coder; |
Undocumented.
void initWithCoder Decoder coder; |
Undocumented.
(id, int) gc_mark_values; |
Starting with this bucket element, remove the objects of which the value is gc_dead. Return the replacement for this element, and the number of bucket elements that were removed from this bucket list.
(id, int) gc_mark_keys; |
Similar to gc_mark_values, but consider the liveness of the key instead of the value.
int
rehash;
|
Rehash the key of the receiving element.
int
rehashq;
|
Rehashq the key of the receiving element.