There are no attributes in this class.
byValue(...)
byValue(min) -> list of value, key pairs
Returns list of value, key pairs where the value is >= min. The list is sorted by value. Note that items() returns keys in the opposite order.
clear(...)
clear()
Remove all of the items from the BTree.
get(...)
get(key[, default=None]) -> Value for key or default
Return the value or the default if the key is not found.
has_key(...)
has_key(key)
Return true if the BTree contains the given key.
insert(...)
insert(key, value) -> 0 or 1
Add an item if the key is not already used. Return 1 if the item was added, or 0 otherwise.
items(...)
Returns the items of the BTree. If min and max are supplied, only items with keys greater than min and less than max are returned.
iteritems(...)
iterkeys(...)
itervalues(...)
keys(...)
keys([min, max]) -> list of keys
Returns the keys of the BTree. If min and max are supplied, only keys greater than min and less than max are returned.
maxKey(...)
maxKey([max]) -> key
Return the largest key in the BTree. If max is specified, return the largest key <= max.
minKey(...)
minKey([mi]) -> key
Return the smallest key in the BTree. If min is specified, return the smallest key >= min.
pop(...)
If key is not found, d is returned if given, otherwise KeyError is raised.
setdefault(...)
Return the value like get() except that if key is missing, d is both returned and inserted into the BTree as the value of k.
update(...)
update(collection)
Add the items from the given collection.
values(...)
values([min, max]) -> list of values
Returns the values of the BTree. If min and max are supplied, only values corresponding to keys greater than min and less than max are returned.
There are no known subclasses.