Basic API Structure #2

Merged
kske merged 12 commits from f/basics into develop 2021-12-11 21:45:59 +01:00
8 changed files with 16 additions and 16 deletions
Showing only changes of commit 23aa60e65e - Show all commits

View File

@ -1,4 +1,4 @@
package dev.kske.undoredo; package dev.kske.undoredo.core;
/** /**
* Base interface for changes to be registered in an undo manager. * Base interface for changes to be registered in an undo manager.

View File

@ -1,4 +1,4 @@
package dev.kske.undoredo; package dev.kske.undoredo.core;
import java.util.List; import java.util.List;

View File

@ -1,4 +1,4 @@
package dev.kske.undoredo; package dev.kske.undoredo.core;
import java.util.*; import java.util.*;

View File

@ -5,4 +5,4 @@
* @author Kai S. K. Engelbart * @author Kai S. K. Engelbart
* @since 0.0.1 * @since 0.0.1
*/ */
package dev.kske.undoredo; package dev.kske.undoredo.core;

View File

@ -7,5 +7,5 @@
*/ */
module dev.kske.undoredo { module dev.kske.undoredo {
exports dev.kske.undoredo; exports dev.kske.undoredo.core;
} }

View File

@ -1,4 +1,4 @@
package dev.kske.undoredo; package dev.kske.undoredo.core;
import static org.junit.jupiter.api.Assertions.*; import static org.junit.jupiter.api.Assertions.*;

View File

@ -1,4 +1,4 @@
package dev.kske.undoredo; package dev.kske.undoredo.core;
/** /**
* @author Kai S. K. Engelbart * @author Kai S. K. Engelbart
@ -6,12 +6,12 @@ package dev.kske.undoredo;
*/ */
class IntChange implements Change { class IntChange implements Change {
private final IntWrapper wrapper; private final IntWrapper wrapper;
private final int value; private final int value;
IntChange(IntWrapper wrapper, int value) { IntChange(IntWrapper wrapper, int value) {
this.wrapper = wrapper; this.wrapper = wrapper;
this.value = value; this.value = value;
} }
@Override @Override

View File

@ -1,4 +1,4 @@
package dev.kske.undoredo; package dev.kske.undoredo.core;
/** /**
* @author Kai S. K. Engelbart * @author Kai S. K. Engelbart