public SolidMap(Map<K,V> map){
  this.map=Collections.unmodifiableMap(new LinkedHashMap<>(map));
}

public SolidMap ( Map < K , V > map ) { this . map = Collections . unmodifiableMap ( new LinkedHashMap < > ( map ) ) ; }
constructs a solidmap from a given map .
