{
resultsObjsByIndex = new SoftValueMap();
}
else if (ext.equalsIgnoreCase("weak"))
{
resultsObjsByIndex = new WeakValueMap();
}
else if (ext.equalsIgnoreCase("hard"))
{
resultsObjsByIndex = new HashMap();
}
else if (ext.equalsIgnoreCase("none"))
{
resultsObjsByIndex = null;
}
else
{
resultsObjsByIndex = new WeakValueMap();
}
}
else
{
resultsObjsByIndex = new WeakValueMap();
}
if (resultsObjsByIndex != null)
{
// Caching results so load up any result objects needed right now