orderedcontainers

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 11, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OrderedChainDict

type OrderedChainDict struct {
	dict.Dict
	// contains filtered or unexported fields
}

func NewOrderedChainDict

func NewOrderedChainDict(entries ...[2]any) *OrderedChainDict

func (*OrderedChainDict) Clear

func (d *OrderedChainDict) Clear() *OrderedChainDict

func (OrderedChainDict) Copy

func (*OrderedChainDict) Delete

func (d *OrderedChainDict) Delete(key any) bool

func (OrderedChainDict) Equal

func (d OrderedChainDict) Equal(another OrderedChainDict) bool

func (OrderedChainDict) IndexOf

func (d OrderedChainDict) IndexOf(key any) int

func (OrderedChainDict) Items

func (d OrderedChainDict) Items() [][2]any

func (OrderedChainDict) KeyAt

func (d OrderedChainDict) KeyAt(index int) (any, error)

func (OrderedChainDict) Keys

func (d OrderedChainDict) Keys() []any

func (OrderedChainDict) MarshalJSON

func (d OrderedChainDict) MarshalJSON() ([]byte, error)

func (*OrderedChainDict) Pop

func (d *OrderedChainDict) Pop(key any, args ...any) (value any, err error)

func (*OrderedChainDict) PopItem

func (d *OrderedChainDict) PopItem() (key, value any, err error)

func (*OrderedChainDict) Set

func (d *OrderedChainDict) Set(key, value any) *OrderedChainDict

func (OrderedChainDict) String

func (d OrderedChainDict) String() string

func (*OrderedChainDict) UnmarshalJSON

func (d *OrderedChainDict) UnmarshalJSON(data []byte) (err error)

func (*OrderedChainDict) Update

func (OrderedChainDict) Values

func (d OrderedChainDict) Values() []any

type OrderedChainSet

type OrderedChainSet struct {
	set.Set
	// contains filtered or unexported fields
}

func NewOrderedChainSet

func NewOrderedChainSet(entries ...any) *OrderedChainSet

func (*OrderedChainSet) Add

func (s *OrderedChainSet) Add(element any) *OrderedChainSet

func (OrderedChainSet) At

func (s OrderedChainSet) At(index int) (any, error)

func (*OrderedChainSet) Clear

func (s *OrderedChainSet) Clear() *OrderedChainSet

func (*OrderedChainSet) Copy

func (s *OrderedChainSet) Copy() OrderedChainSet

func (*OrderedChainSet) Discard

func (s *OrderedChainSet) Discard(element any) bool

func (*OrderedChainSet) Elements

func (s *OrderedChainSet) Elements() []any

func (OrderedChainSet) Equal

func (s OrderedChainSet) Equal(another OrderedChainSet) bool

func (OrderedChainSet) IndexOf

func (s OrderedChainSet) IndexOf(element any) int

func (OrderedChainSet) MarshalJSON

func (s OrderedChainSet) MarshalJSON() ([]byte, error)

func (*OrderedChainSet) Pop

func (s *OrderedChainSet) Pop() (element any, err error)

func (OrderedChainSet) String

func (s OrderedChainSet) String() string

func (OrderedChainSet) ToList

func (*OrderedChainSet) UnmarshalJSON

func (s *OrderedChainSet) UnmarshalJSON(data []byte) (err error)

func (*OrderedChainSet) Update

func (s *OrderedChainSet) Update(another OrderedChainSet) *OrderedChainSet

type OrderedDict

type OrderedDict struct {
	dict.Dict
	// contains filtered or unexported fields
}

func NewOrderedDict

func NewOrderedDict(entries ...[2]any) *OrderedDict

func (*OrderedDict) Clear

func (d *OrderedDict) Clear() *OrderedDict

func (OrderedDict) Copy

func (d OrderedDict) Copy() OrderedDict

func (*OrderedDict) Delete

func (d *OrderedDict) Delete(key any) bool

func (OrderedDict) Equal

func (d OrderedDict) Equal(another OrderedDict) bool

func (OrderedDict) IndexOf

func (d OrderedDict) IndexOf(key any) int

func (OrderedDict) Items

func (d OrderedDict) Items() [][2]any

func (OrderedDict) KeyAt

func (d OrderedDict) KeyAt(index int) (any, error)

func (OrderedDict) Keys

func (d OrderedDict) Keys() []any

func (OrderedDict) MarshalJSON

func (d OrderedDict) MarshalJSON() ([]byte, error)

func (*OrderedDict) Pop

func (d *OrderedDict) Pop(key any, args ...any) (value any, err error)

func (*OrderedDict) PopItem

func (d *OrderedDict) PopItem() (key, value any, err error)

func (*OrderedDict) Set

func (d *OrderedDict) Set(key, value any) *OrderedDict

func (OrderedDict) String

func (d OrderedDict) String() string

func (*OrderedDict) UnmarshalJSON

func (d *OrderedDict) UnmarshalJSON(data []byte) (err error)

func (*OrderedDict) Update

func (d *OrderedDict) Update(another OrderedDict) *OrderedDict

func (OrderedDict) Values

func (d OrderedDict) Values() []any

type OrderedSet

type OrderedSet struct {
	set.Set
	// contains filtered or unexported fields
}

func NewOrderedSet

func NewOrderedSet(entries ...any) *OrderedSet

func (*OrderedSet) Add

func (s *OrderedSet) Add(element any) *OrderedSet

func (OrderedSet) At

func (s OrderedSet) At(index int) (any, error)

func (*OrderedSet) Clear

func (s *OrderedSet) Clear() *OrderedSet

func (OrderedSet) Copy

func (s OrderedSet) Copy() OrderedSet

func (*OrderedSet) Discard

func (s *OrderedSet) Discard(element any) bool

func (OrderedSet) Elements

func (s OrderedSet) Elements() []any

func (OrderedSet) Equal

func (s OrderedSet) Equal(another OrderedSet) bool

func (OrderedSet) IndexOf

func (s OrderedSet) IndexOf(element any) int

func (OrderedSet) MarshalJSON

func (s OrderedSet) MarshalJSON() ([]byte, error)

func (*OrderedSet) Pop

func (s *OrderedSet) Pop() (element any, err error)

func (OrderedSet) String

func (s OrderedSet) String() string

func (OrderedSet) ToList

func (s OrderedSet) ToList() arraylist.ArrayList

func (*OrderedSet) UnmarshalJSON

func (s *OrderedSet) UnmarshalJSON(data []byte) (err error)

func (*OrderedSet) Update

func (s *OrderedSet) Update(another OrderedSet) *OrderedSet

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL