WireArray(Input) is now Wire(End); all in-/outputs are now WireEnds
[Mograsim.git] / era.mi / src / era / mi / logic / components / Component.java
index 2d40cc2..522a58d 100644 (file)
@@ -2,20 +2,19 @@ package era.mi.logic.components;
 
 import java.util.List;
 
-import era.mi.logic.wires.WireArray;
+import era.mi.logic.wires.Wire.WireEnd;
 
 public interface Component
 {
 
        /**
-        * Returns immutable list of all inputs to the {@link Component} (including e.g. the select bits to a MUX).
-        * Intended for visualization in the UI.
+        * Returns immutable list of all inputs to the {@link Component} (including e.g. the select bits to a MUX). Intended for visualization
+        * in the UI.
         */
-       public List<WireArray> getAllInputs();
-       
+       public List<WireEnd> getAllInputs();
+
        /**
-        * Returns immutable list of all outputs to the {@link Component}.
-        * Intended for visualization in the UI.
+        * Returns immutable list of all outputs to the {@link Component}. Intended for visualization in the UI.
         */
-       public List<WireArray> getAllOutputs();
+       public List<WireEnd> getAllOutputs();
 }