Code example for Queue

Methods: iterator

0
     * Gets an iterator to the current queue. 
     *  
     * @return an iterator to the current queue 
     */ 
    public Iterator<Intent> getIterator() {
        return mQueue.iterator();
    } 
     
    /** 
     * Gets how many items are currently in the queue. 
     *  
     * @return the number of items in the queue 
     */ 
    public int getSize() { 
        return mQueue.size();
    } 
     
    /* (non-Javadoc) 
     * @see android.app.Service#onBind(android.content.Intent) 
     */ 
    @Override