Fixing bugs on char translation; testing for arrays
[iot2.git] / iotjava / iotrmi / Java / basics / TestClass.java
index 19b99de69fb5d8f599252dd13ae02322593dc564..4f55242262671680c94b66a16338884a9c240c31 100644 (file)
@@ -30,6 +30,7 @@ public class TestClass implements TestClassInterface {
        }
 
 
+       // Single variables
        public byte getByte(byte in) {
 
                return in;
@@ -72,6 +73,50 @@ public class TestClass implements TestClassInterface {
        }
 
 
+       // Arrays
+       public byte[] getByteArray(byte[] in) {
+
+               return in;
+       }
+
+
+       public short[] getShortArray(short[] in) {
+
+               return in;
+       }
+
+
+       public long[] getLongArray(long[] in) {
+
+               return in;
+       }
+
+
+       public float[] getFloatArray(float[] in) {
+
+               return in;
+       }
+
+
+       public double[] getDoubleArray(double[] in) {
+
+               return in;
+       }
+
+
+       public boolean[] getBooleanArray(boolean[] in) {
+
+               return in;
+       }
+
+
+       public char[] getCharArray(char[] in) {
+
+               return in;
+       }
+
+
+       // Other functions
        public int getA() {
 
                return intA;