Hash Class Reference
Multi field hash implementation.
More...
Inheritance diagram for Hash:
[legend]List of all members.Public Member Functions
-
void Hash ()
- Create new Hash object.
- void remove (Object key, Object object)
- Removes object stored under key key from hash.
- void add (Object key, Object object, int priority)
- Adds object object to hash.
Detailed Description
Multi field hash implementation.
Each key for this hash can be array with strings, or object, where all properties are strings.
In searching for value, you can use wildcards (use null value in places where you can be any value). You can store multiple values under one key.
Member Function Documentation
| void add |
( |
Object |
key, |
|
|
Object |
object, |
|
|
int |
priority |
|
) |
|
|
|
|
Adds object object to hash.
Store this object under key key.
- Parameters:
-
| key | Hash key. |
| object | Object to store in hash. |
| priority | Priority. Objects stored with higher priority will be placed before items with lower priority in list returned by findAll(). |
|
| void remove |
( |
Object |
key, |
|
|
Object |
object |
|
) |
|
|
|
|
Removes object stored under key key from hash.
- Parameters:
-
| key | Hash key. |
| object | Object to remove from hash. |
|
The documentation for this class was generated from the following file:
Generated on Tue Jan 4 01:03:50 2005 for JabberZilla by
1.4.0