org.picocontainer
Class Characteristics.ImmutableProperties

java.lang.Object
  extended by java.util.Dictionary<K,V>
      extended by java.util.Hashtable<Object,Object>
          extended by java.util.Properties
              extended by org.picocontainer.Characteristics.ImmutableProperties
All Implemented Interfaces:
Serializable, Cloneable, Map<Object,Object>
Enclosing class:
Characteristics

public static class Characteristics.ImmutableProperties
extends Properties

Read only property set. Once constructed, all methods that modify state will throw UnsupportedOperationException.

Author:
Paul Hammant.
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.Properties
defaults
 
Constructor Summary
Characteristics.ImmutableProperties(String name, String value)
           
 
Method Summary
 void clear()
           
 Object put(Object key, Object value)
           
 void putAll(Map<? extends Object,? extends Object> t)
           
 Object remove(Object o)
           
 Object setProperty(String string, String string1)
           
 
Methods inherited from class java.util.Properties
getProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, store, store, storeToXML, storeToXML, stringPropertyNames
 
Methods inherited from class java.util.Hashtable
clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, rehash, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Characteristics.ImmutableProperties

public Characteristics.ImmutableProperties(String name,
                                           String value)
Method Detail

remove

public Object remove(Object o)
Specified by:
remove in interface Map<Object,Object>
Overrides:
remove in class Hashtable<Object,Object>

setProperty

public Object setProperty(String string,
                          String string1)
Overrides:
setProperty in class Properties

clear

public void clear()
Specified by:
clear in interface Map<Object,Object>
Overrides:
clear in class Hashtable<Object,Object>

put

public Object put(Object key,
                  Object value)
Specified by:
put in interface Map<Object,Object>
Overrides:
put in class Hashtable<Object,Object>

putAll

public void putAll(Map<? extends Object,? extends Object> t)
Specified by:
putAll in interface Map<Object,Object>
Overrides:
putAll in class Hashtable<Object,Object>


Copyright © 2003-2010 Codehaus. All Rights Reserved.