com.timeindexing.index
Class IndexProperties
java.lang.Object
java.util.AbstractMap
java.util.HashMap
com.timeindexing.util.CascadingMap
com.timeindexing.index.IndexProperties
- All Implemented Interfaces:
- java.lang.Cloneable, java.util.Map, java.io.Serializable
- public class IndexProperties
- extends CascadingMap
The index properties are a map of names to objects.
- See Also:
- Serialized Form
Nested classes inherited from class java.util.Map |
java.util.Map.Entry |
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(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