public interface UninterruptibleHashtable
Uninterruptible annotation when ECJ is used for
compiling the Java sources.| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clear all entries from map.
|
UninterruptibleEntry |
get(UninterruptibleEntry valueOnStack)
Returns the matching value for
valueOnStack from the hashtable. |
UninterruptibleEntry |
getOrPut(UninterruptibleEntry valueOnStack)
If the hashtable contains an existing entry that matches
valueOnStack, then this
existing entry will be returned and no value will be inserted. |
int |
getSize()
Gets the number of entries that are in the hashtable.
|
UninterruptibleEntry[] |
getTable()
Returns the internal array of the hashtable.
|
boolean |
putIfAbsent(UninterruptibleEntry valueOnStack)
Tries to insert
valueOnStack into the hashtable. |
void |
teardown()
Teardown hashtable.
|
int getSize()
UninterruptibleEntry[] getTable()
UninterruptibleEntry get(UninterruptibleEntry valueOnStack)
valueOnStack from the hashtable. If there is no
matching value in the hashtable, a null pointer is returned.boolean putIfAbsent(UninterruptibleEntry valueOnStack)
valueOnStack into the hashtable. Returns false if there was already a
matching entry in the hashtable or if an error occurred while insert the entry. Returns true
if the entry was inserted successfully.UninterruptibleEntry getOrPut(UninterruptibleEntry valueOnStack)
valueOnStack, then this
existing entry will be returned and no value will be inserted.
If there wasn't already a matching entry, this method tries to create and insert a new entry
hashtable. If an error occurred while inserting the entry, a null pointer is returned
instead.void clear()
void teardown()