MCPcopy
hub / github.com/emirpasic/gods / Container

Interface Container

containers/containers.go:19–25  ·  view source on GitHub ↗

Container is base interface that all data structures implement.

Source from the content-addressed store, hash-verified

17
18// Container is base interface that all data structures implement.
19type Container interface {
20 Empty() bool
21 Size() int
22 Clear()
23 Values() []interface{}
24 String() string
25}
26
27// GetSortedValues returns sorted container's elements with respect to the passed comparator.
28// Does not affect the ordering of elements within the container.

Callers 40

TestMapRemoveFunction · 0.65
TestMapRemoveFunction · 0.65
TestMapRemoveFunction · 0.65
TestMapRemoveFunction · 0.65
TestMapRemoveFunction · 0.65
EmptyMethod · 0.65
TestQueueEnqueueFunction · 0.65
TestQueueDequeueFunction · 0.65
TestMapPutFunction · 0.65
TestMapRemoveFunction · 0.65
TestMapMapFunction · 0.65
TestMapSelectFunction · 0.65

Implementers 15

Mapmaps/treebidimap/treebidimap.go
Mapmaps/linkedhashmap/linkedhashmap.go
Mapmaps/hashbidimap/hashbidimap.go
Mapmaps/hashmap/hashmap.go
Mapmaps/treemap/treemap.go
Queuequeues/circularbuffer/circularbuffer.g
Queuequeues/linkedlistqueue/linkedlistqueue
Queuequeues/priorityqueue/priorityqueue.go
Queuequeues/arrayqueue/arrayqueue.go
ContainerTestcontainers/containers_test.go
Treetrees/avltree/avltree.go
Treetrees/btree/btree.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…