From: Christian Femers Date: Wed, 16 Oct 2019 22:30:19 +0000 (+0200) Subject: Removed unused code of Bit X-Git-Url: https://mograsim.net/gitweb/?p=Mograsim.git;a=commitdiff_plain;h=dbaa5d3ce959374d39d95889d008106b3e135b63 Removed unused code of Bit --- 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() {