PHP Trait Pinq\Iterators\Common\OrderedMap

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

Protected Properties

Property Type Description
$keyIdentityPositionMap array
$keys array
$largestIntKey integer
$length integer
$values array

Public Methods

Method Description
clear ( ) {@inheritDoc}
contains ( $key ) {@inheritDoc}
count ( )
get ( $key ) {@inheritDoc}
groupBy ( callable $groupKeyFunction ) {@inheritDoc}
isArrayCompatible ( ) : boolean
keys ( ) {@inheritDoc}
map ( callable $function ) {@inheritDoc}
multisort ( array $orderByFunctions, array $isAscending ) {@inheritDoc}
offsetExists ( $offset )
offsetGet ( $offset )
offsetSet ( $offset, $value )
offsetUnset ( $offset )
remove ( $key ) {@inheritDoc}
set ( $key, $value ) {@inheritDoc}
setRef ( $key, &$value ) {@inheritDoc}
values ( ) {@inheritDoc}
walk ( callable $function ) {@inheritDoc}

Protected Methods

Method Description
setInternal ( $key, &$value, $identityHash, $reference = false )

Private Methods

Method Description
loadLargestIntKey ( )

Method Details

clear() public method

{@inheritDoc}
public clear ( )

contains() public method

{@inheritDoc}
public contains ( $key )

count() public method

public count ( )

get() public method

{@inheritDoc}
public get ( $key )

groupBy() public method

{@inheritDoc}
public groupBy ( callable $groupKeyFunction )
$groupKeyFunction callable

isArrayCompatible() final public method

final public isArrayCompatible ( ) : boolean
return boolean

keys() public method

{@inheritDoc}
public keys ( )

map() public method

{@inheritDoc}
public map ( callable $function )
$function callable

multisort() public method

{@inheritDoc}
public multisort ( array $orderByFunctions, array $isAscending )
$orderByFunctions array
$isAscending array

offsetExists() public method

public offsetExists ( $offset )

offsetGet() public method

public offsetGet ( $offset )

offsetSet() public method

public offsetSet ( $offset, $value )

offsetUnset() public method

public offsetUnset ( $offset )

remove() public method

{@inheritDoc}
public remove ( $key )

set() public method

{@inheritDoc}
public set ( $key, $value )

setInternal() final protected method

final protected setInternal ( $key, &$value, $identityHash, $reference = false )

setRef() public method

{@inheritDoc}
public setRef ( $key, &$value )

values() public method

{@inheritDoc}
public values ( )

walk() public method

{@inheritDoc}
public walk ( callable $function )
$function callable

Property Details

$keyIdentityPositionMap protected_oe property

protected array $keyIdentityPositionMap
return array

$keys protected_oe property

protected array $keys
return array

$largestIntKey protected_oe property

protected int $largestIntKey
return integer

$length protected_oe property

protected int $length
return integer

$values protected_oe property

protected array $values
return array