Lines Matching defs:Set
28 Set(item Item) error methodSpec
39 type Set struct { struct
40 sync.RWMutex
41 lookup map[string]Item
42 normalize func(string) string
54 func (s *Set) Clear() int {
63 func (s *Set) Len() int {
70 func (s *Set) In(key string) bool {
83 func (s *Set) Get(key string) (Item, error) {
100 func (s *Set) cleanup(key string) {
110 func (s *Set) Add(item Item) error {
129 func (s *Set) Set(item Item) error { argument
142 func (s *Set) Remove(key string) error {
158 func (s *Set) Replace(oldKey string, item Item) error {
191 func (s *Set) Each(fn IterFunc) error {
211 func (s *Set) ListPrefix(prefix string) []Item {