|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
@template T of IComparable More...
Collaboration diagram for PhpOffice\PhpSpreadsheet\HashTable:Public Member Functions | |
| __construct ($pSource=null) | |
| Create a new \PhpOffice\PhpSpreadsheet\HashTable. 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 = [] | |
@template T of IComparable
Definition at line 8 of file HashTable.php.
| PhpOffice\PhpSpreadsheet\HashTable::__construct | ( | $pSource = null | ) |
Create a new \PhpOffice\PhpSpreadsheet\HashTable.
| T[] | $pSource | Optional source array to create HashTable from |
Definition at line 29 of file HashTable.php.
References PhpOffice\PhpSpreadsheet\HashTable\addFromSource().
Here is the call graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:| 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.
References PhpOffice\PhpSpreadsheet\HashTable\count().
Referenced by PhpOffice\PhpSpreadsheet\HashTable\add(), PhpOffice\PhpSpreadsheet\HashTable\count(), and PhpOffice\PhpSpreadsheet\HashTable\remove().
Here is the call graph for this function:
Here is the caller graph for this function:| PhpOffice\PhpSpreadsheet\HashTable::getByHashCode | ( | $pHashCode | ) |
Get by hashcode.
| string | $pHashCode |
Definition at line 147 of file HashTable.php.
Referenced by PhpOffice\PhpSpreadsheet\HashTable\getByIndex().
Here is the caller graph for this function:| PhpOffice\PhpSpreadsheet\HashTable::getByIndex | ( | $pIndex | ) |
Get by index.
| int | $pIndex |
Definition at line 131 of file HashTable.php.
References PhpOffice\PhpSpreadsheet\HashTable\getByHashCode().
Here is the call graph for this function:| 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().
Here is the call graph for this function:| 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.