Documentation ¶
Index ¶
- type List
- func (p *List) Add(v interface{}) int
- func (p *List) Clear()
- func (p List) Count() int
- func (p *List) Delete(i int)
- func (p List) Empty() bool
- func (p *List) First() (interface{}, bool)
- func (p List) Get(i int) (interface{}, bool)
- func (p *List) Grow(n int)
- func (p *List) IndexOf(v interface{}) int
- func (p *List) Insert(i int, v interface{})
- func (p *List) Last() (interface{}, bool)
- func (p *List) Put(i int, v interface{}) bool
- func (p *List) Remove(v interface{}) int
- func (p *List) String() string
- func (p *List) Swap(a, b int)
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
}
List very useful general purpose list container
Click to show internal directories.
Click to hide internal directories.