go数据结构

链接:https://github.com/emirpasic/gods

GoDS (Go Data Structures). Containers (Sets, Lists, Stacks, Maps, Trees), Sets (HashSet, TreeSet, LinkedHashSet), Lists (ArrayList, SinglyLinkedList, DoublyLinkedList), Stacks (LinkedListStack, ArrayStack), Maps (HashMap, TreeMap, HashBidiMap, TreeBidiMap, LinkedHashMap), Trees (RedBlackTree, AVLTree, BTree, BinaryHeap), Comparators, Iterators, …

Data Structure Ordered Iterator Enumerable Referenced by
Lists          
  ArrayList yes yes* yes index
  SinglyLinkedList yes yes yes index
  DoublyLinkedList yes yes* yes index
Sets          
  HashSet no no no index
  TreeSet yes yes* yes index
  LinkedHashSet yes yes* yes index
Stacks          
  LinkedListStack yes yes no index
  ArrayStack yes yes* no index
Maps          
  HashMap no no no key
  TreeMap yes yes* yes key
  LinkedHashMap yes yes* yes key
  HashBidiMap no no no key*
  TreeBidiMap yes yes* yes key*
Trees          
  RedBlackTree yes yes* no key
  AVLTree yes yes* no key
  BTree yes yes* no key
  BinaryHeap yes yes* no index
      *reversible   *bidirectional

 

你可能感兴趣的:(GO)