Documentation ¶
Index ¶
- type LinkedElement
- type LinkedList
- func (l *LinkedList) Add(e gotypes.E) *LinkedList
- func (l *LinkedList) Clear()
- func (l *LinkedList) Count(matchFunc matchFunc) int
- func (l *LinkedList) Filter(matchFunc matchFunc) *LinkedList
- func (l *LinkedList) ForEach(eachFunc eachFunc)
- func (l *LinkedList) Head() LinkedElement
- func (l *LinkedList) Map(mapFunc mapFunc) *LinkedList
- func (l *LinkedList) MatchAll(matchFunc matchFunc) bool
- func (l *LinkedList) MatchAny(matchFunc matchFunc) bool
- func (l *LinkedList) MatchNone(matchFunc matchFunc) bool
- func (l *LinkedList) Peek() LinkedElement
- func (l *LinkedList) Reduce(val gotypes.E, reduceFunc reduceFunc) gotypes.E
- func (l *LinkedList) Size() int
- func (l *LinkedList) Tail() LinkedElement
- func (l *LinkedList) Take() LinkedElement
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LinkedElement ¶
Define LinkedElement struct
type LinkedList ¶
type LinkedList struct {
// contains filtered or unexported fields
}
Define LinkedList struct
func (*LinkedList) Filter ¶
func (l *LinkedList) Filter(matchFunc matchFunc) *LinkedList
Filter function
func (*LinkedList) MatchAll ¶
func (l *LinkedList) MatchAll(matchFunc matchFunc) bool
MatchAll function
func (*LinkedList) MatchAny ¶
func (l *LinkedList) MatchAny(matchFunc matchFunc) bool
MatchAny function
func (*LinkedList) MatchNone ¶
func (l *LinkedList) MatchNone(matchFunc matchFunc) bool
MatchNone function
Click to show internal directories.
Click to hide internal directories.