mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-02 12:05:50 +00:00
https://github.com/google/flatbuffers/pull/4986 missed part of the implementation. Change-Id: Ie41771eb018a550c289c77ebe9ef5c50d1ad6751
16 lines
411 B
Java
16 lines
411 B
Java
// automatically generated by the FlatBuffers compiler, do not modify
|
|
|
|
package MyGame.Example;
|
|
|
|
public final class Color {
|
|
private Color() { }
|
|
public static final byte Red = 1;
|
|
public static final byte Green = 2;
|
|
public static final byte Blue = 8;
|
|
|
|
public static final String[] names = { "Red", "Green", "", "", "", "", "", "Blue", };
|
|
|
|
public static String name(int e) { return names[e - Red]; }
|
|
}
|
|
|