public SolidMap(Iterable<Pair<K,V>> iterable){
  LinkedHashMap<K,V> m=new LinkedHashMap<>();
  for (  Pair<K,V> pair : iterable)   m.put(pair.first,pair.second);
  this.map=Collections.unmodifiableMap(m);
}

public SolidMap ( Iterable < Pair < K , V > > iterable ) { LinkedHashMap < K , V > m = new LinkedHashMap < > ( ) ; for ( Pair < K , V > pair : iterable ) m . put ( pair . first , pair . second ) ; this . map = Collections . unmodifiableMap ( m ) ; }
constructs a solidmap from a given iterable stream of entries .
