Documentation ¶
Index ¶
- Constants
- func CompareChild(child AnyList, ord bool, i1 int, i2 int) int
- func DoubleListMain()
- func FloatListMain()
- func IntListMain()
- func LongListMain()
- func StringListMain()
- type AnyList
- type DoubleList
- func (this *DoubleList) AddAll(other *DoubleList)
- func (this *DoubleList) AddAllArray(other []float64)
- func (this *DoubleList) AddDouble(v float64)
- func (this *DoubleList) AddFloat(v float32)
- func (this *DoubleList) AddInt(v int)
- func (this *DoubleList) AddLong(v int64)
- func (this *DoubleList) AddString(v string)
- func (this *DoubleList) Filtering(index []int) AnyList
- func (this *DoubleList) GetDouble(i int) float64
- func (this *DoubleList) GetFloat(i int) float32
- func (this *DoubleList) GetInt(i int) int
- func (this *DoubleList) GetLong(i int) int64
- func (this *DoubleList) GetObject(i int) interface{}
- func (this *DoubleList) GetString(i int) string
- func (this *DoubleList) GetType() byte
- func (this *DoubleList) GetValue(i int) value.Value
- func (this *DoubleList) Read(in *io.DataInputX)
- func (this *DoubleList) SetDouble(i int, v float64)
- func (this *DoubleList) SetFloat(i int, v float32)
- func (this *DoubleList) SetInt(i, v int)
- func (this *DoubleList) SetLong(i int, v int64)
- func (this *DoubleList) SetString(i int, v string)
- func (this *DoubleList) Size() int
- func (this *DoubleList) Sort()
- func (this *DoubleList) Sorting(asc bool) []int
- func (this *DoubleList) SortingAnyList(asc bool, child AnyList, childAsc bool) []int
- func (this *DoubleList) ToArray() []float64
- func (this *DoubleList) ToString() string
- func (this *DoubleList) Write(out *io.DataOutputX)
- type DoubleListKeyVal
- type DoubleListSortable
- type FloatList
- func (this *FloatList) AddAll(other *FloatList)
- func (this *FloatList) AddAllArray(other []float32)
- func (this *FloatList) AddDouble(v float64)
- func (this *FloatList) AddFloat(v float32)
- func (this *FloatList) AddInt(v int)
- func (this *FloatList) AddLong(v int64)
- func (this *FloatList) AddString(v string)
- func (this *FloatList) Filtering(index []int) AnyList
- func (this *FloatList) GetDouble(i int) float64
- func (this *FloatList) GetFloat(i int) float32
- func (this *FloatList) GetInt(i int) int
- func (this *FloatList) GetLong(i int) int64
- func (this *FloatList) GetObject(i int) interface{}
- func (this *FloatList) GetString(i int) string
- func (this *FloatList) GetType() byte
- func (this *FloatList) GetValue(i int) value.Value
- func (this *FloatList) Read(in *io.DataInputX)
- func (this *FloatList) SetDouble(i int, v float64)
- func (this *FloatList) SetFloat(i int, v float32)
- func (this *FloatList) SetInt(i, v int)
- func (this *FloatList) SetLong(i int, v int64)
- func (this *FloatList) SetString(i int, v string)
- func (this *FloatList) Size() int
- func (this *FloatList) Sort()
- func (this *FloatList) Sorting(asc bool) []int
- func (this *FloatList) SortingAnyList(asc bool, child AnyList, childAsc bool) []int
- func (this *FloatList) ToArray() []float32
- func (this *FloatList) ToString() string
- func (this *FloatList) Write(out *io.DataOutputX)
- type FloatListKeyVal
- type FloatListSortable
- type IntList
- func (this *IntList) AddAll(other *IntList)
- func (this *IntList) AddAllArray(other []int)
- func (this *IntList) AddDouble(v float64)
- func (this *IntList) AddFloat(v float32)
- func (this *IntList) AddInt(v int)
- func (this *IntList) AddLong(v int64)
- func (this *IntList) AddString(v string)
- func (this *IntList) Filtering(index []int) AnyList
- func (this *IntList) GetDouble(i int) float64
- func (this *IntList) GetFloat(i int) float32
- func (this *IntList) GetInt(i int) int
- func (this *IntList) GetLong(i int) int64
- func (this *IntList) GetObject(i int) interface{}
- func (this *IntList) GetString(i int) string
- func (this *IntList) GetType() byte
- func (this *IntList) GetValue(i int) value.Value
- func (this *IntList) Read(in *io.DataInputX)
- func (this *IntList) SetDouble(i int, v float64)
- func (this *IntList) SetFloat(i int, v float32)
- func (this *IntList) SetInt(i, v int)
- func (this *IntList) SetLong(i int, v int64)
- func (this *IntList) SetString(i int, v string)
- func (this *IntList) Size() int
- func (this *IntList) Sorting(asc bool) []int
- func (this *IntList) SortingAnyList(asc bool, child AnyList, childAsc bool) []int
- func (this *IntList) ToArray() []int
- func (this *IntList) ToString() string
- func (this *IntList) Write(out *io.DataOutputX)
- type IntListKeyVal
- type IntListSortable
- type LinkedList
- func (o *LinkedList) Add(v interface{}) bool
- func (o *LinkedList) AddFirst(v interface{})
- func (o *LinkedList) AddLast(v interface{})
- func (o *LinkedList) Clear()
- func (o *LinkedList) GetFirst() *LinkedListEntity
- func (o *LinkedList) GetLast() *LinkedListEntity
- func (o *LinkedList) GetNext(e *LinkedListEntity) *LinkedListEntity
- func (o *LinkedList) PutBefore(v interface{}, succ *LinkedListEntity) *LinkedListEntity
- func (o *LinkedList) Remove(x *LinkedListEntity) interface{}
- func (o *LinkedList) RemoveFirst() interface{}
- func (o *LinkedList) RemoveLast() interface{}
- func (o *LinkedList) Size() int
- func (o *LinkedList) ToArray() []interface{}
- func (o *LinkedList) ToString() string
- type LinkedListEntity
- type LongList
- func (this *LongList) AddAll(other *LongList)
- func (this *LongList) AddAllArray(other []int64)
- func (this *LongList) AddDouble(v float64)
- func (this *LongList) AddFloat(v float32)
- func (this *LongList) AddInt(v int)
- func (this *LongList) AddLong(v int64)
- func (this *LongList) AddString(v string)
- func (this *LongList) Filtering(index []int) AnyList
- func (this *LongList) GetDouble(i int) float64
- func (this *LongList) GetFloat(i int) float32
- func (this *LongList) GetInt(i int) int
- func (this *LongList) GetLong(i int) int64
- func (this *LongList) GetObject(i int) interface{}
- func (this *LongList) GetString(i int) string
- func (this *LongList) GetType() byte
- func (this *LongList) GetValue(i int) value.Value
- func (this *LongList) Read(in *io.DataInputX)
- func (this *LongList) SetDouble(i int, v float64)
- func (this *LongList) SetFloat(i int, v float32)
- func (this *LongList) SetInt(i, v int)
- func (this *LongList) SetLong(i int, v int64)
- func (this *LongList) SetString(i int, v string)
- func (this *LongList) Size() int
- func (this *LongList) Sort()
- func (this *LongList) Sorting(asc bool) []int
- func (this *LongList) SortingAnyList(asc bool, child AnyList, childAsc bool) []int
- func (this *LongList) ToArray() []int64
- func (this *LongList) ToString() string
- func (this *LongList) Write(out *io.DataOutputX)
- type LongListKeyVal
- type LongListSortable
- type StringList
- func (this *StringList) AddAll(other *StringList)
- func (this *StringList) AddAllArray(other []string)
- func (this *StringList) AddDouble(v float64)
- func (this *StringList) AddFloat(v float32)
- func (this *StringList) AddInt(v int)
- func (this *StringList) AddLong(v int64)
- func (this *StringList) AddString(v string)
- func (this *StringList) Filtering(index []int) AnyList
- func (this *StringList) GetDouble(i int) float64
- func (this *StringList) GetFloat(i int) float32
- func (this *StringList) GetInt(i int) int
- func (this *StringList) GetLong(i int) int64
- func (this *StringList) GetObject(i int) interface{}
- func (this *StringList) GetString(i int) string
- func (this *StringList) GetType() byte
- func (this *StringList) GetValue(i int) value.Value
- func (this *StringList) Read(in *io.DataInputX)
- func (this *StringList) SetDouble(i int, v float64)
- func (this *StringList) SetFloat(i int, v float32)
- func (this *StringList) SetInt(i, v int)
- func (this *StringList) SetLong(i int, v int64)
- func (this *StringList) SetString(i int, v string)
- func (this *StringList) Size() int
- func (this *StringList) Sort()
- func (this *StringList) Sorting(asc bool) []int
- func (this *StringList) SortingAnyList(asc bool, child AnyList, childAsc bool) []int
- func (this *StringList) ToArray() []string
- func (this *StringList) ToString() string
- func (this *StringList) Write(out *io.DataOutputX)
- type StringListKeyVal
- type StringListSortable
Constants ¶
View Source
const ( ANYLIST_DEFAULT_CAPACITY = 10 ANYLIST_MAX_SIZE = math.MaxInt32 - 8 ANYLIST_INT = 1 ANYLIST_LONG = 2 ANYLIST_FLOAT = 3 ANYLIST_DOUBLE = 4 ANYLIST_STRING = 5 )
Variables ¶
This section is empty.
Functions ¶
func DoubleListMain ¶
func DoubleListMain()
func FloatListMain ¶
func FloatListMain()
func IntListMain ¶
func IntListMain()
func LongListMain ¶
func LongListMain()
func StringListMain ¶
func StringListMain()
Types ¶
type AnyList ¶
type AnyList interface { GetType() byte SetInt(i, v int) SetFloat(i int, v float32) SetLong(i int, v int64) SetDouble(i int, v float64) SetString(i int, v string) AddInt(v int) AddFloat(v float32) AddLong(v int64) AddDouble(v float64) AddString(v string) GetInt(i int) int GetFloat(i int) float32 GetDouble(i int) float64 GetLong(i int) int64 GetString(i int) string GetObject(i int) interface{} GetValue(i int) value.Value Write(out *io.DataOutputX) Read(in *io.DataInputX) Size() int Sorting(asc bool) []int SortingAnyList(asc bool, child AnyList, childAsc bool) []int Filtering(index []int) AnyList }
type DoubleList ¶
type DoubleList struct {
// contains filtered or unexported fields
}
func NewDoubleList ¶
func NewDoubleList(initialCapa int) *DoubleList
func NewDoubleListDefault ¶
func NewDoubleListDefault() *DoubleList
func (*DoubleList) AddAll ¶
func (this *DoubleList) AddAll(other *DoubleList)
func (*DoubleList) AddAllArray ¶
func (this *DoubleList) AddAllArray(other []float64)
func (*DoubleList) AddDouble ¶
func (this *DoubleList) AddDouble(v float64)
func (*DoubleList) AddFloat ¶
func (this *DoubleList) AddFloat(v float32)
func (*DoubleList) AddInt ¶
func (this *DoubleList) AddInt(v int)
func (*DoubleList) AddLong ¶
func (this *DoubleList) AddLong(v int64)
func (*DoubleList) AddString ¶
func (this *DoubleList) AddString(v string)
func (*DoubleList) Filtering ¶
func (this *DoubleList) Filtering(index []int) AnyList
func (*DoubleList) GetDouble ¶
func (this *DoubleList) GetDouble(i int) float64
func (*DoubleList) GetFloat ¶
func (this *DoubleList) GetFloat(i int) float32
func (*DoubleList) GetInt ¶
func (this *DoubleList) GetInt(i int) int
func (*DoubleList) GetLong ¶
func (this *DoubleList) GetLong(i int) int64
func (*DoubleList) GetObject ¶
func (this *DoubleList) GetObject(i int) interface{}
func (*DoubleList) GetString ¶
func (this *DoubleList) GetString(i int) string
func (*DoubleList) GetType ¶
func (this *DoubleList) GetType() byte
func (*DoubleList) Read ¶
func (this *DoubleList) Read(in *io.DataInputX)
func (*DoubleList) SetDouble ¶
func (this *DoubleList) SetDouble(i int, v float64)
func (*DoubleList) SetFloat ¶
func (this *DoubleList) SetFloat(i int, v float32)
func (*DoubleList) SetInt ¶
func (this *DoubleList) SetInt(i, v int)
func (*DoubleList) SetLong ¶
func (this *DoubleList) SetLong(i int, v int64)
func (*DoubleList) SetString ¶
func (this *DoubleList) SetString(i int, v string)
func (*DoubleList) Size ¶
func (this *DoubleList) Size() int
func (*DoubleList) Sort ¶
func (this *DoubleList) Sort()
func (*DoubleList) Sorting ¶
func (this *DoubleList) Sorting(asc bool) []int
func (*DoubleList) SortingAnyList ¶
func (this *DoubleList) SortingAnyList(asc bool, child AnyList, childAsc bool) []int
func (*DoubleList) ToArray ¶
func (this *DoubleList) ToArray() []float64
func (*DoubleList) ToString ¶
func (this *DoubleList) ToString() string
func (*DoubleList) Write ¶
func (this *DoubleList) Write(out *io.DataOutputX)
type DoubleListKeyVal ¶
type DoubleListKeyVal struct {
// contains filtered or unexported fields
}
type DoubleListSortable ¶
type DoubleListSortable struct {
// contains filtered or unexported fields
}
func (DoubleListSortable) Len ¶
func (this DoubleListSortable) Len() int
func (DoubleListSortable) Less ¶
func (this DoubleListSortable) Less(i, j int) bool
func (DoubleListSortable) Swap ¶
func (this DoubleListSortable) Swap(i, j int)
type FloatList ¶
type FloatList struct {
// contains filtered or unexported fields
}
func NewFloatList ¶
func NewFloatListDefault ¶
func NewFloatListDefault() *FloatList
func (*FloatList) AddAllArray ¶
func (*FloatList) Read ¶
func (this *FloatList) Read(in *io.DataInputX)
func (*FloatList) SortingAnyList ¶
func (*FloatList) Write ¶
func (this *FloatList) Write(out *io.DataOutputX)
type FloatListKeyVal ¶
type FloatListKeyVal struct {
// contains filtered or unexported fields
}
type FloatListSortable ¶
type FloatListSortable struct {
// contains filtered or unexported fields
}
func (FloatListSortable) Len ¶
func (this FloatListSortable) Len() int
func (FloatListSortable) Less ¶
func (this FloatListSortable) Less(i, j int) bool
func (FloatListSortable) Swap ¶
func (this FloatListSortable) Swap(i, j int)
type IntList ¶
type IntList struct {
// contains filtered or unexported fields
}
func NewIntList ¶
func NewIntListDefault ¶
func NewIntListDefault() *IntList
func (*IntList) AddAllArray ¶
func (*IntList) Read ¶
func (this *IntList) Read(in *io.DataInputX)
func (*IntList) SortingAnyList ¶
func (*IntList) Write ¶
func (this *IntList) Write(out *io.DataOutputX)
type IntListKeyVal ¶
type IntListKeyVal struct {
// contains filtered or unexported fields
}
type IntListSortable ¶
type IntListSortable struct {
// contains filtered or unexported fields
}
func (IntListSortable) Len ¶
func (this IntListSortable) Len() int
func (IntListSortable) Less ¶
func (this IntListSortable) Less(i, j int) bool
func (IntListSortable) Swap ¶
func (this IntListSortable) Swap(i, j int)
type LinkedList ¶
type LinkedList struct {
// contains filtered or unexported fields
}
func NewLinkedList ¶
func NewLinkedList() *LinkedList
func (*LinkedList) Add ¶
func (o *LinkedList) Add(v interface{}) bool
func (*LinkedList) AddFirst ¶
func (o *LinkedList) AddFirst(v interface{})
func (*LinkedList) AddLast ¶
func (o *LinkedList) AddLast(v interface{})
func (*LinkedList) Clear ¶
func (o *LinkedList) Clear()
func (*LinkedList) GetFirst ¶
func (o *LinkedList) GetFirst() *LinkedListEntity
func (*LinkedList) GetLast ¶
func (o *LinkedList) GetLast() *LinkedListEntity
func (*LinkedList) GetNext ¶
func (o *LinkedList) GetNext(e *LinkedListEntity) *LinkedListEntity
func (*LinkedList) PutBefore ¶
func (o *LinkedList) PutBefore(v interface{}, succ *LinkedListEntity) *LinkedListEntity
func (*LinkedList) Remove ¶
func (o *LinkedList) Remove(x *LinkedListEntity) interface{}
func (*LinkedList) RemoveFirst ¶
func (o *LinkedList) RemoveFirst() interface{}
func (*LinkedList) RemoveLast ¶
func (o *LinkedList) RemoveLast() interface{}
func (*LinkedList) Size ¶
func (o *LinkedList) Size() int
func (*LinkedList) ToArray ¶
func (o *LinkedList) ToArray() []interface{}
func (*LinkedList) ToString ¶
func (o *LinkedList) ToString() string
type LinkedListEntity ¶
type LinkedListEntity struct { Value interface{} // contains filtered or unexported fields }
func (*LinkedListEntity) ToString ¶
func (e *LinkedListEntity) ToString() string
type LongList ¶
type LongList struct {
// contains filtered or unexported fields
}
func NewLongList ¶
func NewLongListDefault ¶
func NewLongListDefault() *LongList
func (*LongList) AddAllArray ¶
func (*LongList) Read ¶
func (this *LongList) Read(in *io.DataInputX)
func (*LongList) SortingAnyList ¶
func (*LongList) Write ¶
func (this *LongList) Write(out *io.DataOutputX)
type LongListKeyVal ¶
type LongListKeyVal struct {
// contains filtered or unexported fields
}
type LongListSortable ¶
type LongListSortable struct {
// contains filtered or unexported fields
}
func (LongListSortable) Len ¶
func (this LongListSortable) Len() int
func (LongListSortable) Less ¶
func (this LongListSortable) Less(i, j int) bool
func (LongListSortable) Swap ¶
func (this LongListSortable) Swap(i, j int)
type StringList ¶
type StringList struct {
// contains filtered or unexported fields
}
func NewStringList ¶
func NewStringList(initialCapa int) *StringList
func NewStringListDefault ¶
func NewStringListDefault() *StringList
func (*StringList) AddAll ¶
func (this *StringList) AddAll(other *StringList)
func (*StringList) AddAllArray ¶
func (this *StringList) AddAllArray(other []string)
func (*StringList) AddDouble ¶
func (this *StringList) AddDouble(v float64)
func (*StringList) AddFloat ¶
func (this *StringList) AddFloat(v float32)
func (*StringList) AddInt ¶
func (this *StringList) AddInt(v int)
func (*StringList) AddLong ¶
func (this *StringList) AddLong(v int64)
func (*StringList) AddString ¶
func (this *StringList) AddString(v string)
func (*StringList) Filtering ¶
func (this *StringList) Filtering(index []int) AnyList
func (*StringList) GetDouble ¶
func (this *StringList) GetDouble(i int) float64
func (*StringList) GetFloat ¶
func (this *StringList) GetFloat(i int) float32
func (*StringList) GetInt ¶
func (this *StringList) GetInt(i int) int
func (*StringList) GetLong ¶
func (this *StringList) GetLong(i int) int64
func (*StringList) GetObject ¶
func (this *StringList) GetObject(i int) interface{}
func (*StringList) GetString ¶
func (this *StringList) GetString(i int) string
func (*StringList) GetType ¶
func (this *StringList) GetType() byte
func (*StringList) Read ¶
func (this *StringList) Read(in *io.DataInputX)
func (*StringList) SetDouble ¶
func (this *StringList) SetDouble(i int, v float64)
func (*StringList) SetFloat ¶
func (this *StringList) SetFloat(i int, v float32)
func (*StringList) SetInt ¶
func (this *StringList) SetInt(i, v int)
func (*StringList) SetLong ¶
func (this *StringList) SetLong(i int, v int64)
func (*StringList) SetString ¶
func (this *StringList) SetString(i int, v string)
func (*StringList) Size ¶
func (this *StringList) Size() int
func (*StringList) Sort ¶
func (this *StringList) Sort()
func (*StringList) Sorting ¶
func (this *StringList) Sorting(asc bool) []int
func (*StringList) SortingAnyList ¶
func (this *StringList) SortingAnyList(asc bool, child AnyList, childAsc bool) []int
func (*StringList) ToArray ¶
func (this *StringList) ToArray() []string
func (*StringList) ToString ¶
func (this *StringList) ToString() string
func (*StringList) Write ¶
func (this *StringList) Write(out *io.DataOutputX)
type StringListKeyVal ¶
type StringListKeyVal struct {
// contains filtered or unexported fields
}
type StringListSortable ¶
type StringListSortable struct {
// contains filtered or unexported fields
}
func (StringListSortable) Len ¶
func (this StringListSortable) Len() int
func (StringListSortable) Less ¶
func (this StringListSortable) Less(i, j int) bool
func (StringListSortable) Swap ¶
func (this StringListSortable) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.