public interface MyQueue<Item> extends Iterable<Item>
MyQueue<Item>
add(Item item)
boolean
isEmpty()
Item
remove()
int
size()
forEach, iterator, spliterator
int size()
boolean isEmpty()
MyQueue<Item> add(Item item)
Item remove() throws Exception
Exception
Copyright © 2022. All rights reserved.