Code example for LinkedHashMap

Methods: putAll

0
    public void addAllKeys(Map<String, Expression> map){ 
        evalMap.putAll(map); 
    } 
     
    public EvaluatorPackage getCopy(){ 
        Map<String, Expression> mapCopy = new LinkedHashMap<String, Expression>(); 
        mapCopy.putAll(evalMap); 
        EvaluatorPackage a = new EvaluatorPackage(xLoc, yLoc, myTime, mapCopy); 
        return a; 
    } 
}