Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Simeon Christoffersen
test2021
Commits
1ab3e8a0
Commit
1ab3e8a0
authored
Sep 06, 2021
by
Hallvard Trætteberg
Browse files
module-info.java i modules-template
parent
66daa5de
Changes
5
Hide whitespace changes
Inline
Side-by-side
javafx-template/src/main/java/app/Calc.java
View file @
1ab3e8a0
...
...
@@ -102,7 +102,7 @@ public class Calc {
* @throws IllegalStateException if the operand count is less than two
*/
public
void
swap
()
{
// TODO
}
/**
...
...
modules-template/core/src/main/java/core/Calc.java
View file @
1ab3e8a0
...
...
@@ -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
...
...
modules-template/core/src/main/java/module-info.java
0 → 100644
View file @
1ab3e8a0
module
calc
.
core
{
exports
core
;
}
modules-template/ui/src/main/java/module-info.java
0 → 100644
View file @
1ab3e8a0
module
calc
.
ui
{
requires
calc
.
core
;
requires
javafx
.
controls
;
requires
javafx
.
fxml
;
opens
ui
to
javafx
.
graphics
,
javafx
.
fxml
;
}
packages-template/src/main/java/core/Calc.java
View file @
1ab3e8a0
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment