ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
T of IComparable More...
Public Member Functions | |
__construct ($pSource=null) | |
Create a new . More... | |
addFromSource (?array $pSource=null) | |
Add HashTable items from source. More... | |
add (IComparable $pSource) | |
Add HashTable item. More... | |
remove (IComparable $pSource) | |
Remove HashTable item. More... | |
clear () | |
Clear HashTable. More... | |
count () | |
Count. More... | |
getIndexForHashCode ($pHashCode) | |
Get index for hash code. More... | |
getByIndex ($pIndex) | |
Get by index. More... | |
getByHashCode ($pHashCode) | |
Get by hashcode. More... | |
toArray () | |
HashTable to array. More... | |
__clone () | |
Implement PHP __clone to create a deep clone, not just a shallow copy. More... | |
Protected Attributes | |
$items = [] | |
$keyMap = [] | |
T of IComparable
Definition at line 8 of file HashTable.php.
PhpOffice\PhpSpreadsheet\HashTable::__construct | ( | $pSource = null | ) |
Create a new .
T[] | $pSource Optional source array to create HashTable from |
Definition at line 29 of file HashTable.php.
References PhpOffice\PhpSpreadsheet\HashTable\addFromSource().
PhpOffice\PhpSpreadsheet\HashTable::__clone | ( | ) |
Implement PHP __clone to create a deep clone, not just a shallow copy.
Definition at line 169 of file HashTable.php.
References $key.
PhpOffice\PhpSpreadsheet\HashTable::add | ( | IComparable | $pSource | ) |
Add HashTable item.
T | $pSource | Item to add |
Definition at line 59 of file HashTable.php.
References PhpOffice\PhpSpreadsheet\HashTable\count(), and PhpOffice\PhpSpreadsheet\IComparable\getHashCode().
Referenced by PhpOffice\PhpSpreadsheet\HashTable\addFromSource().
PhpOffice\PhpSpreadsheet\HashTable::addFromSource | ( | ?array | $pSource = null | ) |
Add HashTable items from source.
T[] | $pSource Source array to create HashTable from |
Definition at line 42 of file HashTable.php.
References PhpOffice\PhpSpreadsheet\HashTable\add().
Referenced by PhpOffice\PhpSpreadsheet\HashTable\__construct().
PhpOffice\PhpSpreadsheet\HashTable::clear | ( | ) |
Clear HashTable.
Definition at line 96 of file HashTable.php.
PhpOffice\PhpSpreadsheet\HashTable::count | ( | ) |
Count.
Definition at line 107 of file HashTable.php.
Referenced by PhpOffice\PhpSpreadsheet\HashTable\add(), and PhpOffice\PhpSpreadsheet\HashTable\remove().
PhpOffice\PhpSpreadsheet\HashTable::getByHashCode | ( | $pHashCode | ) |
Get by hashcode.
string | $pHashCode |
Definition at line 147 of file HashTable.php.
Referenced by PhpOffice\PhpSpreadsheet\HashTable\getByIndex().
PhpOffice\PhpSpreadsheet\HashTable::getByIndex | ( | $pIndex | ) |
Get by index.
int | $pIndex |
Definition at line 131 of file HashTable.php.
References PhpOffice\PhpSpreadsheet\HashTable\getByHashCode().
PhpOffice\PhpSpreadsheet\HashTable::getIndexForHashCode | ( | $pHashCode | ) |
Get index for hash code.
string | $pHashCode |
Definition at line 119 of file HashTable.php.
PhpOffice\PhpSpreadsheet\HashTable::remove | ( | IComparable | $pSource | ) |
Remove HashTable item.
T | $pSource | Item to remove |
Definition at line 73 of file HashTable.php.
References $key, PhpOffice\PhpSpreadsheet\HashTable\count(), and PhpOffice\PhpSpreadsheet\IComparable\getHashCode().
PhpOffice\PhpSpreadsheet\HashTable::toArray | ( | ) |
HashTable to array.
Definition at line 161 of file HashTable.php.
References PhpOffice\PhpSpreadsheet\HashTable\$items.
|
protected |
Definition at line 15 of file HashTable.php.
Referenced by PhpOffice\PhpSpreadsheet\HashTable\toArray().
|
protected |
Definition at line 22 of file HashTable.php.