Method |
Description |
|
__construct ( cassandra\Type $type ) |
Creates a new collection of a given type. |
|
add ( $value ) : integer |
Adds one or more values to this collection. |
|
count ( ) : integer |
Total number of elements in this collection |
|
current ( ) : mixed |
Current element for iteration |
|
find ( mixed $value ) : integer |
Finds index of a value in this collection. |
|
get ( integer $index ) : mixed |
Retrieves the value at a given index. |
|
key ( ) : integer |
Current key for iteration |
|
next ( ) : void |
Move internal iterator forward |
|
remove ( integer $index ) : boolean |
Deletes the value at a given index |
|
rewind ( ) : void |
Rewind internal iterator |
|
type ( ) : cassandra\Type |
The type of this collection. |
|
valid ( ) : boolean |
Check whether a current value exists |
|
values ( ) : array |
Array of values in this collection. |
|