• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // automatically generated by the FlatBuffers compiler, do not modify
2 
3 package MyGame.Example;
4 
5 import com.google.flatbuffers.BaseVector;
6 import com.google.flatbuffers.BooleanVector;
7 import com.google.flatbuffers.ByteVector;
8 import com.google.flatbuffers.Constants;
9 import com.google.flatbuffers.DoubleVector;
10 import com.google.flatbuffers.FlatBufferBuilder;
11 import com.google.flatbuffers.FloatVector;
12 import com.google.flatbuffers.IntVector;
13 import com.google.flatbuffers.LongVector;
14 import com.google.flatbuffers.ShortVector;
15 import com.google.flatbuffers.StringVector;
16 import com.google.flatbuffers.Struct;
17 import com.google.flatbuffers.Table;
18 import com.google.flatbuffers.UnionVector;
19 import java.nio.ByteBuffer;
20 import java.nio.ByteOrder;
21 
22 public class NestedStructT {
23   private int[] a;
24   private byte b;
25   private byte[] c;
26   private long[] d;
27 
getA()28   public int[] getA() { return a; }
29 
setA(int[] a)30   public void setA(int[] a) { if (a != null && a.length == 2) this.a = a; }
31 
getB()32   public byte getB() { return b; }
33 
setB(byte b)34   public void setB(byte b) { this.b = b; }
35 
getC()36   public byte[] getC() { return c; }
37 
setC(byte[] c)38   public void setC(byte[] c) { if (c != null && c.length == 2) this.c = c; }
39 
getD()40   public long[] getD() { return d; }
41 
setD(long[] d)42   public void setD(long[] d) { if (d != null && d.length == 2) this.d = d; }
43 
44 
NestedStructT()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 
53