
net.cassite.style.util.lang.MLong Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of style Show documentation
Show all versions of style Show documentation
Java 8 functional programming toolbox supporting basic jdk libraries and providing language enhancing.
The newest version!
package net.cassite.style.util.lang;
public class MLong extends MNumber {
/**
*
*/
private static final long serialVersionUID = -6076695278733738596L;
public MLong(Long l) {
super(l);
}
@Override
public int compareTo(MLong o) {
return n.compareTo(o.n);
}
@Override
public MLong inc(Number inc) {
n += inc.longValue();
return this;
}
@Override
public MLong mul(Number mul) {
n *= mul.longValue();
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy