|
| __clone () |
| Implement PHP __clone to create a deep clone, not just a shallow copy.
|
|
| add (IComparable $source) |
| Add HashTable item.
|
|
| clear () |
| Clear HashTable.
|
|
| count () |
| Count.
|
|
| getByHashCode (string $hashCode) |
| Get by hashcode.
|
|
| getByIndex (int $index) |
| Get by index.
|
|
| getIndexForHashCode (string $hashCode) |
| Get index for hash code.
|
|
| remove (IComparable $source) |
| Remove HashTable item.
|
|
| toArray () |
| HashTable to array.
|
|
|
array< string, array $items=[];protected array< int, array $keyMap=[];public __construct(?array $source=[]) { if($source !==null) { $this->addFromSource($source);} } public addFromSource(?array $source=null):void { if($source===null) { return;} foreach($source as $item) { $this-> | add ($item) |
| HashTable elements.
|
|
◆ add() [1/2]
array< string, array $items=[];protected array< int, array $keyMap=[];public __construct(?array $source=[]) { if( $source !==null) { $this->addFromSource( $source);} } public addFromSource(?array $source=null):void { if( $source===null) { return;} foreach( $source as $item) { $this-> PhpOffice\PhpSpreadsheet\HashTable::add |
( |
| $item | ) |
|
|
protected |
◆ add() [2/2]
PhpOffice\PhpSpreadsheet\HashTable::add |
( |
IComparable | $source | ) |
|
Add HashTable item.
- Parameters
-
◆ getByHashCode()
PhpOffice\PhpSpreadsheet\HashTable::getByHashCode |
( |
string | $hashCode | ) |
|
Get by hashcode.
- Return values
-
◆ getByIndex()
PhpOffice\PhpSpreadsheet\HashTable::getByIndex |
( |
int | $index | ) |
|
Get by index.
- Return values
-
◆ remove()
PhpOffice\PhpSpreadsheet\HashTable::remove |
( |
IComparable | $source | ) |
|
Remove HashTable item.
- Parameters
-
◆ toArray()
PhpOffice\PhpSpreadsheet\HashTable::toArray |
( |
| ) |
|
HashTable to array.
- Return values
-
The documentation for this class was generated from the following file:
- lib/phpspreadsheet/phpspreadsheet/src/PhpSpreadsheet/HashTable.php