Package jadex.micro.examples.mandelbrot
Class ArrayTest
- java.lang.Object
- 
- jadex.micro.examples.mandelbrot.ArrayTest
 
- 
 public class ArrayTest extends java.lang.ObjectTest ways of transferring short[][] arrays.
- 
- 
Constructor SummaryConstructors Constructor Description ArrayTest()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description protected static shortbytesToshort(byte[] buffer, int offset)Convert bytes to a short.static short[][]byteToshort(byte[] sdata)Set the data.static voidmain(java.lang.String[] args)static byte[]shortToByte(short[][] data)Get the data as a transferable string.protected static byte[]shortToBytes(short val, byte[] buffer, int offset)Convert a short to bytes.static java.lang.StringshortToString(short[][] data)Get the data as a transferable string.static short[][]stringToshort(java.lang.String sdata)Set the data.
 
- 
- 
- 
Method Detail- 
shortToStringpublic static java.lang.String shortToString(short[][] data) Get the data as a transferable string.- Returns:
- the data string.
 
 - 
stringToshortpublic static short[][] stringToshort(java.lang.String sdata) Set the data.- Parameters:
- data- The data to set.
 
 - 
shortToBytepublic static byte[] shortToByte(short[][] data) Get the data as a transferable string.- Returns:
- the data string.
 
 - 
byteToshortpublic static short[][] byteToshort(byte[] sdata) Set the data.- Parameters:
- data- The data to set.
 
 - 
bytesToshortprotected static short bytesToshort(byte[] buffer, int offset)Convert bytes to a short.
 - 
shortToBytesprotected static byte[] shortToBytes(short val, byte[] buffer, int offset)Convert a short to bytes.
 - 
mainpublic static void main(java.lang.String[] args) 
 
- 
 
-