Microsoft SDK for Java

hasMoreElements

This method of the Queue Class determines if the queue is empty.

Syntax

public synchronized boolean hasMoreElements();

Return Value

Returns true if there are more elements in the queue; otherwise, returns false.

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