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

net.cassite.style.util.lang.MLong Maven / Gradle / Ivy

Go to download

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