Documentation ¶
Index ¶
- Variables
- type FinalIndex
- type FinalNode
- type Hash
- type HashedUniqueIndex
- func (i *HashedUniqueIndex) Each(f func(key Hash, obj Value))
- func (i *HashedUniqueIndex) Empty() bool
- func (i *HashedUniqueIndex) End() Iterator
- func (i *HashedUniqueIndex) Erase(iter Iterator)
- func (i *HashedUniqueIndex) Find(k Hash) (Iterator, bool)
- func (i *HashedUniqueIndex) GetFinalIndex() interface{}
- func (i *HashedUniqueIndex) GetSuperIndex() interface{}
- func (i *HashedUniqueIndex) Insert(v Value) (Iterator, bool)
- func (i *HashedUniqueIndex) Modify(iter Iterator, mod func(*Value)) bool
- func (i *HashedUniqueIndex) Size() int
- func (i *HashedUniqueIndex) Values() []Value
- type HashedUniqueIndexNode
- type Iterator
- type SuperIndex
- type SuperNode
- type Value
Constants ¶
This section is empty.
Variables ¶
View Source
var KeyFunc = func(Value) Hash { return 0 }
Functions ¶
This section is empty.
Types ¶
type FinalIndex ¶
type FinalIndex struct {
// contains filtered or unexported fields
}
generic class
type FinalNode ¶
type FinalNode struct { GetSuperNode func() interface{} GetFinalNode func() interface{} }
generic class
type Hash ¶
type Hash = int
template type HashedUniqueIndex(FinalIndex,FinalNode,SuperIndex,SuperNode,Value,Hash,KeyFunc)
type HashedUniqueIndex ¶
type HashedUniqueIndex struct {
// contains filtered or unexported fields
}
func (*HashedUniqueIndex) Each ¶
func (i *HashedUniqueIndex) Each(f func(key Hash, obj Value))
func (*HashedUniqueIndex) Empty ¶
func (i *HashedUniqueIndex) Empty() bool
func (*HashedUniqueIndex) End ¶
func (i *HashedUniqueIndex) End() Iterator
func (*HashedUniqueIndex) Erase ¶
func (i *HashedUniqueIndex) Erase(iter Iterator)
func (*HashedUniqueIndex) GetFinalIndex ¶
func (i *HashedUniqueIndex) GetFinalIndex() interface{}
func (*HashedUniqueIndex) GetSuperIndex ¶
func (i *HashedUniqueIndex) GetSuperIndex() interface{}
func (*HashedUniqueIndex) Modify ¶
func (i *HashedUniqueIndex) Modify(iter Iterator, mod func(*Value)) bool
func (*HashedUniqueIndex) Size ¶
func (i *HashedUniqueIndex) Size() int
func (*HashedUniqueIndex) Values ¶
func (i *HashedUniqueIndex) Values() []Value
type HashedUniqueIndexNode ¶
type HashedUniqueIndexNode struct {
// contains filtered or unexported fields
}
func (*HashedUniqueIndexNode) GetFinalNode ¶
func (n *HashedUniqueIndexNode) GetFinalNode() interface{}
func (*HashedUniqueIndexNode) GetSuperNode ¶
func (n *HashedUniqueIndexNode) GetSuperNode() interface{}
type SuperIndex ¶
type SuperIndex struct {
// contains filtered or unexported fields
}
generic class
Click to show internal directories.
Click to hide internal directories.