Interface QueueKernel<T>
- Type Parameters:
T- type ofQueueKernelentries
- All Known Subinterfaces:
Queue<T>
- All Known Implementing Classes:
Queue1L, Queue2, Queue3, QueueSecondary
First-in-first-out (FIFO) queue kernel component with primary methods. (Note:
by package-wide convention, all references are non-null.)
- Mathematical Model (abstract value and abstract invariant of this):
type QueueKernel is modeled by string of T- Constructor(s) (initial abstract value(s) of this):
(): ensures this = <>- Iterator String (abstract value of ~this):
~this.seen * ~this.unseen = this
-
Method Summary
Methods inherited from interface Iterable
forEach, iterator, spliteratorMethods inherited from interface Standard
clear, newInstance, transferFrom
-
Method Details
-
enqueue
-
dequeue
-
length
-