class DpStmMap::AtomicReadView

Public Class Methods

new(state) click to toggle source
# File lib/dp_stm_map/InMemoryStmMap.rb, line 80
def initialize state
  @state=state
end

Public Instance Methods

[](key) click to toggle source
# File lib/dp_stm_map/InMemoryStmMap.rb, line 84
def [] key
  @state[key]
end
has_key?(key) click to toggle source
# File lib/dp_stm_map/InMemoryStmMap.rb, line 88
def has_key? key
  @state.has_key? key
end