public class DistributedUtilities
extends java.lang.Object
| Red (cxh) |
| Red (kapokasa) |
| Constructor and Description |
|---|
DistributedUtilities() |
| Modifier and Type | Method and Description |
|---|---|
static java.util.LinkedList |
convertIntegersToList(java.lang.Integer[][] receiversIntegers)
Converts a bidimensional array of Integer into a linked list of
Integers.
|
static java.lang.Integer[][] |
convertReceiversToIntegers(Receiver[][] receivers)
Converts a bidimensional array of receivers into a bidimensional array
containing only the integer IDs of the receivers.
|
static java.lang.String |
integersArrayToString(java.lang.Integer[][] array)
Converts a bidimensional array of Integer a String for printing
purposes.
|
static java.lang.String |
receiversArrayToString(Receiver[][] array)
Converts a bidimensional array of Receivers into a String for printing
purposes.
|
public static java.util.LinkedList convertIntegersToList(java.lang.Integer[][] receiversIntegers)
receiversIntegers - A bidimensional array of Integers.public static java.lang.Integer[][] convertReceiversToIntegers(Receiver[][] receivers)
receivers - A bidimensional array of receivers.public static java.lang.String integersArrayToString(java.lang.Integer[][] array)
array - A bidimensional array of Integer.public static java.lang.String receiversArrayToString(Receiver[][] array)
array - A bidimensional array of Receiver.