Low-level implementation of the size-bounded tree #
This file contains the basic definition implementing the functionality of the size-bounded trees.
Two tree maps are equivalent in the sense of Equiv iff all the keys and values are equal.
- impl : t.toListModel.Perm t'.toListModel
Implementation detail of the tree map
Instances For
Two tree maps are equivalent in the sense of Equiv iff all the keys and values are equal.
Instances For
@[instance_reducible]
instance Std.DTreeMap.Internal.Impl.instMembershipOfOrd {α : Type u} {β : α → Type v} [Ord α] :
Membership α (Impl α β)
def Std.DTreeMap.Internal.Impl.get? {α : Type u} {β : α → Type v} [Ord α] [LawfulEqOrd α] (t : Impl α β) (k : α) :
Option (β k)
Returns the value for the key k, or none if such a key does not exist.
Instances For
def Std.DTreeMap.Internal.Impl.get {α : Type u} {β : α → Type v} [Ord α] [LawfulEqOrd α] (t : Impl α β) (k : α) (hlk : k ∈ t) :
β k
Returns the value for the key k.
Instances For
def Std.DTreeMap.Internal.Impl.get! {α : Type u} {β : α → Type v} [Ord α] [LawfulEqOrd α] (t : Impl α β) (k : α) [Inhabited (β k)] :
β k
Returns the value for the key k, or panics if such a key does not exist.
Instances For
def Std.DTreeMap.Internal.Impl.getD {α : Type u} {β : α → Type v} [Ord α] [LawfulEqOrd α] (t : Impl α β) (k : α) (fallback : β k) :
β k
Returns the value for the key k, or fallback if such a key does not exist.
Instances For
@[irreducible]
def Std.DTreeMap.Internal.Impl.minEntryD {α : Type u} {β : α → Type v} :
Impl α β → (a : α) × β a → (a : α) × β a
Implementation detail of the tree map
Instances For
@[irreducible]
def Std.DTreeMap.Internal.Impl.maxEntryD {α : Type u} {β : α → Type v} :
Impl α β → (a : α) × β a → (a : α) × β a
Implementation detail of the tree map
Instances For
@[irreducible]
Implementation detail of the tree map
Instances For
@[irreducible]
Implementation detail of the tree map