prioritybitmap

package
v0.0.0-...-8135c48 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2016 License: MIT, MIT Imports: 3 Imported by: 0

Documentation

Overview

Package prioritybitmap implements a set of integers ordered by attached priorities.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Iter

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

type PriorityBitmap

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

func (*PriorityBitmap) Clear

func (me *PriorityBitmap) Clear()

func (*PriorityBitmap) IsEmpty

func (me *PriorityBitmap) IsEmpty() bool

func (*PriorityBitmap) Iter

func (me *PriorityBitmap) Iter(f func(value interface{}) bool)

func (*PriorityBitmap) IterTyped

func (me *PriorityBitmap) IterTyped(_f func(i int) bool)

func (*PriorityBitmap) Remove

func (me *PriorityBitmap) Remove(bit int)

func (*PriorityBitmap) Set

func (me *PriorityBitmap) Set(bit int, priority int)

Jump to

Keyboard shortcuts

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