|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.plumtree.openfoundation.util.XPStringDictionary
Implements a hashtable with the key strongly typed to be a string rather than an object.
NOTE: XPStringDictionary always handles keys in a case-SENSITIVE manner. Microsoft's implementation of the .NET "StringDictionary" framework class handles keys in a case-INSENSITIVE manner; StringDictionary translates all keys to lower case before it is used with the dictionary. Therefore, XPStringDictionary doesn't actually use StringDictionary on .NET.
Constructor Summary | |
XPStringDictionary()
Constructs and XPStringDictionary Object with no Arguments. |
|
XPStringDictionary(XPHashtable properties)
Constructs an XPStringDictionary Object with given Properties. |
Method Summary | |
void |
Clear()
Removes all elements from this XPStringDictionary. |
boolean |
ContainsKey(java.lang.String key)
Checks if the Key passed to exists in this XPStringDictionary. |
boolean |
ContainsValue(java.lang.String _value)
Checks if the value passed to exists in this XPStringDictionary. |
java.lang.String |
GetElement(java.lang.String key)
Returns the Element in the XPStringDictionary. |
IXPEnumerator |
GetKeys()
Returns an Enumerator for all the Keys in this XPStringDictionary. |
int |
GetSize()
Gives the size of this XPStringDictionary. |
XPHashtable |
GetUnderlyingObject()
Returns the underlying data structure for this XPStringDictionary. |
boolean |
IsEmpty()
Checks if the current XPStringDictionary is empty or not. |
java.lang.String |
PutElement(java.lang.String key,
java.lang.String value)
Maps the specified key to the specified value in this XPStringDictionary. |
void |
RemoveElement(java.lang.String key)
Removes the Element for a given key. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XPStringDictionary()
public XPStringDictionary(XPHashtable properties)
properties
- as an XPHashtable.Method Detail |
public boolean ContainsKey(java.lang.String key)
key
- The key to be verified.
public boolean ContainsValue(java.lang.String _value)
_value
- The value to be verified.
public IXPEnumerator GetKeys()
public java.lang.String GetElement(java.lang.String key)
key
- for the Element to be returned.
public java.lang.String PutElement(java.lang.String key, java.lang.String value)
key
- the XPStringDictionary key.value
- is the new value to be stored.
public void RemoveElement(java.lang.String key)
key
- value for the element to be removed, it can't be null.public int GetSize()
public XPHashtable GetUnderlyingObject()
public void Clear()
public boolean IsEmpty()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |