| Package | org.servebox.toolbox.search |
| Class | public class WordIndex |
| Inheritance | WordIndex DictionaryTable |
| Method | Defined by | ||
|---|---|---|---|
|
Constructor.
| WordIndex | ||
|
addObject(key:String, obj:IBasicObject):void
Adds an object to the object list for the word indexed by key.
| WordIndex | ||
![]() |
clear():void
Removes all mappings from this map (optional operation).
| DictionaryTable | |
![]() |
Creates a shallow copy of this hashtable.
| DictionaryTable | |
![]() |
contains(value:IBasicObject):Boolean
| DictionaryTable | |
![]() |
containsKey(key:Object):Boolean
Returns true if this map contains a mapping for the specified key.
| DictionaryTable | |
![]() |
containsValue(value:IBasicObject):Boolean
Returns true if this map maps one or more keys to the specified value.
| DictionaryTable | |
![]() |
elements():Array
| DictionaryTable | |
![]() |
equals(value:IBasicObject):Boolean
Compares the specified Object with this Map for equality, as per the definition in the Map interface.
| DictionaryTable | |
![]() |
get(key:Object):IBasicObject
| DictionaryTable | |
![]() |
getKey(value:Object):String
Return the key for the value
| DictionaryTable | |
![]() |
hashCode():int
Returns the hashcode of the object.
| DictionaryTable | |
![]() |
isEmpty():Boolean
Tests if this dictionary maps no keys to value.
| DictionaryTable | |
![]() |
keys():Array
Returns an Array of the keys in this dictionary.
| DictionaryTable | |
![]() |
keySet():Array
Returns a view of the keys contained in this map.
| DictionaryTable | |
![]() |
Copies the key/values pair using the specified set of keys to a new map instance.
| DictionaryTable | |
![]() |
put(key:Object, value:IBasicObject):Object
Maps the specified key to the specified value in this dictionary.
The DictionaryTable uses String instances as keys. | DictionaryTable | |
![]() |
Copies all of the mappings from the specified Map to this Hashtable
These mappings will replace any mappings that this Hashtable had for any of the keys currently in the specified Map.
| DictionaryTable | |
![]() |
remove(key:Object):Object
Removes the key (and its corresponding value) from this dictionary.
| DictionaryTable | |
![]() |
size():int
Returns the number of entries (distinct keys) in this dictionary.
| DictionaryTable | |
![]() |
toString():String
Returns the string representation of the specified object.
| DictionaryTable | |
![]() |
values():Array
Returns a collection view of the values contained in this map.
| DictionaryTable | |
| WordIndex | () | constructor |
public function WordIndex()Constructor.
| addObject | () | method |
public function addObject(key:String, obj:IBasicObject):voidAdds an object to the object list for the word indexed by key. The object should implement the BasicObject interface.
Parameterskey:String — The word key.
|
|
obj:IBasicObject — The object to add.
|