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
1b662663
Commit
1b662663
authored
Nov 10, 2020
by
Tobias Meuser
Browse files
Added old functions as deprecated
parent
e157b605
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/de/tudarmstadt/maki/simonstrator/api/component/sensor/location/Location.java
View file @
1b662663
...
...
@@ -44,6 +44,11 @@ public interface Location extends Transmitable, Cloneable {
*/
public
void
set
(
Location
l
);
@Deprecated
default
public
double
getLatitude
()
{
return
getLatitudeOrY
();
}
/**
* Latitude in degrees or Y
*
...
...
@@ -60,6 +65,11 @@ public interface Location extends Transmitable, Cloneable {
*/
public
double
getLatitudeOrY
();
@Deprecated
default
public
double
getLongitude
()
{
return
getLongitudeOrX
();
}
/**
* Longitude in degrees or X
*
...
...
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