Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Allocate ¶
type SliceVec ¶
type SliceVec struct {
// contains filtered or unexported fields
}
func (*SliceVec) FrontShift ¶
func (v *SliceVec) FrontShift()
type Vector ¶
type Vector interface {
// Get Access i-th element
Get(i int) *Element
// PushBack Add item at the end
PushBack(line string) error
// FrontShift Remove the first element
FrontShift()
// Len Length of the Vector
Len() int
// Reset Clear the content in the vector
Reset()
// Sort sort the vector in ascending order
Sort()
}
Click to show internal directories.
Click to hide internal directories.