Documentation ¶
Index ¶
- type WrapAround
- func (w *WrapAround[T, ET]) GetExtendedHighest() ET
- func (w *WrapAround[T, ET]) GetExtendedStart() ET
- func (w *WrapAround[T, ET]) GetHighest() T
- func (w *WrapAround[T, ET]) GetStart() T
- func (w *WrapAround[T, ET]) ResetHighest(val T)
- func (w *WrapAround[T, ET]) Seed(from *WrapAround[T, ET])
- func (w *WrapAround[T, ET]) Update(val T) (result wrapAroundUpdateResult[ET])
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])
Click to show internal directories.
Click to hide internal directories.