...

Package set

import "google.golang.org/protobuf/internal/set"
Overview
Index

Overview ▾

Package set provides simple set data structures for uint64s.

type Ints

Ints represents a set of integers within the range of 0..math.MaxUint64.

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

func (*Ints) Clear

func (bs *Ints) Clear(n uint64)

func (*Ints) Has

func (bs *Ints) Has(n uint64) bool

func (*Ints) Len

func (bs *Ints) Len() int

func (*Ints) Set

func (bs *Ints) Set(n uint64)