Skip to content

Commit 3929c9d

Browse files
author
Rúben André Barreiro
committed
Abstract Gate added
1 parent d7a8f01 commit 3929c9d

File tree

1 file changed

+6
-4
lines changed
  • src/main/java/org/quisl/framework/java/instructions/gates

1 file changed

+6
-4
lines changed

src/main/java/org/quisl/framework/java/instructions/gates/Gate.java

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
public abstract class Gate {
44

5-
private Integer numInputs;
5+
private final Integer numInputs;
66

7-
private Integer numOutputs;
7+
private final Integer numOutputs;
88

9-
private String prefix;
9+
private final String prefix;
1010

11-
private String gateName;
11+
private final String gateName;
1212

1313

1414
public Gate(Integer numInputs, Integer numOutputs,
@@ -47,4 +47,6 @@ public String getGateName() {
4747

4848
}
4949

50+
public abstract void applyGate();
51+
5052
}

0 commit comments

Comments
 (0)