Container is base interface that all data structures implement.
| 17 | |
| 18 | // Container is base interface that all data structures implement. |
| 19 | type 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. |
no outgoing calls
no test coverage detected
searching dependent graphs…