Microsoft SDK for Java

addElement

This method of the Queue Class adds an element to the tail of the queue.

Syntax

public synchronized void addElement(Object newelt);

Parameters

newelt The new element to add to the queue.

Remarks

The queue will grow, as necessary, by the factor provided when the queue was constructed. Null is a valid element to add.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.