Commit 2b8932a2 authored by Julian Zobel's avatar Julian Zobel
Browse files

LinkedHashMap instead of HashMap

parent 9ef56c03
......@@ -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 LinkedHashMap<>(); // TODO callback interface
public SimpleMutlicopterMovement(UAVTopologyComponent topologyComponent, double maxCruiseSpeed, double minCruiseSpeed) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment