...
1// automatically generated by the FlatBuffers compiler, do not modify
2
3package MyGame.Example;
4
5import com.google.flatbuffers.BaseVector;
6import com.google.flatbuffers.BooleanVector;
7import com.google.flatbuffers.ByteVector;
8import com.google.flatbuffers.Constants;
9import com.google.flatbuffers.DoubleVector;
10import com.google.flatbuffers.FlatBufferBuilder;
11import com.google.flatbuffers.FloatVector;
12import com.google.flatbuffers.IntVector;
13import com.google.flatbuffers.LongVector;
14import com.google.flatbuffers.ShortVector;
15import com.google.flatbuffers.StringVector;
16import com.google.flatbuffers.Struct;
17import com.google.flatbuffers.Table;
18import com.google.flatbuffers.UnionVector;
19import java.nio.ByteBuffer;
20import java.nio.ByteOrder;
21
22public class NestedStructT {
23 private int[] a;
24 private byte b;
25 private byte[] c;
26 private long[] d;
27
28 public int[] getA() { return a; }
29
30 public void setA(int[] a) { if (a != null && a.length == 2) this.a = a; }
31
32 public byte getB() { return b; }
33
34 public void setB(byte b) { this.b = b; }
35
36 public byte[] getC() { return c; }
37
38 public void setC(byte[] c) { if (c != null && c.length == 2) this.c = c; }
39
40 public long[] getD() { return d; }
41
42 public void setD(long[] d) { if (d != null && d.length == 2) this.d = d; }
43
44
45 public NestedStructT() {
46 this.a = new int[2];
47 this.b = 0;
48 this.c = new byte[2];
49 this.d = new long[2];
50 }
51}
52
View as plain text