Selen

QueueInterface extends ObjectsInterface, Iterator
in

Tags
extends

Table of Contents

Methods

clear()  : void
配列をクリアします
dequeue()  : mixed
デキューします
enqueue()  : void
エンキューします
isEmpty()  : bool
配列が空であることを確認します。
isNotEmpty()  : bool
配列が空でないことを確認します。
size()  : int
配列のサイズを取得します。
toArray()  : array<string|int, mixed>
オブジェクトを配列で取得します。

Methods

dequeue()

デキューします

public dequeue() : mixed
Return values
mixed

オブジェクトを返します

enqueue()

エンキューします

public enqueue(mixed $object) : void
Parameters
$object : mixed

オブジェクトを渡します

isEmpty()

配列が空であることを確認します。

public isEmpty() : bool
Return values
bool

配列が空の場合はtrue、それ以外はfalseを返します

isNotEmpty()

配列が空でないことを確認します。

public isNotEmpty() : bool
Return values
bool

配列が空でない場合はtrue、それ以外はfalseを返します

size()

配列のサイズを取得します。

public size() : int
Return values
int

配列のサイズを返します

toArray()

オブジェクトを配列で取得します。

public toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results