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
PeerfactSim.KOM
Commits
2b8932a2
Commit
2b8932a2
authored
Jan 14, 2019
by
Julian Zobel
Browse files
LinkedHashMap instead of HashMap
parent
9ef56c03
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/de/tud/kom/p2psim/impl/topology/movement/aerial/SimpleMutlicopterMovement.java
View file @
2b8932a2
...
...
@@ -21,6 +21,7 @@
package
de.tud.kom.p2psim.impl.topology.movement.aerial
;
import
java.util.HashMap
;
import
java.util.LinkedHashMap
;
import
java.util.LinkedList
;
import
java.util.Map
;
...
...
@@ -49,7 +50,7 @@ public class SimpleMutlicopterMovement implements UAVMovementModel {
private
double
currentSpeed
;
private
LinkedList
<
PositionVector
>
route
=
new
LinkedList
<>();
private
Map
<
PositionVector
,
ReachedLocationCallback
>
locationCallbacks
=
new
HashMap
<>();
// TODO callback interface
private
Map
<
PositionVector
,
ReachedLocationCallback
>
locationCallbacks
=
new
Linked
HashMap
<>();
// TODO callback interface
public
SimpleMutlicopterMovement
(
UAVTopologyComponent
topologyComponent
,
double
maxCruiseSpeed
,
double
minCruiseSpeed
)
{
...
...
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