29 lines
543 B
Java
29 lines
543 B
Java
package mixer;
|
|
|
|
/**
|
|
* Created by Tzlil on 12/15/2015.
|
|
*/
|
|
public class Switch{
|
|
|
|
public final int i, j, layer;
|
|
public final boolean value;
|
|
|
|
public Switch(int i, int j, int layer, boolean value) {
|
|
this.i = i;
|
|
this.j = j;
|
|
this.layer = layer;
|
|
this.value = value;
|
|
}
|
|
|
|
|
|
@Override
|
|
public String toString() {
|
|
return "Switch{" +
|
|
"i=" + i +
|
|
", j=" + j +
|
|
", layer=" + layer +
|
|
", value=" + value +
|
|
'}';
|
|
}
|
|
}
|