
lt.lang.implicit.StringImplicit 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;
import lt.runtime.Implicit;
import lt.runtime.LatteObject;
/**
* implicit casts for string
*/
@Implicit
@LatteObject
public class StringImplicit {
public static final StringImplicit singletonInstance = new StringImplicit();
private StringImplicit() {
}
@Implicit
public final RichString cast(String s) {
return new RichString(s);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy