As part of NTNU's increased focus on security, all users are now forced to enable and use Two-factor authentication.

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 {
* @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.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
......
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