wrap

package
v0.0.0-...-43d03be Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2017 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

this file defines a wrapper for largecode.List which is type save an does the boxing and unboxing

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ITEM

type ITEM int

generic

type Wrapper

type Wrapper struct {
	// contains filtered or unexported fields
}

func (*Wrapper) Add

func (l *Wrapper) Add(item ITEM)

Add adds an element to the list

func (*Wrapper) Get

func (l *Wrapper) Get(index int) ITEM

Get returns an element from the list

func (*Wrapper) Len

func (l *Wrapper) Len() int

Len returns the number of elements in the list

func (*Wrapper) Remove

func (l *Wrapper) Remove(index int)

Remove an element from the list

Jump to

Keyboard shortcuts

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