public class PropertyMap extends PowerMap<java.lang.String,java.lang.Object>
Note that this class does not allow to store nulls neither as keys nor as values. Keys are unique. If a key is added twice it will be replaced. If a null value is attempted to be stored for an existing key then the key is being removed from the map.
Constructor and Description |
---|
PropertyMap() |
PropertyMap(int initialCapacity) |
PropertyMap(int initialCapacity,
float loadFactor) |
PropertyMap(int initialCapacity,
float loadFactor,
boolean accessOrder) |
PropertyMap(java.util.Map<java.lang.String,java.lang.Object> map) |
Modifier and Type | Method and Description |
---|---|
PropertyMap |
clone() |
int |
loadFrom(java.io.File file) |
int |
loadFrom(java.io.InputStream in) |
void |
saveTo(java.io.BufferedWriter writer,
java.util.List<java.lang.String> headLines) |
void |
saveTo(java.io.File file) |
void |
saveTo(java.io.File file,
java.util.List<java.lang.String> headLines) |
createDumpHeader, getAsBoolean, getAsBoolean, getAsDate, getAsDate, getAsDouble, getAsDouble, getAsDuration, getAsDuration, getAsFloat, getAsFloat, getAsInt, getAsInt, getAsLong, getAsLong, getAsShort, getAsShort, getAsString, getAsString, getAsTime, getAsTime, getAsTimestamp, getAsTimestamp, getMaxKeyLength, reverse, toDumpString, toDumpString, toString, toString
containsKey, entrySet, isEmpty, keySet, put, putAll, remove, size, values
public PropertyMap()
public PropertyMap(int initialCapacity, float loadFactor, boolean accessOrder)
public PropertyMap(int initialCapacity, float loadFactor)
public PropertyMap(int initialCapacity)
public PropertyMap(java.util.Map<java.lang.String,java.lang.Object> map)
public int loadFrom(java.io.InputStream in) throws java.io.IOException
java.io.IOException
public int loadFrom(java.io.File file) throws java.io.IOException
java.io.IOException
public void saveTo(java.io.File file) throws java.io.IOException
java.io.IOException
public void saveTo(java.io.File file, java.util.List<java.lang.String> headLines) throws java.io.IOException
java.io.IOException
public void saveTo(java.io.BufferedWriter writer, java.util.List<java.lang.String> headLines) throws java.io.IOException
java.io.IOException
public PropertyMap clone()
clone
in class java.util.HashMap<java.lang.String,java.lang.Object>
Copyright © 2014 EsprIT-Systems. All Rights Reserved.