module Pf::Core::IProbeAdd(T)
Overview
Includers can add stored values to the trie, or replace them.
Included Modules
Direct including types
Defined in:
permafrost/core/node.crInstance Method Summary
-
#replace?(stored : T) : Bool
Returns
true
if an existing stored value should be replaced with this probe's own#value
. -
#value : T
Returns the value associated with this probe, to be stored in
Node
.
Instance methods inherited from module Pf::Core::IProbeAuthored
author : AuthorId
author
Instance methods inherited from module Pf::Core::IProbeFetch(T)
match?(stored : T) : Bool
match?,
path : UInt64
path
Instance Method Detail
abstract
def replace?(stored : T) : Bool
#
Returns true
if an existing stored value should be replaced with
this probe's own #value
.