#Implementation of a sorted, balanced tree structure # #Inherit from BDB1::Common class BDB1::Btree < BDB1::Common #Deletes associations if the evaluation of the block returns true. # def delete_if([set]) yield key, value end #same than delete_if def reject!([set]) yield key, value end #Return an array of all duplicate associations for key # #if assoc is false return only the values. # def duplicates(key, assoc = true) end #Iterates over each duplicate associations for key # def each_dup(key) yield key, value end #Iterates over each duplicate values for key # def each_dup_value(key) yield value end #Iterates over associations in reverse order # def reverse_each yield key, value end #same than reverse_each { |key, value| ... } def reverse_each_pair yield key, value end #Iterates over keys in reverse order # def reverse_each_key yield key end #Iterates over values in reverse order. # def reverse_each_value yield value end end