com.timeindexing.index
Class IndexProperties
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap
com.timeindexing.util.CascadingMap
com.timeindexing.index.IndexProperties
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.util.Map
public class IndexProperties
- extends CascadingMap
The index properties are a map of names to objects.
- See Also:
- Serialized Form
| Nested classes/interfaces inherited from class java.util.AbstractMap |
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V> |
| Nested classes/interfaces inherited from interface java.util.Map |
java.util.Map.Entry<K,V> |
|
Method Summary |
java.lang.Object |
getProperty(java.lang.Object key)
Get an entry from the IndexProperties. |
IndexProperties |
putProperty(java.lang.Object key,
java.lang.Object value)
Put an entry in the IndexProperties. |
| Methods inherited from class java.util.HashMap |
clear, clone, containsValue, entrySet, isEmpty, put, putAll, remove, size, values |
| Methods inherited from class java.util.AbstractMap |
equals, hashCode, toString |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Map |
clear, containsValue, entrySet, equals, hashCode, isEmpty, put, putAll, remove, size, values |
IndexProperties
public IndexProperties()
- A constructor.
IndexProperties
public IndexProperties(java.util.Properties properties)
- Construct some IndexProperties using a Properties object.
These mappings will have String objects.
IndexProperties
public IndexProperties(java.util.Map map)
- Construct some IndexProperties using a Map object.
IndexProperties
public IndexProperties(IndexProperties aSubMap)
- A constructor which specifies a submap
- Parameters:
aSubMap - an existing IndexProperties which will be a submap
to this IndexProperties
getProperty
public java.lang.Object getProperty(java.lang.Object key)
- Get an entry from the IndexProperties.
putProperty
public IndexProperties putProperty(java.lang.Object key,
java.lang.Object value)
- Put an entry in the IndexProperties.
This version returns the IndexProperties object,
so it can be composed.
- Returns:
- the IndexProperties object
Timeindexing 2008