containers

package
v0.0.0-...-118d4d9 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2016 License: BSD-2-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSortedValues

func GetSortedValues(container Interface, comparator utils.Comparator) []interface{}

Returns sorted container's elements using with respect to the passed comparator. Does not effect the ordering of elements within the container. Uses timsort.

Types

type Interface

type Interface interface {
	Empty() bool
	Size() int
	Clear()
	Values() []interface{}
}

Jump to

Keyboard shortcuts

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