All Downloads are FREE. Search and download functionalities are using the official Maven repository.

lt.lang.implicit.StringImplicit Maven / Gradle / Ivy

Go to download

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