E - the type of the element which should be inserted into the queue.public class DoNotInsertBehavior<E> extends java.lang.Object implements InsertBehavior<E>
| Constructor and Description |
|---|
DoNotInsertBehavior() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
insert(E element) |
java.lang.String |
toString() |
public boolean insert(E element)
insert in interface InsertBehavior<E>element - element to be insertedtrue if the element after this element can be inserted, otherwise false.public java.lang.String toString()
toString in class java.lang.ObjectCopyright 2020 Kieker Project, http://kieker-monitoring.net