Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Simonstrator
API
Commits
c44a37c6
Commit
c44a37c6
authored
Apr 24, 2020
by
Julian Zobel
Browse files
Defualt interface methods for Overlay Message
parent
b3a38865
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/de/tudarmstadt/maki/simonstrator/api/component/overlay/OverlayMessage.java
View file @
c44a37c6
...
...
@@ -34,10 +34,18 @@ public interface OverlayMessage extends Message {
throw
new
UnsupportedOperationException
();
}
default
public
boolean
hasUUID
()
{
return
false
;
}
/**
* @return The message creation timestamp
*/
default
public
long
getTimestamp
()
{
throw
new
UnsupportedOperationException
();
}
default
public
boolean
hasTimestamp
()
{
return
false
;
}
}
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