wrapper

package module
v0.0.0-...-622d508 Latest Latest
Warning

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

Go to latest
Published: May 6, 2019 License: Apache-2.0 Imports: 2 Imported by: 30

README

wrapper

wrap around int value

korean description

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func G_WrapperInfo

func G_WrapperInfo() string

Types

type Wrapper

type Wrapper struct {
	Wrap     func(i int) int
	WrapSafe func(i int) int
	// contains filtered or unexported fields
}

func New

func New(w int) *Wrapper

func (*Wrapper) GetWidth

func (wr *Wrapper) GetWidth() int

func (*Wrapper) GetWrapFn

func (wr *Wrapper) GetWrapFn() func(i int) int

func (*Wrapper) GetWrapSafeFn

func (wr *Wrapper) GetWrapSafeFn() func(i int) int

func (*Wrapper) IsIn

func (wr *Wrapper) IsIn(i int) bool

func (Wrapper) String

func (wr Wrapper) String() string

Jump to

Keyboard shortcuts

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