mirror of
https://github.com/tursom/GoCollections.git
synced 2025-03-16 11:00:14 +08:00
14 lines
318 B
Go
14 lines
318 B
Go
package collections
|
|
|
|
import "github.com/tursom/GoCollections/exceptions"
|
|
|
|
type Queue interface {
|
|
// Iterator MutableIterable
|
|
Iterator() Iterator
|
|
// MutableIterator MutableIterable
|
|
MutableIterator() *linkedListIterator
|
|
|
|
Push(element interface{}) exceptions.Exception
|
|
Offer() (interface{}, exceptions.Exception)
|
|
}
|