mFrame
載入中...
搜尋中...
無符合項目
mframe::util::ArrayQueue< E > 結構 樣版 參考文件abstract
類別mframe::util::ArrayQueue< E >的繼承圖:
mframe::util::Queue< E > mframe::util::Collection< E > mframe::lang::Iterable< E > mframe::lang::Interface

公開方法(Public Methods)

virtual bool isFull (void) const override
 
- 公開方法(Public Methods) 繼承自 mframe::util::Queue< E >
virtual bool offer (E const &element) override
 如果在不違反容量限制的情況下立即執行,則將指定的元素插入到此隊列中。 當使用容量限制隊列時,此方法通常優於 add(E) ,這可能無法僅通過拋出異常來插入元素。
 
virtual E & poll (void) override
 檢索並刪除此隊列的頭,如果此隊列為空,則返回null。
 
virtual E & peek (void) override
 檢索但不刪除此隊列的頭部,如果此隊列為空,則返回 null 。
 
- 公開方法(Public Methods) 繼承自 mframe::util::Collection< E >
virtual void clear (void) override
 從此集合中刪除所有元素(可選操作)。此方法返回後,集合將為空。
 
virtual bool isEmpty (void) const override
 如果此集合不包含元素,則返回true。
 
virtual int size (void) const override
 返回此集合中的元素數。
 
- 公開方法(Public Methods) 繼承自 mframe::lang::Iterable< E >
virtual void forEach (mframe::func::Consumer< E & > &action) override
 對Iterable的每個元素執行給定的操作,直到處理完所有元素或該操作引發異常。 如果指定了迭代順序,則操作會按迭代順序執行。
 
- 公開方法(Public Methods) 繼承自 mframe::lang::Interface
virtual ~Interface (void)=default
 Destroy the struct object.
 
virtual mframe::lang::ObjectgetObject (void) override
 取得類Object
 

額外的繼承成員

- 靜態公開方法(Static Public Methods) 繼承自 mframe::util::Queue< E >
static Queue< E > * type (void)
 type
 

函式成員說明文件

◆ isFull()

template<typename E = void*>
virtual bool mframe::util::ArrayQueue< E >::isFull ( void ) const
pure virtual
傳回值
true
false

實作於 mframe::util::PArrayQueue.


此結構(structure) 文件是由下列檔案中產生: