public class DEListWrapper<T> extends IDEStructure<T>
IStructure.Backoff, IStructure.Node<T>
abort
Constructor and Description |
---|
DEListWrapper() |
Modifier and Type | Method and Description |
---|---|
void |
add(T item)
add a object of type T
|
T |
getFromTop()
Retrieve a element
|
boolean |
isEmpty()
Method to tell if the data structure is empty (contains no elements).
|
boolean |
isFull()
Method to tell if the data structure is full.
|
T |
remove()
retrieve a object of type T
|
boolean |
tryAdd(T item)
try to add element of type T.
|
add, get, registerThread, shutdown
public T getFromTop()
IDEStructure
getFromTop
in class IDEStructure<T>
public boolean isFull()
IDEStructure
isFull
in class IDEStructure<T>
public boolean tryAdd(T item)
IDEStructure
tryAdd
in class IDEStructure<T>
public void add(T item)
IStructure
add
in class IStructure<T>
public boolean isEmpty()
IStructure
isEmpty
in class IStructure<T>
public T remove()
IStructure
remove
in class IStructure<T>