MDi JLib
1.7.4

com.microdeveloper.common
Class StringMap

java.lang.Object
  extended by 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.

Constructor Summary
StringMap()
           
 
Method Summary
 Object get(Object key)
           
 String getString(String key)
           
 String getTrimmedString(String key)
           
 Object put(Object key, Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringMap

public StringMap()
Method Detail

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)

MDi JLib
1.7.4

Copyright©2001-2007 MicroDeveloper, Inc. All Rights Reserved.