Skip to content
Snippets Groups Projects
Commit 1ab3e8a0 authored by Hallvard Trætteberg's avatar Hallvard Trætteberg
Browse files

module-info.java i modules-template

parent 66daa5de
No related branches found
No related tags found
No related merge requests found
......@@ -102,7 +102,7 @@ public class Calc {
* @throws IllegalStateException if the operand count is less than two
*/
public void swap() {
// TODO
}
/**
......
......@@ -94,6 +94,8 @@ public class Calc {
/**
* Swaps the two topmost operands.
*
* @throws IllegalStateException if the operand count is less than two
*/
public void swap() {
// TODO
......@@ -101,6 +103,8 @@ public class Calc {
/**
* Duplicates the top operand.
*
* @throws IllegalStateException if the operand stack is empty
*/
public void dup() {
// TODO
......
module calc.core {
exports core;
}
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 {
/**
* Swaps the two topmost operands.
*
* @throws IllegalStateException if the operand count is less than two
*/
public void swap() {
// TODO
......@@ -101,6 +103,8 @@ public class Calc {
/**
* Duplicates the top operand.
*
* @throws IllegalStateException if the operand stack is empty
*/
public void dup() {
// TODO
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment