From dbaa5d3ce959374d39d95889d008106b3e135b63 Mon Sep 17 00:00:00 2001 From: Christian Femers Date: Thu, 17 Oct 2019 00:30:19 +0200 Subject: [PATCH] Removed unused code of Bit --- .../src/net/mograsim/logic/core/types/Bit.java | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/plugins/net.mograsim.logic.core/src/net/mograsim/logic/core/types/Bit.java b/plugins/net.mograsim.logic.core/src/net/mograsim/logic/core/types/Bit.java index 752fbb80..51c0d39a 100644 --- a/plugins/net.mograsim.logic.core/src/net/mograsim/logic/core/types/Bit.java +++ b/plugins/net.mograsim.logic.core/src/net/mograsim/logic/core/types/Bit.java @@ -34,36 +34,18 @@ public enum Bit implements StrictLogicType return fromTable(AND_TABLE, this, other); } - public static void and(Bit[] dst, Bit[] src) - { - for (int i = 0; i < dst.length; i++) - dst[i] = dst[i].and(src[i]); - } - @Override public Bit or(Bit other) { return fromTable(OR_TABLE, this, other); } - public static void or(Bit[] dst, Bit[] src) - { - for (int i = 0; i < dst.length; i++) - dst[i] = dst[i].or(src[i]); - } - @Override public Bit xor(Bit other) { return fromTable(XOR_TABLE, this, other); } - public static void xor(Bit[] dst, Bit[] src) - { - for (int i = 0; i < dst.length; i++) - dst[i] = dst[i].xor(src[i]); - } - @Override public Bit not() { -- 2.17.1