mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2025-07-01 23:47:50 +00:00
add BinaryColumn#xor
This commit is contained in:
parent
a7d0d52dfb
commit
2ea66cd295
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user