PHP Trait Pinq\Iterators\Common\Set

Author: Elliot Levin ([email protected])
Datei anzeigen Open project: timetoogo/pinq

Protected Properties

Property Type Description
$length integer The amount of values in the set.
$values array The array containing the values keyed by their identity hash.

Public Methods

Method Description
add ( $value ) {@inheritDoc}
addRef ( &$value ) {@inheritDoc}
clear ( ) {@inheritDoc}
contains ( $value ) {@inheritDoc}
count ( )
isArrayCompatible ( ) : boolean
remove ( $value ) {@inheritDoc}

Method Details

add() public method

{@inheritDoc}
public add ( $value )

addRef() public method

{@inheritDoc}
public addRef ( &$value )

clear() public method

{@inheritDoc}
public clear ( )

contains() public method

{@inheritDoc}
public contains ( $value )

count() public method

public count ( )

isArrayCompatible() final public method

final public isArrayCompatible ( ) : boolean
return boolean

remove() public method

{@inheritDoc}
public remove ( $value )

Property Details

$length protected_oe property

The amount of values in the set.
protected int $length
return integer

$values protected_oe property

The array containing the values keyed by their identity hash.
protected array $values
return array