Versions in this module Expand all Collapse all v0 v0.5.0 May 31, 2017 Changes in this version + func ByteSliceMarshals() (ItemMarshal, ItemUnmarshal) + func DoChildCount(node BinaryTreeNode) int + func Int16Marshals() (ItemMarshal, ItemUnmarshal) + func Int32Marshals() (ItemMarshal, ItemUnmarshal) + func Int64Marshals() (ItemMarshal, ItemUnmarshal) + func Int8Marshals() (ItemMarshal, ItemUnmarshal) + func IntMarshals() (ItemMarshal, ItemUnmarshal) + func IsNil(object interface{}) bool + func MakeMarshals(empty func() MHashable) (ItemMarshal, ItemUnmarshal) + func StringMarshals() (ItemMarshal, ItemUnmarshal) + func UInt16Marshals() (ItemMarshal, ItemUnmarshal) + func UInt32Marshals() (ItemMarshal, ItemUnmarshal) + func UInt64Marshals() (ItemMarshal, ItemUnmarshal) + func UInt8Marshals() (ItemMarshal, ItemUnmarshal) + func UIntMarshals() (ItemMarshal, ItemUnmarshal) + type BinaryTreeNode interface + Left func() BinaryTreeNode + Right func() BinaryTreeNode + type ByteSlice []byte + func (self *ByteSlice) MarshalBinary() ([]byte, error) + func (self *ByteSlice) UnmarshalBinary(data []byte) error + func (self ByteSlice) Equals(other Equatable) bool + func (self ByteSlice) Hash() int + func (self ByteSlice) Less(other Sortable) bool + type ContainerOperable interface + Has func(item Hashable) bool + type Coroutine func(send interface{}) (recv interface{}, next Coroutine) + type Deque interface + type DequeOperable interface + DequeBack func() (item Hashable, err error) + DequeFront func() (item Hashable, err error) + EnqueBack func(item Hashable) (err error) + EnqueFront func(item Hashable) (err error) + First func() (item Hashable) + Last func() (item Hashable) + type Equatable interface + Equals func(b Equatable) bool + type HList interface + type Hashable interface + Hash func() int + type Int int + func (self *Int) MarshalBinary() ([]byte, error) + func (self *Int) UnmarshalBinary(data []byte) error + func (self Int) Equals(other Equatable) bool + func (self Int) Hash() int + func (self Int) Less(other Sortable) bool + type Int16 int16 + func (self *Int16) MarshalBinary() ([]byte, error) + func (self *Int16) UnmarshalBinary(data []byte) error + func (self Int16) Equals(other Equatable) bool + func (self Int16) Hash() int + func (self Int16) Less(other Sortable) bool + type Int32 int32 + func (self *Int32) MarshalBinary() ([]byte, error) + func (self *Int32) UnmarshalBinary(data []byte) error + func (self Int32) Equals(other Equatable) bool + func (self Int32) Hash() int + func (self Int32) Less(other Sortable) bool + type Int64 int64 + func (self *Int64) MarshalBinary() ([]byte, error) + func (self *Int64) UnmarshalBinary(data []byte) error + func (self Int64) Equals(other Equatable) bool + func (self Int64) Hash() int + func (self Int64) Less(other Sortable) bool + type Int8 int8 + func (self *Int8) MarshalBinary() ([]byte, error) + func (self *Int8) UnmarshalBinary(data []byte) error + func (self Int8) Equals(other Equatable) bool + func (self Int8) Hash() int + func (self Int8) Less(other Sortable) bool + type ItemMarshal func(Hashable) ([]byte, error) + type ItemUnmarshal func([]byte) (Hashable, error) + type ItemsOperable interface + Add func(item Hashable) (err error) + Delete func(item Hashable) (err error) + Extend func(items KIterator) (err error) + Item func(item Hashable) (Hashable, error) + type Iterable interface + Iterate func() Iterator + type IterableContainer interface + Has func(item Hashable) bool + type Iterator func() (item interface{}, next Iterator) + func MakeValuesIterator(obj KVIterable) Iterator + type KIterable interface + Keys func() KIterator + type KIterator func() (key Hashable, next KIterator) + func MakeItemsIterator(obj KVIterable) (kit KIterator) + func MakeKeysIterator(obj KVIterable) KIterator + type KVIterable interface + Iterate func() KVIterator + type KVIterator func() (key Hashable, value interface{}, next KVIterator) + func MakeKVIteratorFromTreeNodeIterator(tni TreeNodeIterator) KVIterator + type Linked interface + type LinkedOperable interface + type List interface + type ListIterable interface + Items func() KIterator + type ListOperable interface + Append func(item Hashable) (err error) + Get func(i int) (item Hashable, err error) + Insert func(i int, item Hashable) (err error) + Remove func(i int) (err error) + Set func(i int, item Hashable) (err error) + type MHashable interface + type Map interface + type MapEntry struct + Key Hashable + Value interface{} + func (m *MapEntry) Equals(other Equatable) bool + func (m *MapEntry) Hash() int + func (m *MapEntry) Less(other Sortable) bool + func (m *MapEntry) String() string + type MapIterable interface + type MapOperable interface + Get func(key Hashable) (value interface{}, err error) + Has func(key Hashable) bool + Put func(key Hashable, value interface{}) (err error) + Remove func(key Hashable) (value interface{}, err error) + type Marshaler interface + MarshalBinary func() (data []byte, err error) + UnmarshalBinary func(data []byte) error + type MultiMap interface + type MultiMapOperable interface + Add func(key Hashable, value interface{}) (err error) + Count func(key Hashable) int + Find func(key Hashable) KVIterator + Has func(key Hashable) bool + RemoveWhere func(key Hashable, where WhereFunc) (err error) + Replace func(key Hashable, where WhereFunc, value interface{}) (err error) + type OrderedList interface + type OrderedOperable interface + Find func(item Hashable) (idx int, has bool, err error) + Get func(i int) (item Hashable, err error) + type Set interface + Intersect func(Set) (Set, error) + ProperSubset func(Set) bool + ProperSuperset func(Set) bool + Subset func(Set) bool + Subtract func(Set) (Set, error) + Superset func(Set) bool + Union func(Set) (Set, error) + type Sized interface + Size func() int + type Sortable interface + Less func(b Sortable) bool + type Stack interface + type StackOperable interface + Pop func() (item Hashable, err error) + Push func(item Hashable) (err error) + type String string + func (self *String) MarshalBinary() ([]byte, error) + func (self *String) UnmarshalBinary(data []byte) error + func (self String) Equals(other Equatable) bool + func (self String) Hash() int + func (self String) Less(other Sortable) bool + type Tree interface + Root func() TreeNode + type TreeMap interface + type TreeNode interface + ChildCount func() int + Children func() TreeNodeIterator + GetChild func(int) TreeNode + Key func() Hashable + Value func() interface{} + func DoGetChild(node BinaryTreeNode, i int) TreeNode + type TreeNodeIterator func() (node TreeNode, next TreeNodeIterator) + func ChainTreeNodeIterators(tnis ...TreeNodeIterator) TreeNodeIterator + func MakeChildrenIterator(node BinaryTreeNode) TreeNodeIterator + type UInt uint + func (self *UInt) MarshalBinary() ([]byte, error) + func (self *UInt) UnmarshalBinary(data []byte) error + func (self UInt) Equals(other Equatable) bool + func (self UInt) Hash() int + func (self UInt) Less(other Sortable) bool + type UInt16 uint16 + func (self *UInt16) MarshalBinary() ([]byte, error) + func (self *UInt16) UnmarshalBinary(data []byte) error + func (self UInt16) Equals(other Equatable) bool + func (self UInt16) Hash() int + func (self UInt16) Less(other Sortable) bool + type UInt32 uint32 + func (self *UInt32) MarshalBinary() ([]byte, error) + func (self *UInt32) UnmarshalBinary(data []byte) error + func (self UInt32) Equals(other Equatable) bool + func (self UInt32) Hash() int + func (self UInt32) Less(other Sortable) bool + type UInt64 uint64 + func (self *UInt64) MarshalBinary() ([]byte, error) + func (self *UInt64) UnmarshalBinary(data []byte) error + func (self UInt64) Equals(other Equatable) bool + func (self UInt64) Hash() int + func (self UInt64) Less(other Sortable) bool + type UInt8 uint8 + func (self *UInt8) MarshalBinary() ([]byte, error) + func (self *UInt8) UnmarshalBinary(data []byte) error + func (self UInt8) Equals(other Equatable) bool + func (self UInt8) Hash() int + func (self UInt8) Less(other Sortable) bool + type VIterable interface + Values func() Iterator + type WhereFunc func(value interface{}) bool