Added generics
This commit is contained in:
parent
f5eba59b19
commit
c4cd42d4c8
@ -25,9 +25,9 @@ public class Node {
|
||||
|
||||
private String name = "Not initialized";
|
||||
|
||||
private List<SocketAddress> neighbors = new ArrayList<>();
|
||||
private List<SocketAddress> neighbors = new ArrayList<SocketAddress>();
|
||||
|
||||
private Map<Integer, Ack> acks = new HashMap<>();
|
||||
private Map<Integer, Ack> acks = new HashMap<Integer, Ack>();
|
||||
|
||||
private volatile Thread thread;
|
||||
private UDPHandler udpListen;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user