Back to index

wims  3.65+svn20090927
Public Member Functions
fr.ove.utils.Queueable Interface Reference

Interface to respect to have a queue behaviour. More...

Inheritance diagram for fr.ove.utils.Queueable:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void enqueue (Object element)
 Adds the specified element to the queue.
Object dequeue ()
 Removes the first element added into the queue.
Object peek ()
 Returns the first element added into the queue.
boolean isEmpty ()
 Checks if the queue is empty.
void clear ()
 Clears the queue.
Enumeration elements ()
 Returns an.

Detailed Description

Interface to respect to have a queue behaviour.

Author:
2000 DIRAT Laurent
Version:
1.0 28/06/2000

Definition at line 17 of file Queueable.java.


Member Function Documentation

Clears the queue.

Implemented in fr.ove.utils.Queue.

Removes the first element added into the queue.

Returns the element removed. null if the queue is empty

Implemented in fr.ove.utils.Queue.

Returns an.

See also:
Enumeration of the elements in the queue.

Implemented in fr.ove.utils.Queue.

void fr.ove.utils.Queueable.enqueue ( Object  element)

Adds the specified element to the queue.

Implemented in fr.ove.utils.Queue.

Checks if the queue is empty.

Returns true if the queue is empty. false otherwise.

Implemented in fr.ove.utils.Queue.

Returns the first element added into the queue.

null if the queue is empty

Implemented in fr.ove.utils.Queue.


The documentation for this interface was generated from the following file: