class MapDB::Tree

Public Class Methods

new(treeobj) click to toggle source
# File lib/sekka/jruby_mapdb.rb, line 51
def initialize(treeobj)
  @treeobj = treeobj
end

Public Instance Methods

clear() click to toggle source
# File lib/sekka/jruby_mapdb.rb, line 69
def clear
  @treeobj.clear
end
close() click to toggle source
# File lib/sekka/jruby_mapdb.rb, line 72
def close
  #nothing to do
end
delete(key) click to toggle source
# File lib/sekka/jruby_mapdb.rb, line 66
def delete(key)
  @treeobj.remove(key)
end
get(key) click to toggle source
# File lib/sekka/jruby_mapdb.rb, line 63
def get(key)
  @treeobj.get(key)
end
keys() click to toggle source
# File lib/sekka/jruby_mapdb.rb, line 54
def keys
  @treeobj.key_set.to_a
end
put(key,value) click to toggle source
# File lib/sekka/jruby_mapdb.rb, line 57
def put(key,value)
  @treeobj.put(key,value)
end
set(key,value) click to toggle source
# File lib/sekka/jruby_mapdb.rb, line 60
def set(key,value)
  put(key,value)
end