BoolUtil.java

jmud-0.11/src/bool/BoolUtil.java · 140 B

From the archive jmud-0_11.tgz

Download the archive   « Back to the archive contents

package bool;

public class BoolUtil {

    static public boolean xor(boolean b1, boolean b2) {
	return (!b1 && b2) || (b1 && !b2);
    }
}

Site Stats

Snippets: 1791
Codebases: 571