-/* Copyright (c) 2012-2019. The SimGrid Team.
+/* Copyright (c) 2012-2020. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
return nodes.get(id);
}
- /* Add the content of the bucket into a answer object. */
+ /* Add the content of the bucket into an answer object. */
public void addToAnswer(Answer answer, int destination) {
for (int nodeId : this.nodes) {
answer.getNodes().add(new Contact(nodeId,nodeId ^ destination));