Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BSTSet ¶
type BSTSet struct {
// contains filtered or unexported fields
}
base on binary search tree
type LinkedListSet ¶
type LinkedListSet struct {
LinkedList *list.LinkedList
}
base on linked list
func NewLinkedListSet ¶
func NewLinkedListSet() *LinkedListSet
func (*LinkedListSet) Add ¶
func (l *LinkedListSet) Add(e interface{})
func (*LinkedListSet) Contains ¶
func (l *LinkedListSet) Contains(e interface{}) bool
func (*LinkedListSet) IsEmpty ¶
func (l *LinkedListSet) IsEmpty() bool
func (*LinkedListSet) Remove ¶
func (l *LinkedListSet) Remove(e interface{})
func (*LinkedListSet) Size ¶
func (l *LinkedListSet) Size() int
Click to show internal directories.
Click to hide internal directories.