File tree Expand file tree Collapse file tree 1 file changed +50
-0
lines changed
src/main/java/org/quisl/framework/java/instructions/gates Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Original file line number Diff line number Diff line change
1
+ package org .quisl .framework .java .instructions .gates ;
2
+
3
+ public abstract class Gate {
4
+
5
+ private Integer numInputs ;
6
+
7
+ private Integer numOutputs ;
8
+
9
+ private String prefix ;
10
+
11
+ private String gateName ;
12
+
13
+
14
+ public Gate (Integer numInputs , Integer numOutputs ,
15
+ String prefix , String gateName ) {
16
+
17
+ this .numInputs = numInputs ;
18
+ this .numOutputs = numOutputs ;
19
+
20
+ this .prefix = prefix ;
21
+
22
+ this .gateName = gateName ;
23
+
24
+ }
25
+
26
+ public Integer getNumInputs () {
27
+
28
+ return this .numInputs ;
29
+
30
+ }
31
+
32
+ public Integer getNumOutputs () {
33
+
34
+ return this .numOutputs ;
35
+
36
+ }
37
+
38
+ public String getPrefix () {
39
+
40
+ return this .prefix ;
41
+
42
+ }
43
+
44
+ public String getGateName () {
45
+
46
+ return this .gateName ;
47
+
48
+ }
49
+
50
+ }
You can’t perform that action at this time.
0 commit comments