...

Text file src/github.com/google/flatbuffers/tests/MyGame/Example/TypeAliasesT.java

Documentation: github.com/google/flatbuffers/tests/MyGame/Example

     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 TypeAliasesT {
    23  private byte i8;
    24  private int u8;
    25  private short i16;
    26  private int u16;
    27  private int i32;
    28  private long u32;
    29  private long i64;
    30  private long u64;
    31  private float f32;
    32  private double f64;
    33  private byte[] v8;
    34  private double[] vf64;
    35
    36  public byte getI8() { return i8; }
    37
    38  public void setI8(byte i8) { this.i8 = i8; }
    39
    40  public int getU8() { return u8; }
    41
    42  public void setU8(int u8) { this.u8 = u8; }
    43
    44  public short getI16() { return i16; }
    45
    46  public void setI16(short i16) { this.i16 = i16; }
    47
    48  public int getU16() { return u16; }
    49
    50  public void setU16(int u16) { this.u16 = u16; }
    51
    52  public int getI32() { return i32; }
    53
    54  public void setI32(int i32) { this.i32 = i32; }
    55
    56  public long getU32() { return u32; }
    57
    58  public void setU32(long u32) { this.u32 = u32; }
    59
    60  public long getI64() { return i64; }
    61
    62  public void setI64(long i64) { this.i64 = i64; }
    63
    64  public long getU64() { return u64; }
    65
    66  public void setU64(long u64) { this.u64 = u64; }
    67
    68  public float getF32() { return f32; }
    69
    70  public void setF32(float f32) { this.f32 = f32; }
    71
    72  public double getF64() { return f64; }
    73
    74  public void setF64(double f64) { this.f64 = f64; }
    75
    76  public byte[] getV8() { return v8; }
    77
    78  public void setV8(byte[] v8) { this.v8 = v8; }
    79
    80  public double[] getVf64() { return vf64; }
    81
    82  public void setVf64(double[] vf64) { this.vf64 = vf64; }
    83
    84
    85  public TypeAliasesT() {
    86    this.i8 = 0;
    87    this.u8 = 0;
    88    this.i16 = 0;
    89    this.u16 = 0;
    90    this.i32 = 0;
    91    this.u32 = 0L;
    92    this.i64 = 0L;
    93    this.u64 = 0L;
    94    this.f32 = 0.0f;
    95    this.f64 = 0.0;
    96    this.v8 = null;
    97    this.vf64 = null;
    98  }
    99}
   100

View as plain text