Documentation ¶
Index ¶
- type List
- func (l *List) Append(value interface{})
- func (l *List) Find(value interface{}) int
- func (l *List) Get(index int) interface{}
- func (l *List) GetUnchecked(index int) interface{}
- func (l *List) InsertAtIndex(value interface{}, index int)
- func (l *List) InsertAtIndexUnchecked(value interface{}, index int)
- func (l *List) Remove(value interface{})
- func (l *List) RemoveAtIndex(index int)
- func (l *List) RemoveAtIndexUnchecked(index int)
- func (l *List) Sort(less func(i, j interface{}) int)
- func (l *List) String() string
- func (l *List) StringBackwards() string
- func (l *List) ToSlice() []interface{}
- type Node
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type List ¶
type List struct {
// contains filtered or unexported fields
}
func (*List) GetUnchecked ¶
func (*List) InsertAtIndex ¶
func (*List) InsertAtIndexUnchecked ¶
Only use if you GUARANTEE that you will pass in a valid index Passing in an invalid index results in undefined behavior No guarantees are made for this function if indices are out of bounds
func (*List) RemoveAtIndex ¶
func (*List) RemoveAtIndexUnchecked ¶
Only use if you GUARANTEE that you will pass in a valid index Passing in an invalid index results in undefined behavior No guarantees are made for this function if indices are out of bounds
Click to show internal directories.
Click to hide internal directories.