int64utils

package
v0.0.0-...-8969683 Latest Latest
Warning

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

Go to latest
Published: May 16, 2014 License: MIT Imports: 1 Imported by: 1

Documentation

Overview

Package to supply some []int64 functionality, such as Sort, Inserts. TODO: Add Missing functional such as Deletes etc.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Int64ArrayInsertAt

func Int64ArrayInsertAt(s []int64, v int64, i int) []int64

func Int64ArraySearch

func Int64ArraySearch(a []int64, x int64) int

Int64Array Direct Primitives

func Int64OrderedArrayInsert

func Int64OrderedArrayInsert(s []int64, v int64) []int64

Types

type Int64Array

type Int64Array []int64

func (Int64Array) Insert

func (s Int64Array) Insert(v int64) []int64

func (Int64Array) InsertAt

func (s Int64Array) InsertAt(v int64, i int) []int64

func (Int64Array) Len

func (s Int64Array) Len() int

Sort Interface

func (Int64Array) Less

func (s Int64Array) Less(i, j int) bool

func (Int64Array) Search

func (s Int64Array) Search(v int64) int

Int64Array Type helpers

func (Int64Array) Swap

func (s Int64Array) Swap(i, j int)

Jump to

Keyboard shortcuts

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