src/main/java/org/jboss/util/collection/AbstractQueue.java
/**
    * Check if the queue is empty.
    *
    * @return True if the queue is empty.
    */
Check if the queue is empty.
@return True if the queue is empty.
Check if the queue is empty . @return True if the queue is empty .
public boolean isEmpty() {
      if (size() <= 0)
         return true;
      return false;
   }
public boolean isEmpty ( ) { if ( size ( ) <= 0 ) return true ; return false ; }
Check if the queue is empty.
Check if the queue is empty .