set

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2015 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ints

type Ints map[int]struct{}

func (Ints) Clear

func (s Ints) Clear()

func (Ints) HasKey

func (s Ints) HasKey(key int) bool

func (Ints) Keys

func (s Ints) Keys() []int

func (Ints) Put

func (s Ints) Put(key int)

func (Ints) Remove

func (s Ints) Remove(key int)

type SortedInts

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

func NewSortedInts

func NewSortedInts() SortedInts

func (*SortedInts) Clear

func (s *SortedInts) Clear()

func (*SortedInts) HasKey

func (s *SortedInts) HasKey(key int) bool

func (*SortedInts) Keys

func (s *SortedInts) Keys() []int

func (*SortedInts) Put

func (s *SortedInts) Put(key int)

func (*SortedInts) Remove

func (s *SortedInts) Remove(key int)

type SortedStrings

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

func NewSortedStrings

func NewSortedStrings() SortedStrings

func (*SortedStrings) Clear

func (s *SortedStrings) Clear()

func (*SortedStrings) HasKey

func (s *SortedStrings) HasKey(key string) bool

func (*SortedStrings) Keys

func (s *SortedStrings) Keys() []string

func (*SortedStrings) Put

func (s *SortedStrings) Put(key string)

func (*SortedStrings) Remove

func (s *SortedStrings) Remove(key string)

type Strings

type Strings map[string]struct{}

func (Strings) Clear

func (s Strings) Clear()

func (Strings) HasKey

func (s Strings) HasKey(key string) bool

func (Strings) Keys

func (s Strings) Keys() []string

func (Strings) Put

func (s Strings) Put(key string)

func (Strings) Remove

func (s Strings) Remove(key string)

Jump to

Keyboard shortcuts

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