| Modifier and Type | Method and Description |
|---|---|
int |
CarbonQueue.indexOf(T element)
This method returns the index of the given element on this queue.
|
T |
CarbonQueue.peek()
Retrieves, but does not remove, the head of this queue.
|
List<T> |
CarbonQueue.peek(int count)
Retrieves, but does not remove, the given number of items from the top, which also includes
the head of this queue.
|
T |
CarbonQueue.pop()
Retrieves and removes, the head of this queue.
|
List<T> |
CarbonQueue.pop(int count)
Retrieves and removes, the given number of items from the top, which also includes the head
of this queue.
|
Copyright © 2018 WSO2 Inc. All rights reserved.