go-set: github.com/scylladb/go-set Index | Files | Directories

package set

import "github.com/scylladb/go-set"

Package set is a type-safe, zero-allocation port of the excellent package fatih/set. It contains sets for most of the basic types and you can generate set for your own types with ease.

Index

Package Files

doc.go set.go

func NewByte16Set Uses

func NewByte16Set(ts ...[16]byte) *b16set.Set

NewByte16Set is a convenience function to create a new b16set.Set

func NewByte16SetWithSize Uses

func NewByte16SetWithSize(size int) *b16set.Set

NewByte16SetWithSize is a convenience function to create a new b16set.Set.

func NewByte32Set Uses

func NewByte32Set(ts ...[32]byte) *b32set.Set

NewByte32Set is a convenience function to create a new b32set.Set

func NewByte32SetWithSize Uses

func NewByte32SetWithSize(size int) *b32set.Set

NewByte32SetWithSize is a convenience function to create a new b32set.Set.

func NewByte64Set Uses

func NewByte64Set(ts ...[64]byte) *b64set.Set

NewByte64Set is a convenience function to create a new b64set.Set

func NewByte64SetWithSize Uses

func NewByte64SetWithSize(size int) *b64set.Set

NewByte64SetWithSize is a convenience function to create a new b64set.Set.

func NewByte8Set Uses

func NewByte8Set(ts ...[8]byte) *b8set.Set

NewByte8Set is a convenience function to create a new b8set.Set

func NewByte8SetWithSize Uses

func NewByte8SetWithSize(size int) *b8set.Set

NewByte8SetWithSize is a convenience function to create a new b8set.Set.

func NewFloat32Set Uses

func NewFloat32Set(ts ...float32) *f32set.Set

NewFloat32Set is a convenience function to create a new f32set.Set

func NewFloat32SetWithSize Uses

func NewFloat32SetWithSize(size int) *f32set.Set

NewFloat32SetWithSize is a convenience function to create a new f32set.Set.

func NewFloat64Set Uses

func NewFloat64Set(ts ...float64) *f64set.Set

NewFloat64Set is a convenience function to create a new f64set.Set

func NewFloat64SetWithSize Uses

func NewFloat64SetWithSize(size int) *f64set.Set

NewFloat64SetWithSize is a convenience function to create a new f64set.Set.

func NewInt16Set Uses

func NewInt16Set(ts ...int16) *i16set.Set

NewInt16Set is a convenience function to create a new i16set.Set

func NewInt16SetWithSize Uses

func NewInt16SetWithSize(size int) *i16set.Set

NewInt16SetWithSize is a convenience function to create a new i16set.Set.

func NewInt32Set Uses

func NewInt32Set(ts ...int32) *i32set.Set

NewInt32Set is a convenience function to create a new i32set.Set

func NewInt32SetWithSize Uses

func NewInt32SetWithSize(size int) *i32set.Set

NewInt32SetWithSize is a convenience function to create a new i32set.Set.

func NewInt64Set Uses

func NewInt64Set(ts ...int64) *i64set.Set

NewInt64Set is a convenience function to create a new i64set.Set

func NewInt64SetWithSize Uses

func NewInt64SetWithSize(size int) *i64set.Set

NewInt64SetWithSize is a convenience function to create a new i64set.Set.

func NewInt8Set Uses

func NewInt8Set(ts ...int8) *i8set.Set

NewInt8Set is a convenience function to create a new i8set.Set

func NewInt8SetWithSize Uses

func NewInt8SetWithSize(size int) *i8set.Set

NewInt8SetWithSize is a convenience function to create a new i8set.Set.

func NewIntSet Uses

func NewIntSet(ts ...int) *iset.Set

NewIntSet is a convenience function to create a new iset.Set

func NewIntSetWithSize Uses

func NewIntSetWithSize(size int) *iset.Set

NewIntSetWithSize is a convenience function to create a new iset.Set.

func NewStringSet Uses

func NewStringSet(ts ...string) *strset.Set

NewStringSet is a convenience function to create a new strset.Set

func NewStringSetWithSize Uses

func NewStringSetWithSize(size int) *strset.Set

NewStringSetWithSize is a convenience function to create a new strset.Set.

func NewUint16Set Uses

func NewUint16Set(ts ...uint16) *u16set.Set

NewUint16Set is a convenience function to create a new u16set.Set

func NewUint16SetWithSize Uses

func NewUint16SetWithSize(size int) *u16set.Set

NewUint16SetWithSize is a convenience function to create a new u16set.Set.

func NewUint32Set Uses

func NewUint32Set(ts ...uint32) *u32set.Set

NewUint32Set is a convenience function to create a new u32set.Set

func NewUint32SetWithSize Uses

func NewUint32SetWithSize(size int) *u32set.Set

NewUint32SetWithSize is a convenience function to create a new u32set.Set.

func NewUint64Set Uses

func NewUint64Set(ts ...uint64) *u64set.Set

NewUint64Set is a convenience function to create a new u64set.Set

func NewUint64SetWithSize Uses

func NewUint64SetWithSize(size int) *u64set.Set

NewUint64SetWithSize is a convenience function to create a new u64set.Set.

func NewUint8Set Uses

func NewUint8Set(ts ...uint8) *u8set.Set

NewUint8Set is a convenience function to create a new u8set.Set

func NewUint8SetWithSize Uses

func NewUint8SetWithSize(size int) *u8set.Set

NewUint8SetWithSize is a convenience function to create a new u8set.Set.

func NewUintSet Uses

func NewUintSet(ts ...uint) *uset.Set

NewUintSet is a convenience function to create a new uset.Set

func NewUintSetWithSize Uses

func NewUintSetWithSize(size int) *uset.Set

NewUintSetWithSize is a convenience function to create a new uset.Set.

Directories

PathSynopsis
b16set
b32set
b64set
b8set
f32set
f64set
i16set
i32set
i64set
i8set
iset
strset
u16set
u32set
u64set
u8set
uset

Package set imports 17 packages (graph). Updated 2018-08-10. Refresh now. Tools for package owners.