utils

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: May 10, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WrapAround

type WrapAround[T number, ET extendedNumber] struct {
	// contains filtered or unexported fields
}

func NewWrapAround

func NewWrapAround[T number, ET extendedNumber]() *WrapAround[T, ET]

func (*WrapAround[T, ET]) GetExtendedHighest

func (w *WrapAround[T, ET]) GetExtendedHighest() ET

func (*WrapAround[T, ET]) GetExtendedStart

func (w *WrapAround[T, ET]) GetExtendedStart() ET

func (*WrapAround[T, ET]) GetHighest

func (w *WrapAround[T, ET]) GetHighest() T

func (*WrapAround[T, ET]) GetStart

func (w *WrapAround[T, ET]) GetStart() T

func (*WrapAround[T, ET]) ResetHighest

func (w *WrapAround[T, ET]) ResetHighest(val T)

func (*WrapAround[T, ET]) Seed

func (w *WrapAround[T, ET]) Seed(from *WrapAround[T, ET])

func (*WrapAround[T, ET]) Update

func (w *WrapAround[T, ET]) Update(val T) (result wrapAroundUpdateResult[ET])

Jump to

Keyboard shortcuts

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