aoexpsort

package
v0.0.0-...-e449b39 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 14, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ByExp

type ByExp []gamei.ActiveObjectI

func (*ByExp) Add

func (aol *ByExp) Add(ao gamei.ActiveObjectI) error

func (*ByExp) Del

func (aol *ByExp) Del(ao gamei.ActiveObjectI) error

func (ByExp) FindExist

func (aol ByExp) FindExist(ao gamei.ActiveObjectI) (int, bool)

func (ByExp) FindPosByKey

func (aol ByExp) FindPosByKey(exp float64) int

if not found return len

func (ByExp) GetPage

func (aol ByExp) GetPage(page int, pagesize int) ByExp

func (ByExp) Len

func (aol ByExp) Len() int

func (ByExp) Less

func (aol ByExp) Less(i, j int) bool

func (ByExp) Sort

func (aol ByExp) Sort()

func (ByExp) Swap

func (aol ByExp) Swap(i, j int)

func (ByExp) ToWeb

func (aol ByExp) ToWeb(w http.ResponseWriter, r *http.Request) error

func (ByExp) ToWebMid

func (aol ByExp) ToWebMid(w http.ResponseWriter, r *http.Request) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL