
lt.lang.implicit.collection.RichSet 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.Set;
/**
* rich set
*/
public class RichSet {
private final Set set;
public RichSet(Set set) {
this.set = set;
}
/**
* get an immutable set with all current elements contained
*
* @return an immutable set
*/
public Set immutable() {
return Collections.unmodifiableSet(set);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy