inherits
State supers: BucketElement
variables
The key/value in this bucket element.
methods
void do Block block; |
Apple the block to value and pass to next.
Any key; |
Undocumented.
id initWith All v; |
Designated initializer.
Any member All key; |
Return the value associated with the key, asking the next element if this element does not match.
The implementation by BucketSetElement, considers its value as the both the key and the value.
Any member All key equal selector cmp; |
Like member, but using the selector cmp to have the objects compare themselves.
Any memq All key; |
Undocumented.
int add All key; |
Add the key to this bucket, if it is not already present. Return the number by which this bucket's length has increased.
int addq All key; |
Add the key to this bucket, if it is not already present. Return the number by which this bucket's length has increased.
(id, int) (replacement, decrease) remove All key; |
Remove this bucket, if it holds the key. Return the number by which the length of this bucket list has decreased, and the replacement remainder of the bucket list.
(id, int) (replacement, decrease) removeq All key; |
Remove this bucket, if it holds the key. Return the number by which the length of this bucket list has decreased, and the replacement remainder of the bucket list.
void encodeUsingCoder Encoder coder; |
Undocumented.
void initWithCoder Decoder coder; |
Undocumented.
void
gc_mark_containers;
|
Tell the value to gc_container_mark_elements.
(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.
int
rehash;
|
Rehash the key of the receiving element.
int
rehashq;
|
Rehashq the key of the receiving element.