com.microdeveloper.common
Class StringMap
java.lang.Object
com.microdeveloper.common.StringMap
public class StringMap
- extends Object
Provides additional String casting capabilities to a Hashmap structure.
Copyright (c) 2007 MicroDeveloper, Inc.
- Since:
- 1.7.4
- Version:
- 1.0
- Author:
- MicroDeveloper, Inc.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringMap
public StringMap()
getString
public String getString(String key)
- Parameters:
key
- - the key whose associated value is to be returned.
- Returns:
- the value, cast to a String, to which this map maps the specified key,
or the String "null" if the map contains no mapping for this key.
getTrimmedString
public String getTrimmedString(String key)
- Parameters:
key
- - the key whose associated value is to be returned.
- Returns:
- the value, cast to a String and trimmed of white space, to which this map maps the specified key,
or the String "null" if the map contains no mapping for this key.
get
public Object get(Object key)
put
public Object put(Object key,
Object value)
Copyright©2001-2007 MicroDeveloper, Inc. All Rights Reserved.