# Packages
No description provided by the author
# Functions
NewLinkedList 创建函数.
================= API ================= New creates a PriorityQueue.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
WithGoroutineSafe is used to set the PriorityQueue goroutine-safe.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Options holds PriorityQueue's options.
No description provided by the author
*
Queue : 队列
使用双指针首尾指针来辅助队列进行出队入队的操作
出队操作并不删除数据而是将队头指针往后移位
入队操作也是将队尾指针移位如果移动的位置超过数组的长度的时候又回到队头
这样的优点是可以复用整个数组不需要重新扩容
重点: 并不是线程安全的,在多线程下会出现脏数据谨慎操作!
*/.
No description provided by the author
# Interfaces
Comparable 比较接口小于返回负值 等于返回0值 大于返回正值.
# Type aliases
Option is a function type used to set Options.