
lt.lang.implicit.RichObject 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;
/**
* rich Object
*/
public class RichObject {
private Object o;
public RichObject(Object o) {
this.o = o;
}
public String add(String s) {
return o + s;
}
public boolean eq(Object that) {
return o.equals(that);
}
public boolean ne(Object that) {
return !this.eq(that);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy