|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectptolemy.distributed.util.DistributedUtilities
public class DistributedUtilities
Utilities for the distributed package. This includes different conversions and printing facilities.
Red (cxh) |
Red (kapokasa) |
Constructor Summary | |
---|---|
DistributedUtilities()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DistributedUtilities()
Method Detail |
---|
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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |