Commit 1ab3e8a0 authored by Hallvard Trætteberg's avatar Hallvard Trætteberg
Browse files

module-info.java i modules-template

parent 66daa5de
...@@ -102,7 +102,7 @@ public class Calc { ...@@ -102,7 +102,7 @@ public class Calc {
* @throws IllegalStateException if the operand count is less than two * @throws IllegalStateException if the operand count is less than two
*/ */
public void swap() { public void swap() {
// TODO
} }
/** /**
......
...@@ -94,6 +94,8 @@ public class Calc { ...@@ -94,6 +94,8 @@ public class Calc {
/** /**
* Swaps the two topmost operands. * Swaps the two topmost operands.
*
* @throws IllegalStateException if the operand count is less than two
*/ */
public void swap() { public void swap() {
// TODO // TODO
...@@ -101,6 +103,8 @@ public class Calc { ...@@ -101,6 +103,8 @@ public class Calc {
/** /**
* Duplicates the top operand. * Duplicates the top operand.
*
* @throws IllegalStateException if the operand stack is empty
*/ */
public void dup() { public void dup() {
// TODO // TODO
......
module calc.ui {
requires calc.core;
requires javafx.controls;
requires javafx.fxml;
opens ui to javafx.graphics, javafx.fxml;
}
...@@ -94,6 +94,8 @@ public class Calc { ...@@ -94,6 +94,8 @@ public class Calc {
/** /**
* Swaps the two topmost operands. * Swaps the two topmost operands.
*
* @throws IllegalStateException if the operand count is less than two
*/ */
public void swap() { public void swap() {
// TODO // TODO
...@@ -101,6 +103,8 @@ public class Calc { ...@@ -101,6 +103,8 @@ public class Calc {
/** /**
* Duplicates the top operand. * Duplicates the top operand.
*
* @throws IllegalStateException if the operand stack is empty
*/ */
public void dup() { public void dup() {
// TODO // TODO
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment