sortedstring

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: Apache-2.0 Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains

func Contains(a, b SSortedStrings) bool

func Equals

func Equals(a, b SSortedStrings) bool

func Split

func Split(a, b SSortedStrings) (aNoB SSortedStrings, aAndB SSortedStrings, bNoA SSortedStrings)

Types

type SSortedStrings

type SSortedStrings []string

func Append

func Append(ss SSortedStrings, ele ...string) SSortedStrings

func Intersect

func Intersect(a, b SSortedStrings) SSortedStrings

func Merge

func Merge(a, b SSortedStrings) SSortedStrings

func NewSortedStrings

func NewSortedStrings(strs []string) SSortedStrings

func (SSortedStrings) Append

func (ss SSortedStrings) Append(ele ...string) SSortedStrings

func (SSortedStrings) Contains

func (ss SSortedStrings) Contains(needle string) bool

func (SSortedStrings) ContainsAll

func (ss SSortedStrings) ContainsAll(needles ...string) bool

func (SSortedStrings) ContainsAny

func (ss SSortedStrings) ContainsAny(needles ...string) bool

func (SSortedStrings) Index

func (ss SSortedStrings) Index(needle string) (int, bool)

func (SSortedStrings) Remove

func (ss SSortedStrings) Remove(ele ...string) SSortedStrings

Jump to

Keyboard shortcuts

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