X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;f=era.mi%2Fsrc%2Fera%2Fmi%2Flogic%2FUtil.java;h=0cd4b8241a7c50a5a0d4b83648b40155da234785;hb=de79184d60c80d6775b368e61d3368de032952e8;hp=6aec8844c7b115eff2f5958566169363038ee43d;hpb=830af2a47f501b4d31f68663b609d225eae603cd;p=Mograsim.git diff --git a/era.mi/src/era/mi/logic/Util.java b/era.mi/src/era/mi/logic/Util.java index 6aec8844..0cd4b824 100644 --- a/era.mi/src/era/mi/logic/Util.java +++ b/era.mi/src/era/mi/logic/Util.java @@ -85,16 +85,9 @@ public final class Util return out; } - public static Bit[] arrayOfZ(int length) - { - Bit[] out = new Bit[length]; - Arrays.fill(out, Bit.Z); - return out; - } - /** * uses the {@link Bit#combineWith(Bit)} method, does not create a new array, - * the result is stored in the fist array. + * the result is stored in the first array. * * @author Christian Femers */ @@ -110,6 +103,6 @@ public final class Util interface BitOp { - Bit execute(Bit a, Bit b); + Bit execute(Bit a, Bit b); } }