mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-02-16 10:30:42 +00:00
add BinaryColumn#xor
This commit is contained in:
@@ -88,6 +88,10 @@ public class BinaryColumn {
|
||||
return bool(that, Boolean::logicalOr);
|
||||
}
|
||||
|
||||
public BinaryColumn xor(BinaryColumn that) {
|
||||
return bool(that, Boolean::logicalXor);
|
||||
}
|
||||
|
||||
private BinaryColumn bool(BinaryColumn that, BinaryOperator<Boolean> operator) {
|
||||
int smallMinY = Math.min(this.minY, that.minY);
|
||||
int bigMaxY = Math.max(this.maxY, that.maxY);
|
||||
|
||||
Reference in New Issue
Block a user