|
Tea Java Runtime API Version 3.2.4 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.pdmfc.tea.modules.tos.STosObj
com.pdmfc.tea.modules.util.SHashtable
public class SHashtable
Implements an TOS object that acts like a java Hashtable.
| Constructor Summary | |
|---|---|
SHashtable(STosClass myClass)
Initializes the object internal state. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clear(SObjFunction obj,
SContext context,
java.lang.Object[] args)
The implementation for the "clear" TOS method. |
java.lang.Object |
constructor(SObjFunction obj,
SContext context,
java.lang.Object[] args)
The implementation for the "constructor" TOS method. |
java.lang.Object |
get(SObjFunction obj,
SContext context,
java.lang.Object[] args)
The implementation for the "get" TOS method. |
java.lang.Object |
getElements(SObjFunction obj,
SContext context,
java.lang.Object[] args)
The implementation for the "getElements" TOS method. |
java.util.Map |
getInternalMap()
Fetches the java.util.Map used to store the hashtable
elements. |
java.lang.Object |
getKeys(SObjFunction obj,
SContext context,
java.lang.Object[] args)
The implementation for the "getKeys" TOS method. |
static java.lang.String |
getTosClassName()
Retrieves the recomended name for the TOS class. |
java.lang.Object |
isKey(SObjFunction obj,
SContext context,
java.lang.Object[] args)
The implementation for the "isKey" TOS method. |
static SHashtable |
newInstance(SContext context)
Creates a TOS THashtable instance. |
static SHashtable |
newInstance(SContext context,
java.util.Map contents)
Creates a TOS THashtable instance and supplies the
java.util.Map used to store the hashtable elements. |
java.lang.Object |
put(SObjFunction obj,
SContext context,
java.lang.Object[] args)
The implementation for the "put" TOS method. |
java.lang.Object |
remove(SObjFunction obj,
SContext context,
java.lang.Object[] args)
The implementation for the "remove" TOS method. |
| Methods inherited from class com.pdmfc.tea.modules.tos.STosObj |
|---|
exec, getTosClass, init, part, selfObj |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SHashtable(STosClass myClass)
throws STeaException
SHashtable instances.
myClass - The TOS class to assign to the TOS objects.
STeaException| Method Detail |
|---|
public java.util.Map getInternalMap()
java.util.Map used to store the hashtable
elements. The returned java.util.Map may be modified
at will. Nevertheless, concurrent use from within multiple threads
must be avoided.
java.util.Map used to store the hashtable
elements.
public java.lang.Object constructor(SObjFunction obj,
SContext context,
java.lang.Object[] args)
throws STeaException
obj - Reference to the object the TOS method was invoked for.context - The context where the method invocation is taking
place.args - The arguments the TOS method was called with.
STeaException
public java.lang.Object put(SObjFunction obj,
SContext context,
java.lang.Object[] args)
throws STeaException
obj - Reference to the object the TOS method was invoked for.context - The context where the method invocation is taking
place.args - The arguments the TOS method was called with.
STeaException
public java.lang.Object get(SObjFunction obj,
SContext context,
java.lang.Object[] args)
throws STeaException
obj - Reference to the object the TOS method was invoked for.context - The context where the method invocation is taking
place.args - The arguments the TOS method was called with.
STeaException
public java.lang.Object getKeys(SObjFunction obj,
SContext context,
java.lang.Object[] args)
throws STeaException
obj - Reference to the object the TOS method was invoked for.context - The context where the method invocation is taking
place.args - The arguments the TOS method was called with.
STeaException
public java.lang.Object getElements(SObjFunction obj,
SContext context,
java.lang.Object[] args)
throws STeaException
obj - Reference to the object the TOS method was invoked for.context - The context where the method invocation is taking
place.args - The arguments the TOS method was called with.
STeaException
public java.lang.Object isKey(SObjFunction obj,
SContext context,
java.lang.Object[] args)
throws STeaException
obj - Reference to the object the TOS method was invoked for.context - The context where the method invocation is taking
place.args - The arguments the TOS method was called with.
STeaException
public java.lang.Object clear(SObjFunction obj,
SContext context,
java.lang.Object[] args)
throws STeaException
obj - Reference to the object the TOS method was invoked for.context - The context where the method invocation is taking
place.args - The arguments the TOS method was called with.
STeaException
public java.lang.Object remove(SObjFunction obj,
SContext context,
java.lang.Object[] args)
throws STeaException
obj - Reference to the object the TOS method was invoked for.context - The context where the method invocation is taking
place.args - The arguments the TOS method was called with.
STeaExceptionpublic static java.lang.String getTosClassName()
public static SHashtable newInstance(SContext context)
throws STeaException
THashtable instance. The
context is used to retrieve the TOS class object to
assign to the THashtable.
The internal java.util.Map where the hashtable
elements will be stored is automatically created.
context - The context where the THashtable
instance is being created.
SHashtable.
STeaException
public static SHashtable newInstance(SContext context,
java.util.Map contents)
throws STeaException
THashtable instance and supplies the
java.util.Map used to store the hashtable elements.
context - The context where the THashtable
instance is being created.contents - The java.util.Map that will be used
to store the hashtable elements.
SHashtable.
STeaException
|
Tea Java Runtime API Version 3.2.4 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||