Fruit DSKit
Common data structures for Fruit framework
 All Data Structures Namespaces Files Functions
Public Member Functions
Set Interface Reference
Inheritance diagram for Set:
Collection ArraySet

Public Member Functions

 add ($data)
 add one data into the set, no-op if exists More...
 
 del ($data)
 delete data from the set, no-op if non-exists More...
 
 has ($data)
 detect if data is in the set More...
 
- Public Member Functions inherited from Collection
 iterator ()
 
 toArray ()
 convert to array More...
 
 len ()
 size of the collection More...
 

Detailed Description

Represents a mathematical set

Definition at line 8 of file Set.php.

Member Function Documentation

add (   $data)

add one data into the set, no-op if exists

Implemented in ArraySet.

del (   $data)

delete data from the set, no-op if non-exists

Implemented in ArraySet.

has (   $data)

detect if data is in the set

Implemented in ArraySet.


The documentation for this interface was generated from the following file: