
lt.lang.implicit.collection.RichMap Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of latte-compiler Show documentation
Show all versions of latte-compiler Show documentation
The latte-lang compiler project, which contains compiler and runtime required library.
The newest version!
package lt.lang.implicit.collection;
import java.util.Collections;
import java.util.Map;
/**
* rich map
*/
public class RichMap {
private final Map map;
public RichMap(Map map) {
this.map = map;
}
/**
* create an immutable map with all current entries contained
*
* @return an immutable map
*/
public Map immutable() {
return Collections.unmodifiableMap(map);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy